1 /* src/server/field_of_view.h
3 * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4 * or any later version. For details on its copyright, license, and warranties,
5 * see the file NOTICE in the root directory of the PlomRogue source package.
7 * Generate field of view maps.
10 #ifndef FIELD_OF_VIEW_H
11 #define FIELD_OF_VIEW_H
13 #include <stdint.h> /* uint8_t, uint32_t */
18 /* Update "t_eye"'s .mem_map memory with what's in its current FOV, and update
19 * and age the .mem_depth_map.
21 extern void update_map_memory(struct Thing * t_eye, uint8_t age_map);
23 /* Build "t"'s field of view. */
24 extern void build_fov_map(struct Thing * t);