Maratis Engine
|
#include <MScene.h>
Public Member Functions | |
MScene (void) | |
~MScene (void) | |
void | setName (const char *name) |
const char * | getName (void) |
void | setDataMode (M_DATA_MODES dataMode) |
M_DATA_MODES | getDataMode (void) |
void | setScriptFilename (const char *scriptFilename) |
const char * | getScriptFilename (void) |
void | setGravity (const MVector3 &gravity) |
MVector3 * | getGravity (void) |
void | playLoopSounds (void) |
void | stopAllSounds (void) |
void | deleteObject (MObject3d *object) |
MOCamera * | addNewCamera (void) |
MOCamera * | addNewCamera (const MOCamera &camera) |
MOLight * | addNewLight (void) |
MOLight * | addNewLight (const MOLight &light) |
MOEntity * | addNewEntity (MMeshRef *meshRef) |
MOEntity * | addNewEntity (const MOEntity &entity) |
MOSound * | addNewSound (MSoundRef *soundRef) |
MOSound * | addNewSound (const MOSound &sound) |
MOText * | addNewText (MFontRef *fontRef) |
MOText * | addNewText (const MOText &text) |
unsigned int | getObjectsNumber (void) |
unsigned int | getCamerasNumber (void) |
unsigned int | getLightsNumber (void) |
unsigned int | getEntitiesNumber (void) |
unsigned int | getSoundsNumber (void) |
unsigned int | getTextsNumber (void) |
void | setCurrentCamera (unsigned int id) |
unsigned int | getCurrentCamera (void) |
void | setCurrentFrame (int currentFrame) |
int | getCurrentFrame (void) |
MObject3d * | getObjectByName (const char *name) |
MOLight * | getLightByName (const char *name) |
MOCamera * | getCameraByName (const char *name) |
MOEntity * | getEntityByName (const char *name) |
MOSound * | getSoundByName (const char *name) |
MOText * | getTextByName (const char *name) |
bool | getObjectIndex (const char *name, unsigned int *id) |
MObject3d * | getObjectByIndex (unsigned int index) |
MOLight * | getLightByIndex (unsigned int index) |
MOCamera * | getCameraByIndex (unsigned int index) |
MOEntity * | getEntityByIndex (unsigned int index) |
MOSound * | getSoundByIndex (unsigned int index) |
MOText * | getTextByIndex (unsigned int index) |
void | preparePhysics (void) |
void | updatePhysics (void) |
void | update (void) |
void | updateObjectsMatrices (void) |
void | draw (MOCamera *camera) |
MScene::MScene | ( | void | ) |
MScene::~MScene | ( | void | ) |
MOCamera * MScene::addNewCamera | ( | void | ) |
MOLight * MScene::addNewLight | ( | void | ) |
void MScene::deleteObject | ( | MObject3d * | object | ) |
void MScene::draw | ( | MOCamera * | camera | ) |
MOCamera* MScene::getCameraByIndex | ( | unsigned int | index | ) | [inline] |
MOCamera * MScene::getCameraByName | ( | const char * | name | ) |
unsigned int MScene::getCamerasNumber | ( | void | ) | [inline] |
unsigned int MScene::getCurrentCamera | ( | void | ) | [inline] |
int MScene::getCurrentFrame | ( | void | ) | [inline] |
M_DATA_MODES MScene::getDataMode | ( | void | ) | [inline] |
unsigned int MScene::getEntitiesNumber | ( | void | ) | [inline] |
MOEntity* MScene::getEntityByIndex | ( | unsigned int | index | ) | [inline] |
MOEntity * MScene::getEntityByName | ( | const char * | name | ) |
MVector3* MScene::getGravity | ( | void | ) | [inline] |
MOLight* MScene::getLightByIndex | ( | unsigned int | index | ) | [inline] |
MOLight * MScene::getLightByName | ( | const char * | name | ) |
unsigned int MScene::getLightsNumber | ( | void | ) | [inline] |
const char* MScene::getName | ( | void | ) | [inline] |
MObject3d* MScene::getObjectByIndex | ( | unsigned int | index | ) | [inline] |
MObject3d * MScene::getObjectByName | ( | const char * | name | ) |
bool MScene::getObjectIndex | ( | const char * | name, |
unsigned int * | id | ||
) |
unsigned int MScene::getObjectsNumber | ( | void | ) | [inline] |
const char* MScene::getScriptFilename | ( | void | ) | [inline] |
MOSound* MScene::getSoundByIndex | ( | unsigned int | index | ) | [inline] |
MOSound * MScene::getSoundByName | ( | const char * | name | ) |
unsigned int MScene::getSoundsNumber | ( | void | ) | [inline] |
MOText* MScene::getTextByIndex | ( | unsigned int | index | ) | [inline] |
MOText * MScene::getTextByName | ( | const char * | name | ) |
unsigned int MScene::getTextsNumber | ( | void | ) | [inline] |
void MScene::playLoopSounds | ( | void | ) |
void MScene::preparePhysics | ( | void | ) |
void MScene::setCurrentCamera | ( | unsigned int | id | ) | [inline] |
void MScene::setCurrentFrame | ( | int | currentFrame | ) | [inline] |
void MScene::setDataMode | ( | M_DATA_MODES | dataMode | ) | [inline] |
void MScene::setGravity | ( | const MVector3 & | gravity | ) | [inline] |
void MScene::setName | ( | const char * | name | ) |
void MScene::setScriptFilename | ( | const char * | scriptFilename | ) |
void MScene::stopAllSounds | ( | void | ) |
void MScene::update | ( | void | ) |
void MScene::updateObjectsMatrices | ( | void | ) |
void MScene::updatePhysics | ( | void | ) |