aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.h
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-08-18 13:40:42 +0200
committerThierry Crozat2018-01-23 01:33:24 +0000
commitc8e0f94fd14073a26bab359900854e4252efea97 (patch)
treed53e01edffd4d65aa4635a3b2bb9f4bec6877af6 /engines/supernova/state.h
parenteabcca3e89d15ffb45c735919666cf1ae0ff7e18 (diff)
downloadscummvm-rg350-c8e0f94fd14073a26bab359900854e4252efea97.tar.gz
scummvm-rg350-c8e0f94fd14073a26bab359900854e4252efea97.tar.bz2
scummvm-rg350-c8e0f94fd14073a26bab359900854e4252efea97.zip
SUPERNOVA: Fixes terminal in sleeping chamber
Instead of manipulating C-Strings edit() now takes a Common::String as a parameter and the terminal input gets redrawn after every keystroke what simplifies the function greatly.
Diffstat (limited to 'engines/supernova/state.h')
-rw-r--r--engines/supernova/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.h b/engines/supernova/state.h
index 69f7d51b63..4ab3cf12b6 100644
--- a/engines/supernova/state.h
+++ b/engines/supernova/state.h
@@ -167,7 +167,7 @@ public:
void loadOverlayStart();
void openLocker(const Room *room, Object *obj, Object *lock, int section);
void closeLocker(const Room *room, Object *obj, Object *lock, int section);
- void edit(char *text, int x, int y, uint length);
+ void edit(Common::String &input, int x, int y, uint length);
int invertSection(int section);
void drawMapExits();
void drawStatus();