![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cTemplateRoll.h>
Public Member Functions | |
CTemplateRoll () | |
~CTemplateRoll () | |
bool | HasResults () const |
HRESULT | RollResults (cMapBase *pMap, cTemplateList &List, CTemplateGroundParams &Params, const cPolygon3f &Poly, const cPoint3f &vOffset, cRandomBase::SEED_t uSeed, cRectI *pRectClip) |
HRESULT | ClearResults () |
Static Public Member Functions | |
static float GRAYCALL | GetElementHeight (cMapBase *pMap, const CTemplateGroundParams &Params, const cPolygon3f &Poly, const cPoint3f &vPos) |
Public Attributes | |
cArrayVal< CTemplateRollValue > | m_aRolledValues |
result set for rolling RollResults( cTemplateList ) More... | |
GrayMapData::CTemplateRoll::CTemplateRoll | ( | ) |
GrayMapData::CTemplateRoll::~CTemplateRoll | ( | ) |
HRESULT GrayMapData::CTemplateRoll::ClearResults | ( | ) |
|
static |
We can delay the height placement calculation till the item is actually seen.
|
inline |
HRESULT GrayMapData::CTemplateRoll::RollResults | ( | cMapBase * | pMap, |
cTemplateList & | List, | ||
CTemplateGroundParams & | Params, | ||
const cPolygon3f & | Poly, | ||
const cPoint3f & | vOffset, | ||
cRandomBase::SEED_t | uSeed, | ||
cRectI * | pRectClip | ||
) |
cArrayVal<CTemplateRollValue> GrayMapData::CTemplateRoll::m_aRolledValues |
result set for rolling RollResults( cTemplateList )
< An instantiated template. with a particular seed. Given a cTemplateList, CTemplateGroundParams, cPolygon3f and seed This is the set of things rolled out.