#include <perihelion.h>
Collaboration diagram for Perihelion:

Public Types | |
| enum | screens { START, NEW_PLAYER, CONTINUE, PREFERENCES } |
| enum | colors { RED, BLUE, GREEN, YELLOW } |
| enum | races { PANTYCIAN } |
Public Methods | |
| Perihelion () | |
| Perihelion (bool fullscreen) | |
| ~Perihelion () | |
| void | runGUI () |
Private Methods | |
| void | commonInit () |
| Common initialization stuff. | |
| void | draw () |
| void | drawStartS (SDL_Surface *screen) |
| void | drawNewPlayerS (SDL_Surface *screen) |
| void | drawContinueS (SDL_Surface *screen) |
| void | drawPreferencesS (SDL_Surface *screen) |
| void | loadData () |
| void | newGame () |
| void | unloadData () |
| void | processDown () |
| void | processKey (SDL_keysym keysym) |
| void | processLeft () |
| void | processRight () |
| void | processReturn () |
| void | processUp () |
| void | processDownSS () |
| void | processReturnSS () |
| void | processUpSS () |
| void | processDownNPS () |
| void | processLeftNPS () |
| void | processRightNPS () |
| void | processReturnNPS () |
| void | processUpNPS () |
| void | processDownCS () |
| void | processReturnCS () |
| void | processUpCS () |
| void | processDownPS () |
| void | processReturnPS () |
| void | processUpPS () |
Private Attributes | |
| Graphics | graphics |
| Sound | sound |
| int | currentButton |
| bool | quitProgram |
| screens | currentScreen |
| string | playerName |
| string | serverName |
| colors | playerColor |
| races | playerRace |
| SDL_Surface * | SS |
| SDL_Surface * | SSButtons |
| SDL_Surface * | NPS |
| SDL_Surface * | NPSButtons |
| SDL_Surface * | NPSColors |
| SDL_Surface * | CommonButtons |
| SDL_Surface * | CS |
| SDL_Surface * | Preferences |
This class initializes everything and run the initial menus. When a new game is requested, it creates a instance of GameEngine and run the game.
1.2.15