diff options
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openttd.h b/src/openttd.h index e87ad09a5..cfb4040bd 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -44,7 +44,10 @@ typedef byte VehicleOrderID; ///< The index of an order within its current vehi typedef byte CargoID; typedef byte LandscapeID; typedef uint32 SpriteID; ///< The number of a sprite, without mapping bits and colortables -typedef uint32 PalSpriteID; ///< The number of a sprite plus all the mapping bits and colortables +typedef struct PalSpriteID { + SpriteID sprite; + SpriteID pal; +} PalSpriteID; typedef uint16 EngineID; typedef uint16 UnitID; typedef uint16 StringID; |