Mount Fuji Engine  0.8b
Data Structures | Typedefs | Enumerations | Functions | Variables
System Related

Data Structures

struct  MFDefaults
 Fuji Defaults structure. More...
 
struct  MFInitParams
 Parameters supplied when initialising Fuji. More...
 

Typedefs

typedef void(* MFSystemCallbackFunction )(void)
 Fuji system callback function prototype.
 

Enumerations

enum  MFCallback {
  MFCB_Unknown = -1, MFCB_RegisterModules = 0, MFCB_FileSystemInit, MFCB_InitDone,
  MFCB_Deinit, MFCB_Update, MFCB_Draw, MFCB_HandleSystemMessages,
  MFCB_GainedFocus, MFCB_LostFocus, MFCB_DisplayLost, MFCB_DisplayReset,
  MFCB_DisplayResize, MFCB_VerticalBlank, MFCB_Max, MFCB_ForceInt = 0x7FFFFFFF
}
 System callbacks. More...
 

Functions

MF_API int MFMain (MFInitParams *pInitPrams)
 Begin the fuji main loop. More...
 
MF_API void MFSystem_Quit ()
 Quit the Fuji application. More...
 
MF_API MFSystemCallbackFunction MFSystem_RegisterSystemCallback (MFCallback callback, MFSystemCallbackFunction pCallbackFunction)
 Set a Fuji system callback. More...
 
MF_API MFSystemCallbackFunction MFSystem_GetSystemCallback (MFCallback callback)
 Get a Fuji system callback function. More...
 
MF_API const char * MFSystem_GetSettingString (int tabDepth)
 Generate engine initialisation data. More...
 
MF_API void MFSystem_InitFromSettings (const MFIniLine *pSettings)
 Initialise Fuji from saved settings. More...
 
MF_API MFPlatform MFSystem_GetCurrentPlatform ()
 Gets the current platform. More...
 
MF_API const char * MFSystem_GetPlatformString (int platform)
 Gets a platform identifier string. More...
 
MF_API const char * MFSystem_GetPlatformName (int platform)
 Gets a platform name. More...
 
MF_API const char * MFSystem_GetSystemName ()
 Gets the name of this system. More...
 
MF_API MFEndian MFSystem_GetPlatformEndian (int platform)
 Gets a platforms native endian. More...
 
MF_API uint64 MFSystem_ReadRTC ()
 Read the time stamp counter. More...
 
MF_API uint64 MFSystem_GetRTCFrequency ()
 Read the time stamp counter frequency. More...
 
float MFSystem_TimeDelta ()
 Gets the current time delta. More...
 
MF_API float MFSystem_GetTimeDelta ()
 Gets the current time delta. More...
 
MF_API float MFSystem_GetFPS ()
 Gets the current frame rate. More...
 
uint32 MFSystem_FrameCounter ()
 Gets the current frame. More...
 
MF_API uint32 MFSystem_GetFrameCounter ()
 Gets the current frame. More...
 

Variables

MFDefaults gDefaults
 Fuji Defaults. More...
 

Detailed Description