se_ogre::O3dThingParser Class Reference

#include <O3dThingParser.hpp>

Inheritance diagram for se_ogre::O3dThingParser:

se_core::Parser List of all members.

Public Types

enum  ModuleCode {
  AREA = 'A', AREA_THINGS = 'B', RANDOM_AREA_THINGS = 'C', DICTIONARY = 'D',
  EMBEDDED = 'E', CONFIG = 'F', AREA_GRID = 'G', HEIGHTMAP_AREA = 'H',
  LANGUAGE = 'L', MENU = 'M', THING = 'O', SPEECH_POSITION = 'P',
  RANDOM_AREA = 'R', CUTSCENE = 'S', TERRAIN = 'T', PLAYER = 'X',
  PLUGIN = 'Z', SETTINGS = 'S'
}
enum  ModuleGroup {
  ENGINE = 'E', BASIC = 'B', CLIENT = 'C', SDL = 'S',
  GBA = 'G', OGRE = 'O', LOGIC = 'L', UI = 'U',
  GAME = 'X', FMOD = 'F', PHYSX = 'P'
}

Public Member Functions

 O3dThingParser (se_core::ParseManager &parser)
void parse (se_core::InputStream &in)
void parseThingInfo (se_core::InputStream &in, ThingMOInfo *info_)
int headerCode ()
const char * headerCodeString ()
virtual void parse (InputStream &in)=0

Member Enumeration Documentation

enum se_core::Parser::ModuleCode [inherited]
 

Enumeration values:
AREA 
AREA_THINGS 
RANDOM_AREA_THINGS 
DICTIONARY 
EMBEDDED 
CONFIG 
AREA_GRID 
HEIGHTMAP_AREA 
LANGUAGE 
MENU 
THING 
SPEECH_POSITION 
RANDOM_AREA 
CUTSCENE 
TERRAIN 
PLAYER 
PLUGIN 
SETTINGS 

Definition at line 31 of file Parser.hpp.

enum se_core::Parser::ModuleGroup [inherited]
 

Enumeration values:
ENGINE 
BASIC 
CLIENT 
SDL 
GBA 
OGRE 
LOGIC 
UI 
GAME 
FMOD 
PHYSX 

Definition at line 52 of file Parser.hpp.


Constructor & Destructor Documentation

se_ogre::O3dThingParser::O3dThingParser se_core::ParseManager parser  ) 
 

Definition at line 51 of file O3dThingParser.cpp.


Member Function Documentation

int se_core::Parser::headerCode  )  [inherited]
 

Definition at line 38 of file Parser.cpp.

Referenced by se_core::ParseManager::add().

const char * se_core::Parser::headerCodeString  )  [inherited]
 

Definition at line 45 of file Parser.cpp.

Referenced by se_core::ParseManager::add().

virtual void se_core::Parser::parse InputStream in  )  [pure virtual, inherited]
 

Implemented in se_core::CompositeParser, se_core::CutsceneParser, se_core::DictionaryParser, and se_core::EmbeddedParser.

void se_ogre::O3dThingParser::parse se_core::InputStream in  ) 
 

Definition at line 57 of file O3dThingParser.cpp.

References se_ogre::ThingMOInfoList::add(), se_core::CompositeFactory::addComponent(), Assert, se_core::SpawnManager::factory(), se_core::String::get(), se_ogre::ThingMOInfoList::infoCount_, LogFatal, se_ogre::ThingMOInfo::movableObjectType_, se_core::InputStream::name(), se_core::InputStream::readInfoCode(), se_core::InputStream::readString(), se_core::String::set(), se_core::SimSchema::spawnManager(), and se_ogre::ThingMOInfoList::thingType_.

void se_ogre::O3dThingParser::parseThingInfo se_core::InputStream in,
ThingMOInfo info_
 

Definition at line 100 of file O3dThingParser.cpp.

References AssertFatal, se_ogre::ThingMOInfo::createAnimation(), se_core::DE_MOVEMENT_MODE, se_ogre::ThingMOInfo::defaultMaterial_, se_ogre::ThingMOInfo::diffuse_, se_ogre::O3dAnimation::doLoop_, se_ogre::ThingMOInfo::doScaleByRadius_, se_core::String::get(), se_core::String::isEmpty(), se_ogre::ThingMOInfo::isShadowCaster_, se_ogre::ThingMOInfo::isStatic_, LogFatal, se_ogre::ThingMOInfo::movableObjectType_, se_core::InputStream::name(), se_ogre::O3dAnimation::name_, se_ogre::ThingMOInfo::offset_, se_ogre::ThingMOInfo::params_, se_core::Euler3::pitch_, se_ogre::ThingMOInfo::popInSq_, se_ogre::ThingMOInfo::popOutSq_, se_core::InputStream::readDictionaryWord(), se_core::InputStream::readFloat(), se_core::InputStream::readInfoCode(), se_core::InputStream::readShort(), se_core::InputStream::readString(), se_core::Euler3::roll_, se_ogre::ThingMOInfo::rot_, se_ogre::ThingMOInfo::scale_, se_core::String::set(), se_ogre::ThingMOInfo::setAnimationChannels(), se_ogre::ThingMOInfo::specular_, se_ogre::O3dAnimation::speed_, se_core::Tuple4::w_, se_core::Tuple4::x_, se_core::Tuple4::y_, se_core::Euler3::yaw_, and se_core::Tuple4::z_.


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

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

SourceForge.net Logo