|
@@ -116,24 +116,25 @@ typedef struct Patches {
|
|
|
byte heightmap_rotation; // rotation director for the heightmap
|
|
|
byte se_flat_world_height; // land height a flat world gets in SE
|
|
|
bool bribe; // enable bribing the local authority
|
|
|
bool nonuniform_stations; // allow nonuniform train stations
|
|
|
bool always_small_airport; // always allow small airports
|
|
|
bool realistic_acceleration; // realistic acceleration for trains
|
|
|
bool wagon_speed_limits; // enable wagon speed limits
|
|
|
bool forbid_90_deg; // forbid trains to make 90 deg turns
|
|
|
bool invisible_trees; // don't show trees when buildings are transparent
|
|
|
bool no_servicing_if_no_breakdowns; // dont send vehicles to depot when breakdowns are disabled
|
|
|
bool link_terraform_toolbar; // display terraform toolbar when displaying rail, road, water and airport toolbars
|
|
|
bool reverse_scroll; // Right-Click-Scrolling scrolls in the opposite direction
|
|
|
bool disable_elrails; // when true, the elrails are disabled
|
|
|
bool measure_tooltip; // Show a permanent tooltip when dragging tools
|
|
|
byte liveries; // Options for displaying company liveries, 0=none, 1=self, 2=all
|
|
|
bool prefer_teamchat; // Choose the chat message target with <ENTER>, true=all players, false=your team
|
|
|
|
|
|
uint8 toolbar_pos; // position of toolbars, 0=left, 1=center, 2=right
|
|
|
uint8 window_snap_radius; // Windows snap at each other if closer than this
|
|
|
|
|
|
UnitID max_trains; // max trains in game per player (these are 16bit because the unitnumber field can't hold more)
|
|
|
UnitID max_roadveh; // max trucks in game per player
|
|
|
UnitID max_aircraft; // max planes in game per player
|
|
|
UnitID max_ships; // max ships in game per player
|
|
|
|
|
@@ -231,25 +232,25 @@ typedef struct Cheat {
|
|
|
// Only add new entries at the end of the struct!
|
|
|
|
|
|
typedef struct Cheats {
|
|
|
Cheat magic_bulldozer; // dynamite industries, unmovables
|
|
|
Cheat switch_player; // change to another player
|
|
|
Cheat money; // get rich
|
|
|
Cheat crossing_tunnels; // allow tunnels that cross each other
|
|
|
Cheat build_in_pause; // build while in pause mode
|
|
|
Cheat no_jetcrash; // no jet will crash on small airports anymore
|
|
|
Cheat switch_climate;
|
|
|
Cheat change_date; // changes date ingame
|
|
|
Cheat setup_prod; // setup raw-material production in game
|
|
|
Cheat elrail; // allow electric engines to be powered on conventional rail
|
|
|
Cheat dummy; // empty cheat (enable running el-engines on normal rail)
|
|
|
} Cheats;
|
|
|
|
|
|
VARDEF Cheats _cheats;
|
|
|
|
|
|
typedef struct Paths {
|
|
|
char *personal_dir; // includes cfg file and save folder
|
|
|
char *game_data_dir; // includes data, gm, lang
|
|
|
char *data_dir;
|
|
|
char *gm_dir;
|
|
|
char *lang_dir;
|
|
|
char *save_dir;
|
|
|
char *autosave_dir;
|