(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.

This commit is contained in:
Darkvater
2006-08-05 00:47:32 +00:00
parent ee7b3de2f5
commit 525a0ad4c0
7 changed files with 274 additions and 690 deletions

5
hal.h
View File

@@ -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);