Rework stairs structure
Use a linked list to store stair and ladder information, instead of having fixed up/down stairs/ladders and a single "special" (branch) stair. Breaks saves and bones. Adds information to migrating objects and monsters for the dungeon and level where they are migrating from.
This commit is contained in:
@@ -243,6 +243,8 @@ enum screen_symbols {
|
||||
#define is_cmap_furniture(i) ((i) >= S_upstair && (i) <= S_fountain)
|
||||
#define is_cmap_water(i) ((i) == S_pool || (i) == S_water)
|
||||
#define is_cmap_lava(i) ((i) == S_lava)
|
||||
#define is_cmap_stairs(i) ((i) == S_upstair || (i) == S_dnstair || \
|
||||
(i) == S_upladder || (i) == S_dnladder)
|
||||
|
||||
|
||||
struct symdef {
|
||||
|
||||
Reference in New Issue
Block a user