game.h File Reference

Interface to game library. More...

#include "../shared/defines.h"
#include "../shared/typedefs.h"
#include "../common/tracing.h"
#include "../common/cvar.h"
Include dependency graph for game.h:
This graph shows which files directly or indirectly include this file:

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_tGetGameAPI (game_import_t *import)
 Returns a pointer to the structure with all entry points and global variables.

Detailed Description

Interface to game library.

Definition in file game.h.


Define Documentation

#define GAME_API_VERSION   8

Definition at line 37 of file game.h.

Referenced by GetGameAPI(), and SV_InitGameProgs().


Typedef Documentation

typedef struct edict_s edict_t

Definition at line 49 of file game.h.

typedef struct player_s player_t

Definition at line 50 of file game.h.


Enumeration Type Documentation

enum solid_t

edict->solid values

Enumerator:
SOLID_NOT 

no interaction with other objects

SOLID_TRIGGER 

only touch when inside, after moving (triggers)

SOLID_BBOX 

touch on edge (monsters, etc)

SOLID_BSP 

bsp clip, touch on edge (solid walls, blocks, etc)

Definition at line 40 of file game.h.


Function Documentation

game_export_t* GetGameAPI ( game_import_t import  ) 

Generated by  doxygen 1.6.2