#include <vector>
#include <map>
#include "party.h"
#include "../general/channel.h"
Go to the source code of this file.
Classes | |
class | game |
Defines | |
#define | state_defining 0 |
Public information on a game. | |
#define | state_editor 1 |
#define | state_game 2 |
#define | state_pauzed 3 |
#define | state_winner 4 |
#define | state_finished 5 |
Enumerations | |
enum | join_type { Open, Moderated, Spectators, Private } |
The different choices for limits to people joining the game. More... | |
enum | goal_type { Mayor_player, Time, Victory_points, Target_city, Target_city_and_time } |
The different game goals possible. More... | |
Functions | |
long | load_game (channel *ch) |
Get the game data from this channel. | |
game | get_game (long id) |
Get the data from a specific game. | |
Variables | |
map< long, game > | games |
List of current games on number. | |
long | game_number |
Last given out game number. | |
const char * | join_types [] |
Array with the string names of the join choices. | |
const int | join_elms |
Number of join choices. | |
const char * | goal_types [] |
Array with the string names of the goal choices. | |
const int | goal_elms |
Number of goal choices. |
#define state_defining 0 |
Public information on a game.
#define state_editor 1 |
#define state_finished 5 |
#define state_game 2 |
#define state_pauzed 3 |
#define state_winner 4 |
long load_game | ( | channel * | ch | ) |
long game_number |
Last given out game number.
const int goal_elms |
Number of goal choices.
const char* goal_types[] |
Array with the string names of the goal choices.
const int join_elms |
Number of join choices.
const char* join_types[] |
Array with the string names of the join choices.
Generated on Tue Jan 1 17:30:01 2008 for central/game.h File Reference by
Visit the project page on