ScummVM API documentation
ICB::_line_of_sight Class Reference

Public Types

enum  { ACTOR_EYE_HEIGHT = 160 }
 
enum  { ACTOR_CROUCHED_HEIGHT = 61 }
 
enum  ActorEyeMode { USE_OBJECT_VALUE = 0, FORCE_EYE_HEIGHT, FORCE_CROUCHED_HEIGHT }
 

Public Member Functions

void Initialise ()
 
void Subscribe (uint32 nObserverID, uint32 nTargetID)
 
void UnSubscribe (uint32 nObserverID, uint32 nTargetID)
 
void Suspend (uint32 nObserverID)
 
void Unsuspend (uint32 nObserverID)
 
void SwitchOff ()
 
void SwitchOn ()
 
void DutyCycle ()
 
void SetDutyCycle (uint32 nSubsPerCycle)
 
void SetFieldOfView (uint32 nID, uint32 nFieldOfView)
 
void SetSightRange (uint32 nID, uint32 nRange)
 
void SetSightHeight (uint32 nID, uint32 nHeight)
 
void SetCanSeeInDarkFlag (uint32 nID, bool8 bState)
 
void SetNeverInShadowFlag (uint32 nID, bool8 bState)
 
void ShadowsOnOff (bool8 bState)
 
bool8 ObjectToObject (uint32 nObserverID, uint32 nTargetID, eBarrierRayType eRayType, bool8 bCanSeeUs, ActorEyeMode eEyeMode, bool8 bOverrideHeightLimit=FALSE8)
 
bool8 LineOfSight (uint32 nObserverID, uint32 nTargetID)
 
const px3DRealPoint GetLastImpactPoint () const
 
eBarrierLogicValue GetLastImpactType () const
 
LinkedDataFileGetSlicesPointer () const
 
bool8 FailingOnHeight () const
 

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