UFO: Alien Invasion
|
Interface to game library. More...
#include "../common/tracing.h"
#include "../common/grid.h"
#include "../common/cvar.h"
#include "srvedict.h"
Go to the source code of this file.
Data Structures | |
class | SrvPlayer |
struct | game_import_s |
functions provided by the main engine More... | |
struct | game_export_s |
functions exported by the game subsystem More... | |
Macros | |
#define | GAME_API_VERSION 10 |
Typedefs | |
typedef SrvPlayer | player_t |
typedef SrvEdict | edict_t |
typedef struct game_import_s | game_import_t |
functions provided by the main engine More... | |
typedef struct game_export_s | game_export_t |
functions exported by the game subsystem More... | |
Enumerations | |
enum | solid_t { SOLID_NOT, SOLID_TRIGGER, SOLID_BBOX, SOLID_BSP } |
edict->solid values More... | |
Functions | |
game_export_t * | GetGameAPI (game_import_t *import) |
Returns a pointer to the structure with all entry points and global variables. More... | |
Interface to game library.
Definition in file game.h.
#define GAME_API_VERSION 10 |
Definition at line 35 of file game.h.
Referenced by GetGameAPI(), and SV_InitGameProgs().
typedef struct game_export_s game_export_t |
functions exported by the game subsystem
typedef struct game_import_s game_import_t |
functions provided by the main engine
enum solid_t |
game_export_t* GetGameAPI | ( | game_import_t * | import | ) |
Returns a pointer to the structure with all entry points and global variables.
Definition at line 384 of file g_main.cpp.
References game_export_s::apiversion, game_export_s::ClientGetName(), game_export_s::edict_size, G_ClientAction(), G_ClientBegin(), G_ClientCommand(), G_ClientConnect(), G_ClientDisconnect(), G_ClientEndRound(), G_ClientGetTeamNum(), G_ClientInitActorStates(), G_ClientIsReady(), G_ClientStartMatch(), G_ClientTeamInfo(), G_ClientUserinfoChanged(), G_GetActiveTeam(), G_GetPlayerName(), G_Init(), G_RunFrame(), G_ServerCommand(), G_Shutdown(), G_SpawnEntities(), GAME_API_VERSION, globals, game_export_s::player_size, and game_import_s::seed.
Referenced by SV_GetGameAPI().