forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user