(svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come

Also, a bit of code cleaning, as pointed by Tron
This commit is contained in:
belugas
2006-04-14 01:54:07 +00:00
parent 8bff288817
commit e84d878213
4 changed files with 90 additions and 68 deletions

View File

@@ -9,7 +9,15 @@
#include "macros.h"
#include "tile.h"
typedef uint IndustryGfx;
typedef byte IndustryGfx;
enum {
GFX_POWERPLANT_SPARKS = 10,
GFX_BUBBLE_CATCHER = 162,
GFX_TOFFEE_QUARY = 165,
GFX_SUGAR_MINE_SIEVE = 174,
GFX_TOY_FACTORY = 143
};
static inline uint GetIndustryIndex(TileIndex t)
{