2 Commits

Author SHA1 Message Date
dobbry-vechur f2230146c9 Relight each turn only levels whose light can change unnoticed
- do_turn marked every level's light dirty, so seen levels relit every
  turn even when nothing had changed
- now only levels with a blinking lamp or a lit item relight each turn;
  other sources already mark their level when they change
- the dawn, dusk and weather tint is keyed, since nothing marks it
- added a benchmark for a turn with creatures on three floors
2026-10-07 10:23:54 +04:00
dobbry-vechur 0c4384a787 Add a from-scratch vision oracle and benchmarks
- rebuild_vision_caches_from_scratch builds every vision cache with no
  history, as a reference for tests
- the oracle compares an incremental build after a real change (step,
  door, weather, posture) with that rebuild, cache by cache
- hidden benchmarks time the same changes, to compare with master
2026-10-02 13:30:46 +04:00