26 #include "Portability.h" 30 #ifndef DOXYGEN_SHOULD_SKIP_THIS 184 bool isTransparent(
Vector2i pos)
const;
200 bool isWalkable(
Vector2i pos)
const;
227 void clearFieldOfVision();
236 void clearExplored();
285 bool isInFieldOfVision(
Vector2i pos)
const;
295 bool isExplored(
Vector2i pos)
const;
329 #ifndef DOXYGEN_SHOULD_SKIP_THIS 333 struct EnableBitmaskOperators<CellProperty> {
334 static constexpr
bool value =
true;
A two-dimensional array.
Definition: Array2D.h:63
Route
Algorithm for computing a route.
Definition: Map.h:94
Bitfield relying on an enumeration.
Definition: Flags.h:68
The limits are included in the field of vision.
CellProperty
A property of a cell.
Definition: Map.h:40
The cell is visible (computed by FoV)
A basic algorithm based on ray casting.
constexpr float Sqrt2
The constant.
Definition: Math.h:56
FieldOfVisionLimit
Constant to indicate if the limit is part of the field of vision.
Definition: Map.h:83
The namespace for gf classes.
Definition: Action.h:34
FieldOfVision
Algorithm for computing a field of vision.
Definition: Map.h:71
A square map.
Definition: Map.h:116
A 2D range.
Definition: Range.h:225
The cell has been explored (computed by FoV)
The limits are not included in the field of vision.
constexpr CellFlags EmptyCell
An empty cell.
Definition: Map.h:63