diff options
author | Paul Gilbert | 2009-02-14 00:10:51 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-02-14 00:10:51 +0000 |
commit | aa82c6fa7bd5dad43e1f5506714ffc2b6329aac9 (patch) | |
tree | 8f74532a82fecd1705755aa19467233fdb51508b /engines/cruise/staticres.cpp | |
parent | ade4313695aaef0274e01dc482359de3f9c2c444 (diff) | |
download | scummvm-rg350-aa82c6fa7bd5dad43e1f5506714ffc2b6329aac9.tar.gz scummvm-rg350-aa82c6fa7bd5dad43e1f5506714ffc2b6329aac9.tar.bz2 scummvm-rg350-aa82c6fa7bd5dad43e1f5506714ffc2b6329aac9.zip |
Changed the list of language dependant strings from being hard-coded to dynamically being loaded from the 'delphine.lng' file
svn-id: r36317
Diffstat (limited to 'engines/cruise/staticres.cpp')
-rw-r--r-- | engines/cruise/staticres.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/cruise/staticres.cpp b/engines/cruise/staticres.cpp index b3174414f3..769eec2590 100644 --- a/engines/cruise/staticres.cpp +++ b/engines/cruise/staticres.cpp @@ -29,22 +29,4 @@ namespace Cruise { -const char *english_strings[] = { - "Player Menu", "Save", "Load", "Start again", "Quit", "Inventory" -}; -const char *french_strings[] = { - "Menu Joueur", "Sauvegarde", "Chargement", "Recommencer le jeu", "Quitter", "Inventaire" -}; - -const char **getStringList() { - switch (_vm->getLanguage()) { - case Common::EN_ANY: - return english_strings; - case Common::FR_FRA: - return french_strings; - default: - error("Unknown language encountered"); - } -} - } // End of namespace Cruise |