aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/util.h')
-rw-r--r--engines/hugo/util.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/engines/hugo/util.h b/engines/hugo/util.h
index 12ec58ff86..85fef01a6e 100644
--- a/engines/hugo/util.h
+++ b/engines/hugo/util.h
@@ -46,9 +46,27 @@ int lastBit(byte data);
void reverseByte(byte *data);
-void Box(box_t, const char *, ...) GCC_PRINTF(2, 3);
-Common::String promptBox(const char *msg);
-bool yesNoBox(const char *msg);
+/**
+ * Show a dialog notifying the user about something, with
+ * only a simple "OK" button to dismiss it.
+ */
+void notifyBox(const Common::String &msg);
+
+/**
+ * Show a dialog prompting the player to input some text.
+ */
+Common::String promptBox(const Common::String &msg);
+
+/**
+ * Show a dialog prompting the player for a "yes"/"no" choice.
+ */
+bool yesNoBox(const Common::String &msg);
+
+/**
+ * Convert a string to lower case, in place.
+ * @param buffer string to convert to lower case
+ * @return the string which was passed in
+ */
char *strlwr(char *buffer);
} // End of namespace Utils