summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-07-31 13:08:08 +0000
committerbjarni <bjarni@openttd.org>2005-07-31 13:08:08 +0000
commit546c34f2e5e6b130cdbc9201fe465548c1e54ee5 (patch)
treecf8e1be453d176ec2f818199cf430b90a6bf02d8 /table
parent50e41dc1d14114b90fa56579937f16c3de88eb75 (diff)
downloadopenttd-546c34f2e5e6b130cdbc9201fe465548c1e54ee5.tar.xz
(svn r2764) -Feature: Clone vehicles
-This allows a player to clone an excisting vehicle of his own -[fix]: this uncovered an excisting bug in CmdBuildRailVehicle() where depots could build trains of the wrong track type. This is fixed -Thanks to Celestar for drawing the sprites and _luca_ for including them in openttd.grf
Diffstat (limited to 'table')
-rw-r--r--table/sprites.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/table/sprites.h b/table/sprites.h
index 82426efcb..1537a6b83 100644
--- a/table/sprites.h
+++ b/table/sprites.h
@@ -64,6 +64,11 @@ enum Sprites {
SPR_ARROW_LEFT = SPR_OPENTTD_BASE + 97,
SPR_ARROW_RIGHT = SPR_OPENTTD_BASE + 98,
+ /* Clone vehicles stuff */
+ SPR_CLONE_AIRCRAFT = SPR_OPENTTD_BASE + 99,
+ SPR_CLONE_ROADVEH = SPR_OPENTTD_BASE + 99,
+ SPR_CLONE_TRAIN = SPR_OPENTTD_BASE + 99,
+ SPR_CLONE_SHIP = SPR_OPENTTD_BASE + 99,
/* Network GUI sprites */
SPR_SQUARE = SPR_OPENTTD_BASE + 23, // colored square (used for newgrf compatibility)
@@ -942,6 +947,8 @@ typedef enum CursorSprites {
SPR_CURSOR_BUS_STATION = 2725,
SPR_CURSOR_TRUCK_STATION = 2726,
SPR_CURSOR_ROAD_TUNNEL = 2433,
+
+ SPR_CURSOR_CLONE = SPR_OPENTTD_BASE + 100,
} CursorSprite;
/// Animation macro in table/animcursors.h (_animcursors[])