73     vector <Object3d *> m_objects;
 
   76     vector <OCamera *> m_cameras;
 
   77     vector <OLight *> m_lights;
 
   78     vector <OEntity *> m_entities;
 
   79     vector <OSound *> m_sounds;
 
   80     vector <OText *> m_texts;
 
   85     map<int,Object3d*> m_handles;
 
   86     unsigned long int m_ids;
 
   89     unsigned int m_currentCamera;
 
  112     void setName(
const char * name);
 
  135     void setScriptFilename(
const char * scriptFilename);
 
  165     void playLoopSounds(
void);
 
  166     void stopAllSounds(
void);
 
  175     void deleteObject(
Object3d * 
object);
 
  201     OLight * addNewLight(
void);
 
  260     void setCurrentCamera(
OCamera* c);
 
  269     OCamera * getCurrentCamera(
void);
 
  284     Object3d * getObjectByName(
const char * name);
 
  304     OLight * getLightByName(
const char * name);
 
  314     OCamera * getCameraByName(
const char * name);
 
  324     OEntity * getEntityByName(
const char * name);
 
  334     OSound * getSoundByName(
const char * name);
 
  344     OText * getTextByName(
const char * name);
 
  361     bool getObjectIndex(
const char * name, 
unsigned int * 
id);
 
  375     void prepareCollisionShape(
OEntity * entity);
 
  376     void prepareCollisionObject(
OEntity * entity);
 
  377     void prepareConstraints(
OEntity * entity);
 
  378     void preparePhysics(
void);
 
  379     void updatePhysics(
void);
 
  392     void updateObjectsBehaviors(
void);
 
  398     void drawObjectsBehaviors(
void);
 
  401     void updateObjectsMatrices(
void);
 
Vector3 getAmbientLight()
Definition: Scene.h:120
 
The Scene class represents a scene in a Maratis level. 
Definition: Scene.h:48
 
Definition: SoundRef.h:32
 
void setCurrentCameraId(unsigned int id)
Definition: Scene.h:257
 
OCamera * getCameraByIndex(unsigned int index)
Definition: Scene.h:365
 
AdditionalData * getAdditionalData()
Definition: Scene.h:99
 
void setCurrentFrame(int currentFrame)
Definition: Scene.h:272
 
const char * getScriptFilename(void)
Returns the filename of the script that is currently attached to this scene. 
Definition: Scene.h:141
 
OSound * getSoundByIndex(unsigned int index)
Definition: Scene.h:367
 
void setAdditionalData(AdditionalData *d)
Definition: Scene.h:100
 
Implements a framework for string manipulation that operates directly on C strings. 
Definition: NeoString.h:35
 
void setGravity(const Vector3 &gravity)
Sets the gravitational pull in this scene to the given value. 
Definition: Scene.h:156
 
unsigned int getEntitiesNumber(void)
Returns the number of entities in the scene. 
Definition: Scene.h:242
 
OLight * getLightByIndex(unsigned int index)
Definition: Scene.h:364
 
const char * getData(void)
Returns the current internal string buffer. Attention: Might return NULL! 
Definition: NeoString.h:74
 
void setDataMode(M_DATA_MODES dataMode)
Definition: Scene.h:124
 
unsigned int getCurrentCameraId(void)
Definition: Scene.h:258
 
int getCurrentFrame(void)
Definition: Scene.h:273
 
unsigned int getTextsNumber(void)
Returns the number of text objects in the scene. 
Definition: Scene.h:254
 
OText * getTextByIndex(unsigned int index)
Definition: Scene.h:368
 
unsigned int getSoundsNumber(void)
Returns the number of sounds in the scene. 
Definition: Scene.h:248
 
Object3d * getObjectByHandle(unsigned long handle)
Returns the object with the given ID or NULL if it is not found. 
Definition: Scene.h:294
 
The Object3d class represents a general object in a 3D scene. 
Definition: Object3d.h:43
 
const char * getSafeString(void)
Returns the C string. This method is ensured to return a valid C string and never NULL...
 
unsigned int getObjectsNumber(void)
Returns the number of objects in the scene. 
Definition: Scene.h:224
 
Represents a 3D light in the scene. 
Definition: OLight.h:52
 
Represents a 3D mesh in the scene. 
Definition: OEntity.h:270
 
void setAmbientLight(Vector3 light)
Definition: Scene.h:121
 
unsigned int getCamerasNumber(void)
Returns the number of cameras in the scene. 
Definition: Scene.h:230
 
M_DATA_MODES getDataMode(void)
Definition: Scene.h:125
 
const char * getName(void)
Returns the name of the scene. 
Definition: Scene.h:118
 
Vector3 getGravity(void) const 
Returns the current gravity in a MVector3. 
Definition: Scene.h:162
 
unsigned int getLightsNumber(void)
Returns the number of lights in the scene. 
Definition: Scene.h:236
 
Object3d * getObjectByIndex(unsigned int index)
Definition: Scene.h:363
 
M_DATA_MODES
Definition: Scene.h:34
 
OEntity * getEntityByIndex(unsigned int index)
Definition: Scene.h:366