summaryrefslogtreecommitdiff
path: root/src/gui/chargedialog.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
commite5f795ad9952b8bba6993ee3e324b22a0f104816 (patch)
tree1602ac0f74865135eae5acf935b0a285a8e918c2 /src/gui/chargedialog.cpp
parent7593d6c71e2331c3e43c732db60ad03ee4d5385d (diff)
downloadmana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.gz
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.bz2
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.xz
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.zip
Made all class members named like mClassMember.
Diffstat (limited to 'src/gui/chargedialog.cpp')
-rw-r--r--src/gui/chargedialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/chargedialog.cpp b/src/gui/chargedialog.cpp
index da02cada..9b300950 100644
--- a/src/gui/chargedialog.cpp
+++ b/src/gui/chargedialog.cpp
@@ -34,23 +34,23 @@ ChargeDialog::ChargeDialog():
Window("")
{
setContentSize(180, 70);
- progBar = new ProgressBar(0.0f, 20, 40, 140, 25, 128, 128, 128);
- add(progBar);
+ mProgBar = new ProgressBar(0.0f, 20, 40, 140, 25, 128, 128, 128);
+ add(mProgBar);
}
// update the dialog
void ChargeDialog::logic()
{
// calculate time since the last attack was made
- player_node->lastAttackTime += .01; // this a hack until someone explains
+ player_node->mLastAttackTime += .01; // this a hack until someone explains
// to me how to work the timer
- if (player_node->lastAttackTime > 1)
+ if (player_node->mLastAttackTime > 1)
{
- player_node->lastAttackTime = 1;
+ player_node->mLastAttackTime = 1;
}
// reset the progress bar to display accurate time since attack
- progBar->setProgress(player_node->lastAttackTime);
+ mProgBar->setProgress(player_node->mLastAttackTime);
Window::logic();
}