(svn r8314) -Fix

-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
This commit is contained in:
tron
2007-01-21 16:08:18 +00:00
parent 9e9d5905f3
commit bc523186e0
5 changed files with 407 additions and 412 deletions

View File

@@ -13,6 +13,7 @@ typedef struct RailVehicleInfo {
byte image_index;
byte flags; /* 1=multihead engine, 2=wagon */
byte base_cost;
byte railtype;
uint16 max_speed;
uint16 power;
uint16 weight;
@@ -81,8 +82,7 @@ typedef struct EngineInfo {
Year lifelength;
Year base_life;
byte load_amount;
byte railtype:4;
byte climates:4;
byte climates;
uint32 refit_mask;
byte refit_cost;
byte misc_flags;