Pyrogenesis  trunk
Classes | Variables
anonymous_namespace{CCmpObstructionManager.cpp} Namespace Reference

Classes

struct  StaticShape
 Internal representation of arbitrary-rotation static square shapes for buildings. More...
 
struct  UnitShape
 Internal representation of axis-aligned circular shapes for moving units. More...
 

Variables

constexpr entity_pos_t OBSTRUCTION_SUBDIVISION_SIZE = entity_pos_t::FromInt(32)
 Size of each obstruction subdivision square. More...
 

Variable Documentation

◆ OBSTRUCTION_SUBDIVISION_SIZE

constexpr entity_pos_t anonymous_namespace{CCmpObstructionManager.cpp}::OBSTRUCTION_SUBDIVISION_SIZE = entity_pos_t::FromInt(32)

Size of each obstruction subdivision square.

TODO: find the optimal number instead of blindly guessing.