diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:14:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:15:57 +0300 |
commit | aa3f63fd497558a02feb3ddbc44f31eac091f39b (patch) | |
tree | 0e28b9b1f0501dd8be9e1a38db4ec1777fa3fbfa /src/enums/being | |
parent | 7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (diff) | |
download | mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.gz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.bz2 mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.xz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.zip |
Remove most unused files.
Diffstat (limited to 'src/enums/being')
-rw-r--r-- | src/enums/being/actortype.h | 44 | ||||
-rw-r--r-- | src/enums/being/attacktype.h | 48 | ||||
-rw-r--r-- | src/enums/being/attributes.h | 119 | ||||
-rw-r--r-- | src/enums/being/attributesstrings.cpp | 119 | ||||
-rw-r--r-- | src/enums/being/attributesstrings.h | 36 | ||||
-rw-r--r-- | src/enums/being/badgedrawtype.h | 35 | ||||
-rw-r--r-- | src/enums/being/badgeindex.h | 42 | ||||
-rw-r--r-- | src/enums/being/beingaction.h | 42 | ||||
-rw-r--r-- | src/enums/being/beingdirection.h | 40 | ||||
-rw-r--r-- | src/enums/being/cookingtype.h | 37 | ||||
-rw-r--r-- | src/enums/being/gender.h | 37 | ||||
-rw-r--r-- | src/enums/being/pickup.h | 45 | ||||
-rw-r--r-- | src/enums/being/rank.h | 35 | ||||
-rw-r--r-- | src/enums/being/reachable.h | 36 | ||||
-rw-r--r-- | src/enums/being/relation.h | 40 | ||||
-rw-r--r-- | src/enums/being/targetcursorsize.h | 36 | ||||
-rw-r--r-- | src/enums/being/targetcursortype.h | 36 | ||||
-rw-r--r-- | src/enums/being/visiblename.h | 34 | ||||
-rw-r--r-- | src/enums/being/visiblenamepos.h | 33 |
19 files changed, 0 insertions, 894 deletions
diff --git a/src/enums/being/actortype.h b/src/enums/being/actortype.h deleted file mode 100644 index f820902be..000000000 --- a/src/enums/being/actortype.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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_ACTORTYPE_H -#define ENUMS_BEING_ACTORTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ActorType) -{ - Unknown = 0, - Player, - Npc, - Monster, - FloorItem, - Portal, - Avatar, - Pet, - Mercenary, - Homunculus, - SkillUnit, - Elemental -} -enumEnd(ActorType); - -#endif // ENUMS_BEING_ACTORTYPE_H diff --git a/src/enums/being/attacktype.h b/src/enums/being/attacktype.h deleted file mode 100644 index ad07f531a..000000000 --- a/src/enums/being/attacktype.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_ATTACKTYPE_H -#define ENUMS_BEING_ATTACKTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(AttackType) -{ - HIT = 0, - PICKUP = 1, - SIT = 2, - STAND = 3, - REFLECT = 4, - SPLASH = 5, - SKILL = 6, - REPEATE = 7, - MULTI = 8, - MULTI_REFLECT = 9, - CRITICAL = 10, - FLEE = 11, - TOUCH_SKILL = 12, - MISS = 0xffff, // pseudo value for miss attacks - SKILLMISS // pseudo value for skill miss attacks -} -enumEnd(AttackType); - -#endif // ENUMS_BEING_ATTACKTYPE_H diff --git a/src/enums/being/attributes.h b/src/enums/being/attributes.h deleted file mode 100644 index bb9432137..000000000 --- a/src/enums/being/attributes.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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 - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Attributes) -{ - // player attributes - PLAYER_BASE_LEVEL = 0, - PLAYER_HP, - PLAYER_MAX_HP, - PLAYER_MP, - PLAYER_MAX_MP, - PLAYER_EXP, - PLAYER_EXP_NEEDED, - MONEY, - TOTAL_WEIGHT, - MAX_WEIGHT, - PLAYER_JOB_LEVEL = 10, - PLAYER_STR = 13, - PLAYER_AGI = 14, - PLAYER_VIT = 15, - PLAYER_INT = 16, - PLAYER_DEX = 17, - PLAYER_LUK = 18, - PLAYER_SKILL_POINTS, - PLAYER_CHAR_POINTS, - PLAYER_CORR_POINTS, - PLAYER_ATTACK_DELAY = 100, - PLAYER_ATTACK_RANGE = 101, - PLAYER_WALK_SPEED = 102, - PLAYER_ATTACK_SPEED = 103, - PLAYER_KARMA, - PLAYER_MANNER, - PLAYER_CRIT, - PLAYER_FLEE, - PLAYER_HIT, - PLAYER_MDEF, - PLAYER_MATK, - PLAYER_DEF, - PLAYER_ATK, - CART_TOTAL_WEIGHT = 1000, - CART_MAX_WEIGHT, - PLAYER_JOB_EXP, - PLAYER_JOB_EXP_NEEDED, - - // homunculus attributes - HOMUN_LEVEL, - HOMUN_HP, - HOMUN_MAX_HP, - HOMUN_MP, - HOMUN_MAX_MP, - HOMUN_EXP, - HOMUN_EXP_NEEDED, - HOMUN_SKILL_POINTS, - HOMUN_ATTACK_DELAY, - HOMUN_ATTACK_RANGE, - HOMUN_ATTACK_SPEED, - HOMUN_CRIT, - HOMUN_FLEE, - HOMUN_HIT, - HOMUN_MDEF, - HOMUN_MATK, - HOMUN_DEF, - HOMUN_ATK, - - // mercenary attributes - MERC_LEVEL, - MERC_HP, - MERC_MAX_HP, - MERC_MP, - MERC_MAX_MP, - MERC_ATTACK_DELAY, - MERC_ATTACK_RANGE, - MERC_ATTACK_SPEED, - MERC_CRIT, - MERC_FLEE, - MERC_HIT, - MERC_MDEF, - MERC_MATK, - MERC_DEF, - MERC_ATK, - MERC_EXPIRE, - MERC_FAITH, - MERC_CALLS, - MERC_KILLS, - - // elemental attributes - ELEMENTAL_HP, - ELEMENTAL_MAX_HP, - ELEMENTAL_MP, - ELEMENTAL_MAX_MP, - - MAX_ATTRIBUTE -} -enumEnd(Attributes); - -#endif // ENUMS_BEING_ATTRIBUTES_H diff --git a/src/enums/being/attributesstrings.cpp b/src/enums/being/attributesstrings.cpp deleted file mode 100644 index b9cd6659a..000000000 --- a/src/enums/being/attributesstrings.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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/>. - */ - -#include "enums/being/attributesstrings.h" - -#include "enums/simpletypes/stringdefines.h" - -#include <map> - -#include "debug.h" - -namespace AttributesEnum -{ - stringEnumStart(AttributesT) - // player attributes - strEnumDef2(Attributes, PLAYER_BASE_LEVEL, "PLAYER_LEVEL") - strEnumDef(Attributes, PLAYER_HP) - strEnumDef(Attributes, PLAYER_MAX_HP) - strEnumDef(Attributes, PLAYER_MP) - strEnumDef(Attributes, PLAYER_MAX_MP) - strEnumDef(Attributes, PLAYER_EXP) - strEnumDef(Attributes, PLAYER_EXP_NEEDED) - strEnumDef(Attributes, MONEY) - strEnumDef(Attributes, TOTAL_WEIGHT) - strEnumDef(Attributes, MAX_WEIGHT) - strEnumDef2(Attributes, PLAYER_JOB_LEVEL, "PLAYER_JOB") - strEnumDef(Attributes, PLAYER_JOB_EXP) - strEnumDef(Attributes, PLAYER_JOB_EXP_NEEDED) - strEnumDef(Attributes, PLAYER_STR) - strEnumDef(Attributes, PLAYER_AGI) - strEnumDef(Attributes, PLAYER_VIT) - strEnumDef(Attributes, PLAYER_INT) - strEnumDef(Attributes, PLAYER_DEX) - strEnumDef(Attributes, PLAYER_LUK) - strEnumDef(Attributes, PLAYER_SKILL_POINTS) - strEnumDef(Attributes, PLAYER_CHAR_POINTS) - strEnumDef(Attributes, PLAYER_CORR_POINTS) - strEnumDef(Attributes, PLAYER_ATTACK_DELAY) - strEnumDef(Attributes, PLAYER_ATTACK_RANGE) - strEnumDef(Attributes, PLAYER_WALK_SPEED) - strEnumDef(Attributes, PLAYER_ATTACK_SPEED) - strEnumDef(Attributes, PLAYER_KARMA) - strEnumDef(Attributes, PLAYER_MANNER) - strEnumDef(Attributes, PLAYER_CRIT) - strEnumDef(Attributes, PLAYER_FLEE) - strEnumDef(Attributes, PLAYER_HIT) - strEnumDef(Attributes, PLAYER_MDEF) - strEnumDef(Attributes, PLAYER_MATK) - strEnumDef(Attributes, PLAYER_DEF) - strEnumDef(Attributes, PLAYER_ATK) - strEnumDef(Attributes, CART_TOTAL_WEIGHT) - strEnumDef(Attributes, CART_MAX_WEIGHT) - - // homunculus attributes - strEnumDef(Attributes, HOMUN_LEVEL) - strEnumDef(Attributes, HOMUN_HP) - strEnumDef(Attributes, HOMUN_MAX_HP) - strEnumDef(Attributes, HOMUN_MP) - strEnumDef(Attributes, HOMUN_MAX_MP) - strEnumDef(Attributes, HOMUN_EXP) - strEnumDef(Attributes, HOMUN_EXP_NEEDED) - strEnumDef(Attributes, HOMUN_SKILL_POINTS) - strEnumDef(Attributes, HOMUN_ATTACK_DELAY) - strEnumDef(Attributes, HOMUN_ATTACK_RANGE) - strEnumDef(Attributes, HOMUN_ATTACK_SPEED) - strEnumDef(Attributes, HOMUN_CRIT) - strEnumDef(Attributes, HOMUN_FLEE) - strEnumDef(Attributes, HOMUN_HIT) - strEnumDef(Attributes, HOMUN_MDEF) - strEnumDef(Attributes, HOMUN_MATK) - strEnumDef(Attributes, HOMUN_DEF) - strEnumDef(Attributes, HOMUN_ATK) - - // mercenary attributes - strEnumDef(Attributes, MERC_LEVEL) - strEnumDef(Attributes, MERC_HP) - strEnumDef(Attributes, MERC_MAX_HP) - strEnumDef(Attributes, MERC_MP) - strEnumDef(Attributes, MERC_MAX_MP) - strEnumDef(Attributes, MERC_ATTACK_DELAY) - strEnumDef(Attributes, MERC_ATTACK_RANGE) - strEnumDef(Attributes, MERC_ATTACK_SPEED) - strEnumDef(Attributes, MERC_CRIT) - strEnumDef(Attributes, MERC_FLEE) - strEnumDef(Attributes, MERC_HIT) - strEnumDef(Attributes, MERC_MDEF) - strEnumDef(Attributes, MERC_MATK) - strEnumDef(Attributes, MERC_DEF) - strEnumDef(Attributes, MERC_ATK) - strEnumDef(Attributes, MERC_EXPIRE) - strEnumDef(Attributes, MERC_FAITH) - strEnumDef(Attributes, MERC_CALLS) - strEnumDef(Attributes, MERC_KILLS) - - // elemental attributes - strEnumDef(Attributes, ELEMENTAL_HP) - strEnumDef(Attributes, ELEMENTAL_MAX_HP) - strEnumDef(Attributes, ELEMENTAL_MP) - strEnumDef(Attributes, ELEMENTAL_MAX_MP) - stringEnumEnd -} // namespace AttributesEnum diff --git a/src/enums/being/attributesstrings.h b/src/enums/being/attributesstrings.h deleted file mode 100644 index 501e76dcf..000000000 --- a/src/enums/being/attributesstrings.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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_ATTRIBUTESSTRINGS_H -#define ENUMS_BEING_ATTRIBUTESSTRINGS_H - -#include "enums/being/attributes.h" - -#include "enums/simpletypes/stringdefines2.h" - -#include <string> - -namespace AttributesEnum -{ - stringEnumDef(AttributesT) -} // namespace AttributesEnum - -#endif // ENUMS_BEING_ATTRIBUTESSTRINGS_H diff --git a/src/enums/being/badgedrawtype.h b/src/enums/being/badgedrawtype.h deleted file mode 100644 index 50804c20c..000000000 --- a/src/enums/being/badgedrawtype.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_BADGEDRAWTYPE_H -#define ENUMS_BEING_BADGEDRAWTYPE_H - -namespace BadgeDrawType -{ - enum Type - { - Hide = 0, - Top = 1, - Right = 2, - Bottom = 3 - }; -} // namespace BadgeDrawType - -#endif // ENUMS_BEING_BADGEDRAWTYPE_H diff --git a/src/enums/being/badgeindex.h b/src/enums/being/badgeindex.h deleted file mode 100644 index 2b70382f5..000000000 --- a/src/enums/being/badgeindex.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_BADGEINDEX_H -#define ENUMS_BEING_BADGEINDEX_H - -#include "enums/simpletypes/enumdefines.h" - -enum2Start(BadgeIndex) -{ - Lang = 0, - Away = 1, - Inactive = 2, - Team = 3, - Shop = 4, - Gm = 5, - Guild = 6, - Party = 7, - Name = 8, - - BadgeIndexSize -} -enum2End(BadgeIndex); - -#endif // ENUMS_BEING_BADGEINDEX_H diff --git a/src/enums/being/beingaction.h b/src/enums/being/beingaction.h deleted file mode 100644 index 3703db1a2..000000000 --- a/src/enums/being/beingaction.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_BEINGACTION_H -#define ENUMS_BEING_BEINGACTION_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(BeingAction) -{ - STAND = 0, - MOVE = 1, - ATTACK = 2, - CAST = 3, - SIT = 4, - DEAD = 5, - HURT = 6, - SPAWN = 7, - PRESTAND -} -enumEnd(BeingAction); - -#endif // ENUMS_BEING_BEINGACTION_H diff --git a/src/enums/being/beingdirection.h b/src/enums/being/beingdirection.h deleted file mode 100644 index 7f9311ec8..000000000 --- a/src/enums/being/beingdirection.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_BEINGDIRECTION_H -#define ENUMS_BEING_BEINGDIRECTION_H - -namespace BeingDirection -{ - /** - * Directions, to be used as bitmask values - */ - enum Type - { - DOWN = 1, - LEFT = 2, - UP = 4, - RIGHT = 8 - }; -} // namespace BeingDirection - -#endif // ENUMS_BEING_BEINGDIRECTION_H diff --git a/src/enums/being/cookingtype.h b/src/enums/being/cookingtype.h deleted file mode 100644 index 376187365..000000000 --- a/src/enums/being/cookingtype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_COOKINGTYPE_H -#define ENUMS_BEING_COOKINGTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(CookingType) -{ - Cooking = 1, - Arrow = 2, - Elemental = 3, - MixCooking = 4, - MakeBomb = 5, - Pharmacy = 6 -} -enumEnd(CookingType); - -#endif // ENUMS_BEING_COOKINGTYPE_H diff --git a/src/enums/being/gender.h b/src/enums/being/gender.h deleted file mode 100644 index be1ad09f7..000000000 --- a/src/enums/being/gender.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_GENDER_H -#define ENUMS_BEING_GENDER_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Gender) -{ - MALE = 0, - FEMALE = 1, - UNSPECIFIED = 2, - OTHER = 3 -} -enumEnd(Gender); - -#endif // ENUMS_BEING_GENDER_H diff --git a/src/enums/being/pickup.h b/src/enums/being/pickup.h deleted file mode 100644 index 96030161d..000000000 --- a/src/enums/being/pickup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_PICKUP_H -#define ENUMS_BEING_PICKUP_H - -#include "enums/simpletypes/enumdefines.h" - -#include "localconsts.h" - -enumStart(Pickup) -{ - OKAY = 0, - UNKNOWN, - BAD_ITEM, - TOO_HEAVY, - TOO_FAR, - INV_FULL, - STACK_FULL, - DROP_STEAL, - MAX_AMOUNT, - STACK_AMOUNT -} -enumEnd(Pickup); - -#endif // ENUMS_BEING_PICKUP_H diff --git a/src/enums/being/rank.h b/src/enums/being/rank.h deleted file mode 100644 index 05edf3053..000000000 --- a/src/enums/being/rank.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_RANK_H -#define ENUMS_BEING_RANK_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Rank) -{ - Blacksmith = 0, - Alchemist = 1, - Taekwon = 2, - Pk = 3 -} -enumEnd(Rank); - -#endif // ENUMS_BEING_RANK_H diff --git a/src/enums/being/reachable.h b/src/enums/being/reachable.h deleted file mode 100644 index 4176ca555..000000000 --- a/src/enums/being/reachable.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2004-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_REACHABLE_H -#define ENUMS_BEING_REACHABLE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Reachable) -{ - REACH_UNKNOWN = 0, - REACH_YES = 1, - REACH_NO = 2 -} -enumEnd(Reachable); - -#endif // ENUMS_BEING_REACHABLE_H diff --git a/src/enums/being/relation.h b/src/enums/being/relation.h deleted file mode 100644 index 547ed930c..000000000 --- a/src/enums/being/relation.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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_RELATION_H -#define ENUMS_BEING_RELATION_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Relation) -{ - NEUTRAL = 0, - FRIEND = 1, - DISREGARDED = 2, - IGNORED = 3, - ERASED = 4, - BLACKLISTED = 5, - ENEMY2 = 6 -} -enumEnd(Relation); - -#endif // ENUMS_BEING_RELATION_H diff --git a/src/enums/being/targetcursorsize.h b/src/enums/being/targetcursorsize.h deleted file mode 100644 index 81f8f5936..000000000 --- a/src/enums/being/targetcursorsize.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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_TARGETCURSORSIZE_H -#define ENUMS_BEING_TARGETCURSORSIZE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(TargetCursorSize) -{ - SMALL = 0, - MEDIUM, - LARGE, - NUM_TC -} -enumEnd(TargetCursorSize); - -#endif // ENUMS_BEING_TARGETCURSORSIZE_H diff --git a/src/enums/being/targetcursortype.h b/src/enums/being/targetcursortype.h deleted file mode 100644 index 3bec32307..000000000 --- a/src/enums/being/targetcursortype.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2017 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_TARGETCURSORTYPE_H -#define ENUMS_BEING_TARGETCURSORTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(TargetCursorType) -{ - NONE = -1, - NORMAL = 0, - IN_RANGE, - NUM_TCT -} -enumEnd(TargetCursorType); - -#endif // ENUMS_BEING_TARGETCURSORTYPE_H diff --git a/src/enums/being/visiblename.h b/src/enums/being/visiblename.h deleted file mode 100644 index ec7ec3271..000000000 --- a/src/enums/being/visiblename.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_VISIBLENAME_H -#define ENUMS_BEING_VISIBLENAME_H - -namespace VisibleName -{ - enum Type - { - Hide = 0, - Show = 1, - ShowOnSelection = 2 - }; -} // namespace VisibleName - -#endif // ENUMS_BEING_VISIBLENAME_H diff --git a/src/enums/being/visiblenamepos.h b/src/enums/being/visiblenamepos.h deleted file mode 100644 index 884c4eebe..000000000 --- a/src/enums/being/visiblenamepos.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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_VISIBLENAMEPOS_H -#define ENUMS_BEING_VISIBLENAMEPOS_H - -namespace VisibleNamePos -{ - enum Type - { - Top = 0, - Bottom = 1 - }; -} // namespace VisibleNamePos - -#endif // ENUMS_BEING_VISIBLENAMEPOS_H |