Class CCApplication

#include <Geode/cocos/platform/win32/CCApplication.h>
classCCApplication:publiccocos2d::CCApplicationProtocol{ ... }
No description provided
Examples0
Public static methods2
staticcocos2d::CCApplication*sharedApplication()

Get current applicaiton instance.

Return value
Current application instance pointer.
staticcocos2d::CCApplication*get()
No description provided
Public member functions40
virtualvoidgameDidSave()
No description provided
virtualvoidsetAnimationInterval(
doubleinterval
)
No description provided
virtualcocos2d::ccLanguageTypegetCurrentLanguage()
No description provided
virtualcocos2d::TargetPlatformgetTargetPlatform()

Get target platform

virtualvoidopenURL()
No description provided
virtualintrun()
No description provided
virtualvoidsetupGLView()
No description provided
virtualvoidplatformShutdown()
No description provided
voidtoggleVerticalSync()
No description provided
voidsetupVerticalSync()
No description provided
voidupdateVerticalSync()
No description provided
voidupdateControllerKeys(,
intuserIndex
)
No description provided
intgetTimeElapsed()
No description provided
voidresetForceTimer()
No description provided
voidleftMouseDown()
No description provided
voidleftMouseUp()
No description provided
voidlogTimeElapsed()
No description provided
voidmoveMouse(,)
No description provided
voidshutdownApplication()
No description provided
voidtoggleMouseControl()
No description provided
voidupdateController()
No description provided
voidupdateMouseControl()
No description provided
voidsetResourceRootPath()

Sets the Resource root path.

gd::stringconst&getResourceRootPath()

Gets the Resource root path.

voidsetStartupScriptFilename(
gd::stringconst&startupScriptFile
)
No description provided
gd::stringconst&getStartupScriptFilename()
No description provided
boolgetShutdownCalled()const
No description provided
voidsetShutdownCalled(
boolvar
)
No description provided
boolgetVerticalSyncEnabled()const
No description provided
boolgetControllerConnected()const
No description provided
boolgetSleepMode()const
No description provided
voidsetSleepMode(
boolvar
)
No description provided
boolgetForceTimer()const
No description provided
voidsetForceTimer(
boolvar
)
No description provided
boolgetSmoothFix()const
No description provided
voidsetSmoothFix(
boolvar
)
No description provided
boolgetFullscreen()const
No description provided
voidsetFullscreen(
boolvar
)
No description provided
boolgetBorderless()const
No description provided
voidsetBorderless(
boolvar
)
No description provided
Fields15
_::_::HINSTANCEm_hInstance
;
No description provided
_::HACCELm_hAccelTable
;
No description provided
_::_::_::LARGE_INTEGERm_nAnimationInterval
;
No description provided
_::_::_::LARGE_INTEGERm_nVsyncInterval
;
No description provided
gd::stringm_resourceRootPath
;
No description provided
gd::stringm_startupScriptFilename
;
No description provided
CXBOXController*m_pControllerHandler
;
No description provided
CXBOXController*m_pController2Handler
;
No description provided
boolm_bUpdateController
;
No description provided
_::INPUTm_iInput
;
No description provided
cocos2d::CCPointm_obLeftThumb
;
No description provided
cocos2d::CCPointm_obRightThumb
;
No description provided
boolm_bMouseControl
;
No description provided
floatm_fAnimationInterval
;
No description provided
floatm_fVsyncInterval
;
No description provided
Protected member functions0
Protected fields8
boolm_bShutdownCalled
;
No description provided
boolm_bVerticalSyncEnabled
;
No description provided
boolm_bControllerConnected
;
No description provided
boolm_bSleepMode
;
No description provided
boolm_bForceTimer
;
No description provided
boolm_bSmoothFix
;
No description provided
boolm_bFullscreen
;
No description provided
boolm_bBorderless
;
No description provided