(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.

This commit is contained in:
2006-02-13 22:13:02 +00:00
parent caab27d88e
commit 601b226f04
5 changed files with 122 additions and 141 deletions

View File

@@ -21,6 +21,7 @@ typedef struct RailVehicleInfo {
byte engclass; // 0: steam, 1: diesel, 2: electric
byte capacity;
byte cargo_type;
byte ai_rank;
byte callbackmask; // see CallbackMask enum
uint16 pow_wag_power;
byte pow_wag_weight;