summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-04-01 14:03:20 +0000
committerfrosch <frosch@openttd.org>2008-04-01 14:03:20 +0000
commit15a9fba867d2849f38b8d46364ad945df690c21d (patch)
tree9a16bca519fc373be161aa0268902383ac926238 /src/vehicle_base.h
parent9d914a803c0e9d39b8d86427902b0aac4c6d88ce (diff)
downloadopenttd-15a9fba867d2849f38b8d46364ad945df690c21d.tar.xz
(svn r12531) -Codechange: Rename some variables for consistency.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 7f524cb5f..c2eb7f9e9 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -223,9 +223,9 @@ public:
// 0xfd == custom sprite, 0xfe == custom second head sprite
// 0xff == reserved for another custom sprite
uint16 cur_image; // sprite number for this vehicle
- byte sprite_width; // width of vehicle sprite
- byte sprite_height; // height of vehicle sprite
- byte z_height; // z-height of vehicle sprite
+ byte x_extent; // x-extent of vehicle bounding box
+ byte y_extent; // y-extent of vehicle bounding box
+ byte z_extent; // z-extent of vehicle bounding box
int8 x_offs; // x offset for vehicle sprite
int8 y_offs; // y offset for vehicle sprite
EngineID engine_type;