X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Ffield_of_view.h;h=be6324bff170c8a9bdc2babd622edf6fc4cd2c63;hb=1dc64ee46c2dcbd7eb8a6c4fcd27620dab7d7680;hp=41fde34ef156b16211844b0ca4b4c77be3a06105;hpb=6a9f579e2c47c5d60b37d343465e08faf26a9255;p=plomrogue diff --git a/src/server/field_of_view.h b/src/server/field_of_view.h index 41fde34..be6324b 100644 --- a/src/server/field_of_view.h +++ b/src/server/field_of_view.h @@ -15,10 +15,10 @@ struct Thing; -/* Update "t"'s .mem_map memory with what's in its current FOV, remove from its - * .t_mem all memorized things in FOV and add inanimate things in FOV to it. +/* Update "t_eye"'s .mem_map memory with what's in its current FOV, and update + * and age the .mem_depth_map. */ -extern void update_map_memory(struct Thing * t_eye); +extern void update_map_memory(struct Thing * t_eye, uint8_t age_map); /* Build "t"'s field of view. */ extern void build_fov_map(struct Thing * t);