Changeset - r17055:2989afdad450
[Not reviewed]
master
0 4 0
smatz - 14 years ago 2011-01-15 14:20:34
smatz@openttd.org
(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day
4 files changed with 3 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/saveload/misc_sl.cpp
Show inline comments
 
@@ -67,7 +67,7 @@ static const SaveLoadGlobVarList _date_d
 
	SLEG_CONDVAR(_date,                   SLE_INT32,                  31, SL_MAX_VERSION),
 
	    SLEG_VAR(_date_fract,             SLE_UINT16),
 
	    SLEG_VAR(_tick_counter,           SLE_UINT16),
 
	    SLEG_VAR(_vehicle_id_ctr_day,     SLE_UINT16),
 
	SLE_CONDNULL(2, 0, 156), // _vehicle_id_ctr_day
 
	    SLEG_VAR(_age_cargo_skip_counter, SLE_UINT8),
 
	SLE_CONDNULL(1, 0, 45),
 
	SLEG_CONDVAR(_cur_tileloop_tile,      SLE_FILE_U16 | SLE_VAR_U32,  0, 5),
 
@@ -92,7 +92,7 @@ static const SaveLoadGlobVarList _date_c
 
	SLEG_CONDVAR(_load_check_data.current_date,  SLE_INT32,                  31, SL_MAX_VERSION),
 
	    SLE_NULL(2),                       // _date_fract
 
	    SLE_NULL(2),                       // _tick_counter
 
	    SLE_NULL(2),                       // _vehicle_id_ctr_day
 
	SLE_CONDNULL(2, 0, 156),               // _vehicle_id_ctr_day
 
	    SLE_NULL(1),                       // _age_cargo_skip_counter
 
	SLE_CONDNULL(1, 0, 45),
 
	SLE_CONDNULL(2, 0, 5),                 // _cur_tileloop_tile
src/saveload/oldloader_sl.cpp
Show inline comments
 
@@ -1656,7 +1656,7 @@ static const OldChunks main_chunk[] = {
 

	
 
	OCL_ASSERT( OC_TTO, 0x496AC ),
 

	
 
	OCL_VAR ( OC_UINT16,    1, &_vehicle_id_ctr_day ),
 
	OCL_NULL ( 2 ), // _vehicle_id_ctr_day
 

	
 
	OCL_CHUNK(  8, LoadOldSubsidy ),
 

	
src/vehicle.cpp
Show inline comments
 
@@ -58,7 +58,6 @@
 

	
 
#define GEN_HASH(x, y) ((GB((y), 6, 6) << 6) + GB((x), 7, 6))
 

	
 
VehicleID _vehicle_id_ctr_day;
 
VehicleID _new_vehicle_id;
 
uint16 _returned_refit_capacity;      ///< Stores the capacity after a refit operation.
 
uint16 _returned_mail_refit_capacity; ///< Stores the mail capacity after a refit operation (Aircraft only).
src/vehicle_func.h
Show inline comments
 
@@ -172,7 +172,6 @@ CommandCost EnsureNoVehicleOnGround(Tile
 
CommandCost EnsureNoTrainOnTrackBits(TileIndex tile, TrackBits track_bits);
 
void StopAllVehicles();
 

	
 
extern VehicleID _vehicle_id_ctr_day;
 
extern VehicleID _new_vehicle_id;
 
extern uint16 _returned_refit_capacity;
 
extern uint16 _returned_mail_refit_capacity;
0 comments (0 inline, 0 general)