summaryrefslogtreecommitdiff
path: root/src/playerinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r--src/playerinfo.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h
index cff145d2d..4298a45b5 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -27,29 +27,6 @@
#include <map>
#include <string>
-/**
- * Standard attributes for players.
- */
-enum Attribute
-{
- LEVEL = 0,
- HP,
- MAX_HP,
- MP,
- MAX_MP,
- EXP,
- EXP_NEEDED,
- MONEY,
- TOTAL_WEIGHT,
- MAX_WEIGHT,
- SKILL_POINTS,
- CHAR_POINTS,
- CORR_POINTS,
- ATTACK_DELAY = 100,
- ATTACK_RANGE = 101,
- WALK_SPEED = 102,
- ATTACK_SPEED = 103
-};
/**
* Stat information storage structure.
@@ -97,6 +74,29 @@ typedef std::map<int, Special> SpecialsMap;
*/
namespace PlayerInfo
{
+ /**
+ * Standard attributes for players.
+ */
+ enum Attribute
+ {
+ LEVEL = 0,
+ HP,
+ MAX_HP,
+ MP,
+ MAX_MP,
+ EXP,
+ EXP_NEEDED,
+ MONEY,
+ TOTAL_WEIGHT,
+ MAX_WEIGHT,
+ SKILL_POINTS,
+ CHAR_POINTS,
+ CORR_POINTS,
+ ATTACK_DELAY = 100,
+ ATTACK_RANGE = 101,
+ WALK_SPEED = 102,
+ ATTACK_SPEED = 103
+ };
// --- Attributes -------------------------------------------------------------