Fix #299: Add estimated max speed (full) to template windows
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user