|
xoreos
0.0.5
|
#include <room.h>

Public Member Functions | |
| Room (const Common::UString &resRef, float x, float y, float z) | |
| ~Room () | |
| Common::UString | getResRef () const |
| float | evaluateElevation (float x, float y, bool highlight=false) |
| void | disableWalkmeshHighlight () |
| void | setWalkmeshInvisible (bool invisible) |
| void | show () |
| void | hide () |
| bool | isVisible () const |
Private Member Functions | |
| void | load (const Common::UString &resRef, float x, float y, float z) |
Private Attributes | |
| Common::UString | _resRef |
| Common::ScopedPtr< Graphics::Aurora::Model > | _model |
| Walkmesh | _walkmesh |
| Engines::KotOR::Room::Room | ( | const Common::UString & | resRef, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
| void Engines::KotOR::Room::disableWalkmeshHighlight | ( | ) |
Definition at line 74 of file room.cpp.
References _walkmesh, and Graphics::Aurora::Walkmesh::highlightFace().
Referenced by Engines::KotOR::Area::evaluateElevation().


| float Engines::KotOR::Room::evaluateElevation | ( | float | x, |
| float | y, | ||
| bool | highlight = false |
||
| ) |
Definition at line 64 of file room.cpp.
References _walkmesh, FLT_MIN, Graphics::Aurora::Walkmesh::getElevationAt(), and Graphics::Aurora::Walkmesh::highlightFace().
Referenced by Engines::KotOR::Area::evaluateElevation().


| Common::UString Engines::KotOR::Room::getResRef | ( | ) | const |
Definition at line 60 of file room.cpp.
References _resRef.
Referenced by Engines::KotOR::Console::cmdGetPCRoom(), and Engines::KotOR::Area::notifyPCMoved().

| void Engines::KotOR::Room::hide | ( | ) |
Definition at line 88 of file room.cpp.
References _model, _walkmesh, and Graphics::Renderable::hide().

| bool Engines::KotOR::Room::isVisible | ( | ) | const |
Definition at line 94 of file room.cpp.
References _model.
Referenced by Engines::KotOR::Area::notifyPCMoved().

|
private |
Definition at line 47 of file room.cpp.
References _model, _walkmesh, Common::UString::c_str(), Engines::KotOR::Walkmesh::load(), Engines::loadModelObject(), and Common::ScopedPtrBase< T, Deallocator >::reset().
Referenced by Room().


| void Engines::KotOR::Room::setWalkmeshInvisible | ( | bool | invisible | ) |
Definition at line 78 of file room.cpp.
References _walkmesh, and Graphics::Aurora::Walkmesh::setInvisible().

| void Engines::KotOR::Room::show | ( | ) |
Definition at line 82 of file room.cpp.
References _model, _walkmesh, and Graphics::Renderable::show().

|
private |
|
private |
Definition at line 57 of file room.h.
Referenced by getResRef().
|
private |
Definition at line 59 of file room.h.
Referenced by disableWalkmeshHighlight(), evaluateElevation(), hide(), load(), setWalkmeshInvisible(), and show().
1.8.14