95871e6cc1dbab271b5e1581a71ce2aaf4071210
I don't expect any perf improvements by using this cache, as you're simply moving the row lookup from render-time to fetch-time. However, this is a cleaner abstraction, and allows us to fail early if the palette doesn't exist.
OpenRA is a Libre/Free Real Time Strategy game engine supporting early Westwood games like Command & Conquer and Command & Conquer: Red Alert. Distributed mods include a reimagining and updating of both the Red Alert and Command & Conquer multiplayer games. Please read INSTALL on how to install an OpenRA development environment and HACKING for an overview of the engine.
Description
Languages
C#
79.3%
Lua
16%
Fluent
3.1%
Shell
0.6%
Objective-C
0.2%
Other
0.5%