39 _resRef(resRef), _walkable(walkable) {
41 load(resRef,
id, x, y, z);
66 _model->setPosition(x, y, z);
Generic Aurora engines resource utility functions.
A class holding an UTF-8 string.
void reset(PointerType o=0)
Resets the pointer with the new value.
bool indexOptionalArchive(const Common::UString &file, uint32 priority, const std::vector< byte > &password, Common::ChangeID *changeID)
void deindexResources(Common::ChangeID &changeID)
Remove previously added resources from the ResourceManager.
Common::ChangeID _resources
Basic exceptions to throw.
const char * c_str() const
Return the (utf8 encoded) string data.
Room(const Common::UString &resRef, uint32 id, float x, float y, float z, bool walkable)
void load(const Common::UString &resRef, uint32 id, float x, float y, float z)
A room within a Jade Empire area.
Common::ScopedPtr< Graphics::Aurora::Model > _model
const Common::UString & getResRef() const
Graphics::Aurora::Model * loadModelObject(const Common::UString &resref, const Common::UString &texture)
const Common::UString & _resRef
Generic Aurora engines model functions.