diff options
Diffstat (limited to 'src/enums/resources')
28 files changed, 0 insertions, 1363 deletions
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 |