summaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-05 00:47:32 +0000
committerDarkvater <darkvater@openttd.org>2006-08-05 00:47:32 +0000
commit525a0ad4c033b378511a3bfc8da79b67a94c2497 (patch)
tree9c2671f2ef8e6b0e0d6858655cc2c0f754e32de6 /hal.h
parentee7b3de2f58c22d5667724471a366c23764de46d (diff)
downloadopenttd-525a0ad4c033b378511a3bfc8da79b67a94c2497.tar.xz
(svn r5765) - Codechange: Fully unify the OS-specific FiosGet...List functions into fios.c, as well as FiosGetSavegameList and FiosGetScenarioList functions with the help of some callbacks.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/hal.h b/hal.h
index e4591c156..699d3f4d6 100644
--- a/hal.h
+++ b/hal.h
@@ -62,6 +62,7 @@ enum {
FIOS_TYPE_SCENARIO = 5,
FIOS_TYPE_OLD_SCENARIO = 6,
FIOS_TYPE_DIRECT = 7,
+ FIOS_TYPE_INVALID = 255,
};
@@ -71,9 +72,7 @@ int _fios_num;
int _saveload_mode;
// get the name of an oldstyle savegame
-void GetOldSaveGameName(char *title, const char *file);
-// get the name of an oldstyle scenario
-void GetOldScenarioGameName(char *title, const char *file);
+void GetOldSaveGameName(char *title, const char *path, const char *file);
// Get a list of savegames
FiosItem *FiosGetSavegameList(int *num, int mode);