_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes
games.h File Reference

Go to the source code of this file.

Classes

class  GameData
 

games.h - Games header.

#define MAX_GAME_PASSWORD_LENGTH   16
 
#define MAX_DESCRIPTION_LENGTH   64
 
#define MAX_MAP_LENGTH   64
 
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)
 
void ListGames (Session *session)
 

Macro Definition Documentation

#define MAX_DESCRIPTION_LENGTH   64
#define MAX_GAME_PASSWORD_LENGTH   16
#define MAX_MAP_LENGTH   64

Function Documentation

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

Variable Documentation

int GameID
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.