#include <Room.h>
|
| Room (glm::vec3 _pos, BoundingBox *_bbox, RoomMesh *_mesh, unsigned int f, int a, int x, int z, int i) |
|
void | prepare () |
|
void | display (glm::mat4 VP) |
|
bool | isWall (unsigned long sector) |
|
long | getSector (float x, float z, float *floor, float *ceiling) |
|
long | getSector (float x, float z) |
|
void | getHeightAtPosition (float x, float *y, float z) |
|
int | getAdjoiningRoom (float x, float y, float z, float x2, float y2, float z2) |
|
BoundingBox & | getBoundingBox () |
|
RoomMesh & | getMesh () |
|
unsigned int | getFlags () |
|
int | getAlternateRoom () |
|
int | getNumXSectors () |
|
int | getNumZSectors () |
|
int | getIndex () |
|
void | addSprite (RoomSprite *s) |
|
void | addModel (StaticModel *s) |
|
void | addSector (Sector *s) |
|
void | addPortal (Portal *p) |
|
unsigned long | sizePortals () |
|
Portal & | getPortal (unsigned long index) |
|
Definition at line 22 of file Room.h.
Room::Room |
( |
glm::vec3 |
_pos, |
|
|
BoundingBox * |
_bbox, |
|
|
RoomMesh * |
_mesh, |
|
|
unsigned int |
f, |
|
|
int |
a, |
|
|
int |
x, |
|
|
int |
z, |
|
|
int |
i |
|
) |
| |
void Room::display |
( |
glm::mat4 |
VP | ) |
|
bool Room::isWall |
( |
unsigned long |
sector | ) |
|
long Room::getSector |
( |
float |
x, |
|
|
float |
z, |
|
|
float * |
floor, |
|
|
float * |
ceiling |
|
) |
| |
long Room::getSector |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
void Room::getHeightAtPosition |
( |
float |
x, |
|
|
float * |
y, |
|
|
float |
z |
|
) |
| |
int Room::getAdjoiningRoom |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
unsigned int Room::getFlags |
( |
| ) |
|
|
inline |
int Room::getAlternateRoom |
( |
| ) |
|
|
inline |
int Room::getNumXSectors |
( |
| ) |
|
|
inline |
int Room::getNumZSectors |
( |
| ) |
|
|
inline |
void Room::addSector |
( |
Sector * |
s | ) |
|
|
inline |
void Room::addPortal |
( |
Portal * |
p | ) |
|
|
inline |
unsigned long Room::sizePortals |
( |
| ) |
|
|
inline |
Portal& Room::getPortal |
( |
unsigned long |
index | ) |
|
|
inline |
static void Room::setShowBoundingBox |
( |
bool |
s | ) |
|
|
inlinestatic |
static bool Room::getShowBoundingBox |
( |
| ) |
|
|
inlinestatic |
static void Room::setShowRoomModels |
( |
bool |
s | ) |
|
|
inlinestatic |
static bool Room::getShowRoomModels |
( |
| ) |
|
|
inlinestatic |
static void Room::setShowRoomSprites |
( |
bool |
s | ) |
|
|
inlinestatic |
static bool Room::getShowRoomSprites |
( |
| ) |
|
|
inlinestatic |
static void Room::setShowRoomGeometry |
( |
bool |
s | ) |
|
|
inlinestatic |
static bool Room::getShowRoomGeometry |
( |
| ) |
|
|
inlinestatic |
std::vector<std::unique_ptr<RoomSprite> > Room::sprites |
|
private |
std::vector<std::unique_ptr<StaticModel> > Room::models |
|
private |
std::vector<std::unique_ptr<Portal> > Room::portals |
|
private |
std::vector<std::unique_ptr<Sector> > Room::sectors |
|
private |
bool Room::showBoundingBox = false |
|
staticprivate |
bool Room::showRoomModels = true |
|
staticprivate |
bool Room::showRoomSprites = true |
|
staticprivate |
bool Room::showRoomGeometry = true |
|
staticprivate |
The documentation for this class was generated from the following files: