diff options
author | Max Horn | 2003-04-30 11:37:10 +0000 |
---|---|---|
committer | Max Horn | 2003-04-30 11:37:10 +0000 |
commit | 42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee (patch) | |
tree | a2b7ba14f7f919987239902e513c1a646ca2e9f8 /backends/PalmOS/Src/scumm_globals.h | |
parent | 79ebda7613b3280ae644d67af50712deef8819d7 (diff) | |
download | scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.tar.gz scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.tar.bz2 scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.zip |
started to merge in Chrilith's PalmOS port
svn-id: r7219
Diffstat (limited to 'backends/PalmOS/Src/scumm_globals.h')
-rw-r--r-- | backends/PalmOS/Src/scumm_globals.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/scumm_globals.h b/backends/PalmOS/Src/scumm_globals.h new file mode 100644 index 0000000000..dc5f04e0c2 --- /dev/null +++ b/backends/PalmOS/Src/scumm_globals.h @@ -0,0 +1,50 @@ +#define GBVARS_DIGSTATEMUSICMAP_INDEX 0 +#define GBVARS_DIGSTATEMUSICTABLE_INDEX 1 +#define GBVARS_COMISTATEMUSICTABLE_INDEX 2 +#define GBVARS_COMISEQMUSICTABLE_INDEX 3 +#define GBVARS_DIGSEQMUSICTABLE_INDEX 4 +#define GBVARS_FTSTATEMUSICTABLE_INDEX 5 +#define GBVARS_FTSEQMUSICTABLE_INDEX 6 +#define GBVARS_GUIFONT_INDEX 7 +#define GBVARS_OLD256MIDIHACK_INDEX 8 // fix me : sizeof is used on scummvm +#define GBVARS_CODEC37TABLE_INDEX 9 +#define GBVARS_CODEC47TABLE_INDEX 10 +#define GBVARS_TRANSITIONEFFECTS_INDEX 11 + +#define GBVARS_SIMON1SETTINGS_INDEX 0 +#define GBVARS_SIMON1AMIGASETTINGS_INDEX 1 +#define GBVARS_SIMON1DEMOSETTINGS_INDEX 2 +#define GBVARS_SIMON2WINSETTINGS_INDEX 3 +#define GBVARS_SIMON2MACSETTINGS_INDEX 4 +#define GBVARS_SIMON2DOSSETTINGS_INDEX 5 +#define GBVARS_HEBREWVIDEOFONT_INDEX 6 +#define GBVARS_SPANISHVIDEOFONT_INDEX 7 +#define GBVARS_VIDEOFONT_INDEX 8 + +#define GBVARS_SCUMM 0 +#define GBVARS_SIMON 1 +#define GBVARS_SKY 2 + +#define GSETPTR(var,index,format,id) var = (format *)GBGetRecord(index,id); +#define GRELEASEPTR(index,id) GBReleaseRecord(index,id); + +void *GBGetRecord(UInt16 index, UInt16 id); +void GBReleaseRecord(UInt16 index, UInt16 id); + +void IMuseDigital_initGlobals(); +void IMuseDigital_releaseGlobals(); + +void Simon_initGlobals(); +void Simon_releaseGlobals(); + +void NewGui_initGlobals(); +void NewGui_releaseGlobals(); + +void Resource_initGlobals(); +void Resource_releaseGlobals(); + +void Codec47_initGlobals(); +void Codec47_releaseGlobals(); + +void Gfx_initGlobals(); +void Gfx_releaseGlobals();
\ No newline at end of file |