47 virtual void SetSelect(
bool select,
bool bDisplayError =
true) = 0;
CameraType
Type of camera.
Definition: camera.h:44
objects that can be selected and controlled by the player
Camera handling - CCamera class.
virtual bool GetSelect()=0
Checks if the object is selected.
virtual void SetCameraLock(bool lock)=0
Disallow camera changes.
virtual void SetSelect(bool select, bool bDisplayError=true)=0
Selects the object.
virtual void SetCameraType(Gfx::CameraType type)=0
Set camera type for this object.
virtual bool GetTrainer()=0
Checks if remote control is disabled.
virtual void SetHighlight(bool highlight)=0
Highlights the object on mouse over.
Interface for objects that can be selected and controlled by the player.
Definition: controllable_object.h:30
virtual bool GetSelectable()=0
Returns true if the object is selectable.
virtual void AdjustCamera(Math::Vector &eye, float &dirH, float &dirV, Math::Vector &lookat, Math::Vector &upVec, Gfx::CameraType type)=0
Adjust camera parameters for the given object.
ObjectInterfaceType enum.
virtual bool GetCameraLock()=0
Check if camera changes are disallowed.
virtual Gfx::CameraType GetCameraType()=0
Return camera type for this object.
3D (3x1) vector
Definition: vector.h:53
virtual void SetTrainer(bool trainer)=0
Disables remote control of an object (only programming allowed)