aboutsummaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorJames Brown2002-03-16 18:03:28 +0000
committerJames Brown2002-03-16 18:03:28 +0000
commit1d97edb2f9a1ab7cc8209fff7e8a7c76e47bbf8e (patch)
treec878965ac5196c41f7d0f7e0d21fea647ada75f5 /gui.h
parentc650f028aacc59e15bddd984e64e5bf6fac0ba4a (diff)
downloadscummvm-rg350-1d97edb2f9a1ab7cc8209fff7e8a7c76e47bbf8e.tar.gz
scummvm-rg350-1d97edb2f9a1ab7cc8209fff7e8a7c76e47bbf8e.tar.bz2
scummvm-rg350-1d97edb2f9a1ab7cc8209fff7e8a7c76e47bbf8e.zip
Update to my latest local tree. Various stuff - and a fixme hack by khalek to stop loom intro crashing.
svn-id: r3765
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h49
1 files changed, 27 insertions, 22 deletions
diff --git a/gui.h b/gui.h
index f210fd2032..82ac0c856c 100644
--- a/gui.h
+++ b/gui.h
@@ -1,6 +1,11 @@
#if !defined(gui_h)
#define gui_h
+struct ResString {
+ int num;
+ char string[80];
+};
+
enum {
GUI_NONE = 0,
GUI_RESTEXT = 1,
@@ -43,30 +48,30 @@ static const char* string_map_table_custom[] = {
"Options" //17
};
-static const byte 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 */
+static 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"},
};
-static const byte string_map_table_v5[] = {
- 0, /* 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 */
+static ResString string_map_table_v5[] = {
+ {0, "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"}
};
struct GuiWidget {