Use IS_WATERWALL and is_waterwall
This commit is contained in:
@@ -296,6 +296,7 @@ extern void free_nomakedefs(void);
|
||||
|
||||
/* ### dbridge.c ### */
|
||||
|
||||
extern boolean is_waterwall(xchar, xchar);
|
||||
extern boolean is_pool(int, int);
|
||||
extern boolean is_lava(int, int);
|
||||
extern boolean is_pool_or_lava(int, int);
|
||||
|
||||
@@ -105,6 +105,7 @@ enum levl_typ_types {
|
||||
#define IS_FURNITURE(typ) ((typ) >= STAIRS && (typ) <= ALTAR)
|
||||
#define IS_AIR(typ) ((typ) == AIR || (typ) == CLOUD)
|
||||
#define IS_SOFT(typ) ((typ) == AIR || (typ) == CLOUD || IS_POOL(typ))
|
||||
#define IS_WATERWALL(typ) ((typ) == WATER)
|
||||
|
||||
/*
|
||||
* Note: secret doors (SDOOR) want to use both rm.doormask and
|
||||
|
||||
Reference in New Issue
Block a user