aboutsummaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorJames Brown2002-03-16 05:33:25 +0000
committerJames Brown2002-03-16 05:33:25 +0000
commit3308d6b9dac03cc16e2e18212809fa2f45010f5f (patch)
tree49bf5b9a5bc014f2d0dabae19b6b48549bf9fdd2 /gui.h
parent829bad142c2757a7025c292055bd769dd87f2995 (diff)
downloadscummvm-rg350-3308d6b9dac03cc16e2e18212809fa2f45010f5f.tar.gz
scummvm-rg350-3308d6b9dac03cc16e2e18212809fa2f45010f5f.tar.bz2
scummvm-rg350-3308d6b9dac03cc16e2e18212809fa2f45010f5f.zip
Lots of stuff - GUI fixes. More launcher work... and CD music working in MI1. Thanks to frob and realmz for their work on that.
svn-id: r3762
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/gui.h b/gui.h
index 2056b45dbe..f210fd2032 100644
--- a/gui.h
+++ b/gui.h
@@ -23,24 +23,24 @@ enum {
};
static const char* string_map_table_custom[] = {
- "Master Volume :",
- "Music Volume :",
- "SFX Volume :",
- "+",
- "-",
- "Sound",
- "Keys",
- "About",
- "Pocket ScummVM",
- "Build " SCUMMVM_VERSION "(" SCUMMVM_CVS ")",
- "ScummVM http://scummvm.sourceforge.net",
- "All games (c) LucasArts",
- "Quit",
- "Pause",
- "Save",
- "Skip",
- "Hide",
- "Options"
+ "Master Volume :", //0
+ "Music Volume :", //1
+ "SFX Volume :", //2
+ "+", //3
+ "-", //4
+ "Sound", //5
+ "Keys", //6
+ "About", //7
+ "Pocket ScummVM", //8
+ "Build " SCUMMVM_VERSION "(" SCUMMVM_CVS ")", //9
+ "ScummVM http://scummvm.sourceforge.net", //10
+ "All games (c) LucasArts", //11
+ "Quit", //12
+ "Pause", //13
+ "Save", //14
+ "Skip", //15
+ "Hide", //16
+ "Options" //17
};
static const byte string_map_table_v6[] = {
@@ -84,6 +84,7 @@ struct GuiWidget {
struct Gui {
Scumm *_s;
const GuiWidget *_widgets[4];
+ int _return_to;
int _curX, _curY;
VirtScreen *_vs;
byte _color,_shadowcolor;
@@ -137,11 +138,12 @@ struct Gui {
void saveLoadDialog();
void pause();
void options();
+ void launcher();
void handleSoundDialogCommand(int cmd);
void handleOptionsDialogCommand(int cmd);
void handleKeysDialogCommand(int cmd);
-
+ void handleLauncherDialogCommand(int cmd);
};
// Built-in font