Version 2 (modified by nckmccnnll, 5 years ago) (diff)




  • We need layers as per this thread: (Nick)
    • Monsters - already exists in cave->monsters
    • Objects - already exists in o_list - should this go into the cave struct?
    • Effects - currently there is a "trap layer" defined by cave->traps; according to the thread, this probably should include light info (SQUARE_GLOW, player/monster lights)
    • Player, Location - these are combined in cave->info; I guess that should be split into what the player can see (SQUARE_VIEW, ...) and intrinsic properties (SQUARE_ROOM, ...)
    • Terrain - already exists in cave->feat
  • Do we need cave predicates? Can the same be achieved through terrain flags, trap flags, etc? Which is preferable, or a combination? (Nick)