TBTR: Savegame and API changes to support multiple sprites per vehicle.

This commit is contained in:
Jonathan G Rennison
2016-11-01 20:27:30 +00:00
parent d204062300
commit 92254acf8d
7 changed files with 13 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ public:
uint32 max_te;
byte spritenum;
SpriteID cur_image;
VehicleSpriteSeq sprite_seq; ///< Vehicle appearance.
uint32 image_width;
TemplateVehicle(VehicleType type = VEH_INVALID, EngineID e = INVALID_ENGINE, byte B = 0, Owner = _local_company);
@@ -105,6 +105,7 @@ public:
this->reuse_depot_vehicles = true;
this->keep_remaining_vehicles = true;
this->refit_as_template = true;
this->sprite_seq.count = 1;
}
~TemplateVehicle();