diff options
author | truebrain <truebrain@openttd.org> | 2012-01-02 12:07:50 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2012-01-02 12:07:50 +0000 |
commit | 19004a77f843fccd0850cc980dd2c80de6d81462 (patch) | |
tree | 07dc14f07854f727ca0a3f7796d4b18e7ea70c0f /src/vehicle_base.h | |
parent | 0e9a98619db6690954f5dd164d1546b1a79db05f (diff) | |
download | openttd-19004a77f843fccd0850cc980dd2c80de6d81462.tar.xz |
(svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 215340ff0..1427d8004 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -159,12 +159,12 @@ public: Rect coord; ///< NOSAVE: Graphical bounding box of the vehicle, i.e. what to redraw on moves. - Vehicle *next_hash; ///< NOSAVE: Next vehicle in the visual location hash. - Vehicle **prev_hash; ///< NOSAVE: Previous vehicle in the visual location hash. + Vehicle *hash_viewport_next; ///< NOSAVE: Next vehicle in the visual location hash. + Vehicle **hash_viewport_prev; ///< NOSAVE: Previous vehicle in the visual location hash. - Vehicle *next_new_hash; ///< NOSAVE: Next vehicle in the tile location hash. - Vehicle **prev_new_hash; ///< NOSAVE: Previous vehicle in the tile location hash. - Vehicle **old_new_hash; ///< NOSAVE: Cache of the current hash chain. + Vehicle *hash_tile_next; ///< NOSAVE: Next vehicle in the tile location hash. + Vehicle **hash_tile_prev; ///< NOSAVE: Previous vehicle in the tile location hash. + Vehicle **hash_tile_current; ///< NOSAVE: Cache of the current hash chain. SpriteID colourmap; ///< NOSAVE: cached colour mapping |