#include <Application.h>
Inherited by OpenGLApp.
Inheritance diagram for Application:
Public Member Functions | |
Application () | |
virtual | ~Application () |
void | toggleFullscreen () |
bool | resetDisplayMode () |
virtual bool | createWindow (HINSTANCE hInstance) |
virtual bool | drawFrame () |
virtual void | flush ()=0 |
virtual void | destroyWindow ()=0 |
virtual void | setViewport (unsigned int width, unsigned int height)=0 |
virtual bool | update () |
virtual bool | initialize () |
virtual bool | deInitialize () |
virtual bool | load () |
virtual bool | unload () |
void | setKey (unsigned int key, bool value) |
virtual void | keyDown (unsigned int key) |
virtual void | handleChar (char ch) |
void | setCursorPos (int x, int y) |
void | setMouseButton (unsigned int button, bool value) |
void | checkMouse () |
void | captureMouse (bool value) |
void | showCursor (bool value) |
Public Attributes | |
HWND | hWnd |
Renderer * | renderer |
bool | keys [65536] |
Mouse | mouse |
Camera | camera |
OpenGLFont * | defaultFont |
Definition at line 26 of file Application.h.
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 12 of file Application.cpp. References Mouse::capture, defaultFont, Mouse::dx, Mouse::dy, keys, Mouse::left, mouse, Mouse::right, and Mouse::visible. |
|
Definition at line 27 of file Application.cpp. |
|
Definition at line 107 of file Application.cpp. References Mouse::capture, g_middleX, g_middleY, mouse, setCursorPos(), showCursor(), and Mouse::visible. Here is the call graph for this function: |
|
Definition at line 130 of file Application.cpp. References Mouse::capture, Mouse::dx, Mouse::dy, g_middleX, g_middleY, mouse, setCursorPos(), Mouse::x, and Mouse::y. Referenced by WinMain(). Here is the call graph for this function: |
|
Reimplemented in OpenGLApp. Definition at line 34 of file Application.h. Referenced by WinMain(). |
|
Reimplemented in MainApp. Definition at line 42 of file Application.h. Referenced by WinMain(). |
|
Implemented in OpenGLApp. Referenced by WinMain(). |
|
Reimplemented in MainApp. Definition at line 35 of file Application.h. Referenced by WinMain(). |
|
Implemented in OpenGLApp. |
|
Reimplemented in MainApp. Definition at line 54 of file Application.cpp. Referenced by WndProc(). |
|
Reimplemented in MainApp. Definition at line 41 of file Application.h. Referenced by WinMain(). |
|
Reimplemented in MainApp. Definition at line 61 of file Application.cpp. References hWnd, setKey(), and toggleFullscreen(). Referenced by WndProc(). Here is the call graph for this function: |
|
Reimplemented in MainApp. Definition at line 43 of file Application.h. Referenced by WinMain(). |
|
Definition at line 40 of file Application.cpp. Referenced by OpenGLApp::destroyWindow(). |
|
Definition at line 80 of file Application.cpp. Referenced by captureMouse(), and checkMouse(). |
|
Definition at line 47 of file Application.cpp. References keys. Referenced by MainApp::keyDown(), keyDown(), and WndProc(). |
|
Definition at line 97 of file Application.cpp. References Mouse::left, mouse, MOUSE_LEFT, and Mouse::right. Referenced by WndProc(). |
|
Implemented in OpenGLApp. Referenced by WndProc(). |
|
Definition at line 87 of file Application.cpp. References mouse, and Mouse::visible. Referenced by captureMouse(), OpenGLApp::destroyWindow(), and MainApp::load(). |
|
Definition at line 33 of file Application.cpp. References hWnd, and WM_TOGGLEFULLSCREEN. Referenced by MainApp::keyDown(), and keyDown(). |
|
Reimplemented in MainApp. Definition at line 44 of file Application.h. Referenced by WinMain(). |
|
Reimplemented in MainApp. Definition at line 40 of file Application.h. Referenced by WinMain(). |
|
Definition at line 65 of file Application.h. Referenced by Menu::drawCreate(), Play::drawFrame(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), Menu::drawJoin(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Menu::drawSettings(), Play::grenadeExplode(), MainApp::initialize(), Menu::load(), Join::load(), Menu::setCamera(), Join::setCamera(), and Play::setPlayerCam(). |
|
Definition at line 67 of file Application.h. Referenced by Application(), Menu::drawCreate(), Menu::drawCredits(), Scores::drawFrame(), Play::drawFrame(), MainApp::drawFrame(), Join::drawFrame(), Menu::drawJoin(), MainApp::drawLoading(), MainApp::load(), and MainApp::unload(). |
|
Definition at line 59 of file Application.h. Referenced by OpenGLApp::createWindow(), OpenGLApp::destroyWindow(), keyDown(), Menu::menuMainSelect(), Console::process(), toggleFullscreen(), Menu::updateMain(), and WinMain(). |
|
Definition at line 63 of file Application.h. Referenced by Application(), Play::drawFrame(), Play::handleKeys(), setKey(), Scores::update(), Join::update(), Demo::update(), Menu::updateCreate(), Menu::updateCredits(), Menu::updateJoin(), Menu::updateMain(), and Menu::updateSettings(). |
|
Definition at line 64 of file Application.h. Referenced by Application(), captureMouse(), checkMouse(), setMouseButton(), showCursor(), and Demo::update(). |
|