![]() |
CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
|
CRM64Pro GDK Main class. More...
Inherits CRM64Pro::Base.
Public Member Functions | |
| Sint32 | info (Sint32 iMode=0) |
| Request Main Interface information. | |
| void | printVersion () |
| Print version and compiled date to our default log object. | |
| const string & | getVersion () |
| Get version string. | |
| const string & | getCopyright () |
| Get copyright string. | |
| Sint32 | requireVersion (Uint8 iMajor, Uint8 iMinor) |
| Check given version against GDK version. | |
| Sint32 | update (SDL_Event *evUser=nullptr) |
| Main application update governor. | |
| float | getLogicTime () |
| Get logic time. | |
| Sint32 | getKeyState (SDL_Keycode keycode) |
| Get the state of a key. | |
| const char * | getKeyName (SDL_Keycode keycode) |
| Get a human-readable name for a key. | |
| Sint32 | getKeyboardFocus () |
| Get the Screen id which currently has keyboard focus. | |
| LogMgr & | ILogMgr () |
| Get the reference to the Log Manager. | |
| ConfigMgr & | IConfigMgr () |
| Get the reference to the Config Manager. | |
| ArchiveMgr & | IArchiveMgr () |
| Get the reference to the Archive Manager. | |
| XMLMgr & | IXMLMgr () |
| Get the reference to the XML Manager. | |
| Timer & | ITimer () |
| Get the reference to the Timer Interface. | |
| Tool & | ITool () |
| Get the reference to the Tool Interface. | |
| MusicMgr & | IMusicMgr () |
| Get the reference to the Music Manager. | |
| SoundMgr & | ISoundMgr () |
| Get the reference to the Sound Manager. | |
| ImageMgr & | IImageMgr () |
| Get the reference to the Image Manager. | |
| CursorMgr & | ICursorMgr () |
| Get the reference to the Cursor Manager. | |
| TileMgr & | ITileMgr () |
| Get the reference to the Tile Manager. | |
| SpriteMgr & | ISpriteMgr () |
| Get the reference to the Sprite Manager. | |
| FontMgr & | IFontMgr () |
| Get the reference to the Font Manager. | |
| GFX & | IGFX () |
| Get the reference to the GFX Interface. | |
| GUIMgr & | IGUIMgr () |
| Get the reference to the GUI Manager. | |
| TileEngineMgr & | ITileEngineMgr () |
| Get the reference to the TileEngine Manager. | |
| NetTCP & | INetTCP () |
| Get the reference to the NetTCP Interface. | |
Static Public Member Functions | |
| static Main & | Instance () |
| Creates the Main instance. | |
| static void | Terminate () |
| Main explicit destructor. | |
| static Sint32 | isInit () |
| Check if the GDK is initialized. | |