diff options
author | Chris Apers | 2003-08-18 10:59:21 +0000 |
---|---|---|
committer | Chris Apers | 2003-08-18 10:59:21 +0000 |
commit | a47e80cb55af9baff82c86c9e9751e876c83a915 (patch) | |
tree | de1d21ac1613bac022aebda8ba23fdcee4c907b9 /scumm/gfx.cpp | |
parent | 3c5f641f482ea799f59dcd3759d06bde1f57cff8 (diff) | |
download | scummvm-rg350-a47e80cb55af9baff82c86c9e9751e876c83a915.tar.gz scummvm-rg350-a47e80cb55af9baff82c86c9e9751e876c83a915.tar.bz2 scummvm-rg350-a47e80cb55af9baff82c86c9e9751e876c83a915.zip |
Updated globals access for PalmOS
svn-id: r9759
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index cb3afd8ded..2ed343bd54 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3602,9 +3602,14 @@ void Scumm::makeCursorColorTransparent(int a) { #ifdef __PALM_OS__ -#include "scumm_globals.h" // init globals -void Gfx_initGlobals() { - GSETPTR(transitionEffects, GBVARS_TRANSITIONEFFECTS_INDEX, TransitionEffect, GBVARS_SCUMM) -} -void Gfx_releaseGlobals() { GRELEASEPTR(GBVARS_TRANSITIONEFFECTS_INDEX, GBVARS_SCUMM)} +#include "scumm_globals.h" + +_GINIT(Gfx) +_GSETPTR(transitionEffects, GBVARS_TRANSITIONEFFECTS_INDEX, TransitionEffect, GBVARS_SCUMM) +_GEND + +_GRELEASE(Gfx) +_GRELEASEPTR(GBVARS_TRANSITIONEFFECTS_INDEX, GBVARS_SCUMM) +_GEND + #endif |