diff options
author | tron <tron@openttd.org> | 2005-11-16 12:21:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-16 12:21:04 +0000 |
commit | 7a7847ed6192767f237300d9835f55c35c6fb9ec (patch) | |
tree | 2687cee2c415534c72ac298de588a9ea6204c222 /gfx.c | |
parent | cc61dd4890c70d5d4d29a6f6a6725ba92f1c1ae3 (diff) | |
download | openttd-7a7847ed6192767f237300d9835f55c35c6fb9ec.tar.xz |
(svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
Diffstat (limited to 'gfx.c')
-rw-r--r-- | gfx.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -1481,23 +1481,6 @@ static void GfxMainBlitter(const Sprite* sprite, int x, int y, int mode) } } -#if 0 -static void GfxScalePalette(int pal, byte scaling) -{ - const Colour* src; - uint i; - - GfxInitPalettes(); - - src = GET_PALETTE(pal); - for (i = 0; i < lengthof(_cur_palette); i++) { - _cur_palette[i].r = src[i].r * scaling >> 8; - _cur_palette[i].g = src[i].g * scaling >> 8; - _cur_palette[i].b = src[i].b * scaling >> 8; - } -} -#endif - void DoPaletteAnimations(void); void GfxInitPalettes(void) |