CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
CRM64Pro::Main

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.
 
LogMgrILogMgr ()
 Get the reference to the Log Manager.
 
ConfigMgrIConfigMgr ()
 Get the reference to the Config Manager.
 
ArchiveMgrIArchiveMgr ()
 Get the reference to the Archive Manager.
 
XMLMgrIXMLMgr ()
 Get the reference to the XML Manager.
 
TimerITimer ()
 Get the reference to the Timer Interface.
 
ToolITool ()
 Get the reference to the Tool Interface.
 
MusicMgrIMusicMgr ()
 Get the reference to the Music Manager.
 
SoundMgrISoundMgr ()
 Get the reference to the Sound Manager.
 
ImageMgrIImageMgr ()
 Get the reference to the Image Manager.
 
CursorMgrICursorMgr ()
 Get the reference to the Cursor Manager.
 
TileMgrITileMgr ()
 Get the reference to the Tile Manager.
 
SpriteMgrISpriteMgr ()
 Get the reference to the Sprite Manager.
 
FontMgrIFontMgr ()
 Get the reference to the Font Manager.
 
GFXIGFX ()
 Get the reference to the GFX Interface.
 
GUIMgrIGUIMgr ()
 Get the reference to the GUI Manager.
 
TileEngineMgrITileEngineMgr ()
 Get the reference to the TileEngine Manager.
 
NetTCPINetTCP ()
 Get the reference to the NetTCP Interface.
 

Static Public Member Functions

static MainInstance ()
 Creates the Main instance.
 
static void Terminate ()
 Main explicit destructor.
 
static Sint32 isInit ()
 Check if the GDK is initialized.
 

Detailed Description

CRM64Pro GDK Main class.