25 #ifndef ENGINES_WITCHER_SITUATED_H 26 #define ENGINES_WITCHER_SITUATED_H 56 virtual bool isOpen()
const = 0;
113 #endif // ENGINES_WITCHER_SITUATED_H
void loadModel()
Load the situated object's model.
Common::UString _soundUsed
The sound the object makes when used.
void load(const Aurora::GFF3Struct &instance, const Aurora::GFF3Struct *blueprint=0)
Load the situated object from an instance and its blueprint.
virtual bool isOpen() const =0
Is the situated object open?
A class holding an UTF-8 string.
An object within a Witcher area.
Common::ScopedPtr< Graphics::Aurora::Model > _model
The situated object's model.
Object * getLastClosedBy() const
Return the object that last closed this situated object.
Common::UString _modelName
The model's resource name.
A simple scoped smart pointer template.
bool _locked
Is the situated object locked?
Object * getLastOpenedBy() const
Return the object that last opened this situated object.
Object * _lastUsedBy
The object that last used this situated object.
virtual void setLocked(bool locked)
Lock/Unlock the situated object.
Basic Aurora graphics types.
Common::UString _soundClosed
The sound the object makes when closed.
uint32 _soundAppType
The index within the situated sounds 2DA.
An object in a The Witcher area.
Common::UString _soundDestroyed
The sound the object makes when destroyed.
Common::UString _soundLocked
The sound the object makes when locked.
void loadProperties(const Aurora::GFF3Struct &gff)
void setOrientation(float x, float y, float z, float angle)
Set the situated object's orientation.
void unloadModel()
Unload the situated object's model.
bool isLocked() const
Is the situated object locked?
void setPosition(float x, float y, float z)
Set the situated object's position.
Object * _lastOpenedBy
The object that last opened this situated object.
Basic type definitions to handle files used in BioWare's Aurora engine.
void show()
Show the situated object's model.
Object * _lastClosedBy
The object that last closed this situated object.
Common::UString _soundOpened
The sound the object makes when opened.
Object * getLastUsedBy() const
Return the object that last used this situated object.
virtual void loadObject(const Aurora::GFF3Struct &gff)=0
Load object-specific properties.
Situated(ObjectType type)
void hide()
Hide the situated object's model.