8 // ********* START OF SAVE REGION |
8 // ********* START OF SAVE REGION |
9 |
9 |
10 #if !defined(MAX_PATH) |
10 #if !defined(MAX_PATH) |
11 # define MAX_PATH 260 |
11 # define MAX_PATH 260 |
12 #endif |
12 #endif |
|
13 |
|
14 typedef uint16 UnitID; //! All unitnumber stuff is of this type (or anyway, should be) |
13 |
15 |
14 // Prices and also the fractional part. |
16 // Prices and also the fractional part. |
15 VARDEF Prices _price; |
17 VARDEF Prices _price; |
16 VARDEF uint16 _price_frac[NUM_PRICES]; |
18 VARDEF uint16 _price_frac[NUM_PRICES]; |
17 |
19 |
133 bool no_servicing_if_no_breakdowns; // dont send vehicles to depot when breakdowns are disabled |
135 bool no_servicing_if_no_breakdowns; // dont send vehicles to depot when breakdowns are disabled |
134 |
136 |
135 uint8 toolbar_pos; // position of toolbars, 0=left, 1=center, 2=right |
137 uint8 toolbar_pos; // position of toolbars, 0=left, 1=center, 2=right |
136 uint8 window_snap_radius; // Windows snap at each other if closer than this |
138 uint8 window_snap_radius; // Windows snap at each other if closer than this |
137 |
139 |
138 byte max_trains; //max trains in game per player (these are 8bit because the unitnumber field can't hold more) |
140 UnitID max_trains; //max trains in game per player (these are 16bit because the unitnumber field can't hold more) |
139 byte max_roadveh; //max trucks in game per player |
141 UnitID max_roadveh; //max trucks in game per player |
140 byte max_aircraft; //max planes in game per player |
142 UnitID max_aircraft; //max planes in game per player |
141 byte max_ships; //max ships in game per player |
143 UnitID max_ships; //max ships in game per player |
142 |
144 |
143 bool servint_ispercent; // service intervals are in percents |
145 bool servint_ispercent; // service intervals are in percents |
144 uint16 servint_trains; // service interval for trains |
146 uint16 servint_trains; // service interval for trains |
145 uint16 servint_roadveh; // service interval for road vehicles |
147 uint16 servint_roadveh; // service interval for road vehicles |
146 uint16 servint_aircraft;// service interval for aircraft |
148 uint16 servint_aircraft;// service interval for aircraft |