void OnStart( const std::string& RootPath ) { g_FrameBuffer = ( unsigned char* )malloc( ImageWidth * ImageHeight * 4 ); memset( g_FrameBuffer, 0xFF, ImageWidth * ImageHeight * 4 ); g_FS = new FileSystem(); g_FS->Mount( "." ); #if defined(ANDROID) g_FS->Mount( RootPath ); g_FS->AddAliasMountPoint( RootPath, "assets" ); #endif g_Audio.Start( iThread::Priority_Normal ); g_Sound.Start( iThread::Priority_Normal ); }
void OnStart( const std::string& RootPath ) { g_FrameBuffer = ( unsigned char* )malloc( ImageWidth * ImageHeight * 4 ); memset( g_FrameBuffer, 0x00, ImageWidth * ImageHeight * 4 ); g_FS = new FileSystem(); g_FS->Mount( "." ); #if defined(ANDROID) g_FS->Mount( RootPath ); g_FS->AddAliasMountPoint( RootPath, "assets" ); #endif g_Flow = new clFlowUI( new clFlowFlinger(), 10 ); XScale = 25.0f; YScale = 5.5f; XOfs = YOfs = 80.0f; }