X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Ffield_of_view.h;h=be6324bff170c8a9bdc2babd622edf6fc4cd2c63;hb=1dc64ee46c2dcbd7eb8a6c4fcd27620dab7d7680;hp=5cc9edb6601b871b1ba824d0076715722b023fc0;hpb=ac7521c1d40b86cd7d33cef590353692542fa0a4;p=plomrogue diff --git a/src/server/field_of_view.h b/src/server/field_of_view.h index 5cc9edb..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 inanimiate 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);