![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Structure holding grid dirtiness informations, for clever updates. More...
#include <Grid.h>

Public Member Functions | |
| void | MergeAndClear (GridUpdateInformation &b) |
| Update the information with additionnal needed updates, then erase the source of additions. More... | |
| void | Clean () |
| Mark everything as clean. More... | |
Public Attributes | |
| bool | dirty |
| bool | globallyDirty |
| Grid< u8 > | dirtinessGrid |
Structure holding grid dirtiness informations, for clever updates.
|
inline |
Mark everything as clean.
|
inline |
Update the information with additionnal needed updates, then erase the source of additions.
This can usually be optimized through a careful memory management.
| bool GridUpdateInformation::dirty |
| bool GridUpdateInformation::globallyDirty |