Stage Class Reference
#include <Stage.h>
Inheritance diagram for Stage:
# Public Types | |
| typedef const StageSpec | StageROMSpec |
# Public Member Functions | |
| void | constructor (StageSpec *stageSpec) |
| override void | suspend () |
| Prepare to suspend this instance's logic. | |
| override void | resume () |
| Prepare to resume this instance's logic. | |
| const StageSpec * | getSpec () |
| void | configureTimer () |
| Configure the timer. | |
| void | setPalettes () |
| Configure the color palettes. | |
| PaletteConfig | getPaletteConfig () |
| void | registerActors (VirtualList positionedActorsToIgnore) |
| Register the stage's spec actors in the streaming list. | |
| void | addActorLoadingListener (ListenerObject listener) |
| Actor | spawnChildActor (const PositionedActor *const positionedActor, bool permanent) |
| void | destroyChildActor (Actor child) |
| void | streamAll () |
| Stream in or/and out all pending actors. | |
| VirtualList | getSounds () |
| void | fadeSounds (uint32 playbackType) |
| void | print (int32 x, int32 y) |
| virtual bool | stream () |
| Stream in or out actors within or outside the camera's range. | |
| virtual void | configure (VirtualList positionedActorsToIgnore) |
# Protected Attributes | |
| StageSpec * | stageSpec |
| Pointer to the spec that defines how to initialize the stage. | |
| ActorFactory | actorFactory |
| Factory to create this actor's children. | |
| VirtualList | stageActorDescriptions |
| VirtualNode | streamingHeadNode |
| Pivot node for streaming. | |
| VirtualList | sounds |
| VirtualList | actorLoadingListeners |
| List of listeners for actor loading. | |
| int32 | streamingPhase |
| Index for streaming method to execute in the current game cycle. | |
| uint16 | streamingAmplitude |
| Amount of actor descriptions to check for streaming in entitis. | |
| Actor | focusActor |
| int16 | nextActorId |
| Next ID to use for new actors. | |
| bool | reverseStreaming |
| Flag to determine the direction of the stream in. | |
| Transformation | cameraTransformation |
| Cache of the camera's transformation for resuming the game. | |
# Private Member Functions | |
| bool | unloadOutOfRangeActors (int32 defer) |
| bool | loadInRangeActors (int32 defer) |
Private Member Functions inherited from Container | |
| void | constructor (int16 internalId, const char *const name) |
| override void | setDirection (const Vector3D *direction) |
| override void | show () |
| Make this instance visible. | |
| override void | hide () |
| Make this instance invisible. | |
| override void | setTransparency (uint8 transparency) |
| override void | setPosition (const Vector3D *position) |
| override void | setRotation (const Rotation *rotation) |
| override void | setScale (const Scale *scale) |
| void | setNormalizedDirection (NormalizedDirection normalizedDirection) |
| NormalizedDirection | getNormalizedDirection () |
| void | deleteMyself () |
| int16 | getInternalId () |
| void | setName (const char *const name) |
| const char * | getName () |
| void | streamOut (bool streamOut) |
| Container | getParent () |
| void | addChild (Container child) |
| void | removeChild (Container child, bool deleteChild) |
| void | purgeChildren () |
| Force the destruction of all children marked to be deleted. | |
| bool | getChildren (ClassPointer classPointer, VirtualList children) |
| Container | getChildById (int16 id) |
| Container | getChildByName (const char *childName, bool recursive) |
| Container | getChildAtPosition (int16 position) |
| int32 | getChildrenCount () |
| Container | getFirstAncestor () |
| Container | getRelativeByName (const char *relativeName) |
| void | updateChildren () |
| Update the children of this container. | |
| void | invalidateTransformation () |
| void | transformChildren (uint8 invalidateTransformationFlag) |
| void | propagateCommand (uint32 command,...) |
| bool | propagateMessage (bool(*propagatedMessageHandler)(void *, va_list),...) |
| bool | onPropagatedMessage (va_list args) |
| bool | propagateString (bool(*propagatedMessageHandler)(void *, va_list),...) |
| bool | onPropagatedString (va_list args) |
| void | translate (const Vector3D *translation) |
| void | rotate (const Rotation *rotation) |
| void | scale (const Scale *scale) |
| const Vector3D * | getLocalPosition () |
| const Rotation * | getLocalRotation () |
| const Scale * | getLocalScale () |
| virtual void | setLocalPosition (const Vector3D *position) |
| virtual void | setLocalRotation (const Rotation *rotation) |
| virtual void | setLocalScale (const Scale *scale) |
| virtual void | ready (bool recursive) |
| virtual void | transform (const Transformation *environmentTransform, uint8 invalidateTransformationFlag) |
| virtual void | update () |
| Update this instance's logic. | |
| virtual void | handleCommand (int32 command, va_list args) |
| virtual bool | handlePropagatedMessage (int32 message) |
| virtual bool | handlePropagatedString (const char *string) |
# Additional Inherited Members | |
Private Attributes inherited from Container | |
| Container | parent |
| Container of which this one is a child. | |
| VirtualList | children |
| Transformation | localTransformation |
| 3D local transformation | |
| char * | name |
| Container's name. | |
| int16 | internalId |
| Container's internal id, set by the engine. | |
| bool | deleteMe |
| If true, the parent will delete this container when appropriate. | |
| bool | ready |
| bool | dontStreamOut |
| bool | hidden |
| Flag to mark the container (and its children) as non visible. | |
| int8 | axisForSynchronizationWithBody |
| Axises around which to rotate the container when syncronizing with body. | |
# Detailed Description
# Member Typedef Documentation
# StageROMSpec
| typedef const StageSpec StageROMSpec |
# Member Function Documentation
# addActorLoadingListener()
| void Stage::addActorLoadingListener | ( | ListenerObject | listener | ) |
# configure()
|
virtual |
# setPalettes()
# configureTimer()
| void Stage::configureTimer | ( | ) |
Configure the timer.
# constructor()
| void Stage::constructor | ( | StageSpec * | stageSpec | ) |
# destroyChildActor()
| void Stage::destroyChildActor | ( | Actor | child | ) |
# fadeSounds()
| void Stage::fadeSounds | ( | uint32 | playbackType | ) |
# getPaletteConfig()
| PaletteConfig Stage::getPaletteConfig | ( | ) |
# getSounds()
| VirtualList Stage::getSounds | ( | ) |
# getSpec()
| const StageSpec * Stage::getSpec | ( | ) |
# loadInRangeActors()
# print()
# registerActors()
| void Stage::registerActors | ( | VirtualList | positionedActorsToIgnore | ) |
# resume()
|
virtual |
# spawnChildActor()
| Actor Stage::spawnChildActor | ( | const PositionedActor *const | positionedActor, |
| bool | permanent ) |
# stream()
|
virtual |
# streamAll()
| void Stage::streamAll | ( | ) |
# suspend()
|
virtual |
# unloadOutOfRangeActors()
# Member Data Documentation
# actorFactory
|
protected |
# actorLoadingListeners
|
protected |
# cameraTransformation
|
protected |
# focusActor
|
protected |
# nextActorId
|
protected |
# reverseStreaming
|
protected |
# sounds
|
protected |
# stageActorDescriptions
|
protected |
# stageSpec
|
protected |
# streamingAmplitude
|
protected |
# streamingHeadNode
|
protected |
# streamingPhase
|
protected |
The documentation for this class was generated from the following files:
Private Member Functions inherited from