
Displays the game.
Andreas Hallerbach
Henning Hamer
Manuel Kugelmann
Marek Lomnic
Daniel Seibert
Torsten Treffer
Stefan Winkler
Sebastian Zipp
Public Types | |
| enum | { SCREENSHOT = 0xf000, INPUT_CAPTURE } |
Public Member Functions | |
| void | cleanup () |
| called when the applet is deactivated | |
| void | close () |
| void | doGraphics () |
| virtual void | doLogic () |
| void | doNetwork () |
| void | doSimulation (SimTime dt) |
| GameViewer (App *app) | |
| void | init () |
| called when the applet is activated | |
| void | mainLoopBody () |
| virtual void | processControlEvent (ONE::util::ControlEvent &) |
| void | processEvent (const SDL_Event &) |
| ~GameViewer () | |
Static Public Member Functions | |
| static void | getLines (const std::string &, std::vector< std::string > &) |
| static void | showErrorMessage (const std::string &) |
Static Public Attributes | |
| static int | DIE = 6 |
| static int | DO_SPECIAL = 97 |
| static int | DONT_FALL = 96 |
| static int | FALL = 4 |
| static int | FALLHIGH = 98 |
| static int | GET_BONUS = 11 |
| static int | IDLE = 0 |
| static int | IDLE2 = 15 |
| static int | IDLE3 = 16 |
| static int | LAND = 5 |
| static int | LOSE = 10 |
| static int | LOSE2 = 17 |
| static int | RUN = 3 |
| static int | SPECIAL1 = 12 |
| static int | SPECIAL2 = 13 |
| static int | SPECIAL3 = 14 |
| static int | WALK = 1 |
| static int | WALK_LEFT = 7 |
| static int | WALK_RIGHT = 8 |
| static int | WALKBACK = 2 |
| static int | WIN = 9 |
Protected Attributes | |
| App * | app |
| GUISet | gui |
|
|
|
|
|
|
|
|
|
|
|
called when the applet is deactivated
Reimplemented from AppletViewer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
called when the applet is activated
Reimplemented from AppletViewer. |
|
|
Reimplemented from AppletViewer. |
|
|
Implements ONE::util::ControlListener. |
|
|
Reimplemented from AppletViewer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3