src/vehicle.h
changeset 8298 b8f2b501e23a
parent 8044 72c3e2bc6429
child 8299 d5c112dc0726
--- a/src/vehicle.h	Sat Oct 27 11:26:19 2007 +0000
+++ b/src/vehicle.h	Sun Oct 28 15:40:18 2007 +0000
@@ -340,6 +340,8 @@
 	uint32 current_order_time;     ///< How many ticks have passed since this order started.
 	int32 lateness_counter;        ///< How many ticks late (or early if negative) this vehicle is.
 
+	SpriteID colormap; // NOSAVE: cached color mapping
+
 	union {
 		VehicleRail rail;
 		VehicleAir air;
@@ -588,6 +590,7 @@
 void InitializeTrains();
 byte VehicleRandomBits();
 void ResetVehiclePosHash();
+void ResetVehicleColorMap();
 
 bool CanRefitTo(EngineID engine_type, CargoID cid_to);
 CargoID FindFirstRefittableCargo(EngineID engine_type);