View Single Post
Old September 1, 2021, 22:56   #8
Join Date: Oct 2013
Posts: 294
Infinitum is on a distinguished road
I've just recently started dabbling with programming (Python no less, not C), but how does Angband remember what tiles/objects are seen/door states? Couldn't door seen/unseen tiles be handled by separate arrays with only the seen state forwarding data to the draw function and the unseen being used for game logic, with the seen state only being updated in FOV by some boolean statement? Or is that more resource intensive/effectively the same thing/unworkable? Is monsters picking up known items handled using the same logic?

Last edited by Infinitum; September 1, 2021 at 23:06.
Infinitum is offline   Reply With Quote