diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-11 19:28:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-11 19:28:57 +0300 |
commit | 87c59212f8590a8dd72fac3e320fcb2ada781355 (patch) | |
tree | 198d627c44f1164140659827a5c782d30bec375b /src/being/attributes.h | |
parent | 02e91411eb9961e95f856bd717d6ca0d8ec0e435 (diff) | |
download | mv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.gz mv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.bz2 mv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.xz mv-87c59212f8590a8dd72fac3e320fcb2ada781355.zip |
Move player attributes into separate file.
Diffstat (limited to 'src/being/attributes.h')
-rw-r--r-- | src/being/attributes.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/being/attributes.h b/src/being/attributes.h new file mode 100644 index 000000000..612ef886c --- /dev/null +++ b/src/being/attributes.h @@ -0,0 +1,52 @@ +/* + * The ManaPlus Client + * Copyright (C) 2010 The Mana Developers + * Copyright (C) 2011-2014 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 BEING_ATTRIBUTES_H +#define 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, + SKILL_POINTS, + CHAR_POINTS, + CORR_POINTS, + ATTACK_DELAY = 100, + ATTACK_RANGE = 101, + WALK_SPEED = 102, + ATTACK_SPEED = 103 + }; +} // namespace Attributes + +#endif // BEING_ATTRIBUTES_H |