src/vehicle_base.h
changeset 8258 9fa31acb07bc
parent 8254 1496654ca5e7
child 8467 605661f3a91c
equal deleted inserted replaced
8257:3151fdbc73f9 8258:9fa31acb07bc
   199 	friend void AfterLoadVehicles(bool clear_te_id);              // So we can set the previous and first pointers while loading
   199 	friend void AfterLoadVehicles(bool clear_te_id);              // So we can set the previous and first pointers while loading
   200 	friend bool LoadOldVehicle(LoadgameState *ls, int num);       // So we can set the proper next pointer while loading
   200 	friend bool LoadOldVehicle(LoadgameState *ls, int num);       // So we can set the proper next pointer while loading
   201 
   201 
   202 	Vehicle *depot_list;     // NOSAVE: linked list to tell what vehicles entered a depot during the last tick. Used by autoreplace
   202 	Vehicle *depot_list;     // NOSAVE: linked list to tell what vehicles entered a depot during the last tick. Used by autoreplace
   203 
   203 
   204 	StringID string_id;      // Displayed string
   204 	char *name;              ///< Name of vehicle
   205 
   205 
   206 	UnitID unitnumber;       // unit number, for display purposes only
   206 	UnitID unitnumber;       // unit number, for display purposes only
   207 	PlayerByte owner;        // which player owns the vehicle?
   207 	PlayerByte owner;        // which player owns the vehicle?
   208 
   208 
   209 	TileIndex tile;          // Current tile index
   209 	TileIndex tile;          // Current tile index