diff options
author | celestar <celestar@openttd.org> | 2005-07-24 15:56:31 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-07-24 15:56:31 +0000 |
commit | a3739aecdf2d9c4090181064db39db463e79439a (patch) | |
tree | e02fce527cef08bc25354c995fecc8ddb0ab5318 /town_cmd.c | |
parent | 647cbd6bdd113f7202a07fe19ad73a6710a85414 (diff) | |
download | openttd-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 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/town_cmd.c b/town_cmd.c index 20922ac0c..34be73deb 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -62,8 +62,8 @@ static void ClearTownHouse(Town *t, TileIndex tile); static void DoBuildTownHouse(Town *t, TileIndex tile); typedef struct DrawTownTileStruct { - uint32 sprite_1; - uint32 sprite_2; + SpriteID sprite_1; + SpriteID sprite_2; byte subtile_x:4; byte subtile_y:4; |