YourGameLib
|
framework control functions More...
Functions | |
void | exit () |
triggers the application to exit after the cycle this function was called in | |
int | sendCmdToEnv (int cmdId, int data0, int data1, int data2) |
sends a (user-defined) command to the application host environment | |
void | enableFullscreen (bool enable) |
request fullscreen | |
void | enableVSync (bool enable) |
request vertical sync | |
void | catchMouse (bool enable) |
disable mouse cursor, infinite movement | |
framework control functions
void yourgame::control::catchMouse | ( | bool | enable | ) |
disable mouse cursor, infinite movement
void yourgame::control::enableFullscreen | ( | bool | enable | ) |
request fullscreen
void yourgame::control::enableVSync | ( | bool | enable | ) |
request vertical sync
void yourgame::control::exit | ( | ) |
triggers the application to exit after the cycle this function was called in
int yourgame::control::sendCmdToEnv | ( | int | cmdId, |
int | data0, | ||
int | data1, | ||
int | data2 | ||
) |
sends a (user-defined) command to the application host environment