aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dialog.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-12 12:05:33 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit8e2dac5fb592f8b2379b196b91fe1adba2ee67ff (patch)
tree78a8c37c355e69ec9adf91787956e7bea722e5cb /engines/dm/dialog.h
parent0bd785e7eb72b10d58c4de7e82e44dd59fb0dda3 (diff)
downloadscummvm-rg350-8e2dac5fb592f8b2379b196b91fe1adba2ee67ff.tar.gz
scummvm-rg350-8e2dac5fb592f8b2379b196b91fe1adba2ee67ff.tar.bz2
scummvm-rg350-8e2dac5fb592f8b2379b196b91fe1adba2ee67ff.zip
DM: Add DialogMan::f424_dialogGetChoice
Diffstat (limited to 'engines/dm/dialog.h')
-rw-r--r--engines/dm/dialog.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/dm/dialog.h b/engines/dm/dialog.h
index a4dd7e3425..2aec5e9735 100644
--- a/engines/dm/dialog.h
+++ b/engines/dm/dialog.h
@@ -30,6 +30,18 @@
namespace DM {
+#define k0_DIALOG_SET_VIEWPORT 0
+#define k1_DIALOG_SET_SCREEN 1
+#define k2_DIALOG_SET_UNKNOWN 2
+#define k1_ONE_CHOICE 1
+#define k2_TWO_CHOICES 2
+#define k4_FOUR_CHOICES 4
+#define k0_DIALOG_CHOICE_NONE 0
+#define k1_DIALOG_CHOICE_1 1
+#define k2_DIALOG_CHOICE_2 2
+#define k3_DIALOG_CHOICE_3 3
+#define k4_DIALOG_CHOICE_4 4
+
class DialogMan {
DMEngine *_vm;
public:
@@ -39,6 +51,7 @@ public:
char *choice3, char *choice4, bool screenDialog, bool clearScreen, bool fading); // @ F0427_DIALOG_Draw
void f425_printCenteredChoice(byte *bitmap, char *str, int16 posX, int16 posY); // @ F0425_DIALOG_PrintCenteredChoice
bool f426_isMessageOnTwoLines(char *str, char *part1, char *part2); // @ F0426_DIALOG_IsMessageOnTwoLines
+ int16 f424_dialogGetChoice(uint16 choiceCount, uint16 dialogSetIndex, int16 driveType, int16 automaticChoiceIfFlopyInDrive); // @ F0424_DIALOG_GetChoice
};
} \ No newline at end of file