summaryrefslogtreecommitdiff
path: root/openttd.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
commita3739aecdf2d9c4090181064db39db463e79439a (patch)
treee02fce527cef08bc25354c995fecc8ddb0ab5318 /openttd.h
parent647cbd6bdd113f7202a07fe19ad73a6710a85414 (diff)
downloadopenttd-a3739aecdf2d9c4090181064db39db463e79439a.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 'openttd.h')
-rw-r--r--openttd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.h b/openttd.h
index 4a9d0d024..485b8e8c3 100644
--- a/openttd.h
+++ b/openttd.h
@@ -71,7 +71,7 @@ typedef byte PlayerID;
typedef byte OrderID;
typedef byte CargoID;
typedef uint16 StringID;
-typedef uint16 SpriteID;
+typedef uint32 SpriteID;
typedef uint32 PalSpriteID;
typedef uint32 CursorID;
typedef uint16 EngineID; //! All enginenumbers should be of this type