Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayMapData::cMapEntityParams Class Reference

#include <cMapEntity.h>

Inheritance diagram for GrayMapData::cMapEntityParams:
GrayMapData::cMapEntity

Public Member Functions

 cMapEntityParams ()
 
 ~cMapEntityParams ()
 
void CopyEntityParams (const cMapEntityParams &from)
 
bool isSolid () const
 

Public Attributes

bool m_bFlagParentScale
 (SAVED) Include my parents scaling matrix if i have a parent object. (offset+scale of parent) default=true More...
 
bool m_bFlagHover
 (SAVED) Gravity DOES NOT act on this. (true=flying/swimming). NOT relative to height map. More...
 
bool m_bFlagInsubstantial
 (SAVED) Can things pass through this? NOTE: use m_bFlagCollide to find if I collide with others when i move. More...
 
bool m_bFlagTerrainCut
 (SAVED) Consider interior/children to carve in ground - disable terrain collision checks More...
 
bool m_bFlagPhysics
 (SAVED) This can/might move ? tho may be at rest now. dynamic objects not saved in map script ? More...
 

Detailed Description

Params for describing a body in space and how it acts (physics and motion). Solidness.

Constructor & Destructor Documentation

◆ cMapEntityParams()

GrayMapData::cMapEntityParams::cMapEntityParams ( )

◆ ~cMapEntityParams()

GrayMapData::cMapEntityParams::~cMapEntityParams ( )

Member Function Documentation

◆ CopyEntityParams()

void GrayMapData::cMapEntityParams::CopyEntityParams ( const cMapEntityParams from)

◆ isSolid()

bool GrayMapData::cMapEntityParams::isSolid ( ) const
inline

Do things collide into me ?

Member Data Documentation

◆ m_bFlagHover

bool GrayMapData::cMapEntityParams::m_bFlagHover

(SAVED) Gravity DOES NOT act on this. (true=flying/swimming). NOT relative to height map.

◆ m_bFlagInsubstantial

bool GrayMapData::cMapEntityParams::m_bFlagInsubstantial

(SAVED) Can things pass through this? NOTE: use m_bFlagCollide to find if I collide with others when i move.

◆ m_bFlagParentScale

bool GrayMapData::cMapEntityParams::m_bFlagParentScale

(SAVED) Include my parents scaling matrix if i have a parent object. (offset+scale of parent) default=true

◆ m_bFlagPhysics

bool GrayMapData::cMapEntityParams::m_bFlagPhysics

(SAVED) This can/might move ? tho may be at rest now. dynamic objects not saved in map script ?

◆ m_bFlagTerrainCut

bool GrayMapData::cMapEntityParams::m_bFlagTerrainCut

(SAVED) Consider interior/children to carve in ground - disable terrain collision checks


The documentation for this class was generated from the following files: