#include "cg_local.h"#include "../namespace_begin.h"#include "../namespace_end.h"Go to the source code of this file.
Functions | |
| void | dllEntry (int(QDECL *syscallptr)(int arg,...)) |
| int | PASSFLOAT (float x) |
| void | trap_Print (const char *fmt) |
| void | trap_Error (const char *fmt) |
| int | trap_Milliseconds (void) |
| void | trap_PrecisionTimer_Start (void **theNewTimer) |
| int | trap_PrecisionTimer_End (void *theTimer) |
| void | trap_Cvar_Register (vmCvar_t *vmCvar, const char *varName, const char *defaultValue, int flags) |
| void | trap_Cvar_Update (vmCvar_t *vmCvar) |
| void | trap_Cvar_Set (const char *var_name, const char *value) |
| void | trap_Cvar_VariableStringBuffer (const char *var_name, char *buffer, int bufsize) |
| int | trap_Cvar_GetHiddenVarValue (const char *name) |
| int | trap_Argc (void) |
| void | trap_Argv (int n, char *buffer, int bufferLength) |
| void | trap_Args (char *buffer, int bufferLength) |
| int | trap_FS_FOpenFile (const char *qpath, fileHandle_t *f, fsMode_t mode) |
| void | trap_FS_Read (void *buffer, int len, fileHandle_t f) |
| void | trap_FS_Write (const void *buffer, int len, fileHandle_t f) |
| void | trap_FS_FCloseFile (fileHandle_t f) |
| int | trap_FS_GetFileList (const char *path, const char *extension, char *listbuf, int bufsize) |
| void | trap_SendConsoleCommand (const char *text) |
| void | trap_AddCommand (const char *cmdName) |
| void | trap_RemoveCommand (const char *cmdName) |
| void | trap_SendClientCommand (const char *s) |
| void | trap_UpdateScreen (void) |
| void | trap_CM_LoadMap (const char *mapname, qboolean SubBSP) |
| int | trap_CM_NumInlineModels (void) |
| clipHandle_t | trap_CM_InlineModel (int index) |
| clipHandle_t | trap_CM_TempBoxModel (const vec3_t mins, const vec3_t maxs) |
| clipHandle_t | trap_CM_TempCapsuleModel (const vec3_t mins, const vec3_t maxs) |
| int | trap_CM_PointContents (const vec3_t p, clipHandle_t model) |
| int | trap_CM_TransformedPointContents (const vec3_t p, clipHandle_t model, const vec3_t origin, const vec3_t angles) |
| void | trap_CM_BoxTrace (trace_t *results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, clipHandle_t model, int brushmask) |
| void | trap_CM_CapsuleTrace (trace_t *results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, clipHandle_t model, int brushmask) |
| void | trap_CM_TransformedBoxTrace (trace_t *results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, clipHandle_t model, int brushmask, const vec3_t origin, const vec3_t angles) |
| void | trap_CM_TransformedCapsuleTrace (trace_t *results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, clipHandle_t model, int brushmask, const vec3_t origin, const vec3_t angles) |
| int | trap_CM_MarkFragments (int numPoints, const vec3_t *points, const vec3_t projection, int maxPoints, vec3_t pointBuffer, int maxFragments, markFragment_t *fragmentBuffer) |
| int | trap_S_GetVoiceVolume (int entityNum) |
| void | trap_S_MuteSound (int entityNum, int entchannel) |
| void | trap_S_StartSound (vec3_t origin, int entityNum, int entchannel, sfxHandle_t sfx) |
| void | trap_S_StartLocalSound (sfxHandle_t sfx, int channelNum) |
| void | trap_S_ClearLoopingSounds (void) |
| void | trap_S_AddLoopingSound (int entityNum, const vec3_t origin, const vec3_t velocity, sfxHandle_t sfx) |
| void | trap_S_UpdateEntityPosition (int entityNum, const vec3_t origin) |
| void | trap_S_AddRealLoopingSound (int entityNum, const vec3_t origin, const vec3_t velocity, sfxHandle_t sfx) |
| void | trap_S_StopLoopingSound (int entityNum) |
| void | trap_S_Respatialize (int entityNum, const vec3_t origin, vec3_t axis[3], int inwater) |
| void | trap_S_ShutUp (qboolean shutUpFactor) |
| sfxHandle_t | trap_S_RegisterSound (const char *sample) |
| void | trap_S_StartBackgroundTrack (const char *intro, const char *loop, qboolean bReturnWithoutStarting) |
| void | trap_S_UpdateAmbientSet (const char *name, vec3_t origin) |
| void | trap_AS_ParseSets (void) |
| void | trap_AS_AddPrecacheEntry (const char *name) |
| int | trap_S_AddLocalSet (const char *name, vec3_t listener_origin, vec3_t origin, int entID, int time) |
| sfxHandle_t | trap_AS_GetBModelSound (const char *name, int stage) |
| void | trap_R_LoadWorldMap (const char *mapname) |
| qhandle_t | trap_R_RegisterModel (const char *name) |
| qhandle_t | trap_R_RegisterSkin (const char *name) |
| qhandle_t | trap_R_RegisterShader (const char *name) |
| qhandle_t | trap_R_RegisterShaderNoMip (const char *name) |
| qhandle_t | trap_R_RegisterFont (const char *fontName) |
| int | trap_R_Font_StrLenPixels (const char *text, const int iFontIndex, const float scale) |
| int | trap_R_Font_StrLenChars (const char *text) |
| int | trap_R_Font_HeightPixels (const int iFontIndex, const float scale) |
| void | trap_R_Font_DrawString (int ox, int oy, const char *text, const float *rgba, const int setIndex, int iCharLimit, const float scale) |
| qboolean | trap_Language_IsAsian (void) |
| qboolean | trap_Language_UsesSpaces (void) |
| unsigned int | trap_AnyLanguage_ReadCharFromString (const char *psText, int *piAdvanceCount, qboolean *pbIsTrailingPunctuation) |
| void | trap_R_ClearScene (void) |
| void | trap_R_ClearDecals (void) |
| void | trap_R_AddRefEntityToScene (const refEntity_t *re) |
| void | trap_R_AddPolyToScene (qhandle_t hShader, int numVerts, const polyVert_t *verts) |
| void | trap_R_AddPolysToScene (qhandle_t hShader, int numVerts, const polyVert_t *verts, int num) |
| void | trap_R_AddDecalToScene (qhandle_t shader, const vec3_t origin, const vec3_t dir, float orientation, float r, float g, float b, float a, qboolean alphaFade, float radius, qboolean temporary) |
| int | trap_R_LightForPoint (vec3_t point, vec3_t ambientLight, vec3_t directedLight, vec3_t lightDir) |
| void | trap_R_AddLightToScene (const vec3_t org, float intensity, float r, float g, float b) |
| void | trap_R_AddAdditiveLightToScene (const vec3_t org, float intensity, float r, float g, float b) |
| void | trap_R_RenderScene (const refdef_t *fd) |
| void | trap_R_SetColor (const float *rgba) |
| void | trap_R_DrawStretchPic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader) |
| void | trap_R_ModelBounds (clipHandle_t model, vec3_t mins, vec3_t maxs) |
| int | trap_R_LerpTag (orientation_t *tag, clipHandle_t mod, int startFrame, int endFrame, float frac, const char *tagName) |
| void | trap_R_DrawRotatePic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, float a, qhandle_t hShader) |
| void | trap_R_DrawRotatePic2 (float x, float y, float w, float h, float s1, float t1, float s2, float t2, float a, qhandle_t hShader) |
| void | trap_R_SetRangeFog (float range) |
| void | trap_R_SetRefractProp (float alpha, float stretch, qboolean prepost, qboolean negate) |
| void | trap_R_RemapShader (const char *oldShader, const char *newShader, const char *timeOffset) |
| void | trap_R_GetLightStyle (int style, color4ub_t color) |
| void | trap_R_SetLightStyle (int style, int color) |
| void | trap_R_GetBModelVerts (int bmodelIndex, vec3_t *verts, vec3_t normal) |
| void | trap_R_GetDistanceCull (float *f) |
| void | trap_R_GetRealRes (int *w, int *h) |
| void | trap_R_AutomapElevAdj (float newHeight) |
| qboolean | trap_R_InitWireframeAutomap (void) |
| void | trap_FX_AddLine (const vec3_t start, const vec3_t end, float size1, float size2, float sizeParm, float alpha1, float alpha2, float alphaParm, const vec3_t sRGB, const vec3_t eRGB, float rgbParm, int killTime, qhandle_t shader, int flags) |
| void | trap_GetGlconfig (glconfig_t *glconfig) |
| void | trap_GetGameState (gameState_t *gamestate) |
| void | trap_GetCurrentSnapshotNumber (int *snapshotNumber, int *serverTime) |
| qboolean | trap_GetSnapshot (int snapshotNumber, snapshot_t *snapshot) |
| qboolean | trap_GetDefaultState (int entityIndex, entityState_t *state) |
| qboolean | trap_GetServerCommand (int serverCommandNumber) |
| int | trap_GetCurrentCmdNumber (void) |
| qboolean | trap_GetUserCmd (int cmdNumber, usercmd_t *ucmd) |
| void | trap_SetUserCmdValue (int stateValue, float sensitivityScale, float mPitchOverride, float mYawOverride, float mSensitivityOverride, int fpSel, int invenSel, qboolean fighterControls) |
| void | trap_SetClientForceAngle (int time, vec3_t angle) |
| void | trap_SetClientTurnExtent (float turnAdd, float turnSub, int turnTime) |
| void | trap_OpenUIMenu (int menuID) |
| void | testPrintInt (char *string, int i) |
| void | testPrintFloat (char *string, float f) |
| int | trap_MemoryRemaining (void) |
| qboolean | trap_Key_IsDown (int keynum) |
| int | trap_Key_GetCatcher (void) |
| void | trap_Key_SetCatcher (int catcher) |
| int | trap_Key_GetKey (const char *binding) |
| int | trap_PC_AddGlobalDefine (char *define) |
| int | trap_PC_LoadSource (const char *filename) |
| int | trap_PC_FreeSource (int handle) |
| int | trap_PC_ReadToken (int handle, pc_token_t *pc_token) |
| int | trap_PC_SourceFileAndLine (int handle, char *filename, int *line) |
| int | trap_PC_LoadGlobalDefines (const char *filename) |
| void | trap_PC_RemoveAllGlobalDefines (void) |
| void | trap_S_StopBackgroundTrack (void) |
| int | trap_RealTime (qtime_t *qtime) |
| void | trap_SnapVector (float *v) |
| int | trap_CIN_PlayCinematic (const char *arg0, int xpos, int ypos, int width, int height, int bits) |
| e_status | trap_CIN_StopCinematic (int handle) |
| e_status | trap_CIN_RunCinematic (int handle) |
| void | trap_CIN_DrawCinematic (int handle) |
| void | trap_CIN_SetExtents (int handle, int x, int y, int w, int h) |
| qboolean | trap_GetEntityToken (char *buffer, int bufferSize) |
| qboolean | trap_R_inPVS (const vec3_t p1, const vec3_t p2, byte *mask) |
| int | trap_FX_RegisterEffect (const char *file) |
| void | trap_FX_PlayEffect (const char *file, vec3_t org, vec3_t fwd, int vol, int rad) |
| void | trap_FX_PlayEntityEffect (const char *file, vec3_t org, vec3_t axis[3], const int boltInfo, const int entNum, int vol, int rad) |
| void | trap_FX_PlayEffectID (int id, vec3_t org, vec3_t fwd, int vol, int rad) |
| void | trap_FX_PlayPortalEffectID (int id, vec3_t org, vec3_t fwd, int vol, int rad) |
| void | trap_FX_PlayEntityEffectID (int id, vec3_t org, vec3_t axis[3], const int boltInfo, const int entNum, int vol, int rad) |
| void | trap_FX_PlayBoltedEffectID (int id, vec3_t org, void *ghoul2, const int boltNum, const int entNum, const int modelNum, int iLooptime, qboolean isRelative) |
| void | trap_FX_AddScheduledEffects (qboolean skyPortal) |
| void | trap_FX_Draw2DEffects (float screenXScale, float screenYScale) |
| int | trap_FX_InitSystem (refdef_t *refdef) |
| void | trap_FX_SetRefDef (refdef_t *refdef) |
| qboolean | trap_FX_FreeSystem (void) |
| void | trap_FX_Reset (void) |
| void | trap_FX_AdjustTime (int time) |
| void | trap_FX_AddPoly (addpolyArgStruct_t *p) |
| void | trap_FX_AddBezier (addbezierArgStruct_t *p) |
| void | trap_FX_AddPrimitive (effectTrailArgStruct_t *p) |
| void | trap_FX_AddSprite (addspriteArgStruct_t *p) |
| void | trap_FX_AddElectricity (addElectricityArgStruct_t *p) |
| int | trap_SP_GetStringTextString (const char *text, char *buffer, int bufferLength) |
| qboolean | trap_ROFF_Clean (void) |
| void | trap_ROFF_UpdateEntities (void) |
| int | trap_ROFF_Cache (char *file) |
| qboolean | trap_ROFF_Play (int entID, int roffID, qboolean doTranslation) |
| qboolean | trap_ROFF_Purge_Ent (int entID) |
| void | trap_TrueMalloc (void **ptr, int size) |
| void | trap_TrueFree (void **ptr) |
| void | trap_G2_ListModelSurfaces (void *ghlInfo) |
| void | trap_G2_ListModelBones (void *ghlInfo, int frame) |
| void | trap_G2_SetGhoul2ModelIndexes (void *ghoul2, qhandle_t *modelList, qhandle_t *skinList) |
| qboolean | trap_G2_HaveWeGhoul2Models (void *ghoul2) |
| qboolean | trap_G2API_GetBoltMatrix (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| qboolean | trap_G2API_GetBoltMatrix_NoReconstruct (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| qboolean | trap_G2API_GetBoltMatrix_NoRecNoRot (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| int | trap_G2API_InitGhoul2Model (void **ghoul2Ptr, const char *fileName, int modelIndex, qhandle_t customSkin, qhandle_t customShader, int modelFlags, int lodBias) |
| qboolean | trap_G2API_SetSkin (void *ghoul2, int modelIndex, qhandle_t customSkin, qhandle_t renderSkin) |
| void | trap_G2API_CollisionDetect (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t rayEnd, const vec3_t scale, int traceFlags, int useLod, float fRadius) |
| void | trap_G2API_CollisionDetectCache (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t rayEnd, const vec3_t scale, int traceFlags, int useLod, float fRadius) |
| void | trap_G2API_CleanGhoul2Models (void **ghoul2Ptr) |
| qboolean | trap_G2API_SetBoneAngles (void *ghoul2, int modelIndex, const char *boneName, const vec3_t angles, const int flags, const int up, const int right, const int forward, qhandle_t *modelList, int blendTime, int currentTime) |
| qboolean | trap_G2API_SetBoneAnim (void *ghoul2, const int modelIndex, const char *boneName, const int startFrame, const int endFrame, const int flags, const float animSpeed, const int currentTime, const float setFrame, const int blendTime) |
| qboolean | trap_G2API_GetBoneAnim (void *ghoul2, const char *boneName, const int currentTime, float *currentFrame, int *startFrame, int *endFrame, int *flags, float *animSpeed, int *modelList, const int modelIndex) |
| qboolean | trap_G2API_GetBoneFrame (void *ghoul2, const char *boneName, const int currentTime, float *currentFrame, int *modelList, const int modelIndex) |
| void | trap_G2API_GetGLAName (void *ghoul2, int modelIndex, char *fillBuf) |
| int | trap_G2API_CopyGhoul2Instance (void *g2From, void *g2To, int modelIndex) |
| void | trap_G2API_CopySpecificGhoul2Model (void *g2From, int modelFrom, void *g2To, int modelTo) |
| void | trap_G2API_DuplicateGhoul2Instance (void *g2From, void **g2To) |
| qboolean | trap_G2API_HasGhoul2ModelOnIndex (void *ghlInfo, int modelIndex) |
| qboolean | trap_G2API_RemoveGhoul2Model (void *ghlInfo, int modelIndex) |
| qboolean | trap_G2API_SkinlessModel (void *ghlInfo, int modelIndex) |
| int | trap_G2API_GetNumGoreMarks (void *ghlInfo, int modelIndex) |
| void | trap_G2API_AddSkinGore (void *ghlInfo, SSkinGoreData *gore) |
| void | trap_G2API_ClearSkinGore (void *ghlInfo) |
| int | trap_G2API_Ghoul2Size (void *ghlInfo) |
| int | trap_G2API_AddBolt (void *ghoul2, int modelIndex, const char *boneName) |
| qboolean | trap_G2API_AttachEnt (int *boltInfo, void *ghlInfoTo, int toBoltIndex, int entNum, int toModelNum) |
| void | trap_G2API_SetBoltInfo (void *ghoul2, int modelIndex, int boltInfo) |
| qboolean | trap_G2API_SetRootSurface (void *ghoul2, const int modelIndex, const char *surfaceName) |
| qboolean | trap_G2API_SetSurfaceOnOff (void *ghoul2, const char *surfaceName, const int flags) |
| qboolean | trap_G2API_SetNewOrigin (void *ghoul2, const int boltIndex) |
| qboolean | trap_G2API_DoesBoneExist (void *ghoul2, int modelIndex, const char *boneName) |
| int | trap_G2API_GetSurfaceRenderStatus (void *ghoul2, const int modelIndex, const char *surfaceName) |
| int | trap_G2API_GetTime (void) |
| void | trap_G2API_SetTime (int time, int clock) |
| void | trap_G2API_AbsurdSmoothing (void *ghoul2, qboolean status) |
| void | trap_G2API_SetRagDoll (void *ghoul2, sharedRagDollParams_t *params) |
| void | trap_G2API_AnimateG2Models (void *ghoul2, int time, sharedRagDollUpdateParams_t *params) |
| qboolean | trap_G2API_RagPCJConstraint (void *ghoul2, const char *boneName, vec3_t min, vec3_t max) |
| qboolean | trap_G2API_RagPCJGradientSpeed (void *ghoul2, const char *boneName, const float speed) |
| qboolean | trap_G2API_RagEffectorGoal (void *ghoul2, const char *boneName, vec3_t pos) |
| qboolean | trap_G2API_GetRagBonePos (void *ghoul2, const char *boneName, vec3_t pos, vec3_t entAngles, vec3_t entPos, vec3_t entScale) |
| qboolean | trap_G2API_RagEffectorKick (void *ghoul2, const char *boneName, vec3_t velocity) |
| qboolean | trap_G2API_RagForceSolve (void *ghoul2, qboolean force) |
| qboolean | trap_G2API_SetBoneIKState (void *ghoul2, int time, const char *boneName, int ikState, sharedSetBoneIKStateParams_t *params) |
| qboolean | trap_G2API_IKMove (void *ghoul2, int time, sharedIKMoveParams_t *params) |
| qboolean | trap_G2API_RemoveBone (void *ghoul2, const char *boneName, int modelIndex) |
| void | trap_G2API_AttachInstanceToEntNum (void *ghoul2, int entityNum, qboolean server) |
| void | trap_G2API_ClearAttachedInstance (int entityNum) |
| void | trap_G2API_CleanEntAttachments (void) |
| qboolean | trap_G2API_OverrideServer (void *serverInstance) |
| void | trap_G2API_GetSurfaceName (void *ghoul2, int surfNumber, int modelIndex, char *fillBuf) |
| void | trap_CG_RegisterSharedMemory (char *memory) |
| int | trap_CM_RegisterTerrain (const char *config) |
| void | trap_RMG_Init (int terrainID, const char *terrainInfo) |
| void | trap_RE_InitRendererTerrain (const char *info) |
| void | trap_R_WeatherContentsOverride (int contents) |
| void | trap_R_WorldEffectCommand (const char *cmd) |
| void | trap_WE_AddWeatherZone (const vec3_t mins, const vec3_t maxs) |
|
|
Definition at line 10 of file cg_syscalls.c.
00010 {
00011 syscall = syscallptr;
00012 }
|
|
|
Definition at line 15 of file cg_syscalls.c.
00015 {
00016 float floatTemp;
00017 floatTemp = x;
00018 return *(int *)&floatTemp;
00019 }
|
|
||||||||||||
|
Definition at line 517 of file cg_syscalls.c. References CG_TESTPRINTFLOAT, and PASSFLOAT().
00517 {
00518 syscall( CG_TESTPRINTFLOAT, string, PASSFLOAT(f) );
00519 }
|
|
||||||||||||
|
Definition at line 513 of file cg_syscalls.c. References CG_TESTPRINTINT.
00513 {
00514 syscall( CG_TESTPRINTINT, string, i );
00515 }
|
|
|
Definition at line 107 of file cg_syscalls.c. References CG_ADDCOMMAND. Referenced by CG_InitConsoleCommands().
00107 {
00108 syscall( CG_ADDCOMMAND, cmdName );
00109 }
|
|
||||||||||||||||
|
Definition at line 317 of file cg_syscalls.c.
00318 {
00319 return syscall( CG_ANYLANGUAGE_READCHARFROMSTRING, psText, piAdvanceCount, pbIsTrailingPunctuation);
00320 }
|
|
|
Definition at line 71 of file cg_syscalls.c.
00071 {
00072 return syscall( CG_ARGC );
00073 }
|
|
||||||||||||
|
Definition at line 79 of file cg_syscalls.c. References CG_ARGS.
00079 {
00080 syscall( CG_ARGS, buffer, bufferLength );
00081 }
|
|
||||||||||||||||
|
Definition at line 75 of file cg_syscalls.c.
00075 {
00076 syscall( CG_ARGV, n, buffer, bufferLength );
00077 }
|
|
|
Definition at line 247 of file cg_syscalls.c. References CG_AS_ADDPRECACHEENTRY, and name.
00248 {
00249 syscall(CG_AS_ADDPRECACHEENTRY, name);
00250 }
|
|
||||||||||||
|
Definition at line 257 of file cg_syscalls.c. References CG_AS_GETBMODELSOUND, name, and sfxHandle_t. Referenced by CG_EntityEvent(), CG_PlayDoorLoopSound(), and CG_PlayDoorSound().
00258 {
00259 return syscall(CG_AS_GETBMODELSOUND, name, stage);
00260 }
|
|
|
Definition at line 242 of file cg_syscalls.c. References CG_AS_PARSESETS.
00243 {
00244 syscall(CG_AS_PARSESETS);
00245 }
|
|
|
Definition at line 1085 of file cg_syscalls.c. References CG_SET_SHARED_BUFFER. Referenced by CG_Init().
01086 {
01087 syscall(CG_SET_SHARED_BUFFER, memory);
01088 }
|
|
|
Definition at line 602 of file cg_syscalls.c.
00602 {
00603 syscall(CG_CIN_DRAWCINEMATIC, handle);
00604 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 584 of file cg_syscalls.c.
00584 {
00585 return syscall(CG_CIN_PLAYCINEMATIC, arg0, xpos, ypos, width, height, bits);
00586 }
|
|
|
Definition at line 596 of file cg_syscalls.c.
00596 {
00597 return syscall(CG_CIN_RUNCINEMATIC, handle);
00598 }
|
|
||||||||||||||||||||||||
|
Definition at line 608 of file cg_syscalls.c.
00608 {
00609 syscall(CG_CIN_SETEXTENTS, handle, x, y, w, h);
00610 }
|
|
|
Definition at line 590 of file cg_syscalls.c.
00590 {
00591 return syscall(CG_CIN_STOPCINEMATIC, handle);
00592 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 151 of file cg_syscalls.c. References CG_CM_BOXTRACE, clipHandle_t, and vec3_t. Referenced by CG_G2Trace(), CG_Rag_Trace(), and CG_Trace().
00153 {
00154 syscall( CG_CM_BOXTRACE, results, start, end, mins, maxs, model, brushmask );
00155 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 157 of file cg_syscalls.c. References CG_CM_CAPSULETRACE, clipHandle_t, and vec3_t.
00159 {
00160 syscall( CG_CM_CAPSULETRACE, results, start, end, mins, maxs, model, brushmask );
00161 }
|
|
|
Definition at line 131 of file cg_syscalls.c. References CG_CM_INLINEMODEL, and clipHandle_t. Referenced by CG_PointContents().
00131 {
00132 return syscall( CG_CM_INLINEMODEL, index );
00133 }
|
|
||||||||||||
|
Definition at line 123 of file cg_syscalls.c. References CG_CM_LOADMAP. Referenced by CG_Init().
00123 {
00124 syscall( CG_CM_LOADMAP, mapname, SubBSP );
00125 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 177 of file cg_syscalls.c. References CG_CM_MARKFRAGMENTS, and vec3_t. Referenced by CG_CreateSaberMarks(), and CG_ImpactMark().
00180 {
00181 return syscall( CG_CM_MARKFRAGMENTS, numPoints, points, projection, maxPoints, pointBuffer, maxFragments, fragmentBuffer );
00182 }
|
|
|
Definition at line 127 of file cg_syscalls.c. References CG_CM_NUMINLINEMODELS.
00127 {
00128 return syscall( CG_CM_NUMINLINEMODELS );
00129 }
|
|
||||||||||||
|
Definition at line 143 of file cg_syscalls.c. References CG_CM_POINTCONTENTS, clipHandle_t, and vec3_t. Referenced by CG_AddFragment(), and CG_PointContents().
00143 {
00144 return syscall( CG_CM_POINTCONTENTS, p, model );
00145 }
|
|
|
Definition at line 1090 of file cg_syscalls.c.
01091 { //rwwRMG - added [NEWTRAP]
01092 return syscall(CG_CM_REGISTER_TERRAIN, config);
01093 }
|
|
||||||||||||
|
Definition at line 135 of file cg_syscalls.c. References CG_CM_TEMPBOXMODEL, clipHandle_t, and vec3_t.
00135 {
00136 return syscall( CG_CM_TEMPBOXMODEL, mins, maxs );
00137 }
|
|
||||||||||||
|
Definition at line 139 of file cg_syscalls.c. References CG_CM_TEMPCAPSULEMODEL, clipHandle_t, and vec3_t.
00139 {
00140 return syscall( CG_CM_TEMPCAPSULEMODEL, mins, maxs );
00141 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 163 of file cg_syscalls.c. References CG_CM_TRANSFORMEDBOXTRACE, clipHandle_t, and vec3_t.
00166 {
00167 syscall( CG_CM_TRANSFORMEDBOXTRACE, results, start, end, mins, maxs, model, brushmask, origin, angles );
00168 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 170 of file cg_syscalls.c. References CG_CM_TRANSFORMEDCAPSULETRACE, clipHandle_t, and vec3_t.
00173 {
00174 syscall( CG_CM_TRANSFORMEDCAPSULETRACE, results, start, end, mins, maxs, model, brushmask, origin, angles );
00175 }
|
|
||||||||||||||||||||
|
Definition at line 147 of file cg_syscalls.c. References CG_CM_TRANSFORMEDPOINTCONTENTS, clipHandle_t, and vec3_t. Referenced by CG_PointContents().
00147 {
00148 return syscall( CG_CM_TRANSFORMEDPOINTCONTENTS, p, model, origin, angles );
00149 }
|
|
|
Definition at line 66 of file cg_syscalls.c. References CG_CVAR_GETHIDDENVALUE, and name.
00067 {
00068 return syscall(CG_CVAR_GETHIDDENVALUE, name);
00069 }
|
|
||||||||||||||||||||
|
Definition at line 50 of file cg_syscalls.c.
00050 {
00051 syscall( CG_CVAR_REGISTER, vmCvar, varName, defaultValue, flags );
00052 }
|
|
||||||||||||
|
Definition at line 58 of file cg_syscalls.c.
00058 {
00059 syscall( CG_CVAR_SET, var_name, value );
00060 }
|
|
|
Definition at line 54 of file cg_syscalls.c.
00054 {
00055 syscall( CG_CVAR_UPDATE, vmCvar );
00056 }
|
|
||||||||||||||||
|
Definition at line 62 of file cg_syscalls.c.
00062 {
00063 syscall( CG_CVAR_VARIABLESTRINGBUFFER, var_name, buffer, bufsize );
00064 }
|
|
|
Definition at line 25 of file cg_syscalls.c.
00025 {
00026 syscall( CG_ERROR, fmt );
00027 }
|
|
|
Definition at line 95 of file cg_syscalls.c.
00095 {
00096 syscall( CG_FS_FCLOSEFILE, f );
00097 }
|
|