Maratis Engine
Public Member Functions

MLevel Class Reference

#include <MLevel.h>

List of all members.

Public Member Functions

 MLevel (void)
 ~MLevel (void)
void clear (void)
void clearScenes (void)
MFXManagergetFXManager (void)
void createFX (MShaderRef *vertexShaderRef, MShaderRef *pixelShaderRef, unsigned int *FXId)
MDataManagergetFontManager (void)
MDataManagergetTextureManager (void)
MDataManagergetShaderManager (void)
MDataManagergetSoundManager (void)
MDataManagergetMeshManager (void)
MDataManagergetArmatureAnimManager (void)
MDataManagergetTexturesAnimManager (void)
MDataManagergetMaterialsAnimManager (void)
MFontRefloadFont (const char *filename)
MMeshRefloadMesh (const char *filename, const bool preload=true)
MArmatureAnimRefloadArmatureAnim (const char *filename, const bool preload=true)
MTexturesAnimRefloadTexturesAnim (const char *filename, const bool preload=true)
MMaterialsAnimRefloadMaterialsAnim (const char *filename, const bool preload=true)
MTextureRefloadTexture (const char *filename, const bool mipmap=true, const bool preload=true)
MSoundRefloadSound (const char *filename, const bool preload=true)
MShaderRefloadShader (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)
MSceneaddNewScene (void)
MScenegetSceneByName (const char *name)
MScenegetCurrentScene (void)
void setCurrentSceneId (unsigned int id)
unsigned int getCurrentSceneId (void)
unsigned int getScenesNumber (void)
MScenegetSceneByIndex (unsigned int id)

Constructor & Destructor Documentation

MLevel::MLevel ( void  )
MLevel::~MLevel ( void  )

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]
MDataManager* MLevel::getFontManager ( void  ) [inline]
MFXManager* MLevel::getFXManager ( void  ) [inline]
MDataManager* MLevel::getMaterialsAnimManager ( void  ) [inline]
MDataManager* MLevel::getMeshManager ( 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::getShaderManager ( void  ) [inline]
MDataManager* MLevel::getSoundManager ( void  ) [inline]
MDataManager* MLevel::getTextureManager ( 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 
)
MShaderRef * MLevel::loadShader ( const char *  filename,
M_SHADER_TYPES  type 
)
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:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines