#include <Framework.hpp>
Inherits TSingleton< CFramework >.
Public Member Functions | |
bool | Init (int ScreenWidth, int ScreenHeight, int ColorDepth, bool bFullscreen) |
void | Quit () |
void | Update () |
Timer und Keyboardstatus updaten. | |
void | Flip () |
Doppelbuffer austauschen! | |
void | SwitchFullscreen () |
SDL_Event * | GetEvent () |
bool | KeyDown (int Key_ID) |
bool CFramework::Init | ( | int | ScreenWidth, | |
int | ScreenHeight, | |||
int | ColorDepth, | |||
bool | bFullscreen | |||
) |
Initialiserung der Anwendung: SDL initialisieren, Vollbild/Fenstermodus starten, OpenGL Parameter setzen
ScreenWidth | Bildschirmbreite | |
ScreenHeight | Bildschirmh�he | |
ColorDepth | Farbtiefe | |
bFullscreen | Vollbild? |
void CFramework::Quit | ( | ) |
Framework beenden & Speicher freigeben: Aufrufen der Quit() Funktionen anderer Klassen Beenden von SDL
void CFramework::SwitchFullscreen | ( | ) |
Fullscreen an/aus Achtung: Funktioniert noch nicht richtig!
SDL_Event * CFramework::GetEvent | ( | ) |
Event-Pointer zur�ckliefern
bool CFramework::KeyDown | ( | int | Key_ID | ) |
Tastendruck abfragen
Key_ID | Tasten-ID |