se_core Namespace Reference

The game simulation engine. More...


Classes

class  se_core::Component
 Base class for functionality composites. More...
class  se_core::Component::ComponentPtr< T, type >
 Convenience pointer template with built in component conversion. More...
class  se_core::ComponentFactory
class  se_core::Composite
class  se_core::CompositeFactory
class  se_core::CompositeFactory::Generic
class  se_core::ComponentList
class  se_core::ComponentList::Iterator
class  se_core::CompositeList
class  se_core::CompositeList::Iterator
class  se_core::CompositeList::TreeIterator
class  se_core::NodeComponentList
class  se_core::NodeComponentList::Iterator
class  se_core::NodeComponentList::TreeIterator
class  se_core::ObjectList
class  se_core::ObjectList::Iterator
class  se_core::ObjectRepository
class  se_core::AreaChildComponent
 Container class for SimObjects that exists in the game world. More...
class  se_core::NodeComponent
 Container class for Objects that exists in the game world. More...
class  se_core::RootChildComponent
 Compnent that registers itself as a child of CompSchema::activeRoot() nodes when active. More...
class  se_core::RootComponent
 Base class for functionality component managers. More...
class  se_core::Object
 Base class for important game entities. More...
class  se_core::RefPtr< T >
class  se_core::RefPtr< T >::Ptr
class  se_core::EncodeManager
 Save file encoders. More...
class  se_core::Encoder
 Base class for encoder modules. More...
class  se_core::CollisionComponentParser
class  se_core::ComponentParser
class  se_core::PhysicsComponentParser
class  se_core::ScriptComponentParser
class  se_core::SpawnComponentParser
class  se_core::StatComponentParser
class  se_core::ZoneAreaComponentParser
class  se_core::ZoneComponentParser
class  se_core::CompositeParser
class  se_core::CutsceneParser
class  se_core::DictionaryParser
class  se_core::EmbeddedParser
class  se_core::ParseManager
class  se_core::Parser
class  se_core::BinaryInputStream
class  se_core::FileManager
 File system base class. More...
class  se_core::InputStream
 Input streaming base class. More...
class  se_core::OutputStream
class  se_core::TextInputStream
class  se_core::Action
 Base class for actions. More...
class  se_core::Parameter
class  se_core::ActionAndParameter
class  se_core::ActionComponent
 Base class for actions. More...
class  se_core::ActionFeed
 Base class for scripts. More...
class  se_core::ActionManager
 Base class for functionality component managers. More...
class  se_core::ActionQueue
 The action queue stores who is about to perform actions. More...
class  se_core::ActorList
class  se_core::Idle
class  se_core::Area
class  se_core::AreaFactory
class  se_core::AreaManager
class  se_core::Abilities
class  se_core::Health
class  se_core::StatComponent
class  se_core::StatComponentFactory
class  se_core::CutsceneAreaComponent
class  se_core::CutsceneAreaComponentFactory
class  se_core::CutsceneComponent
class  se_core::CutsceneComponentFactory
class  se_core::CutsceneManager
 Base class for functionality component managers. More...
class  se_core::InitListener
 The Engine will never call higher level system modules. More...
class  se_core::InitListeners
class  se_core::Ambience
class  se_core::MessageCentral
 Speech message handling manager. More...
class  se_core::MessageListener
class  se_core::SoundCentral
 Sound message handling manager. More...
class  se_core::SoundListener
class  se_core::Move
struct  se_core::Move::WorkVars
class  se_core::PhDefault
 A default movement formula. More...
class  se_core::Physics
class  se_core::PhysicsAreaComponent
class  se_core::PhysicsComponent
class  se_core::PhysicsComponentFactory
class  se_core::PhysicsManager
 Base class for functionality component managers. More...
class  se_core::PhysicsUtil
class  se_core::Anim
class  se_core::Pos
 Position, movement and volume info. More...
class  se_core::PosComponent
 Parent class for entities that exists in and has a position in the game world. More...
class  se_core::AreaEdge
 Base reaction class for actor vs thing collisions. More...
class  se_core::CoDefault
class  se_core::Contact
class  se_core::CollisionAreaComponent
class  se_core::CollisionComponent
class  se_core::CollisionComponentFactory
struct  se_core::CollisionGridCollisionComponentList
class  se_core::CollisionGrid
class  se_core::CollisionManager
 Base class for functionality component managers. More...
class  se_core::CoNone
struct  se_core::ContactInfo
class  se_core::DefaultTC
class  se_core::ThingCollide
 Base reaction class for actor vs thing collisions. More...
class  se_core::CustomScript
class  se_core::Cutscene
class  se_core::QuestGoal
class  se_core::ReentrantData
class  se_core::ReentrantScript
class  se_core::ScriptData
 Base class for script data. More...
class  se_core::Script
 Base class for scripts. More...
class  se_core::ScriptComponent
class  se_core::ScriptComponentFactory
class  se_core::ScriptManager
 Base class for functionality component managers. More...
class  se_core::ShowingCutscene
class  se_core::TimelineScript
class  se_core::Signal
class  se_core::SignalAreaComponent
class  se_core::SignalComponent
class  se_core::SignalComponentFactory
class  se_core::SignalManager
 Base class for functionality component managers. More...
class  se_core::SimEngine
 SimEngine is the main manager class for the simulation engine. More...
class  se_core::SimListener
 The Engine will never call higher level system modules. More...
class  se_core::SimListeners
class  se_core::SpawnAreaComponent
class  se_core::SpawnAreaComponentFactory
class  se_core::SpawnComponent
class  se_core::SpawnComponentFactory
class  se_core::SpawnManager
 Base class for functionality component managers. More...
class  se_core::Dictionary
class  se_core::DictionaryEntry
class  se_core::HealthListener
class  se_core::HealthListeners
class  se_core::Property
class  se_core::PropertyHashTable
class  se_core::Actor
 An actor is an in-game thing that may perform Action()s. More...
class  se_core::ActorFactory
class  se_core::Exit
class  se_core::Page
class  se_core::ZoneAreaComponent
class  se_core::ZoneAreaComponentFactory
class  se_core::ZoneComponent
class  se_core::ZoneComponentFactory
class  se_core::ZoneManager
 Base class for functionality component managers. More...
class  se_core::BoundingBox
class  se_core::BoundingCylinder
class  se_core::BoundingSquare
class  se_core::StopWatch
class  se_core::BrayT
class  se_core::CoorT
class  se_core::FixedPoint
class  se_core::Math
class  se_core::QuatT
class  se_core::ScaleT
class  se_core::Trig
class  se_core::Perlin
class  se_core::PortableClock
class  se_core::RealClock
class  se_core::Task
class  se_core::TaskList
class  se_core::HashTable< T, poolSize >
class  se_core::HashTable< T, poolSize >::HashTableNode
struct  se_core::HashTable< T, poolSize >::NodeList
class  se_core::SinglyLinkedList< ElementType, maxElements, xid >
 Singly linked list manager. More...
class  se_core::ByteArray
 Simple byte array container. More...
class  se_core::FloatArray
 Simple float array container. More...
class  se_core::ShortArray
 Simple short array container. More...
class  se_core::String
 Simple string container. More...
class  se_core::TmpString
 Temporary string. More...
class  se_core::AxisAngle4
 A 4 element axis angle represented by x,y,z,angle components. More...
class  se_core::Euler3
 A generic 3 element angle that is represented by yaw_, pitch_ and roll_ angles. More...
class  se_core::Point2
 A 2 element point that is represented by x,y coordinates. More...
class  se_core::Point3
 A 3 element point that is represented by x,y,z coordinates. More...
class  se_core::Point4
 A 4 element point that is represented x,y,z,w coordinates. More...
class  se_core::Quat4
 A 4 element quaternion represented by x,y,z,w coordinates. More...
class  se_core::Tuple2
 A generic 2 element tuple that is represented by point x,y coordinates. More...
class  se_core::Tuple3
 A 3 element tuple that is represented by x,y and z coordinates. More...
class  se_core::Tuple4
 A generic 4 element tuple that is represented by x,y,z and w coordinates. More...
class  se_core::Vector2
 A 2 element vector that is represented by x,y coordinates. More...
class  se_core::Vector3
 A 3 element vector that is represented by x,y,z coordinates. More...
class  se_core::Vector4
 A 4 element vector that is represented by x,y,z,w coordinates. More...
class  se_core::ViewPoint
class  se_core::O3dClock

Typedefs

typedef SinglyLinkedList<
class ActionComponent, 2048, 1 > 
AL
typedef SinglyLinkedList<
class CollisionComponent,
MAX_GAME_OBJECTS, 243 > 
CGTL

Enumerations

enum  CompositeType {
  st_MANAGER, st_LEVEL, st_AREA, st_ACTOR,
  st_USER, st_SUBTYPE_COUNT
}
enum  ZoneType {
  zt_ROOT, zt_LEVEL, zt_AREA, zt_THING,
  zt_USER, zt_ZONETYPE_COUNT
}
enum  ActionChannel { CHANNEL_DIRECTION, CHANNEL_MOVEMENT, CHANNEL_EXTRA, CHANNEL_COUNT }
 Action channels. More...
enum  DictonaryType {
  DE_DICTIONARY_TYPE, DE_COMPONENT_TYPE, DE_PROPERTY_TYPE, DE_ZONE,
  DE_THING_TYPE, DE_TAG, DE_SUBSTANCE, DE_MOVEMENT_MODE,
  DE_TERRAIN_STYLE, DE_SOUND_TYPE, DE_PHRASE_TYPE, DE_FIRST_USER_TYPE
}
enum  SimObjectType {
  got_SIM_OBJECT, got_SIGNAL, got_ACTION, got_PHYSICS,
  got_SIM_COMPOSITE, got_AREA, got_TRIMAP_AREA, got_HEIGHTMAP_AREA,
  got_TERRAIN, got_POS_NODE, got_THING, got_ACTOR,
  got_CAMERA, got_PLAYER, got_SCRIPT, got_CUTSCENE,
  got_QUEST_GOAL, got_NUMBER_OF_TYPES, got_THING_COLLIDE, got_AMBIENCE,
  got_USER_DEFINED
}
enum  SimComponentType {
  sct_UNDEFINED, sct_BLOB, sct_POS, sct_ZONE,
  sct_PHYSICS, sct_COLLISION, sct_ACTION, sct_SCRIPT,
  sct_SPAWN, sct_STAT, sct_SIGNAL, sct_RENDER,
  sct_SOUND, sct_NAVMESH, sct_ODE, sct_PLAYER,
  sct_CAMERA, sct_PLAYER_LOGIC, sct_LOGIC, sct_UI,
  sct_CUTSCENE, sct_EDITOR, sct_NODE
}

Functions

se_err::Logoperator<< (se_err::Log &log, const Object &o)
bool _testCollision (CollisionComponent &cc1, CollisionComponent &cc2)
bool _testCollision2 (CollisionComponent &cc1, CollisionComponent &cc2)
 DebugExec (int ScriptData::refCount=0)
se_err::Logoperator<< (se_err::Log &log, const BoundingBox &b)
se_err::Logoperator<< (se_err::Log &log, const BoundingCylinder &b)
se_err::Logoperator<< (se_err::Log &log, const Euler3 &t)
se_err::Logoperator<< (se_err::Log &log, const Tuple2 &t)
se_err::Logoperator<< (se_err::Log &log, const Tuple3 &t)
se_err::Logoperator<< (se_err::Log &log, const ViewPoint &vp)
bool initSagaEngine (const char *appName)
void cleanupSagaEngine ()

Variables

const CollisionComponentParser parserCollisionComponent
const PhysicsComponentParser parserPhysicsComponent
const ScriptComponentParser parserScriptComponent
const SpawnComponentParser parserSpawnComponent
const StatComponentParser parserStatComponent
const ZoneAreaComponentParser parserZoneAreaComponent
const ZoneComponentParser parserZoneComponent
const Idle actionIdle
const int MAX_GAME_TYPES = SE_MAX_GT
const int MAX_GAME_OBJECTS = SE_MAX_GO
const short TIMESTEP_INTERVAL_SHIFT = SE_STEP_SHIFT
const long TIMESTEP_INTERVAL = 1L << TIMESTEP_INTERVAL_SHIFT
const long TIMESTEPS_PER_SECOND = 1024L >> TIMESTEP_INTERVAL_SHIFT
const float COOR_STEP = COOR_RES / TIMESTEPS_PER_SECOND
const scale_t SCALE_STEP = SCALE_RES / TIMESTEPS_PER_SECOND
const PhDefault physicsDefault
const CoDefault coDefault
const CoNone coNone
const DefaultTC tcDefault


Detailed Description

The game simulation engine.

This is the core of SagaEngine.


Typedef Documentation

typedef SinglyLinkedList<class ActionComponent, 2048, 1> se_core::AL
 

Definition at line 29 of file ActorList.hpp.

Referenced by se_core::ActorList::ActorList().

typedef SinglyLinkedList<class CollisionComponent, MAX_GAME_OBJECTS, 243> se_core::CGTL
 

Definition at line 42 of file CollisionGrid.hpp.

Referenced by se_core::CollisionGridCollisionComponentList::CollisionGridCollisionComponentList().


Enumeration Type Documentation

enum ActionChannel
 

Action channels.

Each action is performed in one of several channels. An actor may have only one Action in each channel in the ActionQueue, but it may have actions that are performed in several channels.

Enumeration values:
CHANNEL_DIRECTION 
CHANNEL_MOVEMENT 
CHANNEL_EXTRA 
CHANNEL_COUNT 

Definition at line 33 of file sim_action.hpp.

enum CompositeType
 

Enumeration values:
st_MANAGER 
st_LEVEL 
st_AREA 
st_ACTOR 
st_USER 
st_SUBTYPE_COUNT 

Definition at line 34 of file comp.hpp.

enum DictonaryType
 

Enumeration values:
DE_DICTIONARY_TYPE 
DE_COMPONENT_TYPE 
DE_PROPERTY_TYPE 
DE_ZONE 
DE_THING_TYPE 
DE_TAG 
DE_SUBSTANCE 
DE_MOVEMENT_MODE 
DE_TERRAIN_STYLE 
DE_SOUND_TYPE 
DE_PHRASE_TYPE 
DE_FIRST_USER_TYPE 

Definition at line 73 of file sim_config.hpp.

enum SimComponentType
 

Enumeration values:
sct_UNDEFINED 
sct_BLOB 
sct_POS 
sct_ZONE 
sct_PHYSICS 
sct_COLLISION 
sct_ACTION 
sct_SCRIPT 
sct_SPAWN 
sct_STAT 
sct_SIGNAL 
sct_RENDER 
sct_SOUND 
sct_NAVMESH 
sct_ODE 
sct_PLAYER 
sct_CAMERA 
sct_PLAYER_LOGIC 
sct_LOGIC 
sct_UI 
sct_CUTSCENE 
sct_EDITOR 
sct_NODE 

Definition at line 43 of file sim.hpp.

enum SimObjectType
 

Enumeration values:
got_SIM_OBJECT 
got_SIGNAL 
got_ACTION 
got_PHYSICS 
got_SIM_COMPOSITE 
got_AREA 
got_TRIMAP_AREA 
got_HEIGHTMAP_AREA 
got_TERRAIN 
got_POS_NODE 
got_THING 
got_ACTOR 
got_CAMERA 
got_PLAYER 
got_SCRIPT 
got_CUTSCENE 
got_QUEST_GOAL 
got_NUMBER_OF_TYPES 
got_THING_COLLIDE 
got_AMBIENCE 
got_USER_DEFINED 

Definition at line 33 of file sim.hpp.

enum ZoneType
 

Enumeration values:
zt_ROOT 
zt_LEVEL 
zt_AREA 
zt_THING 
zt_USER 
zt_ZONETYPE_COUNT 

Definition at line 31 of file comp_node.hpp.


Function Documentation

bool _testCollision CollisionComponent &  cc1,
CollisionComponent &  cc2
[inline]
 

cc1.isDead() && !cc2.isDead();

Definition at line 137 of file CollisionAreaComponent.cpp.

References se_core::CollisionComponent::areaCovered(), se_core::CollisionComponent::doesGeometryCollide(), se_core::BoundingBox::isTouching(), and se_core::CollisionComponent::shouldIgnore().

Referenced by se_core::CollisionAreaComponent::_testCollisionCandidates(), and se_core::CollisionAreaComponent::_testCollisionCandidates2().

bool _testCollision2 CollisionComponent &  cc1,
CollisionComponent &  cc2
[inline]
 

Definition at line 154 of file CollisionAreaComponent.cpp.

References se_core::CollisionComponent::doesGeometryCollide(), and se_core::CollisionComponent::shouldIgnore().

void cleanupSagaEngine  )  [inline]
 

Definition at line 105 of file se_core.hpp.

References se_core::IoSchema::cleanup().

DebugExec int ScriptData::refCount  = 0  ) 
 

bool initSagaEngine const char *  appName  )  [inline]
 

Definition at line 94 of file se_core.hpp.

References se_core::IoSchema::init().

se_err::Log & se_core::operator<< se_err::Log log,
const ViewPoint &  vp
 

Definition at line 30 of file ViewPoint.cpp.

References se_core::ViewPoint::coor_, and se_core::ViewPoint::face_.

se_err::Log & se_core::operator<< se_err::Log log,
const Tuple3 &  b
 

Definition at line 15 of file Tuple3.cpp.

References se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_.

se_err::Log & se_core::operator<< se_err::Log log,
const Tuple2 &  b
 

Definition at line 26 of file Tuple2.cpp.

References se_core::Tuple2::x_, and se_core::Tuple2::y_.

se_err::Log & se_core::operator<< se_err::Log log,
const Euler3 &  t
 

Definition at line 22 of file Euler3.cpp.

References se_err::Log::copy(), se_err::Log::tmp(), and se_core::Euler3::toString().

se_err::Log & se_core::operator<< se_err::Log log,
const BoundingCylinder &  b
 

Definition at line 56 of file BoundingCylinder.cpp.

References se_core::BoundingCylinder::centerX_, se_core::BoundingCylinder::centerZ_, se_err::Log::copy(), se_core::BoundingCylinder::maxY_, se_core::BoundingCylinder::minY_, se_core::BoundingCylinder::radius_, and se_err::Log::tmp().

se_err::Log & se_core::operator<< se_err::Log log,
const BoundingBox &  b
 

Definition at line 26 of file BoundingBox.cpp.

References se_err::Log::copy(), se_core::BoundingBox::maxX_, se_core::BoundingBox::maxY_, se_core::BoundingBox::maxZ_, se_core::BoundingBox::minX_, se_core::BoundingBox::minY_, se_core::BoundingBox::minZ_, and se_err::Log::tmp().

se_err::Log & se_core::operator<< se_err::Log log,
const Object &  b
 

Definition at line 61 of file Object.cpp.

References se_core::Object::id(), se_core::Object::name(), and se_core::Object::type().


Variable Documentation

_SeCoreExport const Idle se_core::actionIdle
 

Definition at line 25 of file Idle.cpp.

_SeCoreExport const CoDefault se_core::coDefault
 

Definition at line 277 of file CoDefault.cpp.

_SeCoreExport const CoNone se_core::coNone
 

Definition at line 39 of file CoNone.cpp.

const float se_core::COOR_STEP = COOR_RES / TIMESTEPS_PER_SECOND
 

Definition at line 65 of file sim_config.hpp.

Referenced by se_core::DefaultTC::slide(), se_core::CoDefault::slide(), and se_core::StatComponent::walkSpeed().

const int se_core::MAX_GAME_OBJECTS = SE_MAX_GO
 

Definition at line 45 of file sim_config.hpp.

const int se_core::MAX_GAME_TYPES = SE_MAX_GT
 

Definition at line 44 of file sim_config.hpp.

_SeCoreExport const CollisionComponentParser se_core::parserCollisionComponent
 

Definition at line 35 of file CollisionComponentParser.cpp.

_SeCoreExport const PhysicsComponentParser se_core::parserPhysicsComponent
 

Definition at line 34 of file PhysicsComponentParser.cpp.

_SeCoreExport const ScriptComponentParser se_core::parserScriptComponent
 

Definition at line 34 of file ScriptComponentParser.cpp.

_SeCoreExport const SpawnComponentParser se_core::parserSpawnComponent
 

Definition at line 34 of file SpawnComponentParser.cpp.

_SeCoreExport const StatComponentParser se_core::parserStatComponent
 

Definition at line 34 of file StatComponentParser.cpp.

_SeCoreExport const ZoneAreaComponentParser se_core::parserZoneAreaComponent
 

Definition at line 35 of file ZoneAreaComponentParser.cpp.

_SeCoreExport const ZoneComponentParser se_core::parserZoneComponent
 

Definition at line 35 of file ZoneComponentParser.cpp.

_SeCoreExport const PhDefault se_core::physicsDefault
 

Definition at line 29 of file PhDefault.cpp.

const scale_t se_core::SCALE_STEP = SCALE_RES / TIMESTEPS_PER_SECOND
 

Definition at line 66 of file sim_config.hpp.

Referenced by se_core::Move::Move().

_SeCoreExport const DefaultTC se_core::tcDefault
 

Definition at line 277 of file DefaultTC.cpp.

const long se_core::TIMESTEP_INTERVAL = 1L << TIMESTEP_INTERVAL_SHIFT
 

Definition at line 62 of file sim_config.hpp.

Referenced by se_core::PhysicsManager::step().

const short se_core::TIMESTEP_INTERVAL_SHIFT = SE_STEP_SHIFT
 

Definition at line 60 of file sim_config.hpp.

const long se_core::TIMESTEPS_PER_SECOND = 1024L >> TIMESTEP_INTERVAL_SHIFT
 

Definition at line 63 of file sim_config.hpp.


Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:22 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo