Interface to game library. More...
#include "../shared/defines.h"
#include "../shared/typedefs.h"
#include "../common/tracing.h"
#include "../common/cvar.h"
Go to the source code of this file.
Data Structures | |
struct | game_import_t |
functions provided by the main engine More... | |
struct | game_export_t |
functions exported by the game subsystem More... | |
Defines | |
#define | GAME_API_VERSION 8 |
Typedefs | |
typedef struct edict_s | edict_t |
typedef struct player_s | player_t |
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. |
Interface to game library.
Definition in file game.h.
#define GAME_API_VERSION 8 |
Definition at line 37 of file game.h.
Referenced by GetGameAPI(), and SV_InitGameProgs().
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 292 of file g_main.c.
References game_export_t::apiversion, game_export_t::ClientGetName(), game_export_t::edict_size, G_ClientAction(), G_ClientBegin(), G_ClientCommand(), G_ClientConnect(), G_ClientDisconnect(), G_ClientEndRound(), G_ClientGetTeamNum(), G_ClientGetTeamNumPref(), G_ClientInitActorStates(), G_ClientIsReady(), G_ClientSpawn(), G_ClientTeamInfo(), G_ClientUserinfoChanged(), G_GetActiveTeam(), G_GetPlayerName(), G_Init(), G_RunFrame(), G_ServerCommand(), G_Shutdown(), G_SpawnEntities(), GAME_API_VERSION, game_export_t::player_size, and game_import_t::seed.
Referenced by SV_GetGameAPI().