Erwan
- Adding option to interrupt AI after main phase 2
This commit is contained in:
@@ -40,7 +40,8 @@ void GameStateOptions::Start()
|
||||
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"));
|
||||
optionsList->Add(NEW OptionInteger(Options::INTERRUPTMYABILITIES, "Interrupt my abilities"));
|
||||
optionsList->Add(NEW OptionInteger(Options::INTERRUPT_SECONDMAIN, "Interrupt opponent's end of turn"));
|
||||
optionsTabs = NEW WGuiTabMenu();
|
||||
optionsTabs->Add(optionsList);
|
||||
|
||||
|
||||
@@ -511,7 +511,7 @@ void WGuiList::Render(){
|
||||
}
|
||||
//Find out how large our list is.
|
||||
for (int pos=0;pos < nbitems; pos++){
|
||||
listHeight+=items[pos]->getHeight()+5;
|
||||
listHeight+=items[pos]->getHeight()+1; //What does the +1 do exactly ?
|
||||
if(items[pos]->Selectable()){
|
||||
listSelectable++;
|
||||
if(pos < currentItem) adjustedCurrent++;
|
||||
|
||||
Reference in New Issue
Block a user