wiki:PlanningWiki/Squares

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

--

Squares

Restructure

  • 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

Post-restructure