aboutsummaryrefslogtreecommitdiff
path: root/scumm/dialogs.cpp
diff options
context:
space:
mode:
authorChris Apers2003-05-05 12:29:26 +0000
committerChris Apers2003-05-05 12:29:26 +0000
commit5944d40eaae53fbbc5bc93e8a0c4f075525c43a6 (patch)
tree8d32f4f7627a6648bee88a436d9fc3827b6f0cb9 /scumm/dialogs.cpp
parentb1ff9cb1cde7a6a442d6217c83ff558c45f475c8 (diff)
downloadscummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.tar.gz
scummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.tar.bz2
scummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.zip
Add more ScummVM globals to PDB
svn-id: r7346
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r--scumm/dialogs.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp
index 7690017a5c..f27505ff5e 100644
--- a/scumm/dialogs.cpp
+++ b/scumm/dialogs.cpp
@@ -81,6 +81,11 @@ static const char* string_map_table_custom[] = {
"Please select an action" //27
};
+#ifdef __PALM_OS__
+static ResString *string_map_table_v7;
+static ResString *string_map_table_v6;
+static ResString *string_map_table_v5;
+#else
static ResString string_map_table_v7[] = {
{96, "game name and version"}, //that's how it's supposed to be
{77, "Select a game to LOAD"},
@@ -153,7 +158,7 @@ static ResString string_map_table_v5[] = {
{12, "Ok"},
{4, "Game paused"}
};
-
+#endif
#pragma mark -
@@ -758,3 +763,17 @@ void KeysDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
}
#endif
+
+#ifdef __PALM_OS__
+#include "scumm_globals.h" // init globals
+void Dialogs_initGlobals() {
+ GSETPTR(string_map_table_v7, GBVARS_STRINGMAPTABLEV7_INDEX, ResString, GBVARS_SCUMM)
+ GSETPTR(string_map_table_v6, GBVARS_STRINGMAPTABLEV6_INDEX, ResString, GBVARS_SCUMM)
+ GSETPTR(string_map_table_v5, GBVARS_STRINGMAPTABLEV5_INDEX, ResString, GBVARS_SCUMM)
+}
+void Dialogs_releaseGlobals() {
+ GRELEASEPTR(GBVARS_STRINGMAPTABLEV7_INDEX, GBVARS_SCUMM)
+ GRELEASEPTR(GBVARS_STRINGMAPTABLEV6_INDEX, GBVARS_SCUMM)
+ GRELEASEPTR(GBVARS_STRINGMAPTABLEV5_INDEX, GBVARS_SCUMM)
+}
+#endif