ScummVM API documentation
hpl::cLight2DPoint Class Reference
Inheritance diagram for hpl::cLight2DPoint:
hpl::iLight2D hpl::iEntity2D hpl::iLight hpl::iEntity hpl::iSaveObject

Public Member Functions

 cLight2DPoint (tString asName)
 
const cRect2fGetBoundingBox ()
 
bool UpdateBoundingBox ()
 
int Render (iLowLevelGraphics *apLowLevel, int alFirstIndex)
 
- Public Member Functions inherited from hpl::iLight2D
 iLight2D (tString asName)
 
tString GetEntityType ()
 
void UpdateLogic (float afTimeStep)
 
void SetFarAttenuation (float afX)
 
void SetNearAttenuation (float afX)
 
cVector3f GetLightPosition ()
 
- Public Member Functions inherited from hpl::iEntity2D
 iEntity2D (tString asName)
 
cVector3fGetLocalPosition ()
 
cVector3fGetLocalRotation ()
 
cVector3fGetLocalScale ()
 
cVector3f GetWorldPosition ()
 
cVector3f GetWorldRotation ()
 
cVector3f GetWorldScale ()
 
void SetPosition (const cVector3f &avPos)
 
void SetRotation (const cVector3f &avRot)
 
void SetScale (const cVector3f &avScale)
 
cGrid2DObjectGetGrid2DObject ()
 
void SetGrid2DObject (cGrid2DObject *apGrid)
 
bool HasGrid2DObject ()
 
- Public Member Functions inherited from hpl::iEntity
 iEntity (tString asName)
 
tStringGetName ()
 
void SetName (const tString &asName)
 
iNodeGetParent ()
 
void SetParent (iNode *apNode)
 
bool HasParent ()
 
bool IsActive ()
 
void SetActive (bool abActive)
 
virtual bool IsVisible ()
 
virtual void SetVisible (bool abVisible)
 
virtual iSaveDataCreateSaveData ()
 
virtual void SaveToSaveData (iSaveData *apSaveData)
 
virtual void LoadFromSaveData (iSaveData *apSaveData)
 
virtual void SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame)
 
- Public Member Functions inherited from hpl::iSaveObject
int GetSaveObjectId ()
 
void SetIsSaved (bool abX)
 
bool IsSaved ()
 
- Public Member Functions inherited from hpl::iLight
void FadeTo (const cColor &aCol, float afRadius, float afTime)
 
bool IsFading ()
 
cColor GetDestColor ()
 
float GetDestRadius ()
 
void SetFlickerActive (bool abX)
 
bool GetFlickerActive ()
 
void SetFlicker (const cColor &aOffCol, float afOffRadius, float afOnMinLength, float afOnMaxLength, const tString &asOnSound, const tString &asOnPS, float afOffMinLength, float afOffMaxLength, const tString &asOffSound, const tString &asOffPS, bool abFade, float afOnFadeLength, float afOffFadeLength)
 
tString GetFlickerOffSound ()
 
tString GetFlickerOnSound ()
 
tString GetFlickerOffPS ()
 
tString GetFlickerOnPS ()
 
float GetFlickerOnMinLength ()
 
float GetFlickerOffMinLength ()
 
float GetFlickerOnMaxLength ()
 
float GetFlickerOffMaxLength ()
 
cColor GetFlickerOffColor ()
 
float GetFlickerOffRadius ()
 
bool GetFlickerFade ()
 
float GetFlickerOnFadeLength ()
 
float GetFlickerOffFadeLength ()
 
cColor GetFlickerOnColor ()
 
float GetFlickerOnRadius ()
 
const cColorGetDiffuseColor ()
 
void SetDiffuseColor (cColor aColor)
 
const cColorGetSpecularColor ()
 
void SetSpecularColor (cColor aColor)
 
float GetIntensity ()
 
void SetIntensity (float afX)
 
bool GetCastShadows ()
 
void SetCastShadows (bool afX)
 
bool GetAffectMaterial ()
 
void SetAffectMaterial (bool afX)
 
float GetFarAttenuation ()
 
float GetNearAttenuation ()
 
float GetSourceRadius ()
 
void SetSourceRadius (float afX)
 
void UpdateLight (float afTimeStep)
 
void SetWorld3D (cWorld3D *apWorld)
 

Additional Inherited Members

- Protected Member Functions inherited from hpl::iLight
virtual void OnFlickerOff ()
 
virtual void OnFlickerOn ()
 
virtual void OnSetDiffuse ()
 
- Protected Attributes inherited from hpl::iEntity2D
cGrid2DObjectmpGridObject
 
cVector3f mvPosition
 
cVector3f mvRotation
 
cVector3f mvScale
 
cVector3f mvLastPosition
 
cVector3f mvLastRotation
 
cVector3f mvLastScale
 
cRect2f mBoundingBox
 
- Protected Attributes inherited from hpl::iEntity
iNodempParentNode
 
tString msName
 
bool mbIsVisible
 
bool mbIsActive
 
- Protected Attributes inherited from hpl::iSaveObject
iSaveDatampSaveData
 
- Protected Attributes inherited from hpl::iLight
cColor mDiffuseColor
 
cColor mSpecularColor
 
float mfIntensity
 
float mfFarAttenuation
 
float mfNearAttenuation
 
float mfSourceRadius
 
bool mbCastShadows
 
bool mbAffectMaterial
 
cWorld3DmpWorld3D
 
cColor mColAdd
 
float mfRadiusAdd
 
cColor mDestCol
 
float mfDestRadius
 
float mfFadeTime
 
bool mbFlickering
 
tString msFlickerOffSound
 
tString msFlickerOnSound
 
tString msFlickerOffPS
 
tString msFlickerOnPS
 
float mfFlickerOnMinLength
 
float mfFlickerOffMinLength
 
float mfFlickerOnMaxLength
 
float mfFlickerOffMaxLength
 
cColor mFlickerOffColor
 
float mfFlickerOffRadius
 
bool mbFlickerFade
 
float mfFlickerOnFadeLength
 
float mfFlickerOffFadeLength
 
cColor mFlickerOnColor
 
float mfFlickerOnRadius
 
bool mbFlickerOn
 
float mfFlickerTime
 
float mfFlickerStateLength
 

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