aboutsummaryrefslogtreecommitdiff
path: root/saga/game.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-01-14 01:17:34 +0000
committerEugene Sandulenko2005-01-14 01:17:34 +0000
commitccacf6f82e5c5e112ef165d45233359d8a654407 (patch)
tree2df9f49bb5f44a6e0d01a6cfa56bf68bbfc317ee /saga/game.cpp
parent211ec4c32a779ab6a234a64e33eaedd3c64b9822 (diff)
downloadscummvm-rg350-ccacf6f82e5c5e112ef165d45233359d8a654407.tar.gz
scummvm-rg350-ccacf6f82e5c5e112ef165d45233359d8a654407.tar.bz2
scummvm-rg350-ccacf6f82e5c5e112ef165d45233359d8a654407.zip
o Added support for German ITE. There are also Puzzle-related messages
hardcoded, but I'll save that for later :) o Eliminated all leftovers of previous language loader. If you'll spot another one, just remove it silently. svn-id: r16556
Diffstat (limited to 'saga/game.cpp')
-rw-r--r--saga/game.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/saga/game.cpp b/saga/game.cpp
index 5eb2cc5a0f..4c8aebcff8 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -689,37 +689,6 @@ int SagaEngine::initGame(void) {
warning("Error loading game resource files.");
return FAILURE;
}
- // Load dialogue file
- loadLanguage();
-
- return SUCCESS;
-}
-
-int SagaEngine::loadLanguage(void) {
- char lang_file[MAXPATH];
- File test_file;
-
-
- if (getGameType() == GType_ITE) {
- snprintf(lang_file, MAXPATH, "%s%s.%s", GAME_ITE_LANG_PREFIX, _gameLanguage, GAME_LANG_EXT);
- if (!test_file.open(lang_file)) {
- debug(0, "Couldn't open language file %s. Using default (US English)", lang_file);
- return SUCCESS;
- }
-
- test_file.close();
-
- if (_vm->_scene->ITEIntroRegisterLang() != SUCCESS) {
- warning("Error registering intro sequence language cvars");
- return FAILURE;
- }
-
- debug(0, "Using language file %s.", lang_file);
- // FIXME
- //CFG_Read(lang_path);
- } else {
- debug(0, "Language support for this game not implemented.");
- }
return SUCCESS;
}