diff options
Diffstat (limited to 'src/enums')
158 files changed, 0 insertions, 7706 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 diff --git a/src/enums/commandtarget.h b/src/enums/commandtarget.h deleted file mode 100644 index bf0fb5c45..000000000 --- a/src/enums/commandtarget.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_COMMANDTARGET_H -#define ENUMS_COMMANDTARGET_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(CommandTarget) -{ - NoTarget = 0, - AllowTarget = 1, - NeedTarget = 2 -} -enumEnd(CommandTarget); - -#endif // ENUMS_COMMANDTARGET_H diff --git a/src/enums/cutin.h b/src/enums/cutin.h deleted file mode 100644 index 6cd5d3ce9..000000000 --- a/src/enums/cutin.h +++ /dev/null @@ -1,36 +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_CUTIN_H -#define ENUMS_CUTIN_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(CutIn) -{ - BottomLeft = 0, - BottomCenter = 1, - BottomRight = 2, - Movable = 3, - MovableClose = 4 -} -enumEnd(CutIn); - -#endif // ENUMS_CUTIN_H diff --git a/src/enums/dragdropsource.h b/src/enums/dragdropsource.h deleted file mode 100644 index 98c4cef7e..000000000 --- a/src/enums/dragdropsource.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-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_DRAGDROPSOURCE_H -#define ENUMS_DRAGDROPSOURCE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(DragDropSource) -{ - Empty = 0, - Inventory, - Storage, - Trade, - Outfit, - Spells, - Skills, - Ground, - Drop, - Shortcuts, - Npc, - Equipment, - Cart, - MailEdit, - MailView, - Craft, - ShopBuy, - ShopSell -} -enumEnd(DragDropSource); - -#endif // ENUMS_DRAGDROPSOURCE_H diff --git a/src/enums/emotetype.h b/src/enums/emotetype.h deleted file mode 100644 index 6ea47a35e..000000000 --- a/src/enums/emotetype.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_EMOTETYPE_H -#define ENUMS_EMOTETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(EmoteType) -{ - Player = 0, - Homunculus, - Mercenary, - Pet -} -enumEnd(EmoteType); - -#endif // ENUMS_EMOTETYPE_H diff --git a/src/enums/equipslot.h b/src/enums/equipslot.h deleted file mode 100644 index 077e0e470..000000000 --- a/src/enums/equipslot.h +++ /dev/null @@ -1,58 +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_EQUIPSLOT_H -#define ENUMS_EQUIPSLOT_H - -#include "localconsts.h" - -namespace EquipSlot -{ - enum Type - { - TORSO_SLOT = 0, - GLOVES_SLOT = 1, - HEAD_SLOT = 2, - LEGS_SLOT = 3, - FEET_SLOT = 4, - RING1_SLOT = 5, - RING2_SLOT = 6, - NECK_SLOT = 7, - FIGHT1_SLOT = 8, - FIGHT2_SLOT = 9, - PROJECTILE_SLOT = 10, - EVOL_RING1_SLOT = 11, - EVOL_RING2_SLOT = 12, - COSTUME_ROBE_SLOT = 13, - MISSING1_SLOT = 14, - MISSING2_SLOT = 15, - SHADOW_ARMOR_SLOT = 16, - SHADOW_WEAPON_SLOT = 17, - SHADOW_SHIELD_SLOT = 18, - SHADOW_SHOES_SLOT = 19, - SHADOW_ACCESSORY1_SLOT = 20, - SHADOW_ACCESSORY2_SLOT = 21, - VECTOREND - }; -} // namespace EquipSlot - -#endif // ENUMS_EQUIPSLOT_H diff --git a/src/enums/events/keyeventtype.h b/src/enums/events/keyeventtype.h deleted file mode 100644 index 416866333..000000000 --- a/src/enums/events/keyeventtype.h +++ /dev/null @@ -1,76 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_EVENTS_KEYEVENTTYPE_H -#define ENUMS_EVENTS_KEYEVENTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(KeyEventType) -{ - PRESSED = 0, - RELEASED -} -enumEnd(KeyEventType); - -#endif // ENUMS_EVENTS_KEYEVENTTYPE_H diff --git a/src/enums/events/mousebutton.h b/src/enums/events/mousebutton.h deleted file mode 100644 index a60f88f43..000000000 --- a/src/enums/events/mousebutton.h +++ /dev/null @@ -1,79 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_EVENTS_MOUSEBUTTON_H -#define ENUMS_EVENTS_MOUSEBUTTON_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MouseButton) -{ - WHEEL = -1, - EMPTY = 0, - LEFT, - RIGHT, - MIDDLE -} -enumEnd(MouseButton); - -#endif // ENUMS_EVENTS_MOUSEBUTTON_H diff --git a/src/enums/events/mouseeventtype.h b/src/enums/events/mouseeventtype.h deleted file mode 100644 index b0db0a863..000000000 --- a/src/enums/events/mouseeventtype.h +++ /dev/null @@ -1,84 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_EVENTS_MOUSEEVENTTYPE_H -#define ENUMS_EVENTS_MOUSEEVENTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MouseEventType) -{ - MOVED = 0, - PRESSED, - RELEASED, - WHEEL_MOVED_DOWN, - WHEEL_MOVED_UP, - CLICKED, - ENTERED, - EXITED, - DRAGGED, - RELEASED2 = 100 -} -enumEnd(MouseEventType); - -#endif // ENUMS_EVENTS_MOUSEEVENTTYPE_H diff --git a/src/enums/fs/fsentrytype.h b/src/enums/fs/fsentrytype.h deleted file mode 100644 index 35b97164b..000000000 --- a/src/enums/fs/fsentrytype.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_FS_FSENTRYTYPE_H -#define ENUMS_FS_FSENTRYTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(FsEntryType) -{ - Dir = 0, - Zip = 1 -} -enumEnd(FsEntryType); - -#endif // ENUMS_FS_FSENTRYTYPE_H diff --git a/src/enums/gui/chatmsgtype.h b/src/enums/gui/chatmsgtype.h deleted file mode 100644 index 968935d0f..000000000 --- a/src/enums/gui/chatmsgtype.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_GUI_CHATMSGTYPE_H -#define ENUMS_GUI_CHATMSGTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ChatMsgType) -{ - BY_GM = 0, - BY_PLAYER, - BY_OTHER, - BY_SERVER, - BY_CHANNEL, - ACT_WHISPER, // getting whispered at - ACT_IS, // equivalent to "/me" on IRC - BY_LOGGER, - BY_UNKNOWN = -1 -} -enumEnd(ChatMsgType); - -#endif // ENUMS_GUI_CHATMSGTYPE_H diff --git a/src/enums/gui/chattabtype.h b/src/enums/gui/chattabtype.h deleted file mode 100644 index f37a98db6..000000000 --- a/src/enums/gui/chattabtype.h +++ /dev/null @@ -1,51 +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_GUI_CHATTABTYPE_H -#define ENUMS_GUI_CHATTABTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#ifdef INPUT -#undef INPUT -#endif // INPUT - -PRAGMAMINGW(GCC diagnostic push) -PRAGMAMINGW(GCC diagnostic ignored "-Wshadow") - -enumStart(ChatTabType) -{ - UNKNOWN = 0, - INPUT, - WHISPER, - PARTY, - GUILD, - DEBUG, - TRADE, - BATTLE, - LANG, - GM, - CHANNEL -} -enumEnd(ChatTabType); - -PRAGMAMINGW(GCC diagnostic pop) - -#endif // ENUMS_GUI_CHATTABTYPE_H diff --git a/src/enums/gui/colorname.h b/src/enums/gui/colorname.h deleted file mode 100644 index 3e45fcb66..000000000 --- a/src/enums/gui/colorname.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 - * Copyright (C) 2009 Aethyra Development Team - * - * 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_GUI_COLORNAME_H -#define ENUMS_GUI_COLORNAME_H - -namespace ColorName -{ - enum Type - { - RED = 0, - BLACK, - GREEN, - BLUE, - ORANGE, - YELLOW, - PINK, - PURPLE, - GRAY, - BROWN, - COLORS_MAX - }; -} // namespace ColorName - -#endif // ENUMS_GUI_COLORNAME_H diff --git a/src/enums/gui/dialogtype.h b/src/enums/gui/dialogtype.h deleted file mode 100644 index eede88ddf..000000000 --- a/src/enums/gui/dialogtype.h +++ /dev/null @@ -1,38 +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_GUI_DIALOGTYPE_H -#define ENUMS_GUI_DIALOGTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#undef ERROR - -enumStart(DialogType) -{ - OK = 0, - ERROR, - SILENCE -} -enumEnd(DialogType); - -#endif // ENUMS_GUI_DIALOGTYPE_H diff --git a/src/enums/gui/gradienttype.h b/src/enums/gui/gradienttype.h deleted file mode 100644 index 963813558..000000000 --- a/src/enums/gui/gradienttype.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008 Douglas Boffey <dougaboffey@netscape.net> - * Copyright (C) 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_GUI_GRADIENTTYPE_H -#define ENUMS_GUI_GRADIENTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(GradientType) -{ - STATIC = 0, - PULSE, - SPECTRUM, - RAINBOW, - LABEL -} -enumEnd(GradientType); - -#endif // ENUMS_GUI_GRADIENTTYPE_H diff --git a/src/enums/gui/itemamountwindowusage.h b/src/enums/gui/itemamountwindowusage.h deleted file mode 100644 index aac1be73b..000000000 --- a/src/enums/gui/itemamountwindowusage.h +++ /dev/null @@ -1,44 +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_GUI_ITEMAMOUNTWINDOWUSAGE_H -#define ENUMS_GUI_ITEMAMOUNTWINDOWUSAGE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ItemAmountWindowUsage) -{ - TradeAdd = 0, - ItemDrop, - StoreAdd, - StoreRemove, - CartAdd, - CartRemove, - ItemSplit, - ShopBuyAdd, - ShopSellAdd, - CraftAdd, - MailAdd -} -enumEnd(ItemAmountWindowUsage); - -#endif // ENUMS_GUI_ITEMAMOUNTWINDOWUSAGE_H diff --git a/src/enums/gui/layouttype.h b/src/enums/gui/layouttype.h deleted file mode 100644 index 65e07cb05..000000000 --- a/src/enums/gui/layouttype.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007-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_GUI_WIDGETS_LAYOUTTYPE_H -#define ENUMS_GUI_WIDGETS_LAYOUTTYPE_H - -#include "localconsts.h" - -namespace LayoutType -{ - /** - * When the minimum size of the layout is less than the available size, - * the remaining pixels are equally split amongst the FILL items. - */ - enum Type - { - DEF = -42, /**< Default value, behaves like AUTO_ADD. */ - SET = -43, /**< Uses the share as the new size. */ - ADD = -44 /**< Adds the share to the current size. */ - }; -} // namespace LayoutType - -#endif // ENUMS_GUI_WIDGETS_LAYOUTTYPE_H diff --git a/src/enums/gui/linkhighlightmode.h b/src/enums/gui/linkhighlightmode.h deleted file mode 100644 index 04e14c947..000000000 --- a/src/enums/gui/linkhighlightmode.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 - * Copyright (C) 2009 Aethyra Development Team - * - * 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_GUI_LINKHIGHLIGHTMODE_H -#define ENUMS_GUI_LINKHIGHLIGHTMODE_H - -#include "localconsts.h" - -namespace LinkHighlightMode -{ - /** - * Highlight modes for links. - * This can be used for a bitmask. - */ - enum Type - { - UNDERLINE = 1, - BACKGROUND = 2 - }; -} // namespace LinkHighlightMode - -#endif // ENUMS_GUI_LINKHIGHLIGHTMODE_H diff --git a/src/enums/gui/npcactionstate.h b/src/enums/gui/npcactionstate.h deleted file mode 100644 index d541b3013..000000000 --- a/src/enums/gui/npcactionstate.h +++ /dev/null @@ -1,46 +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_GUI_NPCACTIONSTATE_H -#define ENUMS_GUI_NPCACTIONSTATE_H - -#include "enums/simpletypes/enumdefines.h" - -#ifdef INPUT -#undef INPUT -#endif // INPUT - -PRAGMAMINGW(GCC diagnostic push) -PRAGMAMINGW(GCC diagnostic ignored "-Wshadow") - -enumStart(NpcActionState) -{ - WAIT = 0, - NEXT, - INPUT, - CLOSE -} -enumEnd(NpcActionState); - -PRAGMAMINGW(GCC diagnostic pop) - -#endif // ENUMS_GUI_NPCACTIONSTATE_H diff --git a/src/enums/gui/npcinputstate.h b/src/enums/gui/npcinputstate.h deleted file mode 100644 index eea8ff14f..000000000 --- a/src/enums/gui/npcinputstate.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_GUI_NPCINPUTSTATE_H -#define ENUMS_GUI_NPCINPUTSTATE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(NpcInputState) -{ - NONE = 0, - LIST, - STRING, - INTEGER, - ITEM, - ITEM_INDEX, - ITEM_CRAFT -} -enumEnd(NpcInputState); - -#endif // ENUMS_GUI_NPCINPUTSTATE_H diff --git a/src/enums/gui/orientation.h b/src/enums/gui/orientation.h deleted file mode 100644 index 5a816f5e6..000000000 --- a/src/enums/gui/orientation.h +++ /dev/null @@ -1,78 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_GUI_ORIENTATION_H -#define ENUMS_GUI_ORIENTATION_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Orientation) -{ - HORIZONTAL = 0, - VERTICAL -} -enumEnd(Orientation); - -#endif // ENUMS_GUI_ORIENTATION_H diff --git a/src/enums/gui/progresscolorid.h b/src/enums/gui/progresscolorid.h deleted file mode 100644 index 0929b37c8..000000000 --- a/src/enums/gui/progresscolorid.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008 The Legend of Mazzeroth Development Team - * Copyright (C) 2009 Aethyra Development Team - * Copyright (C) 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_GUI_PROGRESSCOLORID_H -#define ENUMS_GUI_PROGRESSCOLORID_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ProgressColorId) -{ - PROG_HP = 0, - PROG_HP_POISON, - PROG_MP, - PROG_NO_MP, - PROG_EXP, - PROG_INVY_SLOTS, - PROG_WEIGHT, - PROG_JOB, - PROG_UPDATE, - PROG_MONEY, - PROG_ARROWS, - PROG_STATUS, - THEME_PROG_END -} -enumEnd(ProgressColorId); - -#endif // ENUMS_GUI_PROGRESSCOLORID_H diff --git a/src/enums/gui/serverdialogdonwloadstatus.h b/src/enums/gui/serverdialogdonwloadstatus.h deleted file mode 100644 index c6eebbd07..000000000 --- a/src/enums/gui/serverdialogdonwloadstatus.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_GUI_SERVERDIALOGDOWNLOADSTATUS_H -#define ENUMS_GUI_SERVERDIALOGDOWNLOADSTATUS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ServerDialogDownloadStatus) -{ - UNKNOWN = 0, - ERROR, - PREPARING, - IDLE, - IN_PROGRESS, - COMPLETE, - OVER -} -enumEnd(ServerDialogDownloadStatus); - -#endif // ENUMS_GUI_SERVERDIALOGDOWNLOADSTATUS_H diff --git a/src/enums/gui/shoplistboxtype.h b/src/enums/gui/shoplistboxtype.h deleted file mode 100644 index 9be128d65..000000000 --- a/src/enums/gui/shoplistboxtype.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_GUI_SHOPLISTBOXTYPE_H -#define ENUMS_GUI_SHOPLISTBOXTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ShopListBoxType) -{ - Unknown = 0, - BuyShop = 1, - SellShop = 2 -} -enumEnd(ShopListBoxType); - -#endif // ENUMS_GUI_SHOPLISTBOXTYPE_H diff --git a/src/enums/gui/slidergrid.h b/src/enums/gui/slidergrid.h deleted file mode 100644 index 790fa5878..000000000 --- a/src/enums/gui/slidergrid.h +++ /dev/null @@ -1,85 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_GUI_SLIDERGRID_H -#define ENUMS_GUI_SLIDERGRID_H - -namespace SliderGrid -{ - enum Type - { - HSTART = 0, - HMID, - HEND, - HGRIP, - VSTART, - VMID, - VEND, - VGRIP, - SLIDER_MAX - }; -} // namespace SliderGrid - -#endif // ENUMS_GUI_SLIDERGRID_H diff --git a/src/enums/gui/themecolorid.h b/src/enums/gui/themecolorid.h deleted file mode 100644 index d4ab954a9..000000000 --- a/src/enums/gui/themecolorid.h +++ /dev/null @@ -1,258 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008 The Legend of Mazzeroth Development Team - * Copyright (C) 2009 Aethyra Development Team - * Copyright (C) 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_GUI_THEMECOLORID_H -#define ENUMS_GUI_THEMECOLORID_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ThemeColorId) -{ - BROWSERBOX = 0, - BROWSERBOX_OUTLINE, - SELFNICK, - SELFNICK_OUTLINE, - TEXT, - TEXT_OUTLINE, - CARET, - SHADOW, - OUTLINE, - BORDER, - PROGRESS_BAR, - PROGRESS_BAR_OUTLINE, - BUTTON, - BUTTON_OUTLINE, - BUTTON_DISABLED, - BUTTON_DISABLED_OUTLINE, - BUTTON_HIGHLIGHTED, - BUTTON_HIGHLIGHTED_OUTLINE, - BUTTON_PRESSED, - BUTTON_PRESSED_OUTLINE, - CHECKBOX, - CHECKBOX_OUTLINE, - DROPDOWN, - DROPDOWN_OUTLINE, - LABEL, - LABEL_OUTLINE, - LISTBOX, - LISTBOX_OUTLINE, - LISTBOX_SELECTED, - LISTBOX_SELECTED_OUTLINE, - RADIOBUTTON, - RADIOBUTTON_OUTLINE, - POPUP, - POPUP_OUTLINE, - TAB, - TAB_OUTLINE, - TAB_HIGHLIGHTED, - TAB_HIGHLIGHTED_OUTLINE, - TAB_SELECTED, - TAB_SELECTED_OUTLINE, - TEXTBOX, - TEXTFIELD, - TEXTFIELD_OUTLINE, - WINDOW, - WINDOW_OUTLINE, - BATTLE_CHAT_TAB, - BATTLE_CHAT_TAB_OUTLINE, - CHANNEL_CHAT_TAB, - CHANNEL_CHAT_TAB_OUTLINE, - PARTY_CHAT_TAB, - PARTY_CHAT_TAB_OUTLINE, - PARTY_SOCIAL_TAB, - PARTY_SOCIAL_TAB_OUTLINE, - GUILD_CHAT_TAB, - GUILD_CHAT_TAB_OUTLINE, - GUILD_SOCIAL_TAB, - GUILD_SOCIAL_TAB_OUTLINE, - GM_CHAT_TAB, - GM_CHAT_TAB_OUTLINE, - BATTLE_CHAT_TAB_HIGHLIGHTED, - BATTLE_CHAT_TAB_HIGHLIGHTED_OUTLINE, - CHANNEL_CHAT_TAB_HIGHLIGHTED, - CHANNEL_CHAT_TAB_HIGHLIGHTED_OUTLINE, - PARTY_CHAT_TAB_HIGHLIGHTED, - PARTY_CHAT_TAB_HIGHLIGHTED_OUTLINE, - PARTY_SOCIAL_TAB_HIGHLIGHTED, - PARTY_SOCIAL_TAB_HIGHLIGHTED_OUTLINE, - GUILD_CHAT_TAB_HIGHLIGHTED, - GUILD_CHAT_TAB_HIGHLIGHTED_OUTLINE, - GUILD_SOCIAL_TAB_HIGHLIGHTED, - GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE, - GM_CHAT_TAB_HIGHLIGHTED, - GM_CHAT_TAB_HIGHLIGHTED_OUTLINE, - BATTLE_CHAT_TAB_SELECTED, - BATTLE_CHAT_TAB_SELECTED_OUTLINE, - CHANNEL_CHAT_TAB_SELECTED, - CHANNEL_CHAT_TAB_SELECTED_OUTLINE, - PARTY_CHAT_TAB_SELECTED, - PARTY_CHAT_TAB_SELECTED_OUTLINE, - PARTY_SOCIAL_TAB_SELECTED, - PARTY_SOCIAL_TAB_SELECTED_OUTLINE, - GUILD_CHAT_TAB_SELECTED, - GUILD_CHAT_TAB_SELECTED_OUTLINE, - GUILD_SOCIAL_TAB_SELECTED, - GUILD_SOCIAL_TAB_SELECTED_OUTLINE, - GM_CHAT_TAB_SELECTED, - GM_CHAT_TAB_SELECTED_OUTLINE, - BACKGROUND, - BACKGROUND_GRAY, - SCROLLBAR_GRAY, - DROPDOWN_SHADOW, - HIGHLIGHT, - HIGHLIGHT_OUTLINE, - TAB_FLASH, - TAB_FLASH_OUTLINE, - TAB_PLAYER_FLASH, - TAB_PLAYER_FLASH_OUTLINE, - SHOP_WARNING, - ITEM_EQUIPPED, - ITEM_EQUIPPED_OUTLINE, - ITEM_NOT_EQUIPPED, - ITEM_NOT_EQUIPPED_OUTLINE, - CHAT, - CHAT_OUTLINE, - GM, - GM_OUTLINE, - GLOBAL, - GLOBAL_OUTLINE, - PLAYER, - PLAYER_OUTLINE, - WHISPER_TAB, - WHISPER_TAB_OUTLINE, - WHISPER_TAB_OFFLINE, - WHISPER_TAB_OFFLINE_OUTLINE, - WHISPER_TAB_HIGHLIGHTED, - WHISPER_TAB_HIGHLIGHTED_OUTLINE, - WHISPER_TAB_OFFLINE_HIGHLIGHTED, - WHISPER_TAB_OFFLINE_HIGHLIGHTED_OUTLINE, - WHISPER_TAB_SELECTED, - WHISPER_TAB_SELECTED_OUTLINE, - WHISPER_TAB_OFFLINE_SELECTED, - WHISPER_TAB_OFFLINE_SELECTED_OUTLINE, - IS, - IS_OUTLINE, - SERVER, - SERVER_OUTLINE, - LOGGER, - LOGGER_OUTLINE, - HYPERLINK, - HYPERLINK_OUTLINE, - UNKNOWN_ITEM, - UNKNOWN_ITEM_OUTLINE, - GENERIC, - GENERIC_OUTLINE, - HEAD, - HEAD_OUTLINE, - USABLE, - USABLE_OUTLINE, - TORSO, - TORSO_OUTLINE, - ONEHAND, - ONEHAND_OUTLINE, - LEGS, - LEGS_OUTLINE, - FEET, - FEET_OUTLINE, - TWOHAND, - TWOHAND_OUTLINE, - SHIELD, - SHIELD_OUTLINE, - RING, - RING_OUTLINE, - NECKLACE, - NECKLACE_OUTLINE, - ARMS, - ARMS_OUTLINE, - AMMO, - AMMO_OUTLINE, - SERVER_VERSION_NOT_SUPPORTED, - SERVER_VERSION_NOT_SUPPORTED_OUTLINE, - WARNING, - WARNING_OUTLINE, - CHARM, - CHARM_OUTLINE, - CARD, - CARD_OUTLINE, - PLAYER_ADVANCED, - PLAYER_ADVANCED_OUTLINE, - BUBBLE_NAME, - BUBBLE_NAME_OUTLINE, - BUBBLE_TEXT, - BUBBLE_TEXT_OUTLINE, - BLACK, - BLACK_OUTLINE, - RED, - RED_OUTLINE, - GREEN, - GREEN_OUTLINE, - BLUE, - BLUE_OUTLINE, - ORANGE, - ORANGE_OUTLINE, - YELLOW, - YELLOW_OUTLINE, - PINK, - PINK_OUTLINE, - PURPLE, - PURPLE_OUTLINE, - GRAY, - GRAY_OUTLINE, - BROWN, - BROWN_OUTLINE, - STATUSBAR_ON, - STATUSBAR_OFF, - TABLE_BACKGROUND, - SLOTS_BAR, - SLOTS_BAR_OUTLINE, - HP_BAR, - HP_BAR_OUTLINE, - MP_BAR, - MP_BAR_OUTLINE, - NO_MP_BAR, - NO_MP_BAR_OUTLINE, - XP_BAR, - XP_BAR_OUTLINE, - WEIGHT_BAR, - WEIGHT_BAR_OUTLINE, - MONEY_BAR, - MONEY_BAR_OUTLINE, - ARROWS_BAR, - ARROWS_BAR_OUTLINE, - STATUS_BAR, - STATUS_BAR_OUTLINE, - JOB_BAR, - JOB_BAR_OUTLINE, - OLDCHAT, - OLDCHAT_OUTLINE, - AWAYCHAT, - AWAYCHAT_OUTLINE, - SKILL_COOLDOWN, - TEXT_DISABLED, - TEXT_DISABLED_OUTLINE, - THEME_COLORS_END -} -enumEnd(ThemeColorId); - -#endif // ENUMS_GUI_THEMECOLORID_H diff --git a/src/enums/gui/updatedownloadstatus.h b/src/enums/gui/updatedownloadstatus.h deleted file mode 100644 index 7209cc66e..000000000 --- a/src/enums/gui/updatedownloadstatus.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) 2012-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_GUI_UPDATEDOWNLOADSTATUS_H -#define ENUMS_GUI_UPDATEDOWNLOADSTATUS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(UpdateDownloadStatus) -{ - UPDATE_ERROR = 0, - UPDATE_IDLE, - UPDATE_LIST, - UPDATE_COMPLETE, - UPDATE_NEWS, - UPDATE_RESOURCES, - UPDATE_PATCH, - UPDATE_LIST2, - UPDATE_RESOURCES2 -} -enumEnd(UpdateDownloadStatus); - -#endif // ENUMS_GUI_UPDATEDOWNLOADSTATUS_H diff --git a/src/enums/gui/usercolorid.h b/src/enums/gui/usercolorid.h deleted file mode 100644 index bb3feab0f..000000000 --- a/src/enums/gui/usercolorid.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2008 Douglas Boffey <dougaboffey@netscape.net> - * Copyright (C) 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_GUI_USERCOLORID_H -#define ENUMS_GUI_USERCOLORID_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(UserColorId) -{ - NO_COLOR = -1, - LABEL_BEING = 0, - BEING, - FRIEND, - DISREGARDED, - IGNORED, - ERASED, - ENEMY, - PC, - SELF, - GM, - NPC, - MONSTER, - PET, - MERCENARY, - HOMUNCULUS, - SKILLUNIT, - PARTY, - GUILD, - TEAM1, - TEAM2, - TEAM3, - LABEL_PARTICLES, - PARTICLE, - PICKUP_INFO, - EXP_INFO, - LABEL_HP, - PLAYER_HP, - PLAYER_HP2, - MONSTER_HP, - MONSTER_HP2, - HOMUN_HP, - HOMUN_HP2, - MERC_HP, - MERC_HP2, - ELEMENTAL_HP, - ELEMENTAL_HP2, - LABEL_HITS, - HIT_PLAYER_MONSTER, - HIT_MONSTER_PLAYER, - HIT_PLAYER_PLAYER, - HIT_CRITICAL, - HIT_LOCAL_PLAYER_MONSTER, - HIT_LOCAL_PLAYER_CRITICAL, - HIT_LOCAL_PLAYER_MISS, - MISS, - LABEL_TILES, - PORTAL_HIGHLIGHT, - COLLISION_HIGHLIGHT, - AIR_COLLISION_HIGHLIGHT, - WATER_COLLISION_HIGHLIGHT, - MONSTER_COLLISION_HIGHLIGHT, - GROUNDTOP_COLLISION_HIGHLIGHT, - WALKABLE_HIGHLIGHT, - NET, - LABEL_RANGES, - ATTACK_RANGE, - ATTACK_RANGE_BORDER, - MONSTER_ATTACK_RANGE, - SKILL_ATTACK_RANGE, - LABEL_OTHER, - FLOOR_ITEM_TEXT, - HOME_PLACE, - HOME_PLACE_BORDER, - ROAD_POINT, - USER_COLOR_LAST -} -enumEnd(UserColorId); - -#endif // ENUMS_GUI_USERCOLORID_H diff --git a/src/enums/guildpositionflags.h b/src/enums/guildpositionflags.h deleted file mode 100644 index 180545103..000000000 --- a/src/enums/guildpositionflags.h +++ /dev/null @@ -1,38 +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_GUILDPOSITIONFLAGS_H -#define ENUMS_GUILDPOSITIONFLAGS_H - -class Guild; - -namespace GuildPositionFlags -{ - enum Type - { - None = 0x00, - Invite = 0x01, - Expel = 0x10 - }; -} // namespace GuildPositionFlags - -#endif // ENUMS_GUILDPOSITIONFLAGS_H diff --git a/src/enums/input/inputaction.h b/src/enums/input/inputaction.h deleted file mode 100644 index dc09b8f3a..000000000 --- a/src/enums/input/inputaction.h +++ /dev/null @@ -1,716 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * 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_INPUT_INPUTACTION_H -#define ENUMS_INPUT_INPUTACTION_H - -#include "enums/simpletypes/enumdefines.h" - -#ifdef WIN32 -#undef ERROR -#undef IGNORE -#endif // WIN32 - -/** - * All the key functions. - * KEY_NO_VALUE is used in initialization, and should be unchanged. - * KEY_TOTAL should always be last (used as a conditional in loops). - * The key assignment view gets arranged according to the order of - * these values. - */ -enumStart(InputAction) -{ - UNDEFINED_VALUE = -2, - NO_VALUE = -1, - MOVE_UP, - MOVE_DOWN, - MOVE_LEFT, - MOVE_RIGHT, - ATTACK, - TARGET_ATTACK, - MOVE_TO_TARGET, - CHANGE_MOVE_TO_TARGET, - MOVE_TO_HOME, - SET_HOME, - MOVE_TO_POINT, - TALK, - STOP_ATTACK, - UNTARGET, - TARGET_MONSTER, - TARGET_NPC, - TARGET_PLAYER, - PICKUP, - CHANGE_PICKUP_TYPE, - HIDE_WINDOWS, - SIT, - SCREENSHOT, - CHANGE_TRADE, - PATHFIND, - OK, - QUIT, - SHORTCUTS_KEY, - SHORTCUT_1, - SHORTCUT_2, - SHORTCUT_3, - SHORTCUT_4, - SHORTCUT_5, - SHORTCUT_6, - SHORTCUT_7, - SHORTCUT_8, - SHORTCUT_9, - SHORTCUT_10, - SHORTCUT_11, - SHORTCUT_12, - SHORTCUT_13, - SHORTCUT_14, - SHORTCUT_15, - SHORTCUT_16, - SHORTCUT_17, - SHORTCUT_18, - SHORTCUT_19, - SHORTCUT_20, - WINDOW_HELP, - WINDOW_STATUS, - WINDOW_INVENTORY, - WINDOW_EQUIPMENT, - WINDOW_SKILL, - WINDOW_MINIMAP, - WINDOW_CHAT, - WINDOW_SHORTCUT, - WINDOW_SETUP, - WINDOW_DEBUG, - WINDOW_SOCIAL, - WINDOW_EMOTE_SHORTCUT, - WINDOW_OUTFIT, - WINDOW_SHOP, - WINDOW_DROP, - WINDOW_KILLS, - WINDOW_SPELLS, - UNUSED1, - WINDOW_ONLINE, - WINDOW_DIDYOUKNOW, - WINDOW_QUESTS, - PREV_SOCIAL_TAB, - NEXT_SOCIAL_TAB, - EMOTE, - EMOTE_1, - EMOTE_2, - EMOTE_3, - EMOTE_4, - EMOTE_5, - EMOTE_6, - EMOTE_7, - EMOTE_8, - EMOTE_9, - EMOTE_10, - EMOTE_11, - EMOTE_12, - EMOTE_13, - EMOTE_14, - EMOTE_15, - EMOTE_16, - EMOTE_17, - EMOTE_18, - EMOTE_19, - EMOTE_20, - EMOTE_21, - EMOTE_22, - EMOTE_23, - EMOTE_24, - EMOTE_25, - EMOTE_26, - EMOTE_27, - EMOTE_28, - EMOTE_29, - EMOTE_30, - EMOTE_31, - EMOTE_32, - EMOTE_33, - EMOTE_34, - EMOTE_35, - EMOTE_36, - EMOTE_37, - EMOTE_38, - EMOTE_39, - EMOTE_40, - EMOTE_41, - EMOTE_42, - EMOTE_43, - EMOTE_44, - EMOTE_45, - EMOTE_46, - EMOTE_47, - EMOTE_48, - WEAR_OUTFIT, - COPY_OUTFIT, - COPY_EQUIPED_OUTFIT, - OUTFIT_1, - OUTFIT_2, - OUTFIT_3, - OUTFIT_4, - OUTFIT_5, - OUTFIT_6, - OUTFIT_7, - OUTFIT_8, - OUTFIT_9, - OUTFIT_10, - OUTFIT_11, - OUTFIT_12, - OUTFIT_13, - OUTFIT_14, - OUTFIT_15, - OUTFIT_16, - OUTFIT_17, - OUTFIT_18, - OUTFIT_19, - OUTFIT_20, - OUTFIT_21, - OUTFIT_22, - OUTFIT_23, - OUTFIT_24, - OUTFIT_25, - OUTFIT_26, - OUTFIT_27, - OUTFIT_28, - OUTFIT_29, - OUTFIT_30, - OUTFIT_31, - OUTFIT_32, - OUTFIT_33, - OUTFIT_34, - OUTFIT_35, - OUTFIT_36, - OUTFIT_37, - OUTFIT_38, - OUTFIT_39, - OUTFIT_40, - OUTFIT_41, - OUTFIT_42, - OUTFIT_43, - OUTFIT_44, - OUTFIT_45, - OUTFIT_46, - OUTFIT_47, - OUTFIT_48, - MOVE_TO_POINT_1, - MOVE_TO_POINT_2, - MOVE_TO_POINT_3, - MOVE_TO_POINT_4, - MOVE_TO_POINT_5, - MOVE_TO_POINT_6, - MOVE_TO_POINT_7, - MOVE_TO_POINT_8, - MOVE_TO_POINT_9, - MOVE_TO_POINT_10, - MOVE_TO_POINT_11, - MOVE_TO_POINT_12, - MOVE_TO_POINT_13, - MOVE_TO_POINT_14, - MOVE_TO_POINT_15, - MOVE_TO_POINT_16, - MOVE_TO_POINT_17, - MOVE_TO_POINT_18, - MOVE_TO_POINT_19, - MOVE_TO_POINT_20, - MOVE_TO_POINT_21, - MOVE_TO_POINT_22, - MOVE_TO_POINT_23, - MOVE_TO_POINT_24, - MOVE_TO_POINT_25, - MOVE_TO_POINT_26, - MOVE_TO_POINT_27, - MOVE_TO_POINT_28, - MOVE_TO_POINT_29, - MOVE_TO_POINT_30, - MOVE_TO_POINT_31, - MOVE_TO_POINT_32, - MOVE_TO_POINT_33, - MOVE_TO_POINT_34, - MOVE_TO_POINT_35, - MOVE_TO_POINT_36, - MOVE_TO_POINT_37, - MOVE_TO_POINT_38, - MOVE_TO_POINT_39, - MOVE_TO_POINT_40, - MOVE_TO_POINT_41, - MOVE_TO_POINT_42, - MOVE_TO_POINT_43, - MOVE_TO_POINT_44, - MOVE_TO_POINT_45, - MOVE_TO_POINT_46, - MOVE_TO_POINT_47, - MOVE_TO_POINT_48, - TOGGLE_CHAT, - SCROLL_CHAT_UP, - SCROLL_CHAT_DOWN, - PREV_CHAT_TAB, - NEXT_CHAT_TAB, - CLOSE_CHAT_TAB, - CHAT_PREV_HISTORY, - CHAT_NEXT_HISTORY, - IGNORE_INPUT_1, - IGNORE_INPUT_2, - DIRECT_UP, - DIRECT_DOWN, - DIRECT_LEFT, - DIRECT_RIGHT, - CRAZY_MOVES, - CHANGE_CRAZY_MOVES_TYPE, - QUICK_DROP, - QUICK_DROPN, - SWITCH_QUICK_DROP, - MAGIC_INMA1, - MAGIC_ITENPLZ, - MAGIC_ATTACK, - SWITCH_MAGIC_ATTACK, - SWITCH_PVP_ATTACK, - INVERT_DIRECTION, - CHANGE_ATTACK_WEAPON_TYPE, - CHANGE_ATTACK_TYPE, - CHANGE_FOLLOW_MODE, - CHANGE_IMITATION_MODE, - DISABLE_GAME_MODIFIERS, - CHANGE_AUDIO, - AWAY, - RIGHT_CLICK, - CAMERA, - RESERVED1, - GUI_UP, - GUI_DOWN, - GUI_LEFT, - GUI_RIGHT, - GUI_SELECT, - GUI_SELECT2, - GUI_CANCEL, - GUI_HOME, - GUI_END, - GUI_DELETE, - GUI_BACKSPACE, - GUI_TAB, - GUI_PAGE_UP, - GUI_PAGE_DOWN, - GUI_INSERT, - GUI_MOD, - SAFE_VIDEO, - STOP_SIT, - SHOW_KEYBOARD, - SHOW_WINDOWS, - CHAT_MOD, - MOVE_FORWARD, - GUI_CTRL, - GUI_B, - GUI_C, - GUI_D, - GUI_E, - GUI_F, - GUI_H, - GUI_K, - GUI_U, - GUI_V, - GUI_W, - PREV_SHORTCUTS_TAB, - NEXT_SHORTCUTS_TAB, - PREV_COMMANDS_TAB, - NEXT_COMMANDS_TAB, - OPEN_TRADE, - GUI_F1, - GUI_F2, - GUI_F3, - GUI_F4, - GUI_F5, - GUI_F6, - GUI_F7, - GUI_F8, - GUI_F9, - GUI_F10, - GUI_F11, - GUI_F12, - WINDOW_ABOUT, - WINDOW_UPDATER, - TARGET_CLOSEST_MONSTER, - CLOSE_ALL_CHAT_TABS, - IGNORE_ALL_WHISPERS, - CHAT_ANNOUNCE, - IPC_TOGGLE, - WHERE, - WHO, - WHISPER, - QUERY, - CLEAR_CHAT_TAB, - IGNORE, - UNIGNORE, - FRIEND, - DISREGARD, - NEUTRAL, - BLACKLIST, - ENEMY, - ERASE, - CLEAN_GRAPHICS, - CLEAN_FONTS, - CREATE_PARTY, - CREATE_GUILD, - PARTY, - ME, - TOGGLE, - PRESENT, - PRINT_ALL, - MOVE, - TARGET, - ATTACK_HUMAN, - COMMAMD_OUTFIT, - COMMAMD_EMOTE, - COMMAND_EMOTE_PET, - AWAY_MESSAGE, - PSEUDO_AWAY, - FOLLOW, - NAVIGATE, - IMITATION, - SEND_MAIL, - TRADE, - PRICE_LOAD, - PRICE_SAVE, - CACHE_INFO, - DISCONNECT, - UNDRESS, - DIRS, - INFO, - WAIT, - UPTIME, - ADD_PRIORITY_ATTACK, - ADD_ATTACK, - REMOVE_ATTACK, - ADD_IGNORE_ATTACK, - DUMP, - SERVER_IGNORE_ALL, - SERVER_UNIGNORE_ALL, - SET_DROP, - ERROR, - DUMP_GRAPHICS, - DUMP_ENVIRONMENT, - DUMP_TESTS, - DUMP_OGL, - DUMP_GL, - DUMP_MODS, - URL, - OPEN_URL, - EXECUTE, - TEST_SDL_FONT, - ENABLE_HIGHLIGHT, - DISABLE_HIGHLIGHT, - DONT_REMOVE_NAME, - REMOVE_NAME, - DISABLE_AWAY, - ENABLE_AWAY, - TEST_PARTICLE, - CREATE_ITEMS, - TALK_RAW, - TALK_PET, - UPLOAD_CONFIG, - UPLOAD_SERVER_CONFIG, - UPLOAD_LOG, - GM, - HACK, - DEBUG_SPAWN, - PET_EMOTE, - PET_EMOTE_1, - PET_EMOTE_2, - PET_EMOTE_3, - PET_EMOTE_4, - PET_EMOTE_5, - PET_EMOTE_6, - PET_EMOTE_7, - PET_EMOTE_8, - PET_EMOTE_9, - PET_EMOTE_10, - PET_EMOTE_11, - PET_EMOTE_12, - PET_EMOTE_13, - PET_EMOTE_14, - PET_EMOTE_15, - PET_EMOTE_16, - PET_EMOTE_17, - PET_EMOTE_18, - PET_EMOTE_19, - PET_EMOTE_20, - PET_EMOTE_21, - PET_EMOTE_22, - PET_EMOTE_23, - PET_EMOTE_24, - PET_EMOTE_25, - PET_EMOTE_26, - PET_EMOTE_27, - PET_EMOTE_28, - PET_EMOTE_29, - PET_EMOTE_30, - PET_EMOTE_31, - PET_EMOTE_32, - PET_EMOTE_33, - PET_EMOTE_34, - PET_EMOTE_35, - PET_EMOTE_36, - PET_EMOTE_37, - PET_EMOTE_38, - PET_EMOTE_39, - PET_EMOTE_40, - PET_EMOTE_41, - PET_EMOTE_42, - PET_EMOTE_43, - PET_EMOTE_44, - PET_EMOTE_45, - PET_EMOTE_46, - PET_EMOTE_47, - PET_EMOTE_48, - CATCH_PET, - IGNORE_WHISPER, - UNIGNORE_WHISPER, - MERCENARY_FIRE, - TARGET_MERCENARY, - TARGET_PET, - PET_SET_NAME, - HOMUNCULUS_SET_NAME, - HOMUNCULUS_FIRE, - WINDOW_BANK, - PREV_INV_TAB, - NEXT_INV_TAB, - CONTEXT_MENU, - BUY, - SELL, - WHISPER2, - GUILD, - NUKE, - USE, - CHAT_ADD, - WHISPER_TEXT, - NAVIGATE_TO, - CAMERA_MOVE, - DROP_ITEM, - DROP_ITEM_ALL, - DROP_INV, - DROP_INV_ALL, - USE_INV, - INV_TO_STORAGE, - TRADE_ADD, - STORAGE_TO_INV, - ITEM_PROTECT, - ITEM_UNPROTECT, - KICK_PARTY, - ADD_TEXT, - KICK, - LEAVE_PARTY, - WARP, - CLEAR_CHAT, - PET_MOVE_UP, - PET_MOVE_DOWN, - PET_MOVE_LEFT, - PET_MOVE_RIGHT, - PET_DIRECT_UP, - PET_DIRECT_DOWN, - PET_DIRECT_LEFT, - PET_DIRECT_RIGHT, - PET_AI_START, - PET_AI_STOP, - CHAT_GENERAL_TAB, - CHAT_DEBUG_TAB, - CHAT_BATTLE_TAB, - CHAT_TRADE_TAB, - CHAT_LANG_TAB, - CHAT_GM_TAB, - CHAT_PARTY_TAB, - CHAT_GUILD_TAB, - DROP_CLEAR, - WINDOW_CART, - HEAL_MOST_DAMAGED, - PET_MOVE, - HOMUN_TALK, - HOMUN_SMILE, - HOMUN_EMOTE, - HOMUN_EMOTE_1, - HOMUN_EMOTE_2, - HOMUN_EMOTE_3, - HOMUN_EMOTE_4, - HOMUN_EMOTE_5, - HOMUN_EMOTE_6, - HOMUN_EMOTE_7, - HOMUN_EMOTE_8, - HOMUN_EMOTE_9, - HOMUN_EMOTE_10, - HOMUN_EMOTE_11, - HOMUN_EMOTE_12, - HOMUN_EMOTE_13, - HOMUN_EMOTE_14, - HOMUN_EMOTE_15, - HOMUN_EMOTE_16, - HOMUN_EMOTE_17, - HOMUN_EMOTE_18, - HOMUN_EMOTE_19, - HOMUN_EMOTE_20, - HOMUN_EMOTE_21, - HOMUN_EMOTE_22, - HOMUN_EMOTE_23, - HOMUN_EMOTE_24, - HOMUN_EMOTE_25, - HOMUN_EMOTE_26, - HOMUN_EMOTE_27, - HOMUN_EMOTE_28, - HOMUN_EMOTE_29, - HOMUN_EMOTE_30, - HOMUN_EMOTE_31, - HOMUN_EMOTE_32, - HOMUN_EMOTE_33, - HOMUN_EMOTE_34, - HOMUN_EMOTE_35, - HOMUN_EMOTE_36, - HOMUN_EMOTE_37, - HOMUN_EMOTE_38, - HOMUN_EMOTE_39, - HOMUN_EMOTE_40, - HOMUN_EMOTE_41, - HOMUN_EMOTE_42, - HOMUN_EMOTE_43, - HOMUN_EMOTE_44, - HOMUN_EMOTE_45, - HOMUN_EMOTE_46, - HOMUN_EMOTE_47, - HOMUN_EMOTE_48, - KICK_GUILD, - HAT, - CREATE_PUBLIC_ROOM, - JOIN_ROOM, - LEAVE_ROOM, - WINDOW_QUICK_SETTINGS, - WINDOW_MAIL, - CONF_SET, - SERVER_CONF_SET, - CONG_GET, - SERVER_CONG_GET, - CHANGE_TARGETING_TYPE, - TEST_INFO, - SLIDE, - SELECT_SKILL_LEVEL, - SKILL, - CRAFT_1, - CRAFT_2, - CRAFT_3, - CRAFT_4, - CRAFT_5, - CRAFT_6, - CRAFT_7, - CRAFT_8, - CRAFT_9, - CRAFT, - CHAT_CLIPBOARD, - NPC_CLIPBOARD, - ADD_PICKUP, - REMOVE_PICKUP, - IGNORE_PICKUP, - RESET_MODIFIERS, - BAR_TO_CHAT, - SEEN, - TARGET_SKILL_UNIT, - MONSTER_INFO, - ITEM_INFO, - WHO_DROPS, - MOB_SEARCH, - MOB_SPAWN_SEARCH, - PLAYER_GM_COMMANDS, - PLAYER_CHAR_GM_COMMANDS, - COMMAND_SHOW_LEVEL, - COMMAND_SHOW_STATS, - COMMAND_SHOW_STORAGE, - COMMAND_SHOW_CART, - COMMAND_SHOW_INVENTORY, - LOCATE_PLAYER, - COMMAND_SHOW_ACCOUNT_INFO, - COMMAND_SPAWN, - COMMAND_SPAWN_SLAVE, - COMMAND_SPAWN_CLONE, - COMMAND_SPAWN_SLAVE_CLONE, - COMMAND_SPAWN_EVIL_CLONE, - COMMAND_SAVE_POSITION, - COMMAND_LOAD_POSITION, - COMMAND_RANDOM_WARP, - COMMAND_GOTO_NPC, - COMMAND_KILLER, - COMMAND_KILLABLE, - COMMAND_HEAL, - COMMAND_ALIVE, - COMMAND_DISGUISE, - COMMAND_IMMORTAL, - COMMAND_HIDE, - COMMAND_NUKE, - COMMAND_KILL, - COMMAND_JAIL, - COMMAND_UNJAIL, - COMMAND_NPC_MOVE, - COMMAND_NPC_HIDE, - COMMAND_NPC_SHOW, - COMMAND_CHANGE_PARTY_LEADER, - COMMAND_PARTY_RECALL, - COMMAND_BREAK_GUILD, - COMMAND_GUILD_RECALL, - MAIL_TO, - ADOPT_CHILD, - DUMP_MEMORY_USAGE, - SET_EMOTE_TYPE, - CAMERA_RESTORE, - SHOW_SKILL_LEVELS, - SHOW_SKILL_TYPE, - SELECT_SKILL_TYPE, - SHOW_SKILL_OFFSET_X, - SHOW_SKILL_OFFSET_Y, - SET_SKILL_OFFSET_X, - SET_SKILL_OFFSET_Y, - LEAVE_GUILD, - GUILD_NOTICE, - PARTY_ITEM_SHARE, - PARTY_EXP_SHARE, - PARTY_AUTO_ITEM_SHARE, - CREATE_ITEM, - COPY_OUTFIT_TO_CHAT, - COMMAND_TRANSLATE, - COMMAND_SEND_GUI_KEY, - MOVE_ATTACK_UP, - MOVE_ATTACK_DOWN, - MOVE_PRIORITY_ATTACK_UP, - MOVE_PRIORITY_ATTACK_DOWN, - SHOW_ITEMS, - COMMAND_SEND_MOUSE_KEY, - COMMAND_SEND_CHARS, - CLEAR_OUTFIT, - CLIPBOARD_COPY, - COMMAND_GOTO_PC, - COMMAND_RECALL_PC, - COMMAND_IP_CHECK, - WINDOW_SERVER_INFO, - MERCENARY_TO_MASTER, - HOMUNCULUS_TO_MASTER, - HOMUNCULUS_FEED, - PET_FEED, - PET_DROP_LOOT, - PET_RETURN_TO_EGG, - PET_UNEQUIP, - ADD_SKILL_SHORTCUT, - TOTAL -} -enumEnd(InputAction); - -#endif // ENUMS_INPUT_INPUTACTION_H diff --git a/src/enums/input/inputcondition.h b/src/enums/input/inputcondition.h deleted file mode 100644 index a53aec86c..000000000 --- a/src/enums/input/inputcondition.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_INPUT_INPUTCONDITION_H -#define ENUMS_INPUT_INPUTCONDITION_H - -namespace InputCondition -{ - enum Type - { - DEFAULT = 1, // default condition - ENABLED = 2, // keyboard must be enabled - NOINPUT = 4, // input items must be unfocused - NOAWAY = 8, // player not in away mode - NOSETUP = 16, // setup window is hidde - VALIDSPEED = 32, // valid speed - NOMODAL = 64, // modal windows inactive - NONPCINPUT = 128, // npc input field inactive - EMODS = 256, // game modifiers enabled - NOTARGET = 512, // no target/untarget keys - // pressed - NOFOLLOW = 1024, // follow mode disabled - INGAME = 2048, // game must be started - NOBUYSELL = 4096, // no active buy or sell dialogs - NONPCDIALOG = 8192, // no active npc dialog or - // dialog almost closed - NOTALKING = 16384, // player have no opened - // dialogs what prevent moving - ALIVE = 32768, // player alive - NOVENDING = 65536, // vending disabled - NOROOM = 131072, // not joined room - NOBLOCK = 262144, // no blocked move (trick dead) - KEY_DOWN = 524288, // key press allowed - KEY_UP = 1048576, // key release allowed - SHORTCUT = 2 + 4 + 16 + 512 + 2048, // flags for shortcut keys - SHORTCUT0 = 2 + 4 + 16 + 512, // flags for shortcut keys - GAME = 2 + 4 + 8 + 16 + 64 + 2048, // main game key - GAME2 = 2 + 8 + 16 + 64 + 2048, - ARROWKEYS = 2 + 4 + 8 + 16 + 64 + 2048 + 4096 + - 16384 + 65536 + 131072 + 262144 - }; -} // namespace InputCondition - -#endif // ENUMS_INPUT_INPUTCONDITION_H diff --git a/src/enums/input/inputgroup.h b/src/enums/input/inputgroup.h deleted file mode 100644 index 5fc3c93af..000000000 --- a/src/enums/input/inputgroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * 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_INPUT_INPUTGROUP_H -#define ENUMS_INPUT_INPUTGROUP_H - -#include "localconsts.h" - -namespace Input -{ - enum InputGroup - { - GRP_DEFAULT = 1, // default game key - GRP_CHAT = 2, // chat key - GRP_EMOTION = 4, // emotions key - GRP_OUTFIT = 8, // outfit key - GRP_GUI = 16, // gui key - GRP_MOVETOPOINT = 32, // move to point key - GRP_GUICHAN = 64, // for guichan based controls - GRP_REPEAT = 128, // repeat emulation keys - GRP_PET_EMOTION = 256, // pet emotions key - GRP_HOMUN_EMOTION = 512 // homunculus/mercenary emotetions key - }; -} // namespace Input - -#endif // ENUMS_INPUT_INPUTGROUP_H diff --git a/src/enums/input/inputtype.h b/src/enums/input/inputtype.h deleted file mode 100644 index 865d5581a..000000000 --- a/src/enums/input/inputtype.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_INPUT_INPUTTYPE_H -#define ENUMS_INPUT_INPUTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -// hack to avoid conflicts with windows headers. -#ifdef KEYBOARD -#undef KEYBOARD -#endif // KEYBOARD -#ifdef MOUSE -#undef MOUSE -#endif // MOUSE - -enumStart(InputType) -{ - UNKNOWN = 0, - KEYBOARD = 1, - MOUSE = 2, - JOYSTICK = 3 -} -enumEnd(InputType); - -#endif // ENUMS_INPUT_INPUTTYPE_H diff --git a/src/enums/input/keyboardfocus.h b/src/enums/input/keyboardfocus.h deleted file mode 100644 index 9b80f7f20..000000000 --- a/src/enums/input/keyboardfocus.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_INPUT_KEYBOARDFOCUS_H -#define ENUMS_INPUT_KEYBOARDFOCUS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(KeyboardFocus) -{ - Unfocused = 0, - Focused = 1, - Focused2 = 2 -} -enumEnd(KeyboardFocus); - -#endif // ENUMS_INPUT_KEYBOARDFOCUS_H diff --git a/src/enums/input/keyvalue.h b/src/enums/input/keyvalue.h deleted file mode 100644 index 9b83e9666..000000000 --- a/src/enums/input/keyvalue.h +++ /dev/null @@ -1,131 +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/>. - */ - -/* _______ __ __ __ ______ __ __ _______ __ __ - * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ - * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / - * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / - * / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / / - * /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ / - * \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/ - * - * Copyright (c) 2004 - 2008 Olof Naessén and Per Larsson - * - * - * Per Larsson a.k.a finalman - * Olof Naessén a.k.a jansem/yakslem - * - * Visit: http://guichan.sourceforge.net - * - * License: (BSD) - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Guichan nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef ENUMS_INPUT_KEYVALUE_H -#define ENUMS_INPUT_KEYVALUE_H - -#include "localconsts.h" - -// windows.h defines DELETE which breaks this file as we have a constant named -// DELETE, hence we undefine DELETE if it is defined and hope people don't use -// that windows define with Guichan. -#if defined (_WIN32) && defined(DELETE) -#undef DELETE -#endif // defined (_WIN32) && defined(DELETE) - -namespace KeyValue -{ - enum - { - SPACE = ' ', - TAB = '\t', - ENTER = '\n', - // Negative values, to avoid conflicts with higher character codes. - LEFT_ALT = -1000, - RIGHT_ALT = -999, - LEFT_SHIFT = -998, - RIGHT_SHIFT = -997, - LEFT_CONTROL = -996, - RIGHT_CONTROL = -995, - LEFT_META = -994, - RIGHT_META = -993, - LEFT_SUPER = -992, - RIGHT_SUPER = -991, - INSERT = -990, - HOME = -989, - PAGE_UP = -988, - DELETE_ = -987, - END = -986, - PAGE_DOWN = -985, - ESCAPE = -984, - CAPS_LOCK = -983, - BACKSPACE = -982, - F1 = -981, - F2 = -980, - F3 = -979, - F4 = -978, - F5 = -977, - F6 = -978, - F7 = -977, - F8 = -976, - F9 = -975, - F10 = -974, - F11 = -973, - F12 = -972, - F13 = -971, - F14 = -970, - F15 = -969, - PRINT_SCREEN = -968, - SCROLL_LOCK = -967, - PAUSE = -966, - NUM_LOCK = -965, - ALT_GR = -964, - LEFT = -963, - RIGHT = -962, - UP = -961, - DOWN = -960, - TEXTINPUT = -959 - }; -} // namespace KeyValue - -#endif // ENUMS_INPUT_KEYVALUE_H diff --git a/src/enums/inventorytype.h b/src/enums/inventorytype.h deleted file mode 100644 index 91d473f78..000000000 --- a/src/enums/inventorytype.h +++ /dev/null @@ -1,43 +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_INVENTORYTYPE_H -#define ENUMS_INVENTORYTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(InventoryType) -{ - Inventory = 0, - Storage, - Trade, - Npc, - Cart, - Vending, - MailEdit, - MailView, - Craft, - TypeEnd -} -enumEnd(InventoryType); - -#endif // ENUMS_INVENTORYTYPE_H diff --git a/src/enums/magicschool.h b/src/enums/magicschool.h deleted file mode 100644 index 6c1f92c7b..000000000 --- a/src/enums/magicschool.h +++ /dev/null @@ -1,40 +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_MAGICSCHOOL_H -#define ENUMS_MAGICSCHOOL_H - -#ifdef TMWA_SUPPORT - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MagicSchool) -{ - SkillMagic = 340, - SkillMagicLife = 341, - SkillMagicWar = 342, - SkillMagicTransmute = 343, - SkillMagicNature = 344, - SkillMagicAstral = 345 -} -enumEnd(MagicSchool); - -#endif // TMWA_SUPPORT -#endif // ENUMS_MAGICSCHOOL_H diff --git a/src/enums/net/auctionsearchtype.h b/src/enums/net/auctionsearchtype.h deleted file mode 100644 index a21e0226e..000000000 --- a/src/enums/net/auctionsearchtype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_NET_AUCTIONSEARCHTYPE_H -#define ENUMS_NET_AUCTIONSEARCHTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(AuctionSearchType) -{ - Armor = 0, - Weapon = 1, - Card = 2, - Misc = 3, - Name = 4, - AuctionId = 5 -} -enumEnd(AuctionSearchType); - -#endif // ENUMS_NET_AUCTIONSEARCHTYPE_H diff --git a/src/enums/net/battlegroundtype.h b/src/enums/net/battlegroundtype.h deleted file mode 100644 index de7f91fa9..000000000 --- a/src/enums/net/battlegroundtype.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2014-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_NET_BATTLEGROUNDTYPE_H -#define ENUMS_NET_BATTLEGROUNDTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(BattleGroundType) -{ - Invalid = 0, - Individual = 1, - Party = 2, - Guild = 4 -} -enumEnd(BattleGroundType); - -#endif // ENUMS_NET_BATTLEGROUNDTYPE_H diff --git a/src/enums/net/beingtype.h b/src/enums/net/beingtype.h deleted file mode 100644 index cc1f39889..000000000 --- a/src/enums/net/beingtype.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2014-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_NET_BEINGTYPE_H -#define ENUMS_NET_BEINGTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(BeingType) -{ - PC = 0, - NPC = 1, - ITEM = 2, - SKILL = 3, - CHAT = 4, - MONSTER = 5, - NPC_EVENT = 6, - PET = 7, - HOMUN = 8, - MERSOL = 9, - ELEMENTAL = 10 -} -enumEnd(BeingType); - -#endif // ENUMS_NET_BEINGTYPE_H diff --git a/src/enums/net/deleteitemreason.h b/src/enums/net/deleteitemreason.h deleted file mode 100644 index fcab0cb95..000000000 --- a/src/enums/net/deleteitemreason.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_NET_DELETEITEMREASON_H -#define ENUMS_NET_DELETEITEMREASON_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(DeleteItemReason) -{ - Normal = 0, - SkillUse = 1, - FailRefine = 2, - MaterialChange = 3, - ToStorage = 4, - ToCart = 5, - Sold = 6, - Analysis = 7 -} -enumEnd(DeleteItemReason); - -#endif // ENUMS_NET_DELETEITEMREASON_H diff --git a/src/enums/net/downloadstatus.h b/src/enums/net/downloadstatus.h deleted file mode 100644 index 511997dd3..000000000 --- a/src/enums/net/downloadstatus.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * The ManaPlus Client - * 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_NET_DOWNLOADSTATUS_H -#define ENUMS_NET_DOWNLOADSTATUS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(DownloadStatus) -{ - Cancelled = -3, - ThreadError = -2, - Error = -1, - Starting = 0, - Idle = 1, - Complete = 2 -} -enumEnd(DownloadStatus); - -#endif // ENUMS_NET_DOWNLOADSTATUS_H diff --git a/src/enums/net/mailmessagetype.h b/src/enums/net/mailmessagetype.h deleted file mode 100644 index 8679c31ee..000000000 --- a/src/enums/net/mailmessagetype.h +++ /dev/null @@ -1,39 +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_NET_MAILMESSAGETYPE_H -#define ENUMS_NET_MAILMESSAGETYPE_H - -#include "localconsts.h" - -namespace MailMessageType -{ - enum Type - { - Text = 0, - Money = 2, - Item = 4, - Npc = 8 - }; -} // namespace MailMessageType - -#endif // ENUMS_NET_MAILMESSAGETYPE_H diff --git a/src/enums/net/mailopentype.h b/src/enums/net/mailopentype.h deleted file mode 100644 index ad62a0252..000000000 --- a/src/enums/net/mailopentype.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2014-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 NET_EATHENA_MAILOPENTYPE_H -#define NET_EATHENA_MAILOPENTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStartT(MailOpenType, int8_t) -{ - Mail = 0, - Account = 1, - Return = 2 -} -enumEnd(MailOpenType); - -#endif // NET_EATHENA_MAILOPENTYPE_H diff --git a/src/enums/net/menutype.h b/src/enums/net/menutype.h deleted file mode 100644 index 2c4106c05..000000000 --- a/src/enums/net/menutype.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2014-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 NET_EATHENA_MENUTYPE_H -#define NET_EATHENA_MENUTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MenuType) -{ - Unknown = 0, - Analysis, - AutoSpell, - AutoShadowSpell, - ChangeMaterial, - CreateConvert, - Eggs, - Feel, - Identify, - MagicDecoy, - MakingArrows, - PoisoningWeapon, - ReadingSpellBook, - RepairWespon, - Teleport, - Warp, - WeaponeRefine -} -enumEnd(MenuType); - -#endif // NET_EATHENA_MENUTYPE_H diff --git a/src/enums/net/npcaction.h b/src/enums/net/npcaction.h deleted file mode 100644 index c000ad17a..000000000 --- a/src/enums/net/npcaction.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_NET_NPCACTION_H -#define ENUMS_NET_NPCACTION_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(NpcAction) -{ - Next = 0, - Close = 1, - Other = 2 -} -enumEnd(NpcAction); - -#endif // ENUMS_NET_NPCACTION_H diff --git a/src/enums/net/packettype.h b/src/enums/net/packettype.h deleted file mode 100644 index 793bee477..000000000 --- a/src/enums/net/packettype.h +++ /dev/null @@ -1,45 +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_NET_PACKETTYPE_H -#define ENUMS_NET_PACKETTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(PacketType) -{ - PACKET_CHAT = 0, - PACKET_PICKUP = 1, - PACKET_DROP = 2, - PACKET_NPC_NEXT = 3, - PACKET_NPC_TALK = 4, - PACKET_NPC_INPUT = 5, - PACKET_EMOTE = 6, - PACKET_SIT = 7, - PACKET_DIRECTION = 8, - PACKET_ATTACK = 9, - PACKET_STOPATTACK = 10, - PACKET_ONLINELIST = 11, - PACKET_WHISPER = 12, - PACKET_SIZE -} -enumEnd(PacketType); - -#endif // ENUMS_NET_PACKETTYPE_H diff --git a/src/enums/net/partyshare.h b/src/enums/net/partyshare.h deleted file mode 100644 index c98027e6f..000000000 --- a/src/enums/net/partyshare.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 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_NET_PARTYSHARE_H -#define ENUMS_NET_PARTYSHARE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(PartyShare) -{ - UNKNOWN = -1, - NO, - YES, - NOT_POSSIBLE = 2 -} -enumEnd(PartyShare); - -#endif // ENUMS_NET_PARTYSHARE_H diff --git a/src/enums/net/serverfreetype.h b/src/enums/net/serverfreetype.h deleted file mode 100644 index 0819f10f1..000000000 --- a/src/enums/net/serverfreetype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 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_NET_SERVERFREETYPE_H -#define ENUMS_NET_SERVERFREETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ServerFreeType) -{ - Unknown = 0, - NotSet = 1, - Free = 2, - NonFree = 3 -} -enumEnd(ServerFreeType); - -#endif // ENUMS_NET_SERVERFREETYPE_H diff --git a/src/enums/net/servertype.h b/src/enums/net/servertype.h deleted file mode 100644 index d369ac7b1..000000000 --- a/src/enums/net/servertype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 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_NET_SERVERTYPE_H -#define ENUMS_NET_SERVERTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ServerType) -{ - UNKNOWN = 0, - TMWATHENA, - EATHENA, - EVOL2 -} -enumEnd(ServerType); - -#endif // ENUMS_NET_SERVERTYPE_H diff --git a/src/enums/net/storesearchtype.h b/src/enums/net/storesearchtype.h deleted file mode 100644 index e7e0ba210..000000000 --- a/src/enums/net/storesearchtype.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_NET_STORESEARCHTYPE_H -#define ENUMS_NET_STORESEARCHTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(StoreSearchType) -{ - Vending = 0, - BuingStore = 1 -} -enumEnd(StoreSearchType); - -#endif // ENUMS_NET_STORESEARCHTYPE_H diff --git a/src/enums/net/updatetype.h b/src/enums/net/updatetype.h deleted file mode 100644 index a6aa4918e..000000000 --- a/src/enums/net/updatetype.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_NET_UPDATETYPE_H -#define ENUMS_NET_UPDATETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(UpdateType) -{ - Normal = 0, - Close = 1, - Skip = 2, - Custom = 4 -} -enumEnd(UpdateType); - -#endif // ENUMS_NET_UPDATETYPE_H diff --git a/src/enums/particle/alivestatus.h b/src/enums/particle/alivestatus.h deleted file mode 100644 index 93b2cdd71..000000000 --- a/src/enums/particle/alivestatus.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2006-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_PARTICLE_ALIVESTATUS_H -#define ENUMS_PARTICLE_ALIVESTATUS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(AliveStatus) -{ - ALIVE = 0, - DEAD_TIMEOUT = 1, - DEAD_FLOOR = 2, - DEAD_SKY = 4, - DEAD_IMPACT = 8, - DEAD_OTHER = 16, - DEAD_LONG_AGO = 128 -} -enumEnd(AliveStatus); - -#endif // ENUMS_PARTICLE_ALIVESTATUS_H diff --git a/src/enums/particle/particlechangefunc.h b/src/enums/particle/particlechangefunc.h deleted file mode 100644 index 9a0502d8c..000000000 --- a/src/enums/particle/particlechangefunc.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2006-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_PARTICLE_PARTICLECHANGEFUNC_H -#define ENUMS_PARTICLE_PARTICLECHANGEFUNC_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ParticleChangeFunc) -{ - FUNC_NONE = 0, - FUNC_SINE, - FUNC_SAW, - FUNC_TRIANGLE, - FUNC_SQUARE -} -enumEnd(ParticleChangeFunc); - -#endif // ENUMS_PARTICLE_PARTICLECHANGEFUNC_H diff --git a/src/enums/particle/particlephysics.h b/src/enums/particle/particlephysics.h deleted file mode 100644 index 961bc15d4..000000000 --- a/src/enums/particle/particlephysics.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_PARTICLE_PARTICLEPHYSICS_H -#define ENUMS_PARTICLE_PARTICLEPHYSICS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ParticlePhysics) -{ - Best = 0, - Normal = 1, - Fast = 2 -} -enumEnd(ParticlePhysics); - -#endif // ENUMS_PARTICLE_PARTICLEPHYSICS_H diff --git a/src/enums/particle/particletype.h b/src/enums/particle/particletype.h deleted file mode 100644 index 03ed9334e..000000000 --- a/src/enums/particle/particletype.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_PARTICLE_PARTICLETYPE_H -#define ENUMS_PARTICLE_PARTICLETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ParticleType) -{ - Normal = 0, - Animation = 1, - Image = 2, - Rotational = 3, - Text = 4 -} -enumEnd(ParticleType); - -#endif // ENUMS_PARTICLE_PARTICLETYPE_H diff --git a/src/enums/render/blitmode.h b/src/enums/render/blitmode.h deleted file mode 100644 index 362d17053..000000000 --- a/src/enums/render/blitmode.h +++ /dev/null @@ -1,35 +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_RENDER_BLITMODE_H -#define ENUMS_RENDER_BLITMODE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(BlitMode) -{ - BLIT_NORMAL = 0, - BLIT_GFX -} -enumEnd(BlitMode); - -#endif // ENUMS_RENDER_BLITMODE_H diff --git a/src/enums/render/rendertype.h b/src/enums/render/rendertype.h deleted file mode 100644 index 579fe3d09..000000000 --- a/src/enums/render/rendertype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-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_RENDER_RENDERTYPE_H -#define ENUMS_RENDER_RENDERTYPE_H - -enum RenderType -{ - RENDER_SOFTWARE = 0, - RENDER_NORMAL_OPENGL = 1, - RENDER_SAFE_OPENGL = 2, - RENDER_GLES_OPENGL = 3, - RENDER_SDL2_DEFAULT = 4, - RENDER_MODERN_OPENGL = 5, - RENDER_GLES2_OPENGL = 6, - RENDER_NULL = 7, - RENDER_LAST -}; - -#endif // ENUMS_RENDER_RENDERTYPE_H diff --git a/src/enums/resources/cursor.h b/src/enums/resources/cursor.h deleted file mode 100644 index eda0907af..000000000 --- a/src/enums/resources/cursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_CURSOR_H -#define ENUMS_RESOURCES_CURSOR_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(Cursor) -{ - CURSOR_POINTER = 0, - CURSOR_RESIZE_ACROSS, - CURSOR_RESIZE_DOWN, - CURSOR_RESIZE_DOWN_LEFT, - CURSOR_RESIZE_DOWN_RIGHT, - CURSOR_FIGHT, - CURSOR_PICKUP, - CURSOR_TALK, - CURSOR_ACTION, - CURSOR_LEFT, - CURSOR_UP, - CURSOR_RIGHT, - CURSOR_DOWN, - CURSOR_TOTAL -} -enumEnd(Cursor); - -#endif // ENUMS_RESOURCES_CURSOR_H diff --git a/src/enums/resources/displaytype.h b/src/enums/resources/displaytype.h deleted file mode 100644 index a5aff2244..000000000 --- a/src/enums/resources/displaytype.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_RESOURCES_DISPLAYTYPE_H -#define ENUMS_RESOURCES_DISPLAYTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(DisplayType) -{ - Item = 0, - Floor = 1 -} -enumEnd(DisplayType); - -#endif // ENUMS_RESOURCES_DISPLAYTYPE_H diff --git a/src/enums/resources/frametype.h b/src/enums/resources/frametype.h deleted file mode 100644 index 9fafa2073..000000000 --- a/src/enums/resources/frametype.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_RESOURCES_FRAMETYPE_H -#define ENUMS_RESOURCES_FRAMETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#include "localconsts.h" - -enumStart(FrameType) -{ - ANIMATION = 0, - JUMP, - GOTO, - LABEL, - PAUSE -} -enumEnd(FrameType); - -#endif // ENUMS_RESOURCES_FRAMETYPE_H diff --git a/src/enums/resources/imageposition.h b/src/enums/resources/imageposition.h deleted file mode 100644 index 88b7fae69..000000000 --- a/src/enums/resources/imageposition.h +++ /dev/null @@ -1,61 +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_RESOURCES_IMAGEPOSITION_H -#define ENUMS_RESOURCES_IMAGEPOSITION_H - -#include "localconsts.h" - -/** - * 9 images defining a rectangle. 4 corners, 4 sides and a middle area. The - * topology is as follows: - * - * <pre> - * !-----!-----------------!-----! - * ! 0 ! 1 ! 2 ! - * !-----!-----------------!-----! - * ! 3 ! 4 ! 5 ! - * !-----!-----------------!-----! - * ! 6 ! 7 ! 8 ! - * !-----!-----------------!-----! - * </pre> - * - * Sections 0, 2, 6 and 8 will remain as is. 1, 3, 4, 5 and 7 will be - * repeated to fit the size of the widget. - */ -namespace ImagePosition -{ - enum Type - { - UPPER_LEFT = 0, - UPPER_CENTER = 1, - UPPER_RIGHT = 2, - LEFT = 3, - CENTER = 4, - RIGHT = 5, - LOWER_LEFT = 6, - LOWER_CENTER = 7, - LOWER_RIGHT = 8 - }; -} // namespace ImagePosition - -#endif // ENUMS_RESOURCES_IMAGEPOSITION_H diff --git a/src/enums/resources/imagetype.h b/src/enums/resources/imagetype.h deleted file mode 100644 index 145debd7b..000000000 --- a/src/enums/resources/imagetype.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_RESOURCES_IMAGETYPE_H -#define ENUMS_RESOURCES_IMAGETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ImageType) -{ - Image = 0, - SubImage = 1 -} -enumEnd(ImageType); - -#endif // ENUMS_RESOURCES_IMAGETYPE_H diff --git a/src/enums/resources/item/itemdbtype.h b/src/enums/resources/item/itemdbtype.h deleted file mode 100644 index da35c921e..000000000 --- a/src/enums/resources/item/itemdbtype.h +++ /dev/null @@ -1,50 +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_RESOURCES_ITEM_ITEMDBTYPE_H -#define ENUMS_RESOURCES_ITEM_ITEMDBTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ItemDbType) -{ - UNUSABLE = 0, - USABLE, - EQUIPMENT_ONE_HAND_WEAPON, - EQUIPMENT_TWO_HANDS_WEAPON, - EQUIPMENT_TORSO, - EQUIPMENT_ARMS, // 5 - CARD, - EQUIPMENT_HEAD, - EQUIPMENT_LEGS, - EQUIPMENT_SHIELD, - EQUIPMENT_RING, - EQUIPMENT_NECKLACE, // 10 - EQUIPMENT_FEET, - EQUIPMENT_AMMO, - EQUIPMENT_CHARM, - SPRITE_RACE, - SPRITE_HAIR // 15 -} -enumEnd(ItemDbType); - -#endif // ENUMS_RESOURCES_ITEM_ITEMDBTYPE_H diff --git a/src/enums/resources/item/itemsoundevent.h b/src/enums/resources/item/itemsoundevent.h deleted file mode 100644 index 636159835..000000000 --- a/src/enums/resources/item/itemsoundevent.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-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_RESOURCES_ITEM_ITEMSOUNDEVENT_H -#define ENUMS_RESOURCES_ITEM_ITEMSOUNDEVENT_H - -namespace ItemSoundEvent -{ - enum Type - { - HIT = 0, - MISS, - HURT, - DIE, - MOVE, - SIT, - SITTOP, - SPAWN, - DROP, - PICKUP, - TAKE, // take from container - PUT, // put into container - EQUIP, - UNEQUIP, - USE, - USECARD - }; -} // namespace ItemSoundEvent - -#endif // ENUMS_RESOURCES_ITEM_ITEMSOUNDEVENT_H diff --git a/src/enums/resources/item/itemtype.h b/src/enums/resources/item/itemtype.h deleted file mode 100644 index be71e613a..000000000 --- a/src/enums/resources/item/itemtype.h +++ /dev/null @@ -1,44 +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_RESOURCES_ITEM_ITEMTYPE_H -#define ENUMS_RESOURCES_ITEM_ITEMTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(ItemType) -{ - Healing = 0, - Unknown = 1, - Usable = 2, - Etc = 3, - Weapon = 4, - Armor = 5, - Card = 6, - PetEgg = 7, - PetArmor = 8, - Unknown2 = 9, - Ammon = 10, - DelayConsume = 11, - Cash = 18 -} -enumEnd(ItemType); - -#endif // ENUMS_RESOURCES_ITEM_ITEMTYPE_H diff --git a/src/enums/resources/mailqueuetype.h b/src/enums/resources/mailqueuetype.h deleted file mode 100644 index bb953f37e..000000000 --- a/src/enums/resources/mailqueuetype.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_MAILQUEUETYPE_H -#define ENUMS_RESOURCES_MAILQUEUETYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MailQueueType) -{ - Unknown = 0, - SendMail = 1, - EditMail = 2, - ValidateTo = 3 -} -enumEnd(MailQueueType); - -#endif // ENUMS_RESOURCES_MAILQUEUETYPE_H diff --git a/src/enums/resources/map/blockmask.h b/src/enums/resources/map/blockmask.h deleted file mode 100644 index 09559bfbf..000000000 --- a/src/enums/resources/map/blockmask.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_RESOURCES_MAP_BLOCKMASK_H -#define ENUMS_RESOURCES_MAP_BLOCKMASK_H - -namespace BlockMask -{ - enum BlockMask - { - WALL = 0x80, // 1000 0000 - AIR = 0x04, // 0000 0100 - WATER = 0x08, // 0000 1000 - GROUND = 0x10, // 0001 0000 - GROUNDTOP = 0x20, // 0010 0000 - PLAYERWALL = 0x40, // 0100 0000 - MONSTERWALL = 0x02 // 0000 0010 - }; -} // namespace BlockMask - -#endif // ENUMS_RESOURCES_MAP_BLOCKMASK_H diff --git a/src/enums/resources/map/blocktype.h b/src/enums/resources/map/blocktype.h deleted file mode 100644 index 83fe65637..000000000 --- a/src/enums/resources/map/blocktype.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_RESOURCES_MAP_BLOCKTYPE_H -#define ENUMS_RESOURCES_MAP_BLOCKTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(BlockType) -{ - NONE = -1, - GROUND = 0, - WALL = 1, - AIR = 2, - WATER = 3, - GROUNDTOP = 4, - PLAYERWALL = 5, - MONSTERWALL = 6, - NB_BLOCKTYPES -} -enumEnd(BlockType); - -#endif // ENUMS_RESOURCES_MAP_BLOCKTYPE_H diff --git a/src/enums/resources/map/collisiontype.h b/src/enums/resources/map/collisiontype.h deleted file mode 100644 index 6ce50f2f8..000000000 --- a/src/enums/resources/map/collisiontype.h +++ /dev/null @@ -1,41 +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_RESOURCES_MAP_COLLISIONTYPE_H -#define ENUMS_RESOURCES_MAP_COLLISIONTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(CollisionType) -{ - COLLISION_EMPTY = 0, // no collision - COLLISION_WALL = 1, // full collison - COLLISION_AIR = 2, // air units can walk - COLLISION_WATER = 3, // water units can walk - COLLISION_GROUNDTOP = 4, // no collision (chair, bed, etc) - COLLISION_PLAYER_WALL = 5, // full collision for player - COLLISION_MONSTER_WALL = 6, // full collision for monster - COLLISION_MAX = 7 // count index -} -enumEnd(CollisionType); - -#endif // ENUMS_RESOURCES_MAP_COLLISIONTYPE_H diff --git a/src/enums/resources/map/mapitemtype.h b/src/enums/resources/map/mapitemtype.h deleted file mode 100644 index 5d9b1734a..000000000 --- a/src/enums/resources/map/mapitemtype.h +++ /dev/null @@ -1,47 +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_RESOURCES_MAP_MAPITEMTYPE_H -#define ENUMS_RESOURCES_MAP_MAPITEMTYPE_H - -namespace MapItemType -{ - enum Type - { - EMPTY = 0, - HOME = 1, - ROAD = 2, - CROSS = 3, - ARROW_UP = 4, - ARROW_DOWN = 5, - ARROW_LEFT = 6, - ARROW_RIGHT = 7, - PORTAL = 8, - MUSIC = 9, - ATTACK = 10, - PRIORITY = 11, - IGNORE_ = 12, - PICKUP = 13, - NOPICKUP = 14, - SEPARATOR = 15 - }; -} // namespace MapItemType - -#endif // ENUMS_RESOURCES_MAP_MAPITEMTYPE_H diff --git a/src/enums/resources/map/maplayerposition.h b/src/enums/resources/map/maplayerposition.h deleted file mode 100644 index c1b89657f..000000000 --- a/src/enums/resources/map/maplayerposition.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_RESOURCES_MAP_MAPLAYERPOSITION_H -#define ENUMS_RESOURCES_MAP_MAPLAYERPOSITION_H - -#include "enums/simpletypes/enumdefines.h" - -#include "localconsts.h" - -enumStart(MapLayerPosition) -{ - FOREGROUND_LAYERS = 0, - BACKGROUND_LAYERS -} -enumEnd(MapLayerPosition); - -#endif // ENUMS_RESOURCES_MAP_MAPLAYERPOSITION_H diff --git a/src/enums/resources/map/maplayertype.h b/src/enums/resources/map/maplayertype.h deleted file mode 100644 index 1c2edbbd6..000000000 --- a/src/enums/resources/map/maplayertype.h +++ /dev/null @@ -1,39 +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_RESOURCES_MAP_MAPLAYERTYPE_H -#define ENUMS_RESOURCES_MAP_MAPLAYERTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#include "localconsts.h" - -enumStart(MapLayerType) -{ - TILES = 0, - COLLISION, - HEIGHTS, - ACTIONS -} -enumEnd(MapLayerType); - -#endif // ENUMS_RESOURCES_MAP_MAPLAYERTYPE_H diff --git a/src/enums/resources/map/maptype.h b/src/enums/resources/map/maptype.h deleted file mode 100644 index f9c095ffe..000000000 --- a/src/enums/resources/map/maptype.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_RESOURCES_MAP_MAPTYPE_H -#define ENUMS_RESOURCES_MAP_MAPTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(MapType) -{ - NORMAL = 0, - DEBUGTYPE = 1, - SPECIAL = 2, - SPECIAL2 = 3, - SPECIAL3 = 4, - SPECIAL4 = 5, - BLACKWHITE = 6 -} -enumEnd(MapType); - -#endif // ENUMS_RESOURCES_MAP_MAPTYPE_H diff --git a/src/enums/resources/notifyflags.h b/src/enums/resources/notifyflags.h deleted file mode 100644 index 50dedf459..000000000 --- a/src/enums/resources/notifyflags.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-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_RESOURCES_NOTIFYFLAGS_H -#define ENUMS_RESOURCES_NOTIFYFLAGS_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(NotifyFlags) -{ - EMPTY = 0, - INT, - STRING, - GUILD, - GUILD_STRING, - PARTY, - PARTY_STRING, - SPEECH -} -enumEnd(NotifyFlags); - -#endif // ENUMS_RESOURCES_NOTIFYFLAGS_H diff --git a/src/enums/resources/notifytypes.h b/src/enums/resources/notifytypes.h deleted file mode 100644 index 1c2dee843..000000000 --- a/src/enums/resources/notifytypes.h +++ /dev/null @@ -1,255 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-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_RESOURCES_NOTIFYTYPES_H -#define ENUMS_RESOURCES_NOTIFYTYPES_H - -#include "localconsts.h" - -namespace NotifyTypes -{ - enum Type - { - NONE = 0, - BUY_DONE, - BUY_FAILED, - BUY_FAILED_NO_MONEY, - BUY_FAILED_OVERWEIGHT, - BUY_FAILED_TOO_MANY_ITEMS, - SELL_LIST_EMPTY, - SOLD, - SELL_FAILED, - SELL_TRADE_FAILED, - SELL_UNSELLABLE_FAILED, - ONLINE_USERS, - GUILD_CREATED, - GUILD_ALREADY, - GUILD_EMPERIUM_CHECK_FAILED, - GUILD_ERROR, - GUILD_LEFT, - GUILD_INVITE_FAILED, - GUILD_INVITE_REJECTED, - GUILD_INVITE_JOINED, - GUILD_INVITE_FULL, - GUILD_INVITE_ERROR, - GUILD_USER_LEFT, - GUILD_KICKED, - GUILD_USER_KICKED, - USE_FAILED, - EQUIP_FAILED, - EQUIP_FAILED_LEVEL, - UNEQUIP_FAILED, - PARTY_CREATE_FAILED, - PARTY_CREATED, - PARTY_LEFT, - PARTY_LEFT_DENY, - PARTY_KICKED, - PARTY_KICK_DENY, - PARTY_USER_JOINED, - PARTY_INVITE_ALREADY_MEMBER, - PARTY_INVITE_REFUSED, - PARTY_INVITE_DONE, - PARTY_INVITE_PARTY_FULL, - PARTY_INVITE_ERROR, - PARTY_EXP_SHARE_ON, - PARTY_EXP_SHARE_OFF, - PARTY_EXP_SHARE_ERROR, - PARTY_ITEM_SHARE_ON, - PARTY_ITEM_SHARE_OFF, - PARTY_ITEM_SHARE_ERROR, - PARTY_USER_LEFT, - PARTY_USER_LEFT_DENY, - PARTY_USER_KICKED, - PARTY_USER_KICK_DENY, - PARTY_UNKNOWN_USER_MSG, - PARTY_USER_NOT_IN_PARTY, - MONEY_GET, - MONEY_SPENT, - SKILL_RAISE_ERROR, - ARROWS_EQUIP_NEEDED, - TRADE_FAIL_FAR_AWAY, - TRADE_FAIL_CHAR_NOT_EXISTS, - TRADE_CANCELLED_ERROR, - TRADE_CANCELLED_NAME, - TRADE_CANCELLED_BUSY, - TRADE_ERROR_UNKNOWN, - TRADE_ADD_PARTNER_OVER_WEIGHT, - TRADE_ADD_PARTNER_NO_SLOTS, - TRADE_ADD_UNTRADABLE_ITEM, - TRADE_ADD_ERROR, - TRADE_CANCELLED, - TRADE_COMPLETE, - KICK_FAIL, - KICK_SUCCEED, - MVP_PLAYER, - WHISPERS_IGNORED, - WHISPERS_IGNORE_FAILED, - WHISPERS_UNIGNORED, - WHISPERS_UNIGNORE_FAILED, - SKILL_FAIL_MESSAGE, - PVP_OFF_GVG_OFF, - PVP_ON, - GVG_ON, - PVP_ON_GVG_ON, - PVP_UNKNOWN, - PARTY_INVITE_PARTY_SAME_ACCOUNT, - PARTY_INVITE_PARTY_BLOCKED_INVITE, - PARTY_INVITE_PARTY_NOT_ONLINE, - PET_CATCH_FAILED, - PET_CATCH_SUCCESS, - PET_CATCH_UNKNOWN, - MERCENARY_EXPIRED, - MERCENARY_KILLED, - MERCENARY_FIRED, - MERCENARY_RUN, - MERCENARY_UNKNOWN, - HOMUNCULUS_FEED_OK, - HOMUNCULUS_FEED_FAIL, - CARD_INSERT_FAILED, - CARD_INSERT_SUCCESS, - BANK_DEPOSIT_FAILED, - BANK_WITHDRAW_FAILED, - BUYING_STORE_CREATE_FAILED, - BUYING_STORE_CREATE_FAILED_WEIGHT, - BUYING_STORE_CREATE_EMPTY, - BUYING_STORE_SELL_FAILED_MONEY_LIMIT, - BUYING_STORE_SELL_FAILED_EMPTY, - BUYING_STORE_SELL_FAILED, - BUYING_STORE_SELLER_SELL_FAILED_DEAL, - BUYING_STORE_SELLER_SELL_FAILED_AMOUNT, - BUYING_STORE_SELLER_SELL_FAILED_BALANCE, - BUYING_STORE_SELLER_SELL_FAILED, - SEARCH_STORE_FAILED, - SEARCH_STORE_FAILED_NO_STORES, - SEARCH_STORE_FAILED_MANY_RESULTS, - SEARCH_STORE_FAILED_CANT_SEARCH_ANYMORE, - SEARCH_STORE_FAILED_CANT_SEARCH_YET, - SEARCH_STORE_FAILED_NO_INFORMATION, - PET_FEED_OK, - PET_FEED_ERROR, - MANNER_CHANGED, - MANNER_POSITIVE_POINTS, - MANNER_NEGATIVE_POINTS, - ROOM_LIMIT_EXCEEDED, - ROOM_ALREADY_EXISTS, - ROOM_JOINED, - ROOM_LEAVE, - ROOM_KICKED, - ROOM_ROLE_OWNER, - ROOM_ERROR_FULL, - ROOM_ERROR_WRONG_PASSWORD, - ROOM_ERROR_KICKED, - ROOM_ERROR_ZENY, - ROOM_ERROR_LOW_LEVEL, - ROOM_ERROR_HIGH_LEVEL, - ROOM_ERROR_RACE, - USE_ITEM_WAIT, - MAIL_SEND_OK, - MAIL_SEND_ERROR, - MAIL_ATTACH_ITEM_ERROR, - MAIL_ATTACH_MONEY_ERROR, - MAIL_RETURN_ERROR, - MAIL_RETURN_OK, - MAIL_DELETE_ERROR, - MAIL_DELETE_OK, - MAIL_GET_ATTACH_OK, - MAIL_GET_ATTACH_ERROR, - MAIL_GET_ATTACH_TOO_MANY_ITEMS, - NEW_MAIL, - MAP_TYPE_BATTLEFIELD, - RENTAL_TIME_LEFT, - RENTAL_TIME_EXPIRED, - REFINE_SUCCESS, - REFINE_FAILURE, - REFINE_DOWNGRADE, - REFINE_UNKNOWN, - CART_ADD_WEIGHT_ERROR, - CART_ADD_COUNT_ERROR, - BOUND_ITEM, - SKILL_END_ALL_NEGATIVE_STATUS, - SKILL_IMMUNITY_TO_ALL_STATUSES, - SKILL_MAX_HP, - SKILL_MAX_SP, - SKILL_ALL_STATUS_PLUS_20, - SKILL_ENCHANT_WEAPON_HOLY, - SKILL_ENCHANT_ARMOR_HOLY, - SKILL_DEF_PLUS_25, - SKILL_ATTACK_PLUS_100, - SKILL_FLEE_PLUS_50, - SKILL_FULL_STRIP_FAILED, - SKILL_MESSAGE_UNKNOWN, - IGNORE_PLAYER_SUCCESS, - IGNORE_PLAYER_FAILURE, - IGNORE_PLAYER_TOO_MANY, - IGNORE_PLAYER_UNKNOWN, - UNIGNORE_PLAYER_SUCCESS, - UNIGNORE_PLAYER_FAILURE, - UNIGNORE_PLAYER_UNKNOWN, - IGNORE_PLAYER_TYPE_UNKNOWN, - PET_CATCH_PROCESS, - DELETE_ITEM_NORMAL, - DELETE_ITEM_SKILL_USE, - DELETE_ITEM_FAIL_REFINE, - DELETE_ITEM_MATERIAL_CHANGE, - DELETE_ITEM_TO_STORAGE, - DELETE_ITEM_TO_CART, - DELETE_ITEM_SOLD, - DELETE_ITEM_ANALYSIS, - DELETE_ITEM_UNKNOWN, - DELETE_ITEM_DROPPED, - BEING_REMOVE_DIED, - BEING_REMOVE_LOGGED_OUT, - BEING_REMOVE_WARPED, - BEING_REMOVE_TRICK_DEAD, - BEING_REMOVE_UNKNOWN, - DIVORCED, - CALLED_PARTNER, - CALLING_PARTNER, - ADOPT_CHILD_ERROR_HAVE_BABY, - ADOPT_CHILD_ERROR_LEVEL, - ADOPT_CHILD_ERROR_BABY_MARRIED, - SKILL_MEMO_SAVED, - SKILL_MEMO_ERROR_LEVEL, - SKILL_MEMO_ERROR_SKILL, - BUY_TRADE_FAILED, - VENDING_SOLD_ITEM, - BUY_FAILED_NPC_NOT_FOUND, - BUY_FAILED_SYSTEM_ERROR, - BUY_FAILED_WRONG_ITEM, - MAIL_NAME_VALIDATION_ERROR, - MAIL_ATTACH_ITEM_WEIGHT_ERROR, - MAIL_ATTACH_ITEM_FATAL_ERROR, - MAIL_ATTACH_ITEM_NO_SPACE, - MAIL_ATTACH_ITEM_NOT_TRADEABLE, - MAIL_ATTACH_ITEM_UNKNOWN_ERROR, - MAIL_REMOVE_ITEM_ERROR, - MAIL_SEND_FATAL_ERROR, - MAIL_SEND_COUNT_ERROR, - MAIL_SEND_ITEM_ERROR, - MAIL_SEND_RECEIVER_ERROR, - MAIL_GET_ATTACH_FULL_ERROR, - MAIL_GET_MONEY_OK, - MAIL_GET_MONEY_ERROR, - MAIL_GET_MONEY_LIMIT_ERROR, - - TYPE_END - }; -} // namespace NotifyTypes -#endif // ENUMS_RESOURCES_NOTIFYTYPES_H diff --git a/src/enums/resources/questtype.h b/src/enums/resources/questtype.h deleted file mode 100644 index 2140d040a..000000000 --- a/src/enums/resources/questtype.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_QUESTTYPE_H -#define ENUMS_RESOURCES_QUESTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(QuestType) -{ - TEXT = 0, - NAME = 1, - REWARD = 2, - GIVER = 3, - COORDINATES = 4, - NPC = 5 -} -enumEnd(QuestType); - -#endif // ENUMS_RESOURCES_QUESTTYPE_H diff --git a/src/enums/resources/servercommandenable.h b/src/enums/resources/servercommandenable.h deleted file mode 100644 index 4541eea75..000000000 --- a/src/enums/resources/servercommandenable.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_SERVERCOMMANDENABLE_H -#define ENUMS_RESOURCES_SERVERCOMMANDENABLE_H - -#include "localconsts.h" - -namespace ServerCommandEnable -{ - enum Type - { - No = 0, - Self = 1, - Other = 2, - Both = 3 - }; -} // namespace ServerCommandEnable - -#endif // ENUMS_RESOURCES_SERVERCOMMANDENABLE_H diff --git a/src/enums/resources/servercommandtype.h b/src/enums/resources/servercommandtype.h deleted file mode 100644 index 2b20c296f..000000000 --- a/src/enums/resources/servercommandtype.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_SERVERCOMMANDTYPE_H -#define ENUMS_RESOURCES_SERVERCOMMANDTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#define servercommandFirst(name) name = 0, -#define servercommand(name) name, -#define servercommand2(name1, name2) name1, - -enumStart(ServerCommandType) -{ -#include "resources/servercommands.inc" - Max -} -enumEnd(ServerCommandType); - -#undef servercommandFirst -#undef servercommand -#undef servercommand2 - -SERVERCOMMANDS_VOID -#undef SERVERCOMMANDS_VOID - -#endif // ENUMS_RESOURCES_SERVERCOMMANDTYPE_H diff --git a/src/enums/resources/serverpermissiontype.h b/src/enums/resources/serverpermissiontype.h deleted file mode 100644 index 2de362ce9..000000000 --- a/src/enums/resources/serverpermissiontype.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_RESOURCES_SERVERPERMISSIONTYPE_H -#define ENUMS_RESOURCES_SERVERPERMISSIONTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -#define serverpermissionFirst(name) name = 0, -#define serverpermission(name) name, - -enumStart(ServerPermissionType) -{ -#include "resources/serverpermissions.inc" - Max -} -enumEnd(ServerPermissionType); - -#undef serverpermissionFirst -#undef serverpermission - -SERVERPERMISSION_VOID -#undef SERVERPERMISSION_VOID -#endif // ENUMS_RESOURCES_SERVERPERMISSIONTYPE_H diff --git a/src/enums/resources/skill/casttype.h b/src/enums/resources/skill/casttype.h deleted file mode 100644 index b73cd138d..000000000 --- a/src/enums/resources/skill/casttype.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_RESOURCES_CASTTYPE_H -#define ENUMS_RESOURCES_CASTTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(CastType) -{ - Default = 0, - Target = 1, - Position = 2, - Self = 3 -} -enumEnd(CastType); - -#endif // ENUMS_RESOURCES_CASTTYPE_H diff --git a/src/enums/resources/skill/skillowner.h b/src/enums/resources/skill/skillowner.h deleted file mode 100644 index 01938bb30..000000000 --- a/src/enums/resources/skill/skillowner.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_RESOURCES_SKILL_SKILLOWNER_H -#define ENUMS_RESOURCES_SKILL_SKILLOWNER_H - -namespace SkillOwner -{ - enum Type - { - Player = 0, - Mercenary = 1, - Homunculus = 2, - Guild = 3 - }; -} // namespace SkillOwner - -#endif // ENUMS_RESOURCES_SKILL_SKILLOWNER_H diff --git a/src/enums/resources/skill/skillsettype.h b/src/enums/resources/skill/skillsettype.h deleted file mode 100644 index d574f6cbe..000000000 --- a/src/enums/resources/skill/skillsettype.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_RESOURCES_SKILL_SKILLSETTYPE_H -#define ENUMS_RESOURCES_SKILL_SKILLSETTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(SkillSetType) -{ - VerticalList = 0, - Rectangle = 1 -} -enumEnd(SkillSetType); - -#endif // ENUMS_RESOURCES_SKILL_SKILLSETTYPE_H diff --git a/src/enums/resources/skill/skilltype.h b/src/enums/resources/skill/skilltype.h deleted file mode 100644 index 3818adec6..000000000 --- a/src/enums/resources/skill/skilltype.h +++ /dev/null @@ -1,39 +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_RESOURCES_SKILL_SKILLTYPE_H -#define ENUMS_RESOURCES_SKILL_SKILLTYPE_H - -// aka inf -namespace SkillType -{ - enum SkillType - { - Unknown = 0, - Attack = 1, - Ground = 2, - Self = 4, - Unused = 8, - Support = 16, - TargetTrap = 32 - }; -} // namespace SkillType - -#endif // ENUMS_RESOURCES_SKILL_SKILLTYPE_H diff --git a/src/enums/resources/skill/skilltype2.h b/src/enums/resources/skill/skilltype2.h deleted file mode 100644 index 07f392b48..000000000 --- a/src/enums/resources/skill/skilltype2.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2016-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_RESOURCES_SKILL_SKILLTYPE2_H -#define ENUMS_RESOURCES_SKILL_SKILLTYPE2_H - -// aka inf2 -namespace SkillType2 -{ - enum SkillType2 - { - Unknown = 0, - Quest = 1, - Npc = 2, - Wedding = 4, - Spirit = 8, - Guild = 16, - SongDance = 32, - Ensemble = 64, - Trap = 128, - TargetSelf = 256, - NoTargetSelf = 512, - PartyOnly = 1024, - GuildOnly = 2048, - NoEnemy = 4096, - NoLandProtector = 8192, - Chorus = 16384, - FreeCastNormal = 32768, - FreeCastReduced = 65536, - FreeCastAny = 98304 - }; -} // namespace SkillType2 - -#endif // ENUMS_RESOURCES_SKILL_SKILLTYPE2_H diff --git a/src/enums/resources/spritedirection.h b/src/enums/resources/spritedirection.h deleted file mode 100644 index 935c05bd6..000000000 --- a/src/enums/resources/spritedirection.h +++ /dev/null @@ -1,43 +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_RESOURCES_SPRITEDIRECTION_H -#define ENUMS_RESOURCES_SPRITEDIRECTION_H - -namespace SpriteDirection -{ - enum Type - { - DEFAULT = 0, - UP = 1, - DOWN = 2, - LEFT = 3, - RIGHT = 4, - UPLEFT = 5, - UPRIGHT = 6, - DOWNLEFT = 7, - DOWNRIGHT = 8, - INVALID - }; -} // namespace SpriteDirection - -#endif // ENUMS_RESOURCES_SPRITEDIRECTION_H diff --git a/src/enums/screendensity.h b/src/enums/screendensity.h deleted file mode 100644 index 42e8f277d..000000000 --- a/src/enums/screendensity.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-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_SCREENDENSITY_H -#define ENUMS_SCREENDENSITY_H - -enum ScreenDensity -{ - DENSITY_UNKNOWN = -1, - DENSITY_LOW = 0, - DENSITY_MEDIUM = 1, - DENSITY_TV = 2, - DENSITY_HIGH = 3, - DENSITY_XHIGH = 4, - DENSITY_XXHIGH = 5 -}; - -#endif // ENUMS_SCREENDENSITY_H diff --git a/src/enums/simpletypes/advanced.h b/src/enums/simpletypes/advanced.h deleted file mode 100644 index 65533c1a9..000000000 --- a/src/enums/simpletypes/advanced.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ADVANCED_H -#define ENUMS_SIMPLETYPES_ADVANCED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Advanced); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ADVANCED_H diff --git a/src/enums/simpletypes/allowquit.h b/src/enums/simpletypes/allowquit.h deleted file mode 100644 index c18b87461..000000000 --- a/src/enums/simpletypes/allowquit.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ALLOWQUIT_H -#define ENUMS_SIMPLETYPES_ALLOWQUIT_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllowQuit); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLOWQUIT_H diff --git a/src/enums/simpletypes/allowsort.h b/src/enums/simpletypes/allowsort.h deleted file mode 100644 index b6785c364..000000000 --- a/src/enums/simpletypes/allowsort.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ALLOWSORT_H -#define ENUMS_SIMPLETYPES_ALLOWSORT_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllowSort); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLOWSORT_H diff --git a/src/enums/simpletypes/allplayers.h b/src/enums/simpletypes/allplayers.h deleted file mode 100644 index 343018808..000000000 --- a/src/enums/simpletypes/allplayers.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ALLPLAYERS_H -#define ENUMS_SIMPLETYPES_ALLPLAYERS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllPlayers); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLPLAYERS_H diff --git a/src/enums/simpletypes/append.h b/src/enums/simpletypes/append.h deleted file mode 100644 index 14c078d07..000000000 --- a/src/enums/simpletypes/append.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_APPEND_H -#define ENUMS_SIMPLETYPES_APPEND_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Append); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_APPEND_H diff --git a/src/enums/simpletypes/autorelease.h b/src/enums/simpletypes/autorelease.h deleted file mode 100644 index aabb53fdd..000000000 --- a/src/enums/simpletypes/autorelease.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_AUTORELEASE_H -#define ENUMS_SIMPLETYPES_AUTORELEASE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AutoRelease); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_AUTORELEASE_H diff --git a/src/enums/simpletypes/autotarget.h b/src/enums/simpletypes/autotarget.h deleted file mode 100644 index f1e4c8f9b..000000000 --- a/src/enums/simpletypes/autotarget.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_AUTOTARGET_H -#define ENUMS_SIMPLETYPES_AUTOTARGET_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AutoTarget); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_AUTOTARGET_H diff --git a/src/enums/simpletypes/beingid.h b/src/enums/simpletypes/beingid.h deleted file mode 100644 index 5fda30b8f..000000000 --- a/src/enums/simpletypes/beingid.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_BEINGID_H -#define ENUMS_SIMPLETYPES_BEINGID_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(BeingId, int); -defIntEnumNeg(BeingId); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_BEINGID_H diff --git a/src/enums/simpletypes/beingtypeid.h b/src/enums/simpletypes/beingtypeid.h deleted file mode 100644 index 1294048c0..000000000 --- a/src/enums/simpletypes/beingtypeid.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_BEINGTYPEID_H -#define ENUMS_SIMPLETYPES_BEINGTYPEID_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(BeingTypeId, int); -defIntEnumNeg(BeingTypeId); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_BEINGTYPEID_H diff --git a/src/enums/simpletypes/booldefines.h b/src/enums/simpletypes/booldefines.h deleted file mode 100644 index 52aa81fd5..000000000 --- a/src/enums/simpletypes/booldefines.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_BOOLDEFINES_H -#define ENUMS_SIMPLETYPES_BOOLDEFINES_H - -#include "localconsts.h" - - - -#ifdef ADVGCC - -#define defBoolEnum(name) \ - enum class name : bool \ - { \ - MFalse = false, \ - MTrue = true \ - }; \ - const name name##_true = name::MTrue; \ - const name name##_false = name::MFalse \ - -#define fromBool(val, name) \ - (val) ? name::MTrue : name::MFalse - -#else // ADVGCC - -#define defBoolEnum(name) \ - const bool name##_true = true; \ - const bool name##_false = false; \ - typedef bool name -#define fromBool(val, name) \ - (val) ? true : false - -#endif // ADVGCC - -#endif // ENUMS_SIMPLETYPES_BOOLDEFINES_H diff --git a/src/enums/simpletypes/damaged.h b/src/enums/simpletypes/damaged.h deleted file mode 100644 index 2cda3d2a0..000000000 --- a/src/enums/simpletypes/damaged.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_DAMAGED_H -#define ENUMS_SIMPLETYPES_DAMAGED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Damaged); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_DAMAGED_H diff --git a/src/enums/simpletypes/donotalign.h b/src/enums/simpletypes/donotalign.h deleted file mode 100644 index fd0030de0..000000000 --- a/src/enums/simpletypes/donotalign.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_DONOTALIGN_H -#define ENUMS_SIMPLETYPES_DONOTALIGN_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(DoNotAlign); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_DONOTALIGN_H diff --git a/src/enums/simpletypes/enable.h b/src/enums/simpletypes/enable.h deleted file mode 100644 index 47e70bae5..000000000 --- a/src/enums/simpletypes/enable.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ENABLE_H -#define ENUMS_SIMPLETYPES_ENABLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Enable); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ENABLE_H diff --git a/src/enums/simpletypes/enumdefines.h b/src/enums/simpletypes/enumdefines.h deleted file mode 100644 index a1b5401ff..000000000 --- a/src/enums/simpletypes/enumdefines.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ENUMDEFINES_H -#define ENUMS_SIMPLETYPES_ENUMDEFINES_H - -#include "localconsts.h" - -#ifdef ADVGCC - -#define enumStart(name) enum class name -#define enumStartT(name, type) enum class name : type -#define enumEnd(name) ; \ - typedef name name##T - -#else // ADVGCC - -#define enumStart(name) \ - namespace name \ - { \ - enum T - -#define enumStartT(name, type) \ - namespace name \ - { \ - enum T - -#define enumEnd(name) \ - ;\ - } \ - typedef name::T name##T - -#endif // ADVGCC - -#define enum2Start(name) \ - namespace name \ - { \ - enum T - -#define enum2End(name) \ - ;\ - } \ - typedef name::T name##T - -#endif // ENUMS_SIMPLETYPES_ENUMDEFINES_H diff --git a/src/enums/simpletypes/equipm.h b/src/enums/simpletypes/equipm.h deleted file mode 100644 index fcdd503d1..000000000 --- a/src/enums/simpletypes/equipm.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_EQUIPM_H -#define ENUMS_SIMPLETYPES_EQUIPM_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Equipm); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_EQUIPM_H diff --git a/src/enums/simpletypes/equipped.h b/src/enums/simpletypes/equipped.h deleted file mode 100644 index 7aea246d6..000000000 --- a/src/enums/simpletypes/equipped.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_EQUIPPED_H -#define ENUMS_SIMPLETYPES_EQUIPPED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Equipped); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_EQUIPPED_H diff --git a/src/enums/simpletypes/favorite.h b/src/enums/simpletypes/favorite.h deleted file mode 100644 index 8748461f7..000000000 --- a/src/enums/simpletypes/favorite.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_FAVORITE_H -#define ENUMS_SIMPLETYPES_FAVORITE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Favorite); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FAVORITE_H diff --git a/src/enums/simpletypes/forcedisplay.h b/src/enums/simpletypes/forcedisplay.h deleted file mode 100644 index be3943b04..000000000 --- a/src/enums/simpletypes/forcedisplay.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_FORCEDISPLAY_H -#define ENUMS_SIMPLETYPES_FORCEDISPLAY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ForceDisplay); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FORCEDISPLAY_H diff --git a/src/enums/simpletypes/forcequantity.h b/src/enums/simpletypes/forcequantity.h deleted file mode 100644 index 7363c7070..000000000 --- a/src/enums/simpletypes/forcequantity.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_FORCEQUANTITY_H -#define ENUMS_SIMPLETYPES_FORCEQUANTITY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ForceQuantity); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FORCEQUANTITY_H diff --git a/src/enums/simpletypes/identified.h b/src/enums/simpletypes/identified.h deleted file mode 100644 index 6067655bf..000000000 --- a/src/enums/simpletypes/identified.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_IDENTIFIED_H -#define ENUMS_SIMPLETYPES_IDENTIFIED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Identified); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_IDENTIFIED_H diff --git a/src/enums/simpletypes/ignorerecord.h b/src/enums/simpletypes/ignorerecord.h deleted file mode 100644 index b781116d4..000000000 --- a/src/enums/simpletypes/ignorerecord.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_IGNORERECORD_H -#define ENUMS_SIMPLETYPES_IGNORERECORD_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IgnoreRecord); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_IGNORERECORD_H diff --git a/src/enums/simpletypes/intdefines.h b/src/enums/simpletypes/intdefines.h deleted file mode 100644 index 2bae4b02c..000000000 --- a/src/enums/simpletypes/intdefines.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_INTDEFINES_H -#define ENUMS_SIMPLETYPES_INTDEFINES_H - -#include "localconsts.h" - -#ifdef ADVGCC - -#define defIntEnum(name, type) \ - enum class name : type \ - { \ - }; \ - const name name##_zero = static_cast<name>(0); \ - const name name##_one = static_cast<name>(1) - -#define fromInt(val, name) static_cast<name>(val) -#define toInt(val, name) static_cast<name>(val) -#define defIntEnumNeg(name) const name name##_negOne = static_cast<name>(-1) - -#else // ADVGCC - -#define defIntEnum(name, type) \ - typedef type name; \ - const name name##_zero = 0; \ - const name name##_one = 1 -#define fromInt(val, name) static_cast<name>(val) -#define toInt(val, name) (val) -#define defIntEnumNeg(name) const name name##_negOne = -1 - -#endif // ADVGCC - -#endif // ENUMS_SIMPLETYPES_INTDEFINES_H diff --git a/src/enums/simpletypes/issell.h b/src/enums/simpletypes/issell.h deleted file mode 100644 index ba4c9a9cc..000000000 --- a/src/enums/simpletypes/issell.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ISSELL_H -#define ENUMS_SIMPLETYPES_ISSELL_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IsSell); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ISSELL_H diff --git a/src/enums/simpletypes/isstart.h b/src/enums/simpletypes/isstart.h deleted file mode 100644 index 7b133173d..000000000 --- a/src/enums/simpletypes/isstart.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ISSTART_H -#define ENUMS_SIMPLETYPES_ISSTART_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IsStart); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ISSTART_H diff --git a/src/enums/simpletypes/itemcolor.h b/src/enums/simpletypes/itemcolor.h deleted file mode 100644 index d47d30fb1..000000000 --- a/src/enums/simpletypes/itemcolor.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ITEMCOLOR_H -#define ENUMS_SIMPLETYPES_ITEMCOLOR_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(ItemColor, uint16_t); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ITEMCOLOR_H diff --git a/src/enums/simpletypes/keep.h b/src/enums/simpletypes/keep.h deleted file mode 100644 index 6be7a9800..000000000 --- a/src/enums/simpletypes/keep.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_KEEP_H -#define ENUMS_SIMPLETYPES_KEEP_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Keep); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_KEEP_H diff --git a/src/enums/simpletypes/losefocusontab.h b/src/enums/simpletypes/losefocusontab.h deleted file mode 100644 index 5068631a0..000000000 --- a/src/enums/simpletypes/losefocusontab.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_LOSEFOCUSONTAB_H -#define ENUMS_SIMPLETYPES_LOSEFOCUSONTAB_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(LoseFocusOnTab); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_LOSEFOCUSONTAB_H diff --git a/src/enums/simpletypes/mainconfig.h b/src/enums/simpletypes/mainconfig.h deleted file mode 100644 index 03ef60113..000000000 --- a/src/enums/simpletypes/mainconfig.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_MAINCONFIG_H -#define ENUMS_SIMPLETYPES_MAINCONFIG_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(MainConfig); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MAINCONFIG_H diff --git a/src/enums/simpletypes/modal.h b/src/enums/simpletypes/modal.h deleted file mode 100644 index 04026ac85..000000000 --- a/src/enums/simpletypes/modal.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_MODAL_H -#define ENUMS_SIMPLETYPES_MODAL_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Modal); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MODAL_H diff --git a/src/enums/simpletypes/modifiable.h b/src/enums/simpletypes/modifiable.h deleted file mode 100644 index 9ec47f1b7..000000000 --- a/src/enums/simpletypes/modifiable.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_MODIFIABLE_H -#define ENUMS_SIMPLETYPES_MODIFIABLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Modifiable); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MODIFIABLE_H diff --git a/src/enums/simpletypes/move.h b/src/enums/simpletypes/move.h deleted file mode 100644 index 32044e94b..000000000 --- a/src/enums/simpletypes/move.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_MOVE_H -#define ENUMS_SIMPLETYPES_MOVE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Move); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MOVE_H diff --git a/src/enums/simpletypes/notify.h b/src/enums/simpletypes/notify.h deleted file mode 100644 index 8244bb297..000000000 --- a/src/enums/simpletypes/notify.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_NOTIFY_H -#define ENUMS_SIMPLETYPES_NOTIFY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Notify); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_NOTIFY_H diff --git a/src/enums/simpletypes/npcnames.h b/src/enums/simpletypes/npcnames.h deleted file mode 100644 index 0135a131a..000000000 --- a/src/enums/simpletypes/npcnames.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_NPCNAMES_H -#define ENUMS_SIMPLETYPES_NPCNAMES_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(NpcNames); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_NPCNAMES_H diff --git a/src/enums/simpletypes/online.h b/src/enums/simpletypes/online.h deleted file mode 100644 index 9c182c1a5..000000000 --- a/src/enums/simpletypes/online.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ONLINE_H -#define ENUMS_SIMPLETYPES_ONLINE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Online); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ONLINE_H diff --git a/src/enums/simpletypes/onthefly.h b/src/enums/simpletypes/onthefly.h deleted file mode 100644 index 9fff4b144..000000000 --- a/src/enums/simpletypes/onthefly.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_ONTHEFLY_H -#define ENUMS_SIMPLETYPES_ONTHEFLY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(OnTheFly); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ONTHEFLY_H diff --git a/src/enums/simpletypes/opaque.h b/src/enums/simpletypes/opaque.h deleted file mode 100644 index 1df5d3796..000000000 --- a/src/enums/simpletypes/opaque.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_OPAQUE_H -#define ENUMS_SIMPLETYPES_OPAQUE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Opaque); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_OPAQUE_H diff --git a/src/enums/simpletypes/protected.h b/src/enums/simpletypes/protected.h deleted file mode 100644 index d14db96c8..000000000 --- a/src/enums/simpletypes/protected.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_PROTECTED_H -#define ENUMS_SIMPLETYPES_PROTECTED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Protected); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_PROTECTED_H diff --git a/src/enums/simpletypes/separator.h b/src/enums/simpletypes/separator.h deleted file mode 100644 index 2969d03e9..000000000 --- a/src/enums/simpletypes/separator.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SEPARATOR_H -#define ENUMS_SIMPLETYPES_SEPARATOR_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Separator); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SEPARATOR_H diff --git a/src/enums/simpletypes/sfx.h b/src/enums/simpletypes/sfx.h deleted file mode 100644 index c46fb67b8..000000000 --- a/src/enums/simpletypes/sfx.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SFX_H -#define ENUMS_SIMPLETYPES_SFX_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Sfx); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SFX_H diff --git a/src/enums/simpletypes/showcenter.h b/src/enums/simpletypes/showcenter.h deleted file mode 100644 index bbf5206eb..000000000 --- a/src/enums/simpletypes/showcenter.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SHOWCENTER_H -#define ENUMS_SIMPLETYPES_SHOWCENTER_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ShowCenter); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SHOWCENTER_H diff --git a/src/enums/simpletypes/showemptyrows.h b/src/enums/simpletypes/showemptyrows.h deleted file mode 100644 index 98feb22ae..000000000 --- a/src/enums/simpletypes/showemptyrows.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SHOWEMPTYROWS_H -#define ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ShowEmptyRows); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H diff --git a/src/enums/simpletypes/skiperror.h b/src/enums/simpletypes/skiperror.h deleted file mode 100644 index bf281582d..000000000 --- a/src/enums/simpletypes/skiperror.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SKIPERROR_H -#define ENUMS_SIMPLETYPES_SKIPERROR_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(SkipError); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SKIPERROR_H diff --git a/src/enums/simpletypes/speech.h b/src/enums/simpletypes/speech.h deleted file mode 100644 index 3ee3bee93..000000000 --- a/src/enums/simpletypes/speech.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_SPEECH_H -#define ENUMS_SIMPLETYPES_SPEECH_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Speech); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SPEECH_H diff --git a/src/enums/simpletypes/stringdefines.h b/src/enums/simpletypes/stringdefines.h deleted file mode 100644 index 6cdebf7c0..000000000 --- a/src/enums/simpletypes/stringdefines.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_STRINGDEFINES_H -#define ENUMS_SIMPLETYPES_STRINGDEFINES_H - -#include "localconsts.h" - -#define stringEnumStart(type) \ - std::map<std::string, type> mStringsArray; \ - bool find(const std::string &key) \ - { \ - return mStringsArray.find(key) != mStringsArray.end(); \ - } \ - type get(const std::string &key) \ - { \ - return mStringsArray[key]; \ - } \ - void init() \ - { \ - mStringsArray.clear(); - -#define strEnumDef(prefix, name) \ - mStringsArray[#name] = prefix::name; \ - -#define strEnumDef2(prefix, name, str) \ - mStringsArray[#name] = prefix::name; \ - mStringsArray[str] = prefix::name; - -#define stringEnumEnd \ - } - - -#endif // ENUMS_SIMPLETYPES_STRINGDEFINES_H diff --git a/src/enums/simpletypes/stringdefines2.h b/src/enums/simpletypes/stringdefines2.h deleted file mode 100644 index f518ea799..000000000 --- a/src/enums/simpletypes/stringdefines2.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_STRINGDEFINES2_H -#define ENUMS_SIMPLETYPES_STRINGDEFINES2_H - -#include "localconsts.h" - -#define stringEnumDef(type) \ - bool find(const std::string &key); \ - type get(const std::string &key); \ - void init(); - -#endif // ENUMS_SIMPLETYPES_STRINGDEFINES2_H diff --git a/src/enums/simpletypes/trading.h b/src/enums/simpletypes/trading.h deleted file mode 100644 index dffdc49be..000000000 --- a/src/enums/simpletypes/trading.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_TRADING_H -#define ENUMS_SIMPLETYPES_TRADING_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Trading); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_TRADING_H diff --git a/src/enums/simpletypes/tryremovecolors.h b/src/enums/simpletypes/tryremovecolors.h deleted file mode 100644 index 4721cc9be..000000000 --- a/src/enums/simpletypes/tryremovecolors.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_TRYREMOVECOLORS_H -#define ENUMS_SIMPLETYPES_TRYREMOVECOLORS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(TryRemoveColors); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_TRYREMOVECOLORS_H diff --git a/src/enums/simpletypes/useargs.h b/src/enums/simpletypes/useargs.h deleted file mode 100644 index ddd05dd8d..000000000 --- a/src/enums/simpletypes/useargs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_USEARGS_H -#define ENUMS_SIMPLETYPES_USEARGS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseArgs); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USEARGS_H diff --git a/src/enums/simpletypes/usebase64.h b/src/enums/simpletypes/usebase64.h deleted file mode 100644 index b6fecf7e0..000000000 --- a/src/enums/simpletypes/usebase64.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_USEBASE64_H -#define ENUMS_SIMPLETYPES_USEBASE64_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseBase64); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USEBASE64_H diff --git a/src/enums/simpletypes/usevirtfs.h b/src/enums/simpletypes/usevirtfs.h deleted file mode 100644 index f76e3e55b..000000000 --- a/src/enums/simpletypes/usevirtfs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_USERESMAN_H -#define ENUMS_SIMPLETYPES_USERESMAN_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseVirtFs); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USERESMAN_H diff --git a/src/enums/simpletypes/visible.h b/src/enums/simpletypes/visible.h deleted file mode 100644 index c21809711..000000000 --- a/src/enums/simpletypes/visible.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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_SIMPLETYPES_VISIBLE_H -#define ENUMS_SIMPLETYPES_VISIBLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Visible); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_VISIBLE_H diff --git a/src/enums/state.h b/src/enums/state.h deleted file mode 100644 index b261ea226..000000000 --- a/src/enums/state.h +++ /dev/null @@ -1,72 +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_STATE_H -#define ENUMS_STATE_H - -#include "enums/simpletypes/enumdefines.h" - -#ifdef WIN32 -#undef ERROR -#endif // WIN32 - -enumStart(State) -{ - ERROR = -1, - START = 0, - CHOOSE_SERVER, - CONNECT_SERVER, - PRE_LOGIN, - LOGIN, - LOGIN_ATTEMPT, - WORLD_SELECT, // 5 - WORLD_SELECT_ATTEMPT, - UPDATE, - LOAD_DATA, - GET_CHARACTERS, - CHAR_SELECT, // 10 - CONNECT_GAME, - GAME, - CHANGE_MAP, // Switch map-server/gameserver - LOGIN_ERROR, - ACCOUNTCHANGE_ERROR, // 15 - REGISTER_PREP, - REGISTER, - REGISTER_ATTEMPT, - CHANGEPASSWORD, - CHANGEPASSWORD_ATTEMPT, // 20 - CHANGEPASSWORD_SUCCESS, - CHANGEEMAIL, - CHANGEEMAIL_ATTEMPT, - CHANGEEMAIL_SUCCESS, - SWITCH_SERVER, - SWITCH_LOGIN, - SWITCH_CHARACTER, // 30 - LOGOUT_ATTEMPT, - WAIT, - EXIT, - FORCE_QUIT, - AUTORECONNECT_SERVER = 1000 -} -enumEnd(State); - -#endif // ENUMS_STATE_H diff --git a/src/enums/textcommandtype.h b/src/enums/textcommandtype.h deleted file mode 100644 index 669a87e4a..000000000 --- a/src/enums/textcommandtype.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_TEXTCOMMANDTYPE_H -#define ENUMS_TEXTCOMMANDTYPE_H - -#include "enums/simpletypes/enumdefines.h" - -enumStart(TextCommandType) -{ - Magic = 0, - Text = 1 -} -enumEnd(TextCommandType); - -#endif // ENUMS_TEXTCOMMANDTYPE_H |