#include <scene.hpp>
|
| Scene (MWRender::RenderingManager &rendering, MWPhysics::PhysicsSystem *physics) |
|
| ~Scene () |
|
void | unloadCell (CellStoreCollection::iterator iter) |
|
void | loadCell (CellStore *cell, Loading::Listener *loadingListener, bool respawn) |
|
void | playerMoved (const osg::Vec3f &pos) |
|
void | changePlayerCell (CellStore *newCell, const ESM::Position &position, bool adjustPlayerPos) |
|
CellStore * | getCurrentCell () |
|
const CellStoreCollection & | getActiveCells () const |
|
bool | hasCellChanged () const |
| Has the set of active cells changed, since the last frame? More...
|
|
void | changeToInteriorCell (const std::string &cellName, const ESM::Position &position, bool adjustPlayerPos, bool changeEvent=true) |
|
void | changeToExteriorCell (const ESM::Position &position, bool adjustPlayerPos, bool changeEvent=true) |
|
void | changeToVoid () |
| Change into a void. More...
|
|
void | markCellAsUnchanged () |
|
void | update (float duration, bool paused) |
|
void | addObjectToScene (const Ptr &ptr) |
| Add an object that already exists in the world model to the scene. More...
|
|
void | removeObjectFromScene (const Ptr &ptr) |
| Remove an object from the scene, but not from the world model. More...
|
|
void | updateObjectRotation (const Ptr &ptr, bool inverseRotationOrder) |
|
void | updateObjectScale (const Ptr &ptr) |
|
bool | isCellActive (const CellStore &cell) |
|
Ptr | searchPtrViaActorId (int actorId) |
|
MWWorld::Scene::~Scene |
( |
| ) |
|
void MWWorld::Scene::addObjectToScene |
( |
const Ptr & |
ptr | ) |
|
Add an object that already exists in the world model to the scene.
void MWWorld::Scene::changeCellGrid |
( |
int |
X, |
|
|
int |
Y, |
|
|
bool |
changeEvent = true |
|
) |
| |
|
private |
void MWWorld::Scene::changeToExteriorCell |
( |
const ESM::Position & |
position, |
|
|
bool |
adjustPlayerPos, |
|
|
bool |
changeEvent = true |
|
) |
| |
Move to exterior cell.
- Parameters
-
changeEvent | Set cellChanged flag? |
void MWWorld::Scene::changeToInteriorCell |
( |
const std::string & |
cellName, |
|
|
const ESM::Position & |
position, |
|
|
bool |
adjustPlayerPos, |
|
|
bool |
changeEvent = true |
|
) |
| |
Move to interior cell.
- Parameters
-
changeEvent | Set cellChanged flag? |
void MWWorld::Scene::changeToVoid |
( |
| ) |
|
CellStore * MWWorld::Scene::getCurrentCell |
( |
| ) |
|
void MWWorld::Scene::getGridCenter |
( |
int & |
cellX, |
|
|
int & |
cellY |
|
) |
| |
|
private |
bool MWWorld::Scene::hasCellChanged |
( |
| ) |
const |
Has the set of active cells changed, since the last frame?
- Todo:
- rescale depending on the state of a new GMST
void MWWorld::Scene::markCellAsUnchanged |
( |
| ) |
|
void MWWorld::Scene::playerMoved |
( |
const osg::Vec3f & |
pos | ) |
|
void MWWorld::Scene::preloadCells |
( |
| ) |
|
|
private |
void MWWorld::Scene::preloadExteriorGrid |
( |
| ) |
|
|
private |
void MWWorld::Scene::preloadFastTravelDestinations |
( |
| ) |
|
|
private |
void MWWorld::Scene::preloadTeleportDoorDestinations |
( |
| ) |
|
|
private |
void MWWorld::Scene::removeObjectFromScene |
( |
const Ptr & |
ptr | ) |
|
Remove an object from the scene, but not from the world model.
Ptr MWWorld::Scene::searchPtrViaActorId |
( |
int |
actorId | ) |
|
void MWWorld::Scene::unloadCell |
( |
CellStoreCollection::iterator |
iter | ) |
|
void MWWorld::Scene::update |
( |
float |
duration, |
|
|
bool |
paused |
|
) |
| |
void MWWorld::Scene::updateObjectRotation |
( |
const Ptr & |
ptr, |
|
|
bool |
inverseRotationOrder |
|
) |
| |
void MWWorld::Scene::updateObjectScale |
( |
const Ptr & |
ptr | ) |
|
bool MWWorld::Scene::mCellChanged |
|
private |
float MWWorld::Scene::mCellLoadingThreshold |
|
private |
int MWWorld::Scene::mHalfGridSize |
|
private |
float MWWorld::Scene::mPreloadDistance |
|
private |
bool MWWorld::Scene::mPreloadDoors |
|
private |
bool MWWorld::Scene::mPreloadEnabled |
|
private |
bool MWWorld::Scene::mPreloadExteriorGrid |
|
private |
bool MWWorld::Scene::mPreloadFastTravel |
|
private |
float MWWorld::Scene::mPreloadTimer |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwworld/scene.hpp
- /home/travis/build/OpenMW/openmw/apps/openmw/mwworld/scene.cpp