diff options
Diffstat (limited to 'src/enums/resources/map')
-rw-r--r-- | src/enums/resources/map/blockmask.h | 40 | ||||
-rw-r--r-- | src/enums/resources/map/blocktype.h | 42 | ||||
-rw-r--r-- | src/enums/resources/map/collisiontype.h | 41 | ||||
-rw-r--r-- | src/enums/resources/map/mapitemtype.h | 47 | ||||
-rw-r--r-- | src/enums/resources/map/maplayerposition.h | 37 | ||||
-rw-r--r-- | src/enums/resources/map/maplayertype.h | 39 | ||||
-rw-r--r-- | src/enums/resources/map/maptype.h | 40 |
7 files changed, 0 insertions, 286 deletions
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 |