diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/newgui.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 5a23fbfb19..d44e9b6836 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -516,9 +516,14 @@ void NewGui::animateCursor() { } #ifdef __PALM_OS__ -#include "scumm_globals.h" // init globals -void NewGui_initGlobals() { - GSETPTR(guifont, GBVARS_GUIFONT_INDEX, byte, GBVARS_SCUMM) -} -void NewGui_releaseGlobals(){ GRELEASEPTR(GBVARS_GUIFONT_INDEX, GBVARS_SCUMM) } +#include "scumm_globals.h" + +_GINIT(NewGui) +_GSETPTR(guifont, GBVARS_GUIFONT_INDEX, byte, GBVARS_SCUMM) +_GEND + +_GRELEASE(NewGui) +_GRELEASEPTR(GBVARS_GUIFONT_INDEX, GBVARS_SCUMM) +_GEND + #endif |