summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-07-24 15:56:31 +0000
committercelestar <celestar@openttd.org>2005-07-24 15:56:31 +0000
commit238e47cd42c009f2ab1359428788a65a26fafebb (patch)
treee02fce527cef08bc25354c995fecc8ddb0ab5318 /gfx.h
parenta227065ab75d6cb9f449f2282315adc933450b49 (diff)
downloadopenttd-238e47cd42c009f2ab1359428788a65a26fafebb.tar.xz
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files.
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gfx.h b/gfx.h
index 2928bcc4c..44111da1e 100644
--- a/gfx.h
+++ b/gfx.h
@@ -104,11 +104,6 @@ VARDEF int _pal_last_dirty;
VARDEF bool _use_dos_palette;
-/* spritecache.c */
-//enum { NUM_SPRITES = 0x1320 };
-//enum { NUM_SPRITES = 0x1500 };
-enum { NUM_SPRITES = 0x3500 }; // 1500 + space for custom GRF sets
-
typedef struct Colour {
byte r;
byte g;