From 059ae196267a723c0331ab9c15000902e08c69de Mon Sep 17 00:00:00 2001 From: bjarni Date: Sun, 31 Jul 2005 13:08:08 +0000 Subject: (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 --- table/sprites.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'table') 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[]) -- cgit v1.2.3-70-g09d2