#include "game.h"
#include "user.h"
#include "../general/log.h"
#include "../general/util.h"
Defines | |
#define | DEBUG_ROUTINE "game" |
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 | |
const char * | join_types [] |
Array with the string names of the join choices. | |
const int | join_elms = 4 |
Number of join choices. | |
const char * | goal_types [] |
Array with the string names of the goal choices. | |
const int | goal_elms = 5 |
Number of goal choices. | |
map< long, game > | games |
List of current games on number. |
#define DEBUG_ROUTINE "game" |
long load_game | ( | channel * | ch | ) |
const int goal_elms = 5 |
Number of goal choices.
const char* goal_types[] |
Initial value:
{ "Mayor player", "Time", "Victory points", "Target city", "Target city and time" }
const int join_elms = 4 |
Number of join choices.
const char* join_types[] |
Initial value:
{ "Open", "Moderated", "Spectators", "Private" }
Generated on Tue Jan 1 17:30:01 2008 for central/game.cc File Reference by
Visit the project page on