Jeck - Minor language support fiddling, gui decorator for cheat-profile only options.

This commit is contained in:
wagic.jeck
2009-11-02 06:15:37 +00:00
parent 779921a53f
commit 6946544a2a
4 changed files with 27 additions and 7 deletions

View File

@@ -36,8 +36,8 @@ void GameStateOptions::Start()
optionsList->Add(NEW OptionInteger(Options::OSD, "Display InGame extra information"));
if (options[Options::DIFFICULTY_MODE_UNLOCKED].number)
optionsList->Add(NEW WDecoEnum(NEW OptionInteger(Options::DIFFICULTY,"Difficulty",3,1,0),OptionDifficulty::getInstance()));
if(options[Options::ACTIVE_PROFILE].str == SECRET_PROFILE)
optionsList->Add(NEW OptionInteger(Options::CHEATMODE, "Enable cheat mode"));
optionsList->Add(NEW WDecoCheat(NEW OptionInteger(Options::CHEATMODE, "Enable cheat mode")));
optionsList->Add(NEW OptionInteger(Options::INTERRUPT_SECONDS, "Seconds to pause for an Interrupt", 20, 1));
optionsList->Add(NEW OptionInteger(Options::INTERRUPTMYSPELLS, "Interrupt my spells"));
optionsList->Add(NEW OptionInteger(Options::INTERRUPTMYABILITIES, "Interrupt my abilities"));