summaryrefslogtreecommitdiff
path: root/src/gui/status.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-14 16:44:03 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-14 16:46:03 -0600
commitdfd6bc3c91c7bd508b5bde820366784bd980a677 (patch)
treedf44a1950dd589cad9eb08345fec5ab2457adba2 /src/gui/status.h
parent87d906c4f3529e7ce8f836876292efbfbe765990 (diff)
downloadmana-dfd6bc3c91c7bd508b5bde820366784bd980a677.tar.gz
mana-dfd6bc3c91c7bd508b5bde820366784bd980a677.tar.bz2
mana-dfd6bc3c91c7bd508b5bde820366784bd980a677.tar.xz
mana-dfd6bc3c91c7bd508b5bde820366784bd980a677.zip
Start a MathUtils file
It has fast(inv)sqrt and weightedAverage. Also cleanup the last ocmmit a bit.
Diffstat (limited to 'src/gui/status.h')
-rw-r--r--src/gui/status.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/status.h b/src/gui/status.h
index 78d35a32..403a7d59 100644
--- a/src/gui/status.h
+++ b/src/gui/status.h
@@ -62,11 +62,6 @@ class StatusWindow : public Window, public gcn::ActionListener
static void updateXPBar(ProgressBar *bar, bool percent = true);
static void updateJobBar(ProgressBar *bar, bool percent = true);
- /**
- * Used by updateHPBar to get the weighted average of two colors
- */
- static float weightedAverage(float n1, float n2, float w);
-
private:
LocalPlayer *mPlayer;