aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/builder/scumm/bl_dialogs.c
diff options
context:
space:
mode:
authorChris Apers2003-11-28 09:54:55 +0000
committerChris Apers2003-11-28 09:54:55 +0000
commit4fa5882181f060a07d055c8577f40836dc35d3a2 (patch)
treefdb300151adae0f8b6b745e45801a9664689d2c9 /backends/PalmOS/Src/builder/scumm/bl_dialogs.c
parent56fa76c2ba0f5e8e79b0b9395fb5549bf0f2111e (diff)
downloadscummvm-rg350-4fa5882181f060a07d055c8577f40836dc35d3a2.tar.gz
scummvm-rg350-4fa5882181f060a07d055c8577f40836dc35d3a2.tar.bz2
scummvm-rg350-4fa5882181f060a07d055c8577f40836dc35d3a2.zip
Builder files
svn-id: r11398
Diffstat (limited to 'backends/PalmOS/Src/builder/scumm/bl_dialogs.c')
-rw-r--r--backends/PalmOS/Src/builder/scumm/bl_dialogs.c100
1 files changed, 100 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/builder/scumm/bl_dialogs.c b/backends/PalmOS/Src/builder/scumm/bl_dialogs.c
new file mode 100644
index 0000000000..98ed7f919e
--- /dev/null
+++ b/backends/PalmOS/Src/builder/scumm/bl_dialogs.c
@@ -0,0 +1,100 @@
+#include <PalmOS.h>
+#include "b_globals.h"
+
+typedef struct {
+ Int32 num;
+ char string[80];
+} ResString;
+
+static void addDialogs_string_map_table_v7() {
+ ResString string_map_table_v7[] = {
+ {96, "game name and version"}, //that's how it's supposed to be
+ {77, "Select a game to LOAD"},
+ {76, "Name your SAVE game"},
+ {70, "save"}, //boot8
+ {71, "load"}, //boot9
+ {72, "play"}, //boot10
+ {73, "cancel"}, //boot11
+ {74, "quit"}, //boot12
+ {75, "ok"}, //boot13
+ {85, "game paused"}, // boot3
+
+ /* this is the almost complete string map for v7
+ {63, "how may I serve you?"},
+ {64, "the dig v1.0"}, //(game name/version)
+ {67, "text display only"},
+ {68, "c:\\dig"}, //boot007 (save path ?)
+ {69, "the dig"}, //boot21 (game name)
+ {70, "save"}, //boot8
+ {71, "load"}, //boot9
+ {72, "play"}, //boot10
+ {73, "cancel"}, //boot11
+ {74, "quit"}, //boot12
+ {75, "ok"}, //boot13
+ {76, "name your save game"}, //boot19
+ {77, "select a game to load"}, //boot20
+ {78, "you must enter a name"},//boot14
+ {79, "saving '%s'"}, //boot17
+ {80, "loading '%s'"}, //boot18
+ {81, "the game was NOT saved"}, //boot15
+ {82, "the game was NOT loaded"}, //boot16
+ {83, "how may I serve you?"},
+ {84, "how may I serve you?"},
+ {85, "game paused"}, // boot3
+ {86, "Are you sure you want to restart"},
+ {87, "Are you sure you want to quit?"}, //boot05
+ {89, "how may I serve you?"},
+ {90, "music"}, //boot22
+ {91, "voice"}, //boot23
+ {92, "sfx"}, //boot24
+ {93, "disabled"}, //boot25
+ {94, "text speed"}, //boot26
+ {95, "text display"}, //boot27
+ {96, "the dig v1.0"},*/
+
+ };
+ writeRecord(string_map_table_v7, sizeof(string_map_table_v7), GBVARS_STRINGMAPTABLEV7_INDEX , GBVARS_SCUMM);
+}
+
+static void addDialogs_string_map_table_v6() {
+ ResString string_map_table_v6[] = {
+ {117, "How may I serve you?"},
+ {109, "Select a game to LOAD"},
+ {108, "Name your SAVE game"},
+ {96, "Save"},
+ {97, "Load"},
+ {98, "Play"},
+ {99, "Cancel"},
+ {100, "Quit"},
+ {101, "OK"},
+ {93, "Game paused"},
+ };
+ writeRecord(string_map_table_v6, sizeof(string_map_table_v6), GBVARS_STRINGMAPTABLEV6_INDEX , GBVARS_SCUMM);
+}
+
+static void addDialogs_string_map_table_v5() {
+ ResString string_map_table_v5[] = {
+ {28, "How may I serve you?"},
+ {20, "Select a game to LOAD"},
+ {19, "Name your SAVE game"},
+ {7, "Save"},
+ {8, "Load"},
+ {9, "Play"},
+ {10, "Cancel"},
+ {11, "Quit"},
+ {12, "OK"},
+ {4, "Game paused"}
+ };
+ writeRecord(string_map_table_v5, sizeof(string_map_table_v5), GBVARS_STRINGMAPTABLEV5_INDEX , GBVARS_SCUMM);
+}
+///////////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////
+
+void addDialogs() {
+ addDialogs_string_map_table_v7();
+ addDialogs_string_map_table_v6();
+ addDialogs_string_map_table_v5();
+
+} \ No newline at end of file