#include <MLevel.h>
List of all members.
Public Member Functions |
| MLevel (void) |
| ~MLevel (void) |
void | clear (void) |
void | clearScenes (void) |
MFXManager * | getFXManager (void) |
void | createFX (MShaderRef *vertexShaderRef, MShaderRef *pixelShaderRef, unsigned int *FXId) |
MDataManager * | getFontManager (void) |
MDataManager * | getTextureManager (void) |
MDataManager * | getShaderManager (void) |
MDataManager * | getSoundManager (void) |
MDataManager * | getMeshManager (void) |
MDataManager * | getArmatureAnimManager (void) |
MDataManager * | getTexturesAnimManager (void) |
MDataManager * | getMaterialsAnimManager (void) |
MFontRef * | loadFont (const char *filename) |
MMeshRef * | loadMesh (const char *filename, const bool preload=true) |
MArmatureAnimRef * | loadArmatureAnim (const char *filename, const bool preload=true) |
MTexturesAnimRef * | loadTexturesAnim (const char *filename, const bool preload=true) |
MMaterialsAnimRef * | loadMaterialsAnim (const char *filename, const bool preload=true) |
MTextureRef * | loadTexture (const char *filename, const bool mipmap=true, const bool preload=true) |
MSoundRef * | loadSound (const char *filename, const bool preload=true) |
MShaderRef * | loadShader (const char *filename, M_SHADER_TYPES type) |
void | sendToUpdateQueue (MDataRef *ref) |
void | sendToClearQueue (MDataRef *ref) |
void | updateQueueDatas (void) |
void | clearQueueDatas (void) |
void | changeCurrentScene (unsigned int id) |
void | deleteScene (unsigned int id) |
bool | getSceneIndexByName (const char *name, unsigned int *index) |
MScene * | addNewScene (void) |
MScene * | getSceneByName (const char *name) |
MScene * | getCurrentScene (void) |
void | setCurrentSceneId (unsigned int id) |
unsigned int | getCurrentSceneId (void) |
unsigned int | getScenesNumber (void) |
MScene * | getSceneByIndex (unsigned int id) |
Constructor & Destructor Documentation
Member Function Documentation
MScene * MLevel::addNewScene |
( |
void |
| ) |
|
void MLevel::changeCurrentScene |
( |
unsigned int |
id | ) |
|
void MLevel::clear |
( |
void |
| ) |
|
void MLevel::clearQueueDatas |
( |
void |
| ) |
|
void MLevel::clearScenes |
( |
void |
| ) |
|
void MLevel::createFX |
( |
MShaderRef * |
vertexShaderRef, |
|
|
MShaderRef * |
pixelShaderRef, |
|
|
unsigned int * |
FXId |
|
) |
| |
void MLevel::deleteScene |
( |
unsigned int |
id | ) |
|
MDataManager* MLevel::getArmatureAnimManager |
( |
void |
| ) |
[inline] |
MScene * MLevel::getCurrentScene |
( |
void |
| ) |
|
unsigned int MLevel::getCurrentSceneId |
( |
void |
| ) |
[inline] |
MFXManager* MLevel::getFXManager |
( |
void |
| ) |
[inline] |
MDataManager* MLevel::getMaterialsAnimManager |
( |
void |
| ) |
[inline] |
MScene* MLevel::getSceneByIndex |
( |
unsigned int |
id | ) |
[inline] |
MScene * MLevel::getSceneByName |
( |
const char * |
name | ) |
|
bool MLevel::getSceneIndexByName |
( |
const char * |
name, |
|
|
unsigned int * |
index |
|
) |
| |
unsigned int MLevel::getScenesNumber |
( |
void |
| ) |
[inline] |
MDataManager* MLevel::getTexturesAnimManager |
( |
void |
| ) |
[inline] |
MArmatureAnimRef * MLevel::loadArmatureAnim |
( |
const char * |
filename, |
|
|
const bool |
preload = true |
|
) |
| |
MFontRef * MLevel::loadFont |
( |
const char * |
filename | ) |
|
MMaterialsAnimRef * MLevel::loadMaterialsAnim |
( |
const char * |
filename, |
|
|
const bool |
preload = true |
|
) |
| |
MMeshRef * MLevel::loadMesh |
( |
const char * |
filename, |
|
|
const bool |
preload = true |
|
) |
| |
MSoundRef * MLevel::loadSound |
( |
const char * |
filename, |
|
|
const bool |
preload = true |
|
) |
| |
MTextureRef * MLevel::loadTexture |
( |
const char * |
filename, |
|
|
const bool |
mipmap = true , |
|
|
const bool |
preload = true |
|
) |
| |
MTexturesAnimRef * MLevel::loadTexturesAnim |
( |
const char * |
filename, |
|
|
const bool |
preload = true |
|
) |
| |
void MLevel::sendToClearQueue |
( |
MDataRef * |
ref | ) |
|
void MLevel::sendToUpdateQueue |
( |
MDataRef * |
ref | ) |
|
void MLevel::setCurrentSceneId |
( |
unsigned int |
id | ) |
|
void MLevel::updateQueueDatas |
( |
void |
| ) |
|
The documentation for this class was generated from the following files: