ManaPlus
src
enums
resources
map
collisiontype.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
* Copyright (C) 2019-2021 Andrei Karas
7
*
8
* This file is part of The ManaPlus Client.
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
#ifndef ENUMS_RESOURCES_MAP_COLLISIONTYPE_H
25
#define ENUMS_RESOURCES_MAP_COLLISIONTYPE_H
26
27
#include "
enums/simpletypes/enumdefines.h
"
28
29
enumStart
(
CollisionType
)
30
{
31
COLLISION_EMPTY
= 0,
// no collision
32
COLLISION_WALL
= 1,
// full collison
33
COLLISION_AIR
= 2,
// air units can walk
34
COLLISION_WATER
= 3,
// water units can walk
35
COLLISION_GROUNDTOP
= 4,
// no collision (chair, bed, etc)
36
COLLISION_PLAYER_WALL
= 5,
// full collision for player
37
COLLISION_MONSTER_WALL
= 6,
// full collision for monster
38
COLLISION_MAX
= 7
// count index
39
}
40
enumEnd
(
CollisionType
);
41
42
#endif
// ENUMS_RESOURCES_MAP_COLLISIONTYPE_H
enumdefines.h
enumStart
#define enumStart(name)
Definition:
enumdefines.h:36
enumEnd
#define enumEnd(name)
Definition:
enumdefines.h:46
CollisionType
Definition:
collisiontype.h:29
CollisionType::COLLISION_WALL
@ COLLISION_WALL
Definition:
collisiontype.h:32
CollisionType::COLLISION_EMPTY
@ COLLISION_EMPTY
Definition:
collisiontype.h:31
CollisionType::COLLISION_AIR
@ COLLISION_AIR
Definition:
collisiontype.h:33
CollisionType::COLLISION_MONSTER_WALL
@ COLLISION_MONSTER_WALL
Definition:
collisiontype.h:37
CollisionType::COLLISION_MAX
@ COLLISION_MAX
Definition:
collisiontype.h:38
CollisionType::COLLISION_WATER
@ COLLISION_WATER
Definition:
collisiontype.h:34
CollisionType::COLLISION_GROUNDTOP
@ COLLISION_GROUNDTOP
Definition:
collisiontype.h:35
CollisionType::COLLISION_PLAYER_WALL
@ COLLISION_PLAYER_WALL
Definition:
collisiontype.h:36
Generated on Wed Mar 17 2021 19:19:05 for ManaPlus by
1.9.1