#include <Client.h>
Public Types | |
enum | USER_EVENT { USER_EVENT_ZOOM_IN = 1, USER_EVENT_ZOOM_OUT = 2, USER_EVENT_TOGGLE_GRID = 3, USER_EVENT_NEW_MAP = 4, USER_EVENT_QUIT_GAME = 5 } |
Enumeration of valid user events. More... | |
Public Member Functions | |
Client () | |
Public constructor. | |
virtual | ~Client () |
Virtual destructor. | |
int | Run () |
(*** add brief description here ***) | |
Protected Member Functions | |
void | PollEvents () |
(*** add brief description here ***) | |
void | OnActiveEvent (SDL_ActiveEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnKeyDown (SDL_KeyboardEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnKeyUp (SDL_KeyboardEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnMouseMotion (SDL_MouseMotionEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnMouseButtonDown (SDL_MouseButtonEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnMouseButtonUp (SDL_MouseButtonEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnVideoResize (SDL_ResizeEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnQuit (SDL_QuitEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnUserEvent (SDL_UserEvent sdlEvent) |
(*** add brief description here ***) | |
void | OnSysWMEvent (SDL_SysWMEvent sdlEvent) |
(*** add brief description here ***) | |
void | PushUserEvent (int code, void *pData1, void *pData2) |
(*** add brief description here ***) | |
Private Attributes | |
bool | m_Done |
(*** add brief description here ***) | |
regcom::common::Map * | m_pMap |
(*** add brief description here ***) | |
gui::Desktop * | m_pDesktop |
(*** add brief description here ***) | |
MapView * | m_pMapView |
(*** add brief description here ***) | |
Console * | m_pConsole |
(*** add brief description here ***) |
enum USER_EVENT |
Client | ( | ) |
Public constructor.
~Client | ( | ) | [virtual] |
Virtual destructor.
int Run | ( | ) |
(*** add brief description here ***)
void PollEvents | ( | ) | [protected] |
(*** add brief description here ***)
void OnActiveEvent | ( | SDL_ActiveEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnKeyDown | ( | SDL_KeyboardEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnKeyUp | ( | SDL_KeyboardEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnMouseMotion | ( | SDL_MouseMotionEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnMouseButtonDown | ( | SDL_MouseButtonEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnMouseButtonUp | ( | SDL_MouseButtonEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnVideoResize | ( | SDL_ResizeEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnQuit | ( | SDL_QuitEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnUserEvent | ( | SDL_UserEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void OnSysWMEvent | ( | SDL_SysWMEvent | sdlEvent | ) | [protected] |
(*** add brief description here ***)
sdlEvent | (*** add description here ***) |
void PushUserEvent | ( | int | code, | |
void * | pData1, | |||
void * | pData2 | |||
) | [protected] |
(*** add brief description here ***)
bool m_Done [private] |
(*** add brief description here ***)
regcom::common::Map* m_pMap [private] |
(*** add brief description here ***)
gui::Desktop* m_pDesktop [private] |
(*** add brief description here ***)
MapView* m_pMapView [private] |
(*** add brief description here ***)
Console* m_pConsole [private] |
(*** add brief description here ***)
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander