diff options
author | Thierry Crozat | 2017-09-30 23:27:56 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:33 +0000 |
commit | 6fc065922268c6dfb83fac6ded31dca076822754 (patch) | |
tree | c629fbcc015d8dbe7d836b6a2240813d782b5db6 /engines/supernova/msn_def.h | |
parent | 184b3a166217ba5c0ea3eddd3e01798d8e752417 (diff) | |
download | scummvm-rg350-6fc065922268c6dfb83fac6ded31dca076822754.tar.gz scummvm-rg350-6fc065922268c6dfb83fac6ded31dca076822754.tar.bz2 scummvm-rg350-6fc065922268c6dfb83fac6ded31dca076822754.zip |
SUPERNOVA: Start using strings from the engine data file
This means that now all that remains to be done to play in English
is to move all the strings to the engine data file and to translate
them.
Diffstat (limited to 'engines/supernova/msn_def.h')
-rw-r--r-- | engines/supernova/msn_def.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h index a02df72593..403ba147f8 100644 --- a/engines/supernova/msn_def.h +++ b/engines/supernova/msn_def.h @@ -400,27 +400,27 @@ enum ObjectID { TICKETS }; +enum StringID { + kCommandGo = 0, kCommandLook, kCommandTake, kCommandOpen, kCommandClose, + kCommandPress, kCommandPull, kCommandUse, kCommandTalk, kCommandGive, + kStatusCommandGo, kStatusCommandLook, kStatusCommandTake, kStatusCommandOpen, kStatusCommandClose, + kStatusCommandPress, kStatusCommandPull, kStatusCommandUse, kStatusCommandTalk, kStatusCommandGive, + kBroken, kIntro1, kIntro2, kIntro3, kIntro4, + kIntro5, kIntro6, kIntro7, kIntro8, kIntro9, + kIntro10, kIntro11, kIntro12, kIntro13, kKeycard, + kKeycardDesc, kKnife, kKnifeDesc, kWatch, kDiscman, + kDiscmanDesc +}; -static const char *const broken_DE = "Hmm, er scheint kaputt zu sein."; -static const char *const broken_EN = "Hmm, it seems to be broken."; - -static const char *const guiCommand_DE[] = { - "Gehe", - "Schau", - "Nimm", - "\231ffne", - "Schlie\341e", - "Dr\201cke", - "Ziehe", - "Benutze", - "Rede", - "Gib" +static StringID guiCommands[] = { + kCommandGo, kCommandLook, kCommandTake, kCommandOpen, kCommandClose, + kCommandPress, kCommandPull, kCommandUse, kCommandTalk, kCommandGive }; -static const char *const guiStatusCommand_DE[10] = -{"Gehe zu ","Schau ","Nimm ","\231ffne ","Schlie\341e ","Dr\201cke ","Ziehe ","Benutze ","Rede mit ","Gib "}; -static const char *const guiStatusCommand_EN[10] = -{"Go to ", "Look at ", "Take ", "Open ", "Close ", "Press ", "Pull ", "Use ", "Talk to ", "Give "}; +static StringID guiStatusCommands[] = { + kStatusCommandGo, kStatusCommandLook, kStatusCommandTake, kStatusCommandOpen, kStatusCommandClose, + kStatusCommandPress, kStatusCommandPull, kStatusCommandUse, kStatusCommandTalk, kStatusCommandGive +}; ObjectType operator|(ObjectType a, ObjectType b); ObjectType operator&(ObjectType a, ObjectType b); |