Jeck - Added theme substyles, which are chosen dynamically based on the player's deck composition. Also added lazy unit test for booster packs, though there should be a better way to framework this.

This commit is contained in:
wagic.jeck
2010-08-28 10:51:38 +00:00
parent 3ad28096b1
commit 8114944db9
46 changed files with 415 additions and 26 deletions

View File

@@ -24,15 +24,12 @@ static int colors[] =
GuiPhaseBar::GuiPhaseBar() : phase(NULL), angle(0.0f)
{
JQuad * quad;
JQuad * quad = NULL;
if ((quad = resources.GetQuad("phasebar")) != NULL){
quad->mHeight = Height;
quad->mWidth = Width;
}
else
{
GameApp::systemError = "Error loading phasebar texture : " __FILE__;
}
else GameApp::systemError = "Error loading phasebar texture : " __FILE__;
}
GuiPhaseBar::~GuiPhaseBar()