diff options
author | Max Horn | 2004-04-25 14:42:14 +0000 |
---|---|---|
committer | Max Horn | 2004-04-25 14:42:14 +0000 |
commit | d4f876b37df0fdc772936eedf9b112802987254b (patch) | |
tree | c7e782e5846dd153159c574ca9cb2ca250dfd34f /saga/game.h | |
parent | f9cd78cedd48371f8aa9d98cbcdeb879fe543fac (diff) | |
download | scummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.tar.gz scummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.tar.bz2 scummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.zip |
Fix many warnings; use C++ type system instead of C style typedefs; removed various unused stuff; const correctness; etc.
svn-id: r13622
Diffstat (limited to 'saga/game.h')
-rw-r--r-- | saga/game.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/saga/game.h b/saga/game.h index 1c16b9b5fa..dc6bb47ee1 100644 --- a/saga/game.h +++ b/saga/game.h @@ -45,14 +45,14 @@ namespace Saga { typedef int (*R_GAME_VERIFYFUNC) (const char *); -typedef struct R_GAME_FILEDESC_tag { +struct R_GAME_FILEDESC { const char *gf_fname; uint gf_type; -} R_GAME_FILEDESC; +}; -typedef struct R_GAMEDESC_tag { +struct R_GAMEDESC { int gd_game_type; int gd_game_id; @@ -79,18 +79,18 @@ typedef struct R_GAMEDESC_tag { int gd_supported; -} R_GAMEDESC; +}; -typedef struct R_GAME_FILEDATA_tag { +struct R_GAME_FILEDATA { R_RSCFILE_CONTEXT *file_ctxt; uint file_types; uint file_flags; -} R_GAME_FILEDATA; +}; -typedef struct R_GAMEMODULE_tag { +struct R_GAMEMODULE { int game_init; int game_number; @@ -113,7 +113,7 @@ typedef struct R_GAMEMODULE_tag { int err_n; const char *err_str; -} R_GAMEMODULE; +}; int LoadLanguage(void); |