RoosterDragon 53f06ba093 Implement dynamic hardware palette sizing.
The HardwarePalette will now grow its palette buffer and texture in power-of-2 increments. This avoids it having to allocate memory for a full 256x256 texture up front. In practice the default mods use 22 or 23 palettes so a 32x256 texture is used. This means both the buffer and texture save neatly on memory. Additionally, HardwarePalette.ApplyModifiers sees a nice speedup as it has to transfer a much smaller amount of memory from the buffer to the texture.

To facilitate this change, the MaxPalettes constant is no more. Instead the PaletteReference deals with the calculation of the index and this is passed into the appropriate methods.
2015-01-07 22:41:51 +00:00
2014-10-19 15:32:27 +13:00
2014-12-07 20:46:46 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-01 22:51:12 +01:00
2015-01-06 21:28:50 +00:00
2015-01-06 21:28:50 +00:00
2015-01-01 22:51:12 +01:00
2015-01-01 22:51:12 +01:00
2013-07-07 11:16:59 +02:00
2013-03-26 15:42:44 +01:00
2015-01-01 20:31:04 +01:00
2014-12-21 20:08:35 +01:00
2014-08-09 06:09:53 +02:00
2010-02-16 21:20:41 +13:00
2014-12-26 21:45:08 +01:00
2014-05-17 12:13:58 +02:00
2014-11-15 10:43:51 +01:00
2014-05-17 12:13:58 +02:00
2015-01-05 20:49:20 +01:00
2014-12-21 20:08:35 +01:00
2014-12-26 12:13:08 +13:00

OpenRA

A Libre/Free Real Time Strategy game engine supporting early Westwood classics.

Please read the FAQ in our Wiki and report problems at http://bugs.openra.net.

Join the Forums for discussion.

Play

Distributed mods include a reimagining of

  • Command & Conquer: Red Alert
  • Command & Conquer: Tiberian Dawn
  • Dune 2000

Check our Playing the Game Guide to win multiplayer matches.

Contribute

Bountysource

  • Please read INSTALL.md and Compiling on how to set up an OpenRA development environment.
  • See Hacking for an overview of the engine.
  • To get your patches merged, please adhere to the Contributing guidelines.

Mapping

  • We offer a Mapping Tutorial as you can change gameplay drastically with custom rules.
  • For scripted mission have a look at the Lua API.
  • If you want to share your maps with the community, upload them at the OpenRA Resource Center.

Modding

Support

  • Sponsor a mirror server if you have some bandwidth to spare.
  • You can immediately set up a Dedicated Game Server.
  • Fund development by creating Bounties on specific tasks.

License

Copyright 2007-2014 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see COPYING.

Description
No description provided
Readme 234 MiB
Languages
C# 79.3%
Lua 16%
Fluent 3.1%
Shell 0.6%
Objective-C 0.2%
Other 0.5%