No code change. Reformat code

This commit is contained in:
techdragon.nguyen@gmail.com
2010-12-11 22:42:48 +00:00
parent b3650bcccf
commit fe75493ffa
8 changed files with 2208 additions and 2018 deletions

View File

@@ -21,7 +21,7 @@ bool GuiStatic::Leaving(JButton key)
GuiAvatar::GuiAvatar(float x, float y, bool hasFocus, Player * player, Corner corner, GuiAvatars* parent) :
GuiStatic(static_cast<float> (GuiAvatar::Height), x, y, hasFocus, parent), avatarRed(255), currentLife(player->life),
currentpoisonCount(player->poisonCount), corner(corner), player(player)
currentpoisonCount(player->poisonCount), corner(corner), player(player)
{
type = GUI_AVATAR;
}
@@ -135,7 +135,7 @@ void GuiAvatar::Render()
ostream& GuiAvatar::toString(ostream& out) const
{
return out << "GuiAvatar ::: avatarRed : " << avatarRed << " ; currentLife : " << currentLife << " ; currentpoisonCount : "
<< currentpoisonCount << " ; player : " << player;
<< currentpoisonCount << " ; player : " << player;
}
void GuiGameZone::toggleDisplay()
@@ -166,7 +166,7 @@ void GuiGameZone::Render()
if (mHasFocus)
JRenderer::GetInstance()->FillRect(actX, actY, quad->mWidth * scale * actZ, quad->mHeight * scale * actZ,
ARGB(abs(128 - wave),255,255,255));
ARGB(abs(128 - wave),255,255,255));
//Number of cards
WFont * mFont = WResourceManager::Instance()->GetWFont(Fonts::MAIN_FONT);