summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-03-01 23:14:03 +0000
committerpeter1138 <peter1138@openttd.org>2006-03-01 23:14:03 +0000
commit741fc265225e879d77515d14f056c8969f6fde82 (patch)
tree5d55a4f5db80674d8bee645029acf2132b708c08 /table
parent4367870b18782051c9262e7d599341749c2206fa (diff)
downloadopenttd-741fc265225e879d77515d14f056c8969f6fde82.tar.xz
(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring them. Currently the second colour is fixed to be the player's colour.
Diffstat (limited to 'table')
-rw-r--r--table/sprites.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/table/sprites.h b/table/sprites.h
index c29ffddf1..54ef424ee 100644
--- a/table/sprites.h
+++ b/table/sprites.h
@@ -51,7 +51,8 @@ enum Sprites {
SPR_CANALS_BASE = 5382,
SPR_SLOPES_BASE = SPR_CANALS_BASE + 70,
SPR_AUTORAIL_BASE = SPR_SLOPES_BASE + 78,
- SPR_OPENTTD_BASE = SPR_AUTORAIL_BASE + 55,
+ SPR_2CCMAP_BASE = SPR_AUTORAIL_BASE + 55,
+ SPR_OPENTTD_BASE = SPR_2CCMAP_BASE + 256,
SPR_BLOT = SPR_OPENTTD_BASE + 29, // colored circle (mainly used as vehicle profit marker and for sever compatibility)
@@ -1071,7 +1072,7 @@ enum SpriteSetup {
TRANSPARENT_BIT = 31, ///< toggles transparency in the sprite
RECOLOR_BIT = 15, ///< toggles recoloring in the sprite
PALETTE_SPRITE_START = 16, ///< number of the first bit of the sprite containing the recolor palette
- PALETTE_SPRITE_WIDTH = 11, ///< number of bits of the sprite containing the recolor palette
+ PALETTE_SPRITE_WIDTH = 14, ///< number of bits of the sprite containing the recolor palette
SPRITE_WIDTH = 14, ///< number of bits for the sprite number
};