aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-27 20:51:39 +0200
committerFilippos Karapetis2014-12-27 20:52:06 +0200
commit99fabffde0c8f88d02bba341cd9d504483b86409 (patch)
treeb3b68b023addbe7adb534f0ef47b6867b4ea5cae /engines/zvision
parent576bab349c862b16fcca1e9e0fb3fbb52cc6edc4 (diff)
downloadscummvm-rg350-99fabffde0c8f88d02bba341cd9d504483b86409.tar.gz
scummvm-rg350-99fabffde0c8f88d02bba341cd9d504483b86409.tar.bz2
scummvm-rg350-99fabffde0c8f88d02bba341cd9d504483b86409.zip
ZVISION: Clean up settings and initialize the ones used by game scripts
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/zvision.cpp25
1 files changed, 9 insertions, 16 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index a28ad862d9..0d06f3ce90 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -52,7 +52,7 @@
namespace ZVision {
-#define ZVISION_SETTINGS_KEYS_COUNT 17
+#define ZVISION_SETTINGS_KEYS_COUNT 11
struct zvisionIniSettings {
const char *name;
@@ -62,25 +62,18 @@ struct zvisionIniSettings {
bool allowEditing;
} settingsKeys[ZVISION_SETTINGS_KEYS_COUNT] = {
// Hardcoded settings
- //{"platform", StateKey_Platform, 0, false, false}, // 0 = Windows, 1 = DOS, 2 = DOS, unused
- //{"installlevel", StateKey_InstallLevel, 0, false, false}, // 0 = full, unused
- //{"countrycode", StateKey_CountryCode, 0, false, false}, // always 0 = US, unused
- //{"cpu", StateKey_CPU, 1, false, false}, // always 1 = Pentium (0 is 486), unused
- //{"win958", StateKey_WIN958, 0, false, false}, // unused, probably Windows version flag
- //{"showerrordialogs", StateKey_ShowErrorDlg, 0, false, false}, // unused
- //{"japanesefonts", StateKey_JapanFonts, 0, false, false},
- //{"brightness", StateKey_Brightness, 0, false, false},
- //{"lineskipvideo", StateKey_VideoLineSkip, 0, false, false}, // video line skip, 0 = default, 1 = always, 2 = pixel double when possible, unused
- //{"highquality", StateKey_HighQuality, 0, false, false}, // performance related, always high
- //{"moviecursor", StateKey_MovieCursor, 0, false, false}, // show mouse cursor in movies, unused
- {"qsoundenabled", StateKey_Qsound, 1, false, false}, // 1 = enable QSound - TODO: not supported yet
- {"debugcheats", StateKey_DebugCheats, 1, false, false}, // always start with the GOxxxx cheat enabled
+ {"countrycode", StateKey_CountryCode, 0, false, false}, // always 0 = US, subtitles are shown for codes 0 - 4, unused
+ {"lineskipvideo", StateKey_VideoLineSkip, 0, false, false}, // video line skip, 0 = default, 1 = always, 2 = pixel double when possible, unused
+ {"installlevel", StateKey_InstallLevel, 0, false, false}, // 0 = full, checked by universe.scr
+ {"highquality", StateKey_HighQuality, -1, true, false}, // high panorama quality, unused
+ {"qsoundenabled", StateKey_Qsound, -1, true, false}, // 1 = enable QSound - TODO: not supported yet
+ {"debugcheats", StateKey_DebugCheats, -1, true, false}, // always start with the GOxxxx cheat enabled
// Editable settings
{"keyboardturnspeed", StateKey_KbdRotateSpeed, 5, false, true},
- {"panarotatespeed", StateKey_RotateSpeed, 540, false, true},
+ {"panarotatespeed", StateKey_RotateSpeed, 540, false, true}, // checked by universe.scr
{"noanimwhileturning", StateKey_NoTurnAnim, -1, false, true}, // toggle playing animations during pana rotation
{"venusenabled", StateKey_VenusEnable, -1, true, true},
- {"subtitles", StateKey_Subtitles, -1, true, true},
+ {"subtitles", StateKey_Subtitles, -1, true, true}
};
ZVision::ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc)