Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Grid.h File Reference
#include "simulation2/serialization/SerializeTemplates.h"
#include <cstring>
Include dependency graph for Grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Grid< T >
 Basic 2D array, intended for storing tile data, plus support for lazy updates by ICmpObstructionManager. More...
 
struct  Grid< T >::default_type
 
struct  Grid< T >::is_pod
 
struct  Grid< T >::is_container
 
struct  Grid< T >::has_value_type< U, typename >
 
struct  Grid< T >::has_value_type< U, decltype(std::declval< typename U::value_type >(), 0)>
 
struct  SerializeHelper< Grid< T > >
 Serialize a grid, applying a simple RLE compression that is assumed efficient. More...
 
class  SparseGrid< T >
 Similar to Grid, except optimised for sparse usage (the grid is subdivided into buckets whose contents are only initialised on demand, to save on memset cost). More...
 
struct  GridUpdateInformation
 Structure holding grid dirtiness informations, for clever updates. More...
 

Macros

#define GRID_BOUNDS_DEBUG   1
 

Macro Definition Documentation

◆ GRID_BOUNDS_DEBUG

#define GRID_BOUNDS_DEBUG   1