386
edits
No edit summary |
mNo edit summary |
||
Line 41: | Line 41: | ||
tile_effects effect; | tile_effects effect; | ||
u8 obj; | u8 obj; | ||
u8 stairs_and_height; // top 4 bits = stairs, bottom 4 bits = height | |||
}; | }; | ||
Line 60: | Line 59: | ||
enum tile_stairs : u8 { | enum tile_stairs : u8 { | ||
none = | none = 0x00, | ||
vertical = | vertical = 0x10, // from south -> north | ||
horizontal = | horizontal = 0x20, // from east -> west | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> |