24 struct sight_values_t {
32 int max_width, max_height;
33 int min_width, min_height;
36 std::vector<maskdat_node_t> maskdat;
39 std::array<sight_values_t, 12> sight_values;
41 void generateSightValues();
51 int currentFrame)
const;
size_t prev
Definition: fogofwar.h:26
FogOfWar()
Definition: fogofwar.cpp:15
Definition: fogofwar.h:25
Calculates which tiles should be revealed by a unit's vision.
Definition: fogofwar.h:23
Manages and updates per-tile data.
Definition: tilesinfo.h:81
void revealSightAt(TilesInfo &tt, int x, int y, int range, bool in_air, int currentFrame) const
Definition: fogofwar.cpp:19
Main namespace for bot-related code.
Definition: areainfo.cpp:17
int y
Definition: fogofwar.h:30
size_t prev2
Definition: fogofwar.h:27
int relative_tile_index
Definition: fogofwar.h:28
int x
Definition: fogofwar.h:29