ScummVM API documentation
BladeRunner::SceneObjects Class Reference

Public Member Functions

 SceneObjects (BladeRunnerEngine *vm, View *view)
 
bool addActor (int sceneObjectId, const BoundingBox &boundingBox, const Common::Rect &screenRectangle, bool isClickable, bool isMoving, bool isTarget, bool isRetired)
 
bool addObject (int sceneObjectId, const BoundingBox &boundingBox, bool isClickable, bool isObstacle, uint8 unknown1, bool isTarget)
 
bool addItem (int sceneObjectId, const BoundingBox &boundingBox, const Common::Rect &screenRectangle, bool isTarget, bool isObstacle)
 
bool remove (int sceneObjectId)
 
void clear ()
 
int findByXYZ (bool *isClickable, bool *isObstacle, bool *isTarget, Vector3 &position, bool findClickables, bool findObstacles, bool findTargets) const
 
bool existsOnXZ (int exceptSceneObjectId, float x, float z, bool movingActorIsObstacle, bool standingActorIsObstacle) const
 
void setMoving (int sceneObjectId, bool isMoving)
 
void setRetired (int sceneObjectId, bool isRetired)
 
bool isBetween (float sourceX, float sourceZ, float targetX, float targetZ, int sceneObjectId) const
 
bool isObstacleBetween (const Vector3 &source, const Vector3 &target, int exceptSceneObjectId) const
 
void setIsClickable (int sceneObjectId, bool isClickable)
 
void setIsObstacle (int sceneObjectId, bool isObstacle)
 
void setIsTarget (int sceneObjectId, bool isTarget)
 
void updateObstacles ()
 
int getCount ()
 
int findById (int sceneObjectId) const
 
bool isEmptyScreenRectangle (int sceneObjectId)
 
int compareScreenRectangle (int sceneObjectId, const Common::Rect &rectangle)
 
void resetScreenRectangleAndBbox (int sceneObjectId)
 
void synchScreenRectangle (int sceneObjectId, const Common::Rect &targetScreenRect)
 
void save (SaveFileWriteStream &f)
 
void load (SaveFileReadStream &f)
 

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