aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp15
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