From e924c81353394e9f625bea40713891bceb153ecf Mon Sep 17 00:00:00 2001 From: Ludvig Strigeus Date: Sat, 10 Nov 2001 20:51:55 +0000 Subject: new timing algorithm svn-id: r3484 --- gui.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gui.h') diff --git a/gui.h b/gui.h index b0c4c16448..7e47d2c6db 100644 --- a/gui.h +++ b/gui.h @@ -28,6 +28,8 @@ struct GuiWidget { byte _string_number; }; +#define SAVEGAME_NAME_LEN 32 + struct Gui { Scumm *_s; const GuiWidget *_widgets[4]; @@ -49,7 +51,7 @@ struct Gui { int _editString; int _editLen; bool valid_games[9]; - char game_names[9][32]; + char game_names[9][SAVEGAME_NAME_LEN]; void loop(); void init(Scumm *s); void draw(int start, int end); @@ -71,7 +73,7 @@ struct Gui { void getSavegameNames(int start); void editString(int index); void showCaret(bool show); - void addLetter(char letter); + void addLetter(byte letter); void saveLoadDialog(); void queryMessage(const char *msg, const char *alts); byte getDefaultColor(int color); -- cgit v1.2.3