| void Game_Initialize( |
| ) |
Update game frame
Release game module
| void Game_MainLoop( |
| ) |
Game exit
| void Game_SetState( |
| ) |
Set the next state (change will be effective at the next state update)
| newState State | The new state to execute |
Restore the previous state
Check state transition and update current state
Vertical-synchronization hook handler
| inline void Game_SetVSyncCallback( |
| ) |
Set V-Sync callback
| cb callback | The v-sync function to set |
Get frame counter
Current frame counter (0-255).
Wait for vertical-synchronization