equal
deleted
inserted
replaced
33 #include "tgp.h" |
33 #include "tgp.h" |
34 #include "settings.h" |
34 #include "settings.h" |
35 #include "date.h" |
35 #include "date.h" |
36 #include "cargotype.h" |
36 #include "cargotype.h" |
37 #include "player_face.h" |
37 #include "player_face.h" |
|
38 #include "fileio.h" |
38 |
39 |
39 #include "fios.h" |
40 #include "fios.h" |
40 /* Variables to display file lists */ |
41 /* Variables to display file lists */ |
41 FiosItem *_fios_list; |
42 FiosItem *_fios_list; |
42 int _saveload_mode; |
43 int _saveload_mode; |
1394 |
1395 |
1395 SetDParam(0, p->name_1); |
1396 SetDParam(0, p->name_1); |
1396 SetDParam(1, p->name_2); |
1397 SetDParam(1, p->name_2); |
1397 SetDParam(2, _date); |
1398 SetDParam(2, _date); |
1398 GetString(_edit_str_buf, STR_4004, lastof(_edit_str_buf)); |
1399 GetString(_edit_str_buf, STR_4004, lastof(_edit_str_buf)); |
|
1400 SanitizeFilename(_edit_str_buf); |
1399 } |
1401 } |
1400 |
1402 |
1401 extern void StartupEngines(); |
1403 extern void StartupEngines(); |
1402 |
1404 |
1403 static void SaveLoadDlgWndProc(Window *w, WindowEvent *e) |
1405 static void SaveLoadDlgWndProc(Window *w, WindowEvent *e) |