aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/msn_def.h
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-07-11 05:33:46 +0200
committerThierry Crozat2018-01-22 23:54:26 +0000
commit30308fbe8d45de40331b10bd7ed6e62c6bff0a4c (patch)
tree129e66e105c49cfec87f261a3000198bd135868b /engines/supernova/msn_def.h
parent87a0dd970af238e6ec7033288c0a67640a717d6e (diff)
downloadscummvm-rg350-30308fbe8d45de40331b10bd7ed6e62c6bff0a4c.tar.gz
scummvm-rg350-30308fbe8d45de40331b10bd7ed6e62c6bff0a4c.tar.bz2
scummvm-rg350-30308fbe8d45de40331b10bd7ed6e62c6bff0a4c.zip
SUPERNOVA: Implements GUI routines and refactors code
Of course the short description does not adequately describe the changes made with this commit and I assume this won't be the last big restructuring unfortunately. Focus of this commit was to implement/fix the code so the main user interface can be rendered. Bugs in the core routines for rendering Messages and Images were fixed as well.
Diffstat (limited to 'engines/supernova/msn_def.h')
-rw-r--r--engines/supernova/msn_def.h37
1 files changed, 6 insertions, 31 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h
index 8e524043bb..e7a76c84a6 100644
--- a/engines/supernova/msn_def.h
+++ b/engines/supernova/msn_def.h
@@ -422,7 +422,7 @@ enum ObjectID {
TICKETS
};
-static const char *const guiCommands[] = {
+static const char *const guiCommand_DE[] = {
"Gehe",
"Schau",
"Nimm",
@@ -435,6 +435,11 @@ static const char *const guiCommands[] = {
"Gib"
};
+static const char *guiStatusCommand_DE[10] =
+{"Gehe zu ","Schau ","Nimm ","\231ffne ","Schlie\341e ","Dr\201cke ","Ziehe ","Benutze ","Rede mit ","Gib "};
+static const char *guiStatusCommand_EN[10] =
+{"Go to ", "Look at ", "Take ", "Open ", "Close ", "Press ", "Pull ", "Use ", "Talk to ", "Give "};
+
ObjectType operator|(ObjectType a, ObjectType b);
ObjectType operator&(ObjectType a, ObjectType b);
ObjectType operator^(ObjectType a, ObjectType b);
@@ -501,36 +506,6 @@ struct Object {
byte _direction;
};
-struct GameState {
- int32 time;
- int32 timeSleep;
- int32 timeStarting;
- int32 timeAlarm;
- int32 timeAlarmSystem;
- int32 eventTime;
- int32 shipEnergy;
- int32 landingModuleEnergy;
- uint16 greatF;
- int16 timeRobot;
- int16 money;
- char coins;
- char shoes;
- char nameSeen;
- char destination;
- char benOverlay;
- char language;
- bool corridorSearch;
- bool alarmOn;
- bool terminalStripConnected;
- bool terminalStripWire;
- bool cableConnected;
- bool powerOff;
- bool cockpitSeen;
- bool airlockSeen;
- bool holdSeen;
- bool dream;
-};
-
}
#endif // MSN_DEF_H