Fix #299: Add estimated max speed (full) to template windows

This commit is contained in:
Jonathan G Rennison
2021-07-17 23:12:00 +01:00
parent 502af119e5
commit 6a009686c9
10 changed files with 39 additions and 8 deletions

View File

@@ -111,6 +111,7 @@ public:
uint32 empty_weight;
uint32 full_weight;
uint32 max_te;
uint32 air_drag;
uint32 ctrl_flags; ///< See: TemplateVehicleControlFlags
@@ -218,4 +219,6 @@ short DeleteTemplateReplacementsByGroupID(GroupID);
void ReindexTemplateReplacements();
int GetTemplateVehicleEstimatedMaxAchievableSpeed(const TemplateVehicle *tv, const int mass, const int speed_cap);
#endif /* TEMPLATE_VEH_H */