OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Member Functions | List of all members
MWBase::World Class Referenceabstract

Interface for the World (implemented in MWWorld) More...

#include <world.hpp>

Inheritance diagram for MWBase::World:
Collaboration diagram for MWBase::World:

Classes

struct  DoorMarker
 

Public Types

enum  DetectionType { Detect_Enchantment, Detect_Key, Detect_Creature }
 

Public Member Functions

 World ()
 
virtual ~World ()
 
virtual void preloadCommonAssets ()=0
 
virtual void startNewGame (bool bypass)=0
 
virtual void clear ()=0
 
virtual int countSavedGameRecords () const =0
 
virtual int countSavedGameCells () const =0
 
virtual void write (ESM::ESMWriter &writer, Loading::Listener &listener) const =0
 
virtual void readRecord (ESM::ESMReader &reader, uint32_t type, const std::map< int, int > &contentFileMap)=0
 
virtual MWWorld::CellStoregetExterior (int x, int y)=0
 
virtual MWWorld::CellStoregetInterior (const std::string &name)=0
 
virtual MWWorld::CellStoregetCell (const ESM::CellId &id)=0
 
virtual void useDeathCamera ()=0
 
virtual void setWaterHeight (const float height)=0
 
virtual bool toggleWater ()=0
 
virtual bool toggleWorld ()=0
 
virtual void adjustSky ()=0
 
virtual const Fallback::MapgetFallback () const =0
 
virtual MWWorld::PlayergetPlayer ()=0
 
virtual MWWorld::Ptr getPlayerPtr ()=0
 
virtual const MWWorld::ESMStoregetStore () const =0
 
virtual std::vector
< ESM::ESMReader > & 
getEsmReader ()=0
 
virtual MWWorld::LocalScriptsgetLocalScripts ()=0
 
virtual bool hasCellChanged () const =0
 Has the set of active cells changed, since the last frame? More...
 
virtual bool isCellExterior () const =0
 
virtual bool isCellQuasiExterior () const =0
 
virtual osg::Vec2f getNorthVector (const MWWorld::CellStore *cell)=0
 get north vector for given interior cell More...
 
virtual void getDoorMarkers (MWWorld::CellStore *cell, std::vector< DoorMarker > &out)=0
 get a list of teleport door markers for a given cell, to be displayed on the local map More...
 
virtual void setGlobalInt (const std::string &name, int value)=0
 Set value independently from real type. More...
 
virtual void setGlobalFloat (const std::string &name, float value)=0
 Set value independently from real type. More...
 
virtual int getGlobalInt (const std::string &name) const =0
 Get value independently from real type. More...
 
virtual float getGlobalFloat (const std::string &name) const =0
 Get value independently from real type. More...
 
virtual char getGlobalVariableType (const std::string &name) const =0
 Return ' ', if there is no global variable with this name. More...
 
virtual std::string getCellName (const MWWorld::CellStore *cell=0) const =0
 
virtual void removeRefScript (MWWorld::RefData *ref)=0
 
virtual MWWorld::Ptr getPtr (const std::string &name, bool activeOnly)=0
 
virtual MWWorld::Ptr searchPtr (const std::string &name, bool activeOnly)=0
 
virtual MWWorld::Ptr searchPtrViaActorId (int actorId)=0
 Search is limited to the active cells. More...
 
virtual MWWorld::Ptr findContainer (const MWWorld::ConstPtr &ptr)=0
 
virtual void enable (const MWWorld::Ptr &ptr)=0
 
virtual void disable (const MWWorld::Ptr &ptr)=0
 
virtual void advanceTime (double hours, bool incremental=false)=0
 Advance in-game time. More...
 
virtual void setHour (double hour)=0
 Set in-game time hour. More...
 
virtual void setMonth (int month)=0
 Set in-game time month. More...
 
virtual void setDay (int day)=0
 Set in-game time day. More...
 
virtual int getDay () const =0
 
virtual int getMonth () const =0
 
virtual int getYear () const =0
 
virtual std::string getMonthName (int month=-1) const =0
 Return name of month (-1: current month) More...
 
virtual MWWorld::TimeStamp getTimeStamp () const =0
 Return current in-game time stamp. More...
 
virtual bool toggleSky ()=0
 
virtual void changeWeather (const std::string &region, const unsigned int id)=0
 
virtual int getCurrentWeather () const =0
 
virtual int getMasserPhase () const =0
 
virtual int getSecundaPhase () const =0
 
virtual void setMoonColour (bool red)=0
 
virtual void modRegion (const std::string &regionid, const std::vector< char > &chances)=0
 
virtual float getTimeScaleFactor () const =0
 
virtual void changeToInteriorCell (const std::string &cellName, const ESM::Position &position, bool adjustPlayerPos, bool changeEvent=true)=0
 
virtual void changeToExteriorCell (const ESM::Position &position, bool adjustPlayerPos, bool changeEvent=true)=0
 
virtual void changeToCell (const ESM::CellId &cellId, const ESM::Position &position, bool adjustPlayerPos, bool changeEvent=true)=0
 
virtual const ESM::CellgetExterior (const std::string &cellName) const =0
 Return a cell matching the given name or a 0-pointer, if there is no such cell. More...
 
virtual void markCellAsUnchanged ()=0
 
virtual MWWorld::Ptr getFacedObject ()=0
 Return pointer to the object the player is looking at, if it is within activation range. More...
 
virtual float getDistanceToFacedObject ()=0
 
virtual float getMaxActivationDistance ()=0
 
virtual std::pair
< MWWorld::Ptr, osg::Vec3f > 
getHitContact (const MWWorld::ConstPtr &ptr, float distance)=0
 
virtual void adjustPosition (const MWWorld::Ptr &ptr, bool force)=0
 
virtual void fixPosition (const MWWorld::Ptr &actor)=0
 Attempt to fix position so that the Ptr is no longer inside collision geometry. More...
 
virtual void deleteObject (const MWWorld::Ptr &ptr)=0
 
virtual void undeleteObject (const MWWorld::Ptr &ptr)=0
 
virtual MWWorld::Ptr moveObject (const MWWorld::Ptr &ptr, float x, float y, float z)=0
 
virtual MWWorld::Ptr moveObject (const MWWorld::Ptr &ptr, MWWorld::CellStore *newCell, float x, float y, float z, bool movePhysics=true)=0
 
virtual void scaleObject (const MWWorld::Ptr &ptr, float scale)=0
 
virtual void rotateObject (const MWWorld::Ptr &ptr, float x, float y, float z, bool adjust=false)=0
 
virtual MWWorld::Ptr placeObject (const MWWorld::ConstPtr &ptr, MWWorld::CellStore *cell, ESM::Position pos)=0
 Place an object. Makes a copy of the Ptr. More...
 
virtual MWWorld::Ptr safePlaceObject (const MWWorld::ConstPtr &ptr, const MWWorld::ConstPtr &referenceObject, MWWorld::CellStore *referenceCell, int direction, float distance)=0
 
virtual void indexToPosition (int cellX, int cellY, float &x, float &y, bool centre=false) const =0
 Convert cell numbers to position. More...
 
virtual void positionToIndex (float x, float y, int &cellX, int &cellY) const =0
 Convert position to cell numbers. More...
 
virtual void queueMovement (const MWWorld::Ptr &ptr, const osg::Vec3f &velocity)=0
 
virtual bool castRay (float x1, float y1, float z1, float x2, float y2, float z2)=0
 cast a Ray and return true if there is an object in the ray path. More...
 
virtual bool toggleCollisionMode ()=0
 
virtual bool toggleRenderMode (MWRender::RenderMode mode)=0
 
virtual const ESM::PotioncreateRecord (const ESM::Potion &record)=0
 
virtual const ESM::SpellcreateRecord (const ESM::Spell &record)=0
 
virtual const ESM::ClasscreateRecord (const ESM::Class &record)=0
 
virtual const ESM::CellcreateRecord (const ESM::Cell &record)=0
 
virtual const ESM::NPCcreateRecord (const ESM::NPC &record)=0
 
virtual const ESM::ArmorcreateRecord (const ESM::Armor &record)=0
 
virtual const ESM::WeaponcreateRecord (const ESM::Weapon &record)=0
 
virtual const ESM::ClothingcreateRecord (const ESM::Clothing &record)=0
 
virtual const ESM::EnchantmentcreateRecord (const ESM::Enchantment &record)=0
 
virtual const ESM::BookcreateRecord (const ESM::Book &record)=0
 
virtual const
ESM::CreatureLevList
createOverrideRecord (const ESM::CreatureLevList &record)=0
 
virtual const ESM::ItemLevListcreateOverrideRecord (const ESM::ItemLevList &record)=0
 
virtual void update (float duration, bool paused)=0
 
virtual MWWorld::Ptr placeObject (const MWWorld::ConstPtr &object, float cursorX, float cursorY, int amount)=0
 
virtual MWWorld::Ptr dropObjectOnGround (const MWWorld::Ptr &actor, const MWWorld::ConstPtr &object, int amount)=0
 
virtual bool canPlaceObject (float cursorX, float cursorY)=0
 
virtual void processChangedSettings (const std::set< std::pair< std::string, std::string > > &settings)=0
 
virtual bool isFlying (const MWWorld::Ptr &ptr) const =0
 
virtual bool isSlowFalling (const MWWorld::Ptr &ptr) const =0
 
virtual bool isSwimming (const MWWorld::ConstPtr &object) const =0
 
virtual bool isWading (const MWWorld::ConstPtr &object) const =0
 
virtual bool isSubmerged (const MWWorld::ConstPtr &object) const =0
 Is the head of the creature underwater? More...
 
virtual bool isUnderwater (const MWWorld::CellStore *cell, const osg::Vec3f &pos) const =0
 
virtual bool isWaterWalkingCastableOnTarget (const MWWorld::ConstPtr &target) const =0
 
virtual bool isOnGround (const MWWorld::Ptr &ptr) const =0
 
virtual osg::Matrixf getActorHeadTransform (const MWWorld::ConstPtr &actor) const =0
 
virtual void togglePOV ()=0
 
virtual bool isFirstPerson () const =0
 
virtual void togglePreviewMode (bool enable)=0
 
virtual bool toggleVanityMode (bool enable)=0
 
virtual void allowVanityMode (bool allow)=0
 
virtual void togglePlayerLooking (bool enable)=0
 
virtual void changeVanityModeScale (float factor)=0
 
virtual bool vanityRotateCamera (float *rot)=0
 
virtual void setCameraDistance (float dist, bool adjust=false, bool override=true)=0
 
virtual void setupPlayer ()=0
 
virtual void renderPlayer ()=0
 
virtual void activateDoor (const MWWorld::Ptr &door)=0
 open or close a non-teleport door (depending on current state) More...
 
virtual void activateDoor (const MWWorld::Ptr &door, int state)=0
 
virtual bool getPlayerStandingOn (const MWWorld::ConstPtr &object)=0
 
virtual bool getActorStandingOn (const MWWorld::ConstPtr &object)=0
 
virtual bool getPlayerCollidingWith (const MWWorld::ConstPtr &object)=0
 
virtual bool getActorCollidingWith (const MWWorld::ConstPtr &object)=0
 
virtual void hurtStandingActors (const MWWorld::ConstPtr &object, float dmgPerSecond)=0
 
virtual void hurtCollidingActors (const MWWorld::ConstPtr &object, float dmgPerSecond)=0
 
virtual float getWindSpeed ()=0
 
virtual void getContainersOwnedBy (const MWWorld::ConstPtr &npc, std::vector< MWWorld::Ptr > &out)=0
 get all containers in active cells owned by this Npc More...
 
virtual void getItemsOwnedBy (const MWWorld::ConstPtr &npc, std::vector< MWWorld::Ptr > &out)=0
 get all items in active cells owned by this Npc More...
 
virtual bool getLOS (const MWWorld::ConstPtr &actor, const MWWorld::ConstPtr &targetActor)=0
 get Line of Sight (morrowind stupid implementation) More...
 
virtual float getDistToNearestRayHit (const osg::Vec3f &from, const osg::Vec3f &dir, float maxDist, bool includeWater=false)=0
 
virtual void enableActorCollision (const MWWorld::Ptr &actor, bool enable)=0
 
virtual int canRest ()=0
 
virtual MWRender::AnimationgetAnimation (const MWWorld::Ptr &ptr)=0
 
virtual const MWRender::AnimationgetAnimation (const MWWorld::ConstPtr &ptr) const =0
 
virtual void reattachPlayerCamera ()=0
 
virtual void screenshot (osg::Image *image, int w, int h)=0
 
virtual bool findExteriorPosition (const std::string &name, ESM::Position &pos)=0
 
virtual bool findInteriorPosition (const std::string &name, ESM::Position &pos)=0
 
virtual void enableTeleporting (bool enable)=0
 Enables or disables use of teleport spell effects (recall, intervention, etc). More...
 
virtual bool isTeleportingEnabled () const =0
 Returns true if teleport spell effects are allowed. More...
 
virtual void enableLevitation (bool enable)=0
 Enables or disables use of levitation spell effect. More...
 
virtual bool isLevitationEnabled () const =0
 Returns true if levitation spell effect is allowed. More...
 
virtual bool getGodModeState ()=0
 
virtual bool toggleGodMode ()=0
 
virtual bool toggleScripts ()=0
 
virtual bool getScriptsEnabled () const =0
 
virtual bool startSpellCast (const MWWorld::Ptr &actor)=0
 startSpellCast attempt to start casting a spell. Might fail immediately if conditions are not met. More...
 
virtual void castSpell (const MWWorld::Ptr &actor)=0
 
virtual void launchMagicBolt (const std::string &spellId, bool stack, const ESM::EffectList &effects, const MWWorld::Ptr &caster, const std::string &sourceName, const osg::Vec3f &fallbackDirection)=0
 
virtual void launchProjectile (MWWorld::Ptr actor, MWWorld::ConstPtr projectile, const osg::Vec3f &worldPos, const osg::Quat &orient, MWWorld::Ptr bow, float speed, float attackStrength)=0
 
virtual const std::vector
< std::string > & 
getContentFiles () const =0
 
virtual void breakInvisibility (const MWWorld::Ptr &actor)=0
 
virtual bool isDark () const =0
 
virtual bool findInteriorPositionInWorldSpace (const MWWorld::CellStore *cell, osg::Vec3f &result)=0
 
virtual void teleportToClosestMarker (const MWWorld::Ptr &ptr, const std::string &id)=0
 
virtual void listDetectedReferences (const MWWorld::Ptr &ptr, std::vector< MWWorld::Ptr > &out, DetectionType type)=0
 
virtual void updateDialogueGlobals ()=0
 
virtual void confiscateStolenItems (const MWWorld::Ptr &ptr)=0
 Moves all stolen items from ptr to the closest evidence chest. More...
 
virtual void goToJail ()=0
 
virtual void spawnRandomCreature (const std::string &creatureList)=0
 Spawn a random creature from a levelled list next to the player. More...
 
virtual void spawnBloodEffect (const MWWorld::Ptr &ptr, const osg::Vec3f &worldPosition)=0
 Spawn a blood effect for ptr at worldPosition. More...
 
virtual void spawnEffect (const std::string &model, const std::string &textureOverride, const osg::Vec3f &worldPos)=0
 
virtual void explodeSpell (const osg::Vec3f &origin, const ESM::EffectList &effects, const MWWorld::Ptr &caster, const MWWorld::Ptr &ignore, ESM::RangeType rangeType, const std::string &id, const std::string &sourceName, const bool fromProjectile=false)=0
 
virtual void activate (const MWWorld::Ptr &object, const MWWorld::Ptr &actor)=0
 
virtual bool isInStorm () const =0
 
virtual osg::Vec3f getStormDirection () const =0
 
virtual void resetActors ()=0
 Resets all actors in the current active cells to their original location within that cell. More...
 
virtual bool isWalkingOnWater (const MWWorld::ConstPtr &actor) const =0
 
virtual osg::Vec3f aimToTarget (const MWWorld::ConstPtr &actor, const MWWorld::ConstPtr &target)=0
 
virtual float getHitDistance (const MWWorld::ConstPtr &actor, const MWWorld::ConstPtr &target)=0
 Return the distance between actor's weapon and target's collision box. More...
 
virtual void removeContainerScripts (const MWWorld::Ptr &reference)=0
 
virtual bool isPlayerInJail () const =0
 
virtual float getTerrainHeightAt (const osg::Vec3f &worldPos) const =0
 Return terrain height at worldPos position. More...
 
virtual osg::Vec3f getHalfExtents (const MWWorld::ConstPtr &actor, bool rendering=false) const =0
 Return physical or rendering half extents of the given actor. More...
 

Private Member Functions

 World (const World &)
 not implemented More...
 
Worldoperator= (const World &)
 not implemented More...
 

Detailed Description

Interface for the World (implemented in MWWorld)

Member Enumeration Documentation

Enumerator
Detect_Enchantment 
Detect_Key 
Detect_Creature 

Constructor & Destructor Documentation

MWBase::World::World ( const World )
private

not implemented

MWBase::World::World ( )
inline
virtual MWBase::World::~World ( )
inlinevirtual

Reimplemented in MWWorld::World.

Member Function Documentation

virtual void MWBase::World::activate ( const MWWorld::Ptr object,
const MWWorld::Ptr actor 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::activateDoor ( const MWWorld::Ptr door)
pure virtual

open or close a non-teleport door (depending on current state)

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::activateDoor ( const MWWorld::Ptr door,
int  state 
)
pure virtual

update movement state of a non-teleport door as specified

Parameters
statesee MWClass::setDoorState
Note
throws an exception when invoked on a teleport door

Implemented in MWWorld::World.

virtual void MWBase::World::adjustPosition ( const MWWorld::Ptr ptr,
bool  force 
)
pure virtual

Adjust position after load to be on ground. Must be called after model load.

Parameters
forcedo this even if the ptr is flying

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::adjustSky ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::advanceTime ( double  hours,
bool  incremental = false 
)
pure virtual

Advance in-game time.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual osg::Vec3f MWBase::World::aimToTarget ( const MWWorld::ConstPtr actor,
const MWWorld::ConstPtr target 
)
pure virtual

Return a vector aiming the actor's weapon towards a target.

Note
The length of the vector is the distance between actor and target.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::allowVanityMode ( bool  allow)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::breakInvisibility ( const MWWorld::Ptr actor)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::canPlaceObject ( float  cursorX,
float  cursorY 
)
pure virtual
Returns
true if it is possible to place on object at specified cursor location

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::canRest ( )
pure virtual

check if the player is allowed to rest
0 - yes
1 - only waiting
2 - player is underwater
3 - enemies are nearby (not implemented)

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::castRay ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2 
)
pure virtual

cast a Ray and return true if there is an object in the ray path.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::castSpell ( const MWWorld::Ptr actor)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::changeToCell ( const ESM::CellId cellId,
const ESM::Position position,
bool  adjustPlayerPos,
bool  changeEvent = true 
)
pure virtual
Parameters
changeEventIf false, do not trigger cell change flag or detect worldspace changes

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::changeToExteriorCell ( const ESM::Position position,
bool  adjustPlayerPos,
bool  changeEvent = true 
)
pure virtual

Move to exterior cell.

Parameters
changeEventIf false, do not trigger cell change flag or detect worldspace changes

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::changeToInteriorCell ( const std::string &  cellName,
const ESM::Position position,
bool  adjustPlayerPos,
bool  changeEvent = true 
)
pure virtual

Move to interior cell.

Parameters
changeEventIf false, do not trigger cell change flag or detect worldspace changes

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::changeVanityModeScale ( float  factor)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::changeWeather ( const std::string &  region,
const unsigned int  id 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::clear ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::confiscateStolenItems ( const MWWorld::Ptr ptr)
pure virtual

Moves all stolen items from ptr to the closest evidence chest.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::countSavedGameCells ( ) const
pure virtual

Implemented in MWWorld::World.

virtual int MWBase::World::countSavedGameRecords ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const ESM::CreatureLevList* MWBase::World::createOverrideRecord ( const ESM::CreatureLevList record)
pure virtual

Write this record to the ESM store, allowing it to override a pre-existing record with the same ID.

Returns
pointer to created record

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const ESM::ItemLevList* MWBase::World::createOverrideRecord ( const ESM::ItemLevList record)
pure virtual

Write this record to the ESM store, allowing it to override a pre-existing record with the same ID.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Potion* MWBase::World::createRecord ( const ESM::Potion record)
pure virtual

Create a new record (of type potion) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const ESM::Spell* MWBase::World::createRecord ( const ESM::Spell record)
pure virtual

Create a new record (of type spell) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Class* MWBase::World::createRecord ( const ESM::Class record)
pure virtual

Create a new record (of type class) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Cell* MWBase::World::createRecord ( const ESM::Cell record)
pure virtual

Create a new record (of type cell) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::NPC* MWBase::World::createRecord ( const ESM::NPC record)
pure virtual

Create a new record (of type npc) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Armor* MWBase::World::createRecord ( const ESM::Armor record)
pure virtual

Create a new record (of type armor) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Weapon* MWBase::World::createRecord ( const ESM::Weapon record)
pure virtual

Create a new record (of type weapon) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Clothing* MWBase::World::createRecord ( const ESM::Clothing record)
pure virtual

Create a new record (of type clothing) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Enchantment* MWBase::World::createRecord ( const ESM::Enchantment record)
pure virtual

Create a new record (of type enchantment) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual const ESM::Book* MWBase::World::createRecord ( const ESM::Book record)
pure virtual

Create a new record (of type book) in the ESM store.

Returns
pointer to created record

Implemented in MWWorld::World.

virtual void MWBase::World::deleteObject ( const MWWorld::Ptr ptr)
pure virtual
Note
No-op for items in containers. Use ContainerStore::removeItem instead.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::disable ( const MWWorld::Ptr ptr)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::dropObjectOnGround ( const MWWorld::Ptr actor,
const MWWorld::ConstPtr object,
int  amount 
)
pure virtual

copy and place an object into the gameworld at the given actor's position

Parameters
actorgiving the dropped object position
object
numberof objects to place

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::enable ( const MWWorld::Ptr ptr)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::enableActorCollision ( const MWWorld::Ptr actor,
bool  enable 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::enableLevitation ( bool  enable)
pure virtual

Enables or disables use of levitation spell effect.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::enableTeleporting ( bool  enable)
pure virtual

Enables or disables use of teleport spell effects (recall, intervention, etc).

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::explodeSpell ( const osg::Vec3f &  origin,
const ESM::EffectList effects,
const MWWorld::Ptr caster,
const MWWorld::Ptr ignore,
ESM::RangeType  rangeType,
const std::string &  id,
const std::string &  sourceName,
const bool  fromProjectile = false 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::findContainer ( const MWWorld::ConstPtr ptr)
pure virtual

Return a pointer to a liveCellRef which contains ptr.

Note
Search is limited to the active cells.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::findExteriorPosition ( const std::string &  name,
ESM::Position pos 
)
pure virtual

Find default position inside exterior cell specified by name

Returns
false if exterior with given name not exists, true otherwise

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::findInteriorPosition ( const std::string &  name,
ESM::Position pos 
)
pure virtual

Find default position inside interior cell specified by name

Returns
false if interior with given name not exists, true otherwise

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::findInteriorPositionInWorldSpace ( const MWWorld::CellStore cell,
osg::Vec3f &  result 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::fixPosition ( const MWWorld::Ptr actor)
pure virtual

Attempt to fix position so that the Ptr is no longer inside collision geometry.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getActorCollidingWith ( const MWWorld::ConstPtr object)
pure virtual
Returns
true if any actor is colliding with object

Implemented in MWWorld::World.

virtual osg::Matrixf MWBase::World::getActorHeadTransform ( const MWWorld::ConstPtr actor) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getActorStandingOn ( const MWWorld::ConstPtr object)
pure virtual
Returns
true if any actor is standing on object

Implemented in MWWorld::World.

virtual MWRender::Animation* MWBase::World::getAnimation ( const MWWorld::Ptr ptr)
pure virtual
Todo:
Probably shouldn't be here

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const MWRender::Animation* MWBase::World::getAnimation ( const MWWorld::ConstPtr ptr) const
pure virtual

Implemented in MWWorld::World.

virtual MWWorld::CellStore* MWBase::World::getCell ( const ESM::CellId id)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual std::string MWBase::World::getCellName ( const MWWorld::CellStore cell = 0) const
pure virtual

Return name of the cell.

Note
If cell==0, the cell the player is currently in will be used instead to generate a name.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::getContainersOwnedBy ( const MWWorld::ConstPtr npc,
std::vector< MWWorld::Ptr > &  out 
)
pure virtual

get all containers in active cells owned by this Npc

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const std::vector<std::string>& MWBase::World::getContentFiles ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getCurrentWeather ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getDay ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getDistanceToFacedObject ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getDistToNearestRayHit ( const osg::Vec3f &  from,
const osg::Vec3f &  dir,
float  maxDist,
bool  includeWater = false 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::getDoorMarkers ( MWWorld::CellStore cell,
std::vector< DoorMarker > &  out 
)
pure virtual

get a list of teleport door markers for a given cell, to be displayed on the local map

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual std::vector<ESM::ESMReader>& MWBase::World::getEsmReader ( )
pure virtual

Implemented in MWWorld::World.

virtual MWWorld::CellStore* MWBase::World::getExterior ( int  x,
int  y 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const ESM::Cell* MWBase::World::getExterior ( const std::string &  cellName) const
pure virtual

Return a cell matching the given name or a 0-pointer, if there is no such cell.

Implemented in MWWorld::World.

virtual MWWorld::Ptr MWBase::World::getFacedObject ( )
pure virtual

Return pointer to the object the player is looking at, if it is within activation range.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual const Fallback::Map* MWBase::World::getFallback ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getGlobalFloat ( const std::string &  name) const
pure virtual

Get value independently from real type.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getGlobalInt ( const std::string &  name) const
pure virtual

Get value independently from real type.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual char MWBase::World::getGlobalVariableType ( const std::string &  name) const
pure virtual

Return ' ', if there is no global variable with this name.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getGodModeState ( )
pure virtual

Implemented in MWWorld::World.

virtual osg::Vec3f MWBase::World::getHalfExtents ( const MWWorld::ConstPtr actor,
bool  rendering = false 
) const
pure virtual

Return physical or rendering half extents of the given actor.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual std::pair<MWWorld::Ptr,osg::Vec3f> MWBase::World::getHitContact ( const MWWorld::ConstPtr ptr,
float  distance 
)
pure virtual

Returns a pointer to the object the provided object would hit (if within the specified distance), and the point where the hit occurs. This will attempt to use the "Head" node, or alternatively the "Bip01 Head" node as a basis.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getHitDistance ( const MWWorld::ConstPtr actor,
const MWWorld::ConstPtr target 
)
pure virtual

Return the distance between actor's weapon and target's collision box.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::CellStore* MWBase::World::getInterior ( const std::string &  name)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::getItemsOwnedBy ( const MWWorld::ConstPtr npc,
std::vector< MWWorld::Ptr > &  out 
)
pure virtual

get all items in active cells owned by this Npc

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::LocalScripts& MWBase::World::getLocalScripts ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getLOS ( const MWWorld::ConstPtr actor,
const MWWorld::ConstPtr targetActor 
)
pure virtual

get Line of Sight (morrowind stupid implementation)

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getMasserPhase ( ) const
pure virtual

Implemented in MWWorld::World.

virtual float MWBase::World::getMaxActivationDistance ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getMonth ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual std::string MWBase::World::getMonthName ( int  month = -1) const
pure virtual

Return name of month (-1: current month)

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual osg::Vec2f MWBase::World::getNorthVector ( const MWWorld::CellStore cell)
pure virtual

get north vector for given interior cell

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Player& MWBase::World::getPlayer ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getPlayerCollidingWith ( const MWWorld::ConstPtr object)
pure virtual
Returns
true if the player is colliding with object

Implemented in MWWorld::World.

virtual MWWorld::Ptr MWBase::World::getPlayerPtr ( )
pure virtual

Implemented in MWWorld::World.

virtual bool MWBase::World::getPlayerStandingOn ( const MWWorld::ConstPtr object)
pure virtual
Returns
true if the player is standing on object

Implemented in MWWorld::World.

virtual MWWorld::Ptr MWBase::World::getPtr ( const std::string &  name,
bool  activeOnly 
)
pure virtual

Return a pointer to a liveCellRef with the given name.

Parameters
activeOnlydo non search inactive cells.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::getScriptsEnabled ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual int MWBase::World::getSecundaPhase ( ) const
pure virtual

Implemented in MWWorld::World.

virtual const MWWorld::ESMStore& MWBase::World::getStore ( ) const
pure virtual

Implemented in MWWorld::World.

virtual osg::Vec3f MWBase::World::getStormDirection ( ) const
pure virtual
See Also
MWWorld::WeatherManager::getStormDirection

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getTerrainHeightAt ( const osg::Vec3f &  worldPos) const
pure virtual

Return terrain height at worldPos position.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getTimeScaleFactor ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::TimeStamp MWBase::World::getTimeStamp ( ) const
pure virtual

Return current in-game time stamp.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual float MWBase::World::getWindSpeed ( )
pure virtual

Implemented in MWWorld::World.

virtual int MWBase::World::getYear ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::goToJail ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::hasCellChanged ( ) const
pure virtual

Has the set of active cells changed, since the last frame?

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::hurtCollidingActors ( const MWWorld::ConstPtr object,
float  dmgPerSecond 
)
pure virtual

Apply a health difference to any actors colliding with object. To hurt actors, healthPerSecond should be a positive value. For a negative value, actors will be healed.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::hurtStandingActors ( const MWWorld::ConstPtr object,
float  dmgPerSecond 
)
pure virtual

Apply a health difference to any actors standing on object. To hurt actors, healthPerSecond should be a positive value. For a negative value, actors will be healed.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::indexToPosition ( int  cellX,
int  cellY,
float &  x,
float &  y,
bool  centre = false 
) const
pure virtual

Convert cell numbers to position.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isCellExterior ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isCellQuasiExterior ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isDark ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isFirstPerson ( ) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isFlying ( const MWWorld::Ptr ptr) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isInStorm ( ) const
pure virtual
virtual bool MWBase::World::isLevitationEnabled ( ) const
pure virtual

Returns true if levitation spell effect is allowed.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isOnGround ( const MWWorld::Ptr ptr) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isPlayerInJail ( ) const
pure virtual

Implemented in MWWorld::World.

virtual bool MWBase::World::isSlowFalling ( const MWWorld::Ptr ptr) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isSubmerged ( const MWWorld::ConstPtr object) const
pure virtual

Is the head of the creature underwater?

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isSwimming ( const MWWorld::ConstPtr object) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isTeleportingEnabled ( ) const
pure virtual

Returns true if teleport spell effects are allowed.

Implemented in MWWorld::World.

virtual bool MWBase::World::isUnderwater ( const MWWorld::CellStore cell,
const osg::Vec3f &  pos 
) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isWading ( const MWWorld::ConstPtr object) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isWalkingOnWater ( const MWWorld::ConstPtr actor) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::isWaterWalkingCastableOnTarget ( const MWWorld::ConstPtr target) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::launchMagicBolt ( const std::string &  spellId,
bool  stack,
const ESM::EffectList effects,
const MWWorld::Ptr caster,
const std::string &  sourceName,
const osg::Vec3f &  fallbackDirection 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::launchProjectile ( MWWorld::Ptr  actor,
MWWorld::ConstPtr  projectile,
const osg::Vec3f &  worldPos,
const osg::Quat &  orient,
MWWorld::Ptr  bow,
float  speed,
float  attackStrength 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::listDetectedReferences ( const MWWorld::Ptr ptr,
std::vector< MWWorld::Ptr > &  out,
DetectionType  type 
)
pure virtual

List all references (filtered by type) detected by ptr. The range is determined by the current magnitude of the "Detect X" magic effect belonging to type.

Note
This also works for references in containers.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::markCellAsUnchanged ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::modRegion ( const std::string &  regionid,
const std::vector< char > &  chances 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::moveObject ( const MWWorld::Ptr ptr,
float  x,
float  y,
float  z 
)
pure virtual
Returns
an updated Ptr in case the Ptr's cell changes

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::moveObject ( const MWWorld::Ptr ptr,
MWWorld::CellStore newCell,
float  x,
float  y,
float  z,
bool  movePhysics = true 
)
pure virtual
Returns
an updated Ptr

Implemented in MWWorld::World.

World& MWBase::World::operator= ( const World )
private

not implemented

virtual MWWorld::Ptr MWBase::World::placeObject ( const MWWorld::ConstPtr ptr,
MWWorld::CellStore cell,
ESM::Position  pos 
)
pure virtual

Place an object. Makes a copy of the Ptr.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::placeObject ( const MWWorld::ConstPtr object,
float  cursorX,
float  cursorY,
int  amount 
)
pure virtual

copy and place an object into the gameworld at the specified cursor position

Parameters
object
cursorX (relative 0-1)
cursorY (relative 0-1)
numberof objects to place

Implemented in MWWorld::World.

virtual void MWBase::World::positionToIndex ( float  x,
float  y,
int cellX,
int cellY 
) const
pure virtual

Convert position to cell numbers.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::preloadCommonAssets ( )
pure virtual

Implemented in MWWorld::World.

virtual void MWBase::World::processChangedSettings ( const std::set< std::pair< std::string, std::string > > &  settings)
pure virtual

Here is the caller graph for this function:

virtual void MWBase::World::queueMovement ( const MWWorld::Ptr ptr,
const osg::Vec3f &  velocity 
)
pure virtual

Queues movement for ptr (in local space), to be applied in the next call to doPhysics.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::readRecord ( ESM::ESMReader reader,
uint32_t  type,
const std::map< int, int > &  contentFileMap 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::reattachPlayerCamera ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::removeContainerScripts ( const MWWorld::Ptr reference)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::removeRefScript ( MWWorld::RefData ref)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::renderPlayer ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::resetActors ( )
pure virtual

Resets all actors in the current active cells to their original location within that cell.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::rotateObject ( const MWWorld::Ptr ptr,
float  x,
float  y,
float  z,
bool  adjust = false 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::safePlaceObject ( const MWWorld::ConstPtr ptr,
const MWWorld::ConstPtr referenceObject,
MWWorld::CellStore referenceCell,
int  direction,
float  distance 
)
pure virtual

Place an object in a safe place next to referenceObject. direction and distance specify the wanted placement relative to referenceObject (but the object may be placed somewhere else if the wanted location is obstructed).

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::scaleObject ( const MWWorld::Ptr ptr,
float  scale 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::screenshot ( osg::Image *  image,
int  w,
int  h 
)
pure virtual
Todo:
this does not belong here

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::searchPtr ( const std::string &  name,
bool  activeOnly 
)
pure virtual

Return a pointer to a liveCellRef with the given name.

Parameters
activeOnlydo non search inactive cells.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual MWWorld::Ptr MWBase::World::searchPtrViaActorId ( int  actorId)
pure virtual

Search is limited to the active cells.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setCameraDistance ( float  dist,
bool  adjust = false,
bool  override = true 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setDay ( int  day)
pure virtual

Set in-game time day.

Implemented in MWWorld::World.

virtual void MWBase::World::setGlobalFloat ( const std::string &  name,
float  value 
)
pure virtual

Set value independently from real type.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setGlobalInt ( const std::string &  name,
int  value 
)
pure virtual

Set value independently from real type.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setHour ( double  hour)
pure virtual

Set in-game time hour.

Implemented in MWWorld::World.

virtual void MWBase::World::setMonth ( int  month)
pure virtual

Set in-game time month.

Implemented in MWWorld::World.

virtual void MWBase::World::setMoonColour ( bool  red)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setupPlayer ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::setWaterHeight ( const float  height)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::spawnBloodEffect ( const MWWorld::Ptr ptr,
const osg::Vec3f &  worldPosition 
)
pure virtual

Spawn a blood effect for ptr at worldPosition.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::spawnEffect ( const std::string &  model,
const std::string &  textureOverride,
const osg::Vec3f &  worldPos 
)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::spawnRandomCreature ( const std::string &  creatureList)
pure virtual

Spawn a random creature from a levelled list next to the player.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::startNewGame ( bool  bypass)
pure virtual
Parameters
bypassBypass regular game start.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::startSpellCast ( const MWWorld::Ptr actor)
pure virtual

startSpellCast attempt to start casting a spell. Might fail immediately if conditions are not met.

Parameters
actor
Returns
true if the spell can be casted (i.e. the animation should start)

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::teleportToClosestMarker ( const MWWorld::Ptr ptr,
const std::string &  id 
)
pure virtual

Teleports ptr to the closest reference of id (e.g. DivineMarker, PrisonMarker, TempleMarker)

Note
id must be lower case

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleCollisionMode ( )
pure virtual

Toggle collision mode for player. If disabled player object should ignore collisions and gravity.

Returns
Resulting mode

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleGodMode ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::togglePlayerLooking ( bool  enable)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::togglePOV ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::togglePreviewMode ( bool  enable)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleRenderMode ( MWRender::RenderMode  mode)
pure virtual

Toggle a render mode.

Returns
Resulting mode

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleScripts ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleSky ( )
pure virtual
Returns
Resulting mode

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleVanityMode ( bool  enable)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::toggleWater ( )
pure virtual

Implemented in MWWorld::World.

virtual bool MWBase::World::toggleWorld ( )
pure virtual

Implemented in MWWorld::World.

virtual void MWBase::World::undeleteObject ( const MWWorld::Ptr ptr)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::update ( float  duration,
bool  paused 
)
pure virtual

Implemented in MWWorld::World.

virtual void MWBase::World::updateDialogueGlobals ( )
pure virtual

Update the value of some globals according to the world state, which may be used by dialogue entries. This should be called when initiating a dialogue.

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::useDeathCamera ( )
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual bool MWBase::World::vanityRotateCamera ( float *  rot)
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:

virtual void MWBase::World::write ( ESM::ESMWriter writer,
Loading::Listener listener 
) const
pure virtual

Implemented in MWWorld::World.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: