
Public Types | |
| enum | viewer { GAME, MENU, LOADSCREEN } |
Public Member Functions | |
| App (const GAppSettings &settings=GAppSettings(), GWindow *wnd=0) | |
| void | cleanup () |
| GameViewer * | getGameViewer () |
| ONE::render::Renderer2D * | getGuiRenderer () |
| void | init () |
| void | scheduleTask (class GameTask *, bool destroyAtFinish) |
| void | screenShot () const |
| void | showMouseCursor (bool) |
| void | switchTo (viewer) |
| void | toggleMouseCursor () |
| ~App () | |
Public Attributes | |
| DiscoverySettings * | discoverySettingsP |
Static Public Attributes | |
| static const SDLKey | SWITCH_VIEWER = SDLK_ESCAPE |
Protected Member Functions | |
| void | main () |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
This function switches to the load screen and then executes the given task in a separate thread. The function does not wait for the thread to finish. The given task will be destroyed after it finishes its operation if |
|
|
|
|
|
|
|
|
Schedules a switch to the given applet. The switch is performed just before the next iteration of the main loop. |
|
|
|
|
|
|
|
|
|
1.4.3