(svn r9703) -Codechange: support callback 36 in vehicle purchase lists

This commit is contained in:
peter1138
2007-04-20 21:42:06 +00:00
parent 15bfaba259
commit 1052b0e8f1
3 changed files with 14 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ bool UsesWagonOverride(const Vehicle *v);
/* Handler to Evaluate callback 36. If the callback fails (i.e. most of the
* time) orig_value is returned */
uint GetVehicleProperty(const Vehicle *v, uint8 property, uint orig_value);
uint GetEngineProperty(EngineID engine, uint8 property, uint orig_value);
enum VehicleTrigger {
VEHICLE_TRIGGER_NEW_CARGO = 1,