diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-11 16:44:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-11 16:44:15 +0300 |
commit | 77bb74bd2d944be1a1dc719027dbf37ad088b828 (patch) | |
tree | 0feb040a768eff20220835eb359e767dc43f113c /src/resources/map/blocktype.h | |
parent | 835dd846af75ea2cfc91f0134156f9c6545dd8ce (diff) | |
download | plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.gz plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.bz2 plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.xz plus-77bb74bd2d944be1a1dc719027dbf37ad088b828.zip |
Move blocktype into separate file.
Diffstat (limited to 'src/resources/map/blocktype.h')
-rw-r--r-- | src/resources/map/blocktype.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/resources/map/blocktype.h b/src/resources/map/blocktype.h new file mode 100644 index 000000000..7920c242c --- /dev/null +++ b/src/resources/map/blocktype.h @@ -0,0 +1,42 @@ +/* + * The ManaPlus Client + * Copyright (C) 2004-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2014 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 RESOURCES_MAP_BLOCKTYPE_H +#define RESOURCES_MAP_BLOCKTYPE_H + +namespace BlockType +{ + enum BlockType + { + NONE = -1, + WALL, + CHARACTER, + MONSTER, + AIR, + WATER, + GROUND, + GROUNDTOP, + NB_BLOCKTYPES + }; +} + +#endif // RESOURCES_MAP_BLOCKTYPE_H |