Fix door orientation in des-files
Doors in des-files were always generated vertically. This wasn't visible unless you had separate symbols for closed vertical and horizontal doors, or used tiles.
This commit is contained in:
@@ -85,7 +85,8 @@ enum levl_typ_types {
|
||||
#define IS_STWALL(typ) ((typ) <= DBWALL) /* STONE <= (typ) <= DBWALL */
|
||||
#define IS_ROCK(typ) ((typ) < POOL) /* absolutely nonaccessible */
|
||||
#define IS_DOOR(typ) ((typ) == DOOR)
|
||||
#define IS_TREE(typ) \
|
||||
#define IS_DOORJOIN(typ) (IS_ROCK(typ) || (typ) == IRONBARS)
|
||||
#define IS_TREE(typ) \
|
||||
((typ) == TREE || (level.flags.arboreal && (typ) == STONE))
|
||||
#define ACCESSIBLE(typ) ((typ) >= DOOR) /* good position */
|
||||
#define IS_ROOM(typ) ((typ) >= ROOM) /* ROOM, STAIRS, furniture.. */
|
||||
|
||||
Reference in New Issue
Block a user