equal
deleted
inserted
replaced
498 _path.autosave_dir = str_fmt("%s/autosave", _path.save_dir); |
498 _path.autosave_dir = str_fmt("%s/autosave", _path.save_dir); |
499 _path.scenario_dir = str_fmt("%sscenario", _path.personal_dir); |
499 _path.scenario_dir = str_fmt("%sscenario", _path.personal_dir); |
500 _path.gm_dir = str_fmt("%sgm/", _path.game_data_dir); |
500 _path.gm_dir = str_fmt("%sgm/", _path.game_data_dir); |
501 _path.data_dir = str_fmt("%sdata/", _path.game_data_dir); |
501 _path.data_dir = str_fmt("%sdata/", _path.game_data_dir); |
502 _config_file = str_fmt("%sopenttd.cfg", _path.personal_dir); |
502 _config_file = str_fmt("%sopenttd.cfg", _path.personal_dir); |
|
503 _log_file = str_fmt("%sopenttd.log", _path.personal_dir); |
503 |
504 |
504 #if defined CUSTOM_LANG_DIR |
505 #if defined CUSTOM_LANG_DIR |
505 // sets the search path for lng files to the custom one |
506 // sets the search path for lng files to the custom one |
506 _path.lang_dir = malloc( MAX_PATH ); |
507 _path.lang_dir = malloc( MAX_PATH ); |
507 ttd_strlcpy( _path.lang_dir, CUSTOM_LANG_DIR, MAX_PATH); |
508 ttd_strlcpy( _path.lang_dir, CUSTOM_LANG_DIR, MAX_PATH); |