(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.

This commit is contained in:
peter1138
2008-01-30 10:27:45 +00:00
parent 94aa04948c
commit 1cdee354b4
4 changed files with 7 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ struct RailVehicleInfo {
byte capacity;
CargoID cargo_type;
byte ai_rank;
byte ai_passenger_only; ///< Bit value to tell AI that this engine is for passenger use only
uint16 pow_wag_power;
byte pow_wag_weight;
byte visual_effect; // NOTE: this is not 100% implemented yet, at the moment it is only used as a 'fallback' value