Erwan
-Issue 26: added an option for Mana Display. This needs a bit testing, but it should also lower the priority of "manapool slowness" as this mode probably fixes performance issue as well. -I can't seem to be able to "save" some options (hand position, mana display) ion the windows version, does this change break something ?
This commit is contained in:
@@ -903,3 +903,22 @@ OptionHandDirection::OptionHandDirection(int id, string displayName) : OptionEnu
|
||||
getDefinition();
|
||||
Reload();
|
||||
};
|
||||
|
||||
EnumDefinition * OptionManaDisplay::definition = NULL;
|
||||
|
||||
EnumDefinition * OptionManaDisplay::getDefinition(){
|
||||
if(!definition){
|
||||
definition = NEW EnumDefinition();
|
||||
definition->values.push_back(EnumDefinition::assoc(STATIC, "simple"));
|
||||
definition->values.push_back(EnumDefinition::assoc(DYNAMIC, "Eye candy"));
|
||||
definition->values.push_back(EnumDefinition::assoc(BOTH, "Both"));
|
||||
}
|
||||
return definition;
|
||||
}
|
||||
|
||||
OptionManaDisplay::OptionManaDisplay(int id, string displayName) : OptionEnum(id, displayName)
|
||||
{
|
||||
getDefinition();
|
||||
Reload();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user