ManaPlus
blockmask.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  *
7  * This file is part of The ManaPlus Client.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef ENUMS_RESOURCES_MAP_BLOCKMASK_H
24 #define ENUMS_RESOURCES_MAP_BLOCKMASK_H
25 
26 namespace BlockMask
27 {
28  enum BlockMask
29  {
30  WALL = 0x80, // 1000 0000
31  AIR = 0x04, // 0000 0100
32  WATER = 0x08, // 0000 1000
33  GROUND = 0x10, // 0001 0000
34  GROUNDTOP = 0x20, // 0010 0000
35  PLAYERWALL = 0x40, // 0100 0000
36  MONSTERWALL = 0x02 // 0000 0010
37  };
38 } // namespace BlockMask
39 
40 #endif // ENUMS_RESOURCES_MAP_BLOCKMASK_H
BlockMask::WATER
@ WATER
Definition: blockmask.h:32
BlockMask::GROUND
@ GROUND
Definition: blockmask.h:33
BlockMask::MONSTERWALL
@ MONSTERWALL
Definition: blockmask.h:36
BlockMask::WALL
@ WALL
Definition: blockmask.h:30
BlockMask
Definition: blockmask.h:26
BlockMask::PLAYERWALL
@ PLAYERWALL
Definition: blockmask.h:35
BlockMask::AIR
@ AIR
Definition: blockmask.h:31
BlockMask::GROUNDTOP
@ GROUNDTOP
Definition: blockmask.h:34