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"'s .mem_map memory with what's in its current FOV, remove from its
19 * .t_mem all memorized things in FOV and add inanimiate things in FOV to it.
21 extern void update_map_memory(struct Thing * t_eye);
23 /* Build "t"'s field of view. */
24 extern void build_fov_map(struct Thing * t);