aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/dialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/dialogs.h')
-rw-r--r--engines/scumm/dialogs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/engines/scumm/dialogs.h b/engines/scumm/dialogs.h
index c26aa9f414..7977f123ed 100644
--- a/engines/scumm/dialogs.h
+++ b/engines/scumm/dialogs.h
@@ -187,6 +187,27 @@ public:
Common::String mainText;
};
+/**
+ * Difficulty selection dialog for Loom FM-Towns.
+ */
+class LoomTownsDifficultyDialog : public GUI::Dialog {
+public:
+ LoomTownsDifficultyDialog();
+
+ int getSelectedDifficulty() const { return _difficulty; }
+protected:
+ virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
+
+private:
+ enum {
+ kStandardCmd = 'STDD',
+ kPracticeCmd = 'PRAD',
+ kExpertCmd = 'EXPD'
+ };
+
+ int _difficulty;
+};
+
} // End of namespace Scumm
#endif