UFO: Alien Invasion
|
functions provided by the main engine More...
#include <game.h>
Public Member Functions | |
void (IMPORT *BroadcastPrintf)(int printlevel | |
const char | __attribute__ ((format(__printf__, 2, 3))) |
void (IMPORT *DPrintf)(const char *fmt | |
__attribute__ ((format(__printf__, 1, 2))) | |
void (IMPORT *PlayerPrintf)(const player_t *player | |
void (IMPORT *ConfigString)(int num | |
const char | __attribute__ ((format(__printf__, 2, 3))) |
void (IMPORT *Error)(const char *fmt | |
__attribute__ ((noreturn, format(__printf__, 1, 2))) | |
unsigned | int (IMPORT *ModelIndex)(const char *name) |
void (IMPORT *SetInlineModelOrientation)(const char *name | |
void (IMPORT *GetInlineModelAABB)(const char *name | |
void (IMPORT *SetModel)(edict_t *ent | |
trace_t (IMPORT *Trace)(const Line &traceLine | |
collision detection More... | |
int (IMPORT *PointContents)(const vec3_t point) | |
const char *IMPORT * | GetFootstepSound (const char *texture) |
float (IMPORT *GetBounceFraction)(const char *texture) | |
bool (IMPORT *LoadModelAABB)(const char *model | |
void (IMPORT *LinkEdict)(edict_t *ent) | |
void (IMPORT *UnlinkEdict)(edict_t *ent) | |
bool (IMPORT *TestLine)(const vec3_t start | |
fast version of a line trace but without including entities More... | |
bool (IMPORT *TestLineWithEnt)(const vec3_t start | |
fast version of a line trace that also includes entities More... | |
float (IMPORT *GrenadeTarget)(const vec3_t from | |
void (IMPORT *GridCalcPathing)(actorSizeEnum_t actorSize | |
bool (IMPORT *GridFindPath)(const actorSizeEnum_t actorSize | |
void (IMPORT *MoveStore)(pathing_t *path) | |
pos_t (IMPORT *MoveLength)(const pathing_t *path | |
int (IMPORT *MoveNext)(const pathing_t *path | |
int (IMPORT *GetTUsForDirection)(int dir | |
pos_t (IMPORT *GridFall)(actorSizeEnum_t actorSize | |
void (IMPORT *GridPosToVec)(actorSizeEnum_t actorSize | |
bool (IMPORT *isOnMap)(const vec3_t vec) | |
void (IMPORT *GridRecalcRouting)(const char *name | |
bool (IMPORT *CanActorStandHere)(actorSizeEnum_t actorSize | |
bool (IMPORT *GridShouldUseAutostand)(const pathing_t *path | |
float (IMPORT *GetVisibility)(const pos3_t position) | |
const char *IMPORT * | FS_Gamedir (void) |
int (IMPORT *FS_LoadFile)(const char *path | |
void (IMPORT *FS_FreeFile)(void *buffer) | |
FILE *IMPORT * | Sys_Fopen (const char *filename, const char *mode) |
void (IMPORT *WriteChar)(char c) | |
void (IMPORT *WriteByte)(byte c) | |
void (IMPORT *WriteShort)(int c) | |
void (IMPORT *WriteLong)(int c) | |
void (IMPORT *WriteString)(const char *s) | |
void (IMPORT *WritePos)(const vec3_t pos) | |
void (IMPORT *WriteGPos)(const pos3_t pos) | |
void (IMPORT *WriteDir)(const vec3_t pos) | |
void (IMPORT *WriteAngle)(float f) | |
void (IMPORT *WriteFormat)(const char *format | |
void (IMPORT *AbortEvents)(void) | |
void (IMPORT *EndEvents)(void) | |
void (IMPORT *AddEvent)(unsigned int mask | |
int (IMPORT *GetEvent)(void) | |
edict_t *IMPORT * | GetEventEdict (void) |
void (IMPORT *QueueEvent)(unsigned int mask | |
void (IMPORT *QueueWriteByte)(byte c) | |
void (IMPORT *QueueWritePos)(const vec3_t pos) | |
void (IMPORT *QueueWriteString)(const char *s) | |
void (IMPORT *QueueWriteShort)(int c) | |
int (IMPORT *ReadChar)(void) | |
int (IMPORT *ReadByte)(void) | |
int (IMPORT *ReadShort)(void) | |
int (IMPORT *ReadLong)(void) | |
int (IMPORT *ReadString)(char *str | |
void (IMPORT *ReadPos)(vec3_t pos) | |
void (IMPORT *ReadGPos)(pos3_t pos) | |
void (IMPORT *ReadDir)(vec3_t vector) | |
float (IMPORT *ReadAngle)(void) | |
void (IMPORT *ReadData)(void *buffer | |
void (IMPORT *ReadFormat)(const char *format | |
bool (IMPORT *GetConstInt)(const char *name | |
bool (IMPORT *GetConstIntFromNamespace)(const char *space | |
const char *IMPORT * | GetConstVariable (const char *space, int value) |
void (IMPORT *RegisterConstInt)(const char *name | |
bool (IMPORT *UnregisterConstVariable)(const char *name) | |
void (IMPORT *GetCharacterValues)(const char *teamDefinition | |
void *IMPORT * | TagMalloc (int size, int tag, const char *file, int line) |
void (IMPORT *TagFree)(void *block | |
void (IMPORT *FreeTags)(int tag | |
cvar_t *IMPORT * | Cvar_Get (const char *varName, const char *value, int flags, const char *desc) |
cvar_t *IMPORT * | Cvar_Set (const char *varName, const char *value,...) __attribute__((format(__printf__ |
cvar_t *IMPORT const char *IMPORT * | Cvar_String (const char *varName) |
int (IMPORT *Cmd_Argc)(void) | |
const char *IMPORT * | Cmd_Argv (int n) |
const char *IMPORT * | Cmd_Args (void) |
void (IMPORT *AddCommandString)(const char *text | |
__attribute__ ((format(__printf__, 1, 2))) | |
const char game_import_s::__attribute__ | ( | (format(__printf__, 2, 3)) | ) |
game_import_s::__attribute__ | ( | (format(__printf__, 1, 2)) | ) |
const char game_import_s::__attribute__ | ( | (format(__printf__, 2, 3)) | ) |
game_import_s::__attribute__ | ( | (noreturn, format(__printf__, 1, 2)) | ) |
game_import_s::__attribute__ | ( | (format(__printf__, 1, 2)) | ) |
game_import_s::bool | ( | IMPORT * | LoadModelAABB | ) | const |
game_import_s::bool | ( | IMPORT * | TestLine | ) | const |
fast version of a line trace but without including entities
game_import_s::bool | ( | IMPORT * | TestLineWithEnt | ) | const |
fast version of a line trace that also includes entities
game_import_s::bool | ( | IMPORT * | GridFindPath | ) | const |
game_import_s::bool | ( | IMPORT * | isOnMap | ) | const |
game_import_s::bool | ( | IMPORT * | CanActorStandHere | ) |
game_import_s::bool | ( | IMPORT * | GridShouldUseAutostand | ) | const |
game_import_s::bool | ( | IMPORT * | GetConstInt | ) | const |
game_import_s::bool | ( | IMPORT * | GetConstIntFromNamespace | ) | const |
game_import_s::bool | ( | IMPORT * | UnregisterConstVariable | ) | const |
concatenation of all argv >= 1
Referenced by G_Say_f().
Referenced by G_ClientCommand(), G_Say_f(), G_ServerCommand(), SVCmd_AddIP_f(), SVCmd_AI_Add_f(), SVCmd_RemoveIP_f(), and SVCmd_Win_f().
cvar_t* IMPORT* game_import_s::Cvar_Get | ( | const char * | varName, |
const char * | value, | ||
int | flags, | ||
const char * | desc | ||
) |
Referenced by G_Init().
Referenced by CheckNeedPass(), and G_RunFrame().
Referenced by AI_SetCharacterValues(), and G_GetEquipmentForAISpawn().
game_import_s::float | ( | IMPORT * | GetBounceFraction | ) | const |
game_import_s::float | ( | IMPORT * | GrenadeTarget | ) | const |
game_import_s::float | ( | IMPORT * | GetVisibility | ) | const |
game_import_s::float | ( | IMPORT * | ReadAngle | ) |
Referenced by G_Init(), and SVCmd_WriteIP_f().
Referenced by AIL_toTeamString().
Referenced by G_EventEnd().
const char* IMPORT* game_import_s::GetFootstepSound | ( | const char * | texture | ) |
Referenced by G_SendFootstepSound().
unsigned game_import_s::int | ( | IMPORT * | ModelIndex | ) | const |
the *index functions create configstrings and some internal server state
game_import_s::int | ( | IMPORT * | PointContents | ) | const |
game_import_s::int | ( | IMPORT * | MoveNext | ) | const |
game_import_s::int | ( | IMPORT * | GetTUsForDirection | ) |
game_import_s::int | ( | IMPORT * | FS_LoadFile | ) | const |
game_import_s::int | ( | IMPORT * | GetEvent | ) |
game_import_s::int | ( | IMPORT * | ReadChar | ) |
game_import_s::int | ( | IMPORT * | ReadByte | ) |
game_import_s::int | ( | IMPORT * | ReadShort | ) |
game_import_s::int | ( | IMPORT * | ReadLong | ) |
game_import_s::int | ( | IMPORT * | ReadString | ) |
game_import_s::int | ( | IMPORT * | Cmd_Argc | ) |
game_import_s::pos_t | ( | IMPORT * | MoveLength | ) | const |
game_import_s::pos_t | ( | IMPORT * | GridFall | ) |
Referenced by G_Init(), and SVCmd_WriteIP_f().
game_import_s::trace_t | ( | IMPORT * | Trace | ) | const |
collision detection
game_import_s::void | ( | IMPORT * | BroadcastPrintf | ) |
sends message to all players
game_import_s::void | ( | IMPORT * | DPrintf | ) | const |
print output to server console
game_import_s::void | ( | IMPORT * | PlayerPrintf | ) | const |
sends message to only one player (don't use this to send messages to an AI player struct)
game_import_s::void | ( | IMPORT * | ConfigString | ) |
configstrings hold all the index strings. All of the current configstrings are sent to clients when they connect, and changes are sent to all connected clients.
game_import_s::void | ( | IMPORT * | Error | ) | const |
game_import_s::void | ( | IMPORT * | SetInlineModelOrientation | ) | const |
This updates the inline model's orientation
game_import_s::void | ( | IMPORT * | GetInlineModelAABB | ) | const |
game_import_s::void | ( | IMPORT * | SetModel | ) |
game_import_s::void | ( | IMPORT * | LinkEdict | ) |
links entity into the world - so that it is sent to the client and used for collision detection, etc. Must be relinked if its size, position or solidarity changes
game_import_s::void | ( | IMPORT * | UnlinkEdict | ) |
call before removing an interactive edict
game_import_s::void | ( | IMPORT * | GridCalcPathing | ) |
game_import_s::void | ( | IMPORT * | MoveStore | ) |
game_import_s::void | ( | IMPORT * | GridPosToVec | ) |
game_import_s::void | ( | IMPORT * | GridRecalcRouting | ) | const |
game_import_s::void | ( | IMPORT * | FS_FreeFile | ) |
game_import_s::void | ( | IMPORT * | WriteChar | ) |
game_import_s::void | ( | IMPORT * | WriteByte | ) |
game_import_s::void | ( | IMPORT * | WriteShort | ) |
game_import_s::void | ( | IMPORT * | WriteLong | ) |
game_import_s::void | ( | IMPORT * | WriteString | ) | const |
game_import_s::void | ( | IMPORT * | WritePos | ) | const |
some fractional bits
game_import_s::void | ( | IMPORT * | WriteGPos | ) | const |
game_import_s::void | ( | IMPORT * | WriteDir | ) | const |
single byte encoded, very coarse
game_import_s::void | ( | IMPORT * | WriteAngle | ) |
game_import_s::void | ( | IMPORT * | WriteFormat | ) | const |
game_import_s::void | ( | IMPORT * | AbortEvents | ) |
game_import_s::void | ( | IMPORT * | EndEvents | ) |
game_import_s::void | ( | IMPORT * | AddEvent | ) |
game_import_s::void | ( | IMPORT * | QueueEvent | ) |
game_import_s::void | ( | IMPORT * | QueueWriteByte | ) |
game_import_s::void | ( | IMPORT * | QueueWritePos | ) | const |
game_import_s::void | ( | IMPORT * | QueueWriteString | ) | const |
game_import_s::void | ( | IMPORT * | QueueWriteShort | ) |
game_import_s::void | ( | IMPORT * | ReadPos | ) |
game_import_s::void | ( | IMPORT * | ReadGPos | ) |
game_import_s::void | ( | IMPORT * | ReadDir | ) |
game_import_s::void | ( | IMPORT * | ReadData | ) |
game_import_s::void | ( | IMPORT * | ReadFormat | ) | const |
game_import_s::void | ( | IMPORT * | RegisterConstInt | ) | const |
game_import_s::void | ( | IMPORT * | GetCharacterValues | ) | const |
game_import_s::void | ( | IMPORT * | TagFree | ) |
game_import_s::void | ( | IMPORT * | FreeTags | ) |
game_import_s::void | ( | IMPORT * | AddCommandString | ) | const |
add commands to the server console as if they were typed in for map changing, etc
character_t* game_import_s::chr |
const csi_t* game_import_s::csi |
Definition at line 176 of file game.h.
Referenced by AI_FindBestFiredef(), AI_SetCharacterValues(), AI_SetStats(), G_ClientReadCharacter(), G_ClientShoot(), G_Damage(), G_FireAffectedSurface(), G_GetEquipDefByID(), G_GetEquipmentForAISpawn(), G_GetObjectForFiredef(), G_Init(), G_ReadItem(), G_ShotMorale(), G_SplashDamage(), G_TreatActor(), SP_misc_fire(), SP_misc_smoke(), SP_misc_smokestun(), SP_trigger_hurt(), and Touch_HurtTrigger().
pathing_t const pos3_t int forbiddenList_t* game_import_s::fb_list |
int game_import_s::seed |