#include "global.hpp"
#include "display.hpp"
#include "floating_label.hpp"
#include "game_board.hpp"
#include "game_data.hpp"
#include "map/label.hpp"
#include "resources.hpp"
#include "tooltips.hpp"
#include "formula/string_utils.hpp"
Go to the source code of this file.
Functions | |
bool | is_shrouded (const display &disp, const map_location &loc) |
bool | is_fogged (const display &disp, const map_location &loc) |
Rather simple test for a hex being fogged. More... | |
|
inline |
Rather simple test for a hex being fogged.
This only exists because is_shrouded() does. (The code looks nicer if the test for being fogged looks similar to the test for being shrouded.)
Definition at line 38 of file label.cpp.
References display::fogged().
Referenced by terrain_label::hidden().
|
inline |
Definition at line 30 of file label.cpp.
References display::shrouded(), map_location::x, and map_location::y.
Referenced by game_display::draw_hex(), and terrain_label::hidden().