diff options
author | Max Horn | 2004-01-30 20:57:23 +0000 |
---|---|---|
committer | Max Horn | 2004-01-30 20:57:23 +0000 |
commit | 2f8d19d0046b6aa4c2229d081fc44fc7ae55a8ed (patch) | |
tree | 85589d0149bd3c377fb885a22ff0aa529f789d20 /sword1/animation.h | |
parent | c7424312c32d6cc27c3b052720ad252e94f28c37 (diff) | |
download | scummvm-rg350-2f8d19d0046b6aa4c2229d081fc44fc7ae55a8ed.tar.gz scummvm-rg350-2f8d19d0046b6aa4c2229d081fc44fc7ae55a8ed.tar.bz2 scummvm-rg350-2f8d19d0046b6aa4c2229d081fc44fc7ae55a8ed.zip |
avoid using huge static structs - they can't be stripped, and increase the exe size (in this case, 16 MB...)
svn-id: r12678
Diffstat (limited to 'sword1/animation.h')
-rw-r--r-- | sword1/animation.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sword1/animation.h b/sword1/animation.h index 61f2b788ac..cee94f341f 100644 --- a/sword1/animation.h +++ b/sword1/animation.h @@ -111,10 +111,8 @@ private: byte pal[4 * 256]; } palettes[50]; #else - static NewGuiColor lookup2[BITDEPTH * BITDEPTH * 256]; + static NewGuiColor *lookup; NewGuiColor * overlay; - static bool lookupInit; - #endif public: @@ -131,7 +129,7 @@ private: void buildLookup(int p, int lines); bool checkPaletteSwitch(); #else - void buildLookup2(void); + void buildLookup(void); void plotYUV(NewGuiColor *lut, int width, int height, byte *const *dat); #endif }; |