$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "stratagus.h"
#include "games.h"
#include "netdriver.h"
games.cpp - Basic games query process. | |
static GameData * | Games |
int | GameID |
void | CreateGame (Session *session, char *description, char *map, char *players, char *ip, char *port, char *password) |
int | CancelGame (Session *session) |
int | StartGame (Session *session) |
int | JoinGame (Session *session, int id, char *password) |
int | PartGame (Session *session) |
static int | MatchGameType (Session *session, GameData *game) |
void | ListGames (Session *session) |
int CancelGame | ( | Session * | session | ) |
Cancel a game
void CreateGame | ( | Session * | session, | |
char * | description, | |||
char * | map, | |||
char * | players, | |||
char * | ip, | |||
char * | port, | |||
char * | password | |||
) |
Create a game
int JoinGame | ( | Session * | session, | |
int | id, | |||
char * | password | |||
) |
Join a game
void ListGames | ( | Session * | session | ) |
List games
int PartGame | ( | Session * | session | ) |
Leave a game
int StartGame | ( | Session * | session | ) |
Start a game
int GameID |