diff options
author | Chris Apers | 2003-11-03 16:09:12 +0000 |
---|---|---|
committer | Chris Apers | 2003-11-03 16:09:12 +0000 |
commit | b4c40ceb1240cc439817128c606f206b6a345280 (patch) | |
tree | 01474fc11d756ab84bfa1e757c5a09dd169d5038 /backends/PalmOS/Src/scumm_globals.h | |
parent | 2bfad6efced38d16ca4c0902d2c75131484c2a80 (diff) | |
download | scummvm-rg350-b4c40ceb1240cc439817128c606f206b6a345280.tar.gz scummvm-rg350-b4c40ceb1240cc439817128c606f206b6a345280.tar.bz2 scummvm-rg350-b4c40ceb1240cc439817128c606f206b6a345280.zip |
Read database only if it is opened
svn-id: r11097
Diffstat (limited to 'backends/PalmOS/Src/scumm_globals.h')
-rw-r--r-- | backends/PalmOS/Src/scumm_globals.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/backends/PalmOS/Src/scumm_globals.h b/backends/PalmOS/Src/scumm_globals.h index e19eea6077..27ecaa5e8f 100644 --- a/backends/PalmOS/Src/scumm_globals.h +++ b/backends/PalmOS/Src/scumm_globals.h @@ -55,15 +55,27 @@ enum { GBVARS_PCJRFREQTABLE_INDEX }; +enum { + GBVARS_RESOURCETABLEPE100V1_INDEX = 0, + GBVARS_RESOURCETABLEPE100V2_INDEX, + GBVARS_RESOURCETABLEPM10_INDEX, + GBVARS_RESOURCETABLECM10_INDEX +}; + void *GlbGetRecord(UInt16 index, UInt16 id); void GlbReleaseRecord(UInt16 index, UInt16 id); void GlbOpen(); void GlbClose(); -#define GBVARS_SCUMM 0 -#define GBVARS_SIMON 1 -#define GBVARS_SKY 2 -#define GBVARS_SWORD2 3 +enum { + GBVARS_SCUMM = 0, + GBVARS_SIMON, + GBVARS_SKY, + GBVARS_SWORD2, + GBVARS_QUEEN, + + GBVARS_COUNT +}; #define _GINIT(x) void initGlobals_##x() { #define _GEND } @@ -78,6 +90,7 @@ void GlbClose(); #define PROTO_GLOBALS(x) void CALL_INIT(x);\ void CALL_RELEASE(x); +#ifndef DISABLE_SCUMM PROTO_GLOBALS(IMuseDigital) PROTO_GLOBALS(NewGui) PROTO_GLOBALS(Akos) @@ -88,7 +101,12 @@ PROTO_GLOBALS(Dialogs) PROTO_GLOBALS(Charset) PROTO_GLOBALS(Costume) PROTO_GLOBALS(PlayerV2) +#endif + +#ifndef DISABLE_QUEEN +PROTO_GLOBALS(Restables) +#endif #undef PROTO_GLOBALS -#endif
\ No newline at end of file +#endif |