summaryrefslogtreecommitdiff
path: root/src/playerinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-15 18:37:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-15 18:37:00 +0300
commit65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 (patch)
tree493d6441dd152419908d28178c26112a4639e89f /src/playerinfo.h
parente1e411459e9c9aae819eee474d48d0cc20f6ca07 (diff)
downloadplus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.gz
plus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.bz2
plus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.xz
plus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.zip
Fix code style.
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 -------------------------------------------------------------