/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FLAGS_H #define SE_INCL_FLAGS_H #ifdef PRAGMA_ONCE #pragma once #endif // collision flags #define ECBI_BRUSH (1UL<<0) #define ECBI_MODEL (1UL<<1) #define ECBI_PROJECTILE_MAGIC (1UL<<2) #define ECBI_PROJECTILE_SOLID (1UL<<3) #define ECBI_ITEM (1UL<<4) #define ECBI_CORPSE (1UL<<5) #define ECBI_MODEL_HOLDER (1UL<<6) #define ECBI_CORPSE_SOLID (1UL<<7) #define ECBI_PLAYER (1UL<<8) // standard flag combinations: /* * COLLISION COMBINATIONS */ #define ECF_IMMATERIAL (0UL) // brush #define ECF_BRUSH ( \ ((ECBI_MODEL|ECBI_PROJECTILE_MAGIC|ECBI_PROJECTILE_SOLID|ECBI_ITEM|ECBI_CORPSE|ECBI_CORPSE_SOLID)<