diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 18:55:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 18:55:09 +0300 |
commit | fb8885f31122ca020ef61f540b44cca126653d15 (patch) | |
tree | f578db8e5134c642c9d0c2cc2082c8b9c63243e7 /src/enums | |
parent | 8aca3361806f6d00c5b9c0b318354230ac2fab1c (diff) | |
download | mv-fb8885f31122ca020ef61f540b44cca126653d15.tar.gz mv-fb8885f31122ca020ef61f540b44cca126653d15.tar.bz2 mv-fb8885f31122ca020ef61f540b44cca126653d15.tar.xz mv-fb8885f31122ca020ef61f540b44cca126653d15.zip |
Move attributes.h into enums directory.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/being/attributes.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/enums/being/attributes.h b/src/enums/being/attributes.h new file mode 100644 index 000000000..91b809faf --- /dev/null +++ b/src/enums/being/attributes.h @@ -0,0 +1,68 @@ +/* + * The ManaPlus Client + * Copyright (C) 2010 The Mana Developers + * Copyright (C) 2011-2015 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ENUMS_BEING_ATTRIBUTES_H +#define ENUMS_BEING_ATTRIBUTES_H + +namespace Attributes +{ + /** + * Standard attributes for players. + */ + enum Attributes + { + LEVEL = 0, + HP, + MAX_HP, + MP, + MAX_MP, + EXP, + EXP_NEEDED, + MONEY, + TOTAL_WEIGHT, + MAX_WEIGHT, + JOB = 10, + STR = 13, + AGI = 14, + VIT = 15, + INT = 16, + DEX = 17, + LUK = 18, + SKILL_POINTS, + CHAR_POINTS, + CORR_POINTS, + ATTACK_DELAY = 100, + ATTACK_RANGE = 101, + WALK_SPEED = 102, + ATTACK_SPEED = 103, + KARMA, + MANNER, + CRIT, + FLEE, + HIT, + MDEF, + MATK, + DEF, + ATK + }; +} // namespace Attributes + +#endif // ENUMS_BEING_ATTRIBUTES_H |