#include <engine.h>
Public Member Functions | |
| CGameEngine (istream *aWeapons, istream *aMap, istream *aTeamInfo=NULL) | |
| Constructor to load bots from stream. | |
| void | setGraphicsEngine (CGraphicsEngine *aGraphicsEngine) |
| Setter for graphics engine. | |
| bool | loop () |
| Game loop. | |
| char ** | getResults (bool aTeamResults) |
| Getter for results. | |
| void | restart (istream *aMap=NULL) |
| Resets scores and initializes new game. | |
| void | setFragLimit (int aFragLimit) |
| Setter for frag limit. | |
Allocates required number of bots, stores team information and game options.
|
||||||||||||||||
|
Constructor to load bots from stream. Data is read from streams in given order.
|
|
|
Getter for results. Results are sorted by scores. First 5 characters of each line are reserved for scores.
|
|
|
Game loop.
|
|
|
Resets scores and initializes new game.
|
|
|
Setter for graphics engine.
|
1.3-rc3