aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dialog.h
diff options
context:
space:
mode:
authorStrangerke2016-08-23 00:08:10 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit8ed20d852e8118edf44869cf17c879728f10f255 (patch)
treeb70c1fe0ba34a9f90b70ef50656ad682c9638089 /engines/dm/dialog.h
parentfecb869af99927326b6cb6689c0e8e6d499a5977 (diff)
downloadscummvm-rg350-8ed20d852e8118edf44869cf17c879728f10f255.tar.gz
scummvm-rg350-8ed20d852e8118edf44869cf17c879728f10f255.tar.bz2
scummvm-rg350-8ed20d852e8118edf44869cf17c879728f10f255.zip
DM: Change several string constness, hopefully fixing GCC warnings
Diffstat (limited to 'engines/dm/dialog.h')
-rw-r--r--engines/dm/dialog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dm/dialog.h b/engines/dm/dialog.h
index 48a1accb1c..1ac88fec7f 100644
--- a/engines/dm/dialog.h
+++ b/engines/dm/dialog.h
@@ -47,10 +47,10 @@ class DialogMan {
public:
uint16 _g335_selectedDialogChoice; // @ G0335_ui_SelectedDialogChoice
explicit DialogMan(DMEngine *vm);
- void f427_dialogDraw(char *msg1, char *msg2, char *choice1, char *choice2,
- 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
+ void f427_dialogDraw(const char *msg1, const char *msg2, const char *choice1, const char *choice2,
+ const char *choice3, const char *choice4, bool screenDialog, bool clearScreen, bool fading); // @ F0427_DIALOG_Draw
+ void f425_printCenteredChoice(byte *bitmap, const char *str, int16 posX, int16 posY); // @ F0425_DIALOG_PrintCenteredChoice
+ bool f426_isMessageOnTwoLines(const char *str, char *part1, char *part2); // @ F0426_DIALOG_IsMessageOnTwoLines
int16 f424_dialogGetChoice(uint16 choiceCount, uint16 dialogSetIndex, int16 driveType, int16 automaticChoiceIfFlopyInDrive); // @ F0424_DIALOG_GetChoice
};