Jeck - Quick patch to GuiCombat so it continues without the missing file. Did someone forget to commit OK.png?
This commit is contained in:
@@ -20,7 +20,8 @@ GuiCombat::GuiCombat(GameObserver* go) : GuiLayer(), go(go), active(false), ok(S
|
|||||||
GameApp::CommonRes->CreateQuad("OK", "Ok.png", 0, 0, 56, 45);
|
GameApp::CommonRes->CreateQuad("OK", "Ok.png", 0, 0, 56, 45);
|
||||||
}
|
}
|
||||||
ok_quad = GameApp::CommonRes->GetQuad("OK");
|
ok_quad = GameApp::CommonRes->GetQuad("OK");
|
||||||
ok_quad->SetHotSpot(28, 22);
|
if(ok_quad)
|
||||||
|
ok_quad->SetHotSpot(28, 22);
|
||||||
}
|
}
|
||||||
|
|
||||||
GuiCombat::~GuiCombat()
|
GuiCombat::~GuiCombat()
|
||||||
@@ -132,7 +133,9 @@ void GuiCombat::Render()
|
|||||||
(*it)->Render();
|
(*it)->Render();
|
||||||
for (vector<TransientCardView*>::iterator it = blkViews.begin(); it != blkViews.end(); ++it)
|
for (vector<TransientCardView*>::iterator it = blkViews.begin(); it != blkViews.end(); ++it)
|
||||||
(*it)->Render();
|
(*it)->Render();
|
||||||
ok.Render(ok_quad);
|
|
||||||
|
if(ok_quad)
|
||||||
|
ok.Render(ok_quad);
|
||||||
|
|
||||||
renderer->DrawLine(0, SCREEN_HEIGHT / 2 + 10, SCREEN_WIDTH, SCREEN_HEIGHT / 2 + 10, ARGB(255, 255, 64, 0));
|
renderer->DrawLine(0, SCREEN_HEIGHT / 2 + 10, SCREEN_WIDTH, SCREEN_HEIGHT / 2 + 10, ARGB(255, 255, 64, 0));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user