- Moved "extraPayment" cancel verification into ActionLayer (was in GuiLayers)
- added "HUDDisplay" MTGAbility (displays damage/graveyard info)
- Added option to NOT interrupt own's spells and abilities. Allows smoother gameplay. We should add a "quick options" menu ingame to change those options on the fly
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-04 14:10:21 +00:00
parent 5ff90a6f33
commit b1e35a6bcb
15 changed files with 181 additions and 9 deletions

View File

@@ -34,7 +34,15 @@ void OptionItem::Render(){
renderer->FillRoundRect(x-5,y-2,SCREEN_WIDTH -x - 5,20,2,ARGB(150,50,50,50));
mFont->DrawString(displayValue.c_str(),x,y);
char buf[512];
sprintf(buf, "%i", value);
if (maxValue == 1){
if (value){
sprintf(buf, "yes");
}else{
sprintf(buf,"no");
}
}else{
sprintf(buf, "%i", value);
}
mFont->DrawString(buf,SCREEN_WIDTH -10 ,y,JGETEXT_RIGHT);
}