]> granicus.if.org Git - nethack/commit
implement #986 - camera flash 'tweak'
authorPatR <rankin@nethack.org>
Sat, 9 May 2020 20:07:35 +0000 (13:07 -0700)
committerPatR <rankin@nethack.org>
Sat, 9 May 2020 20:07:35 +0000 (13:07 -0700)
commit59818fb6abd5beb00dbc534cb847eee02bed9879
tree543df666023ef7732885d9cafcb7bd0ee7cc01c6
parentd564fa8ac761616840ebc11914947eaae146e456
implement #986 - camera flash 'tweak'

Implement the suggested feature that a camera's flash actually update
hero's memory of the map as it traverses across the level.  Turned
out to be more work than anticipated despite having the code for a
thrown or kicked lit candle or lamp to build upon.

Among other things it needed to update the circle code to handle
previously unused radius 0 to operate on the center point only.  I've
never touched that before and hope this hasn't introduced any bugs.

Also removes several instances of vision code operating on column #0.
(At least one is still present.)
doc/fixes37.0
include/vision.h
src/apply.c
src/light.c
src/uhitm.c
src/vision.c
src/zap.c