summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 12:21:04 +0000
committertron <tron@openttd.org>2005-11-16 12:21:04 +0000
commit7a7847ed6192767f237300d9835f55c35c6fb9ec (patch)
tree2687cee2c415534c72ac298de588a9ea6204c222 /vehicle.h
parentcc61dd4890c70d5d4d29a6f6a6725ba92f1c1ae3 (diff)
downloadopenttd-7a7847ed6192767f237300d9835f55c35c6fb9ec.tar.xz
(svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/vehicle.h b/vehicle.h
index d79ae2cc5..f6fedb568 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -141,28 +141,6 @@ typedef struct VehicleShip {
byte state;
} VehicleShip;
-// not used ATM
-struct WorldSprite {
- struct WorldSprite *next; // next sprite in hash chain
- uint16 image; // sprite number for this vehicle
-
- // screen coordinates
- int16 left, top, right, bottom;
-
- // world coordinates
- int16 x;
- int16 y;
- byte z;
-
- int8 x_offs; // x offset for vehicle sprite
- int8 y_offs; // y offset for vehicle sprite
-
- byte width; // width of vehicle sprite
- byte height; // height of vehicle sprite
- byte depth; // depth of vehicle sprite
-
- byte flags; // draw flags
-};
struct Vehicle {
byte type; // type, ie roadven,train,ship,aircraft,special