|
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 | |
| 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 | |
| bool (IMPORT *TestLineWithEnt)(const vec3_t start | |
| fast version of a line trace that also includes entities | |
| 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))) | |
| game_import_t::__attribute__ | ( | (format(__printf__, 1, 2)) | ) |
References __attribute__(), format(), and IMPORT.
| const char game_import_t::__attribute__ | ( | (format(__printf__, 2, 3)) | ) |
References fmt, IMPORT, and printlevel.
Referenced by __attribute__(), and Cvar_Set().
| game_import_t::bool | ( | IMPORT * | GridFindPath | ) | const |
| game_import_t::bool | ( | IMPORT * | LoadModelAABB | ) | const |
| game_import_t::bool | ( | IMPORT * | TestLine | ) | const |
| game_import_t::bool | ( | IMPORT * | TestLineWithEnt | ) | const |
References Cmd_Argv(), and IMPORT.
Referenced by Cmd_Argv().
| cvar_t *IMPORT * game_import_t::Cvar_Get | ( | const char * | varName, |
| const char * | value, | ||
| int | flags, | ||
| const char * | desc ) |
References Cvar_Get(), IMPORT, and value.
Referenced by Cvar_Get().
References __attribute__(), Cvar_Set(), format(), IMPORT, and value.
Referenced by Cvar_Set().
References Cvar_String(), and IMPORT.
Referenced by Cvar_String().
| game_import_t::float | ( | IMPORT * | GrenadeTarget | ) | const |
References FS_Gamedir(), and IMPORT.
Referenced by FS_Gamedir().
References GetConstVariable(), IMPORT, and value.
Referenced by GetConstVariable().
References GetEventEdict(), and IMPORT.
Referenced by GetEventEdict().
| const char *IMPORT * game_import_t::GetFootstepSound | ( | const char * | texture | ) |
References GetFootstepSound(), and IMPORT.
Referenced by GetFootstepSound().
| game_import_t::int | ( | IMPORT * | Cmd_Argc | ) |
References Cmd_Argc(), and IMPORT.
| game_import_t::int | ( | IMPORT * | FS_LoadFile | ) | const |
| game_import_t::int | ( | IMPORT * | GetTUsForDirection | ) |
| unsigned game_import_t::int | ( | IMPORT * | ModelIndex | ) | const |
| game_import_t::int | ( | IMPORT * | MoveNext | ) | const |
| game_import_t::pos_t | ( | IMPORT * | GridFall | ) |
| game_import_t::pos_t | ( | IMPORT * | MoveLength | ) | const |
References FILE, IMPORT, and Sys_Fopen().
Referenced by Sys_Fopen().
References file, IMPORT, line, size, and TagMalloc().
Referenced by TagMalloc().
| game_import_t::trace_t | ( | IMPORT * | Trace | ) | const & |
collision detection
| game_import_t::void | ( | IMPORT * | AddCommandString | ) | const |
add commands to the server console as if they were typed in for map changing, etc
| game_import_t::void | ( | IMPORT * | AddEvent | ) |
| game_import_t::void | ( | IMPORT * | BroadcastPrintf | ) |
| game_import_t::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_t::void | ( | IMPORT * | DPrintf | ) | const |
print output to server console
| game_import_t::void | ( | IMPORT * | Error | ) | const |
| game_import_t::void | ( | IMPORT * | FS_FreeFile | ) |
References buffer, FS_FreeFile(), and IMPORT.
| game_import_t::void | ( | IMPORT * | GetCharacterValues | ) | const |
| game_import_t::void | ( | IMPORT * | GetInlineModelAABB | ) | const |
| game_import_t::void | ( | IMPORT * | GridCalcPathing | ) |
| game_import_t::void | ( | IMPORT * | GridPosToVec | ) |
| game_import_t::void | ( | IMPORT * | GridRecalcRouting | ) | const |
| game_import_t::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
References IMPORT.
| game_import_t::void | ( | IMPORT * | PlayerPrintf | ) | const |
sends message to only one player (don't use this to send messages to an AI player struct)
| game_import_t::void | ( | IMPORT * | ReadData | ) |
| game_import_t::void | ( | IMPORT * | RegisterConstInt | ) | const |
| game_import_t::void | ( | IMPORT * | SetInlineModelOrientation | ) | const |
This updates the inline model's orientation
| game_import_t::void | ( | IMPORT * | SetModel | ) |
| game_import_t::void | ( | IMPORT * | TagFree | ) |
| game_import_t::void | ( | IMPORT * | UnlinkEdict | ) |
call before removing an interactive edict
References IMPORT.
| game_import_t::void | ( | IMPORT * | WriteDir | ) | const |
| character_t* game_import_t::chr |
| pathing_t const pos3_t int forbiddenList_t* game_import_t::fb_list |
| const char * game_import_t::file |
Definition at line 298 of file game.h.
Referenced by TagMalloc(), and void().
| const char * game_import_t::fmt |
Definition at line 181 of file game.h.
Referenced by __attribute__(), __attribute__(), and __attribute__().
| const char int game_import_t::line |
Definition at line 298 of file game.h.
Referenced by TagMalloc(), and void().
| const char * game_import_t::name |
| pathing_t * game_import_t::path |
| const pos3_t game_import_t::pos |
| int game_import_t::printlevel |
Definition at line 185 of file game.h.
Referenced by __attribute__().
| int game_import_t::size |
Definition at line 284 of file game.h.
Referenced by TagMalloc().
| const vec3_t game_import_t::stop |
| int* game_import_t::value |
Definition at line 287 of file game.h.
Referenced by bool(), bool(), Cvar_Get(), Cvar_Set(), and GetConstVariable().