![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
Classes | |
| class | cMapWaterDef |
| class | cMapBase |
| class | CMapChanHeight |
| class | CMapChanSurface |
| class | cMapEntityParams |
| class | cMapEntity |
| class | CMapKey |
| class | CMapKeys |
| class | CMapMovable |
| class | CMapMover |
| class | cMapPatch |
| class | cMapOrbit |
| class | cMapTime |
| class | CMultiDefElement |
| class | CMultiDefBase |
| class | CCollisionTest |
| struct | CTemplateGroundParams |
| class | CTemplateDefBase |
| struct | CTemplateRollValue |
| class | CTemplateRoll |
Typedefs | |
| typedef int | MAP_PATCH_POINT_t |
| this gives the number of samples in the heightmap file: 128 means a 129x129 file (include skirt pixel) More... | |
| typedef WORD | MAP_CHANNEL_t |
| typedef unsigned short | MAP_HEIGHT_t |
| typedef BYTE | MAP_SURFACE_ID_t |
| typedef DWORD | MAP_TERRAIN_MASK_t |
| typedef cRefPtr< cMapPatch > | cMapPatchPtr |
| typedef cThreadLockRef< cMapPatch > | cMapPatchPtrX |
| typedef cRefPtr< CMapMover > | CMapMoverPtr |
| typedef cIUnkPtr< cMapEntity > | cMapEntityPtr |
| typedef int | MAP_METERI_t |
| integer meters for the location of a patch. MAP_METER_t More... | |
| typedef float | MAP_METERf_t |
| Height meters dont need double accuracy. MAP_METER_t. More... | |
| typedef UINT32 | MAP_KEY_TYPE |
| typedef cRefPtr< CMultiDefElement > | CMultiDefElementPtr |
Functions | |
| CSCRIPT_CLASS_IMP0 (MapBase, cMapBase::sm_Props, nullptr, "define a sector or a block of a map") | |
| CSCRIPT_CLASS_IMP1 (MapPatch, cMapPatch::sm_Props, cMapPatch::sm_Methods, "define a sector or a block of a map") | |
| CSCRIPT_CLASS_IMP0 (MultiDefBase, CMultiDefBase::sm_Props, nullptr, "Instance of MultiDef") | |
| CSCRIPT_CLASS_IMP0 (TemplateDefBase, CTemplateDefBase::sm_Props, nullptr, "Define a template of things om the ground") | |
Variables | |
| cOSModImpl | g_Module (GRAY_NAMES "MapData") |
| const int | MAP_LOD_RATIO = 8 |
| Ratio of one LOD to the next. i.e. a parent patch has (max) <= MAP_LOD_RATIO^2 immediate children. More... | |
| const MAP_PATCH_POINT_t | MAP_PATCH_POINTS = 128 |
| arbitrary qty of points in the patch height grid. (meters @ MAP_LOD_BLOCK) MAP_PATCH_POINT_t More... | |
| const D3DVALUE | MAP_VIEWDIST_NEAR_DEF = 0.3f |
| const D3DVALUE | MAP_VIEWDIST_MIN = 0.1f |
| const MAP_HEIGHT_t | MAP_HEIGHT_UNITS = 0xFFFF |
| const MAP_METERf_t | MAP_HEIGHT_SCALE = 0.04f |
| __DECL_IMPORT cCoordSpaceDX | g_Coords |
| cRandomPerlin4096 | g_RandomPerlin |
| typedef cIUnkPtr<cMapEntity> GrayMapData::cMapEntityPtr |
| typedef cRefPtr< CMapMover > GrayMapData::CMapMoverPtr |
| typedef cRefPtr<cMapPatch> GrayMapData::cMapPatchPtr |
| typedef WORD GrayMapData::MAP_CHANNEL_t |
| typedef unsigned short GrayMapData::MAP_HEIGHT_t |
| typedef UINT32 GrayMapData::MAP_KEY_TYPE |
| typedef float GrayMapData::MAP_METERf_t |
Height meters dont need double accuracy. MAP_METER_t.
| typedef int GrayMapData::MAP_METERI_t |
integer meters for the location of a patch. MAP_METER_t
| typedef int GrayMapData::MAP_PATCH_POINT_t |
this gives the number of samples in the heightmap file: 128 means a 129x129 file (include skirt pixel)
0 to 128 to enum the patch height points.
| typedef BYTE GrayMapData::MAP_SURFACE_ID_t |
| typedef DWORD GrayMapData::MAP_TERRAIN_MASK_t |
How is this cMapEntity saved ?
| Enumerator | |
|---|---|
| OBJ_SAVE_Script | |
| OBJ_SAVE_Server | |
| OBJ_SAVE_Template | |
| OBJ_SAVE_Multi | |
| OBJ_SAVE_Temporary | |
| OBJ_SAVE_QTY | |
| GrayMapData::CSCRIPT_CLASS_IMP0 | ( | MapBase | , |
| cMapBase::sm_Props | , | ||
| nullptr | , | ||
| "define a sector or a block of a map" | |||
| ) |
| GrayMapData::CSCRIPT_CLASS_IMP0 | ( | MultiDefBase | , |
| CMultiDefBase::sm_Props | , | ||
| nullptr | , | ||
| "Instance of MultiDef" | |||
| ) |
| GrayMapData::CSCRIPT_CLASS_IMP0 | ( | TemplateDefBase | , |
| CTemplateDefBase::sm_Props | , | ||
| nullptr | , | ||
| "Define a template of things om the ground" | |||
| ) |
| GrayMapData::CSCRIPT_CLASS_IMP1 | ( | MapPatch | , |
| cMapPatch::sm_Props | , | ||
| cMapPatch::sm_Methods | , | ||
| "define a sector or a block of a map" | |||
| ) |
|
extern |
| cOSModImpl GrayMapData::g_Module(GRAY_NAMES "MapData") | ( | GRAY_NAMES "MapData" | ) |
| cRandomPerlin4096 GrayMapData::g_RandomPerlin |
| const MAP_METERf_t GrayMapData::MAP_HEIGHT_SCALE = 0.04f |
| const MAP_HEIGHT_t GrayMapData::MAP_HEIGHT_UNITS = 0xFFFF |
| const int GrayMapData::MAP_LOD_RATIO = 8 |
Ratio of one LOD to the next. i.e. a parent patch has (max) <= MAP_LOD_RATIO^2 immediate children.
| const MAP_PATCH_POINT_t GrayMapData::MAP_PATCH_POINTS = 128 |
arbitrary qty of points in the patch height grid. (meters @ MAP_LOD_BLOCK) MAP_PATCH_POINT_t
| const D3DVALUE GrayMapData::MAP_VIEWDIST_MIN = 0.1f |
| const D3DVALUE GrayMapData::MAP_VIEWDIST_NEAR_DEF = 0.3f |