#include "cg_local.h"#include "../namespace_begin.h"#include "../namespace_end.h"Go to the source code of this file.
Functions | |
| qboolean | strap_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 | strap_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 | strap_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) |
| qboolean | strap_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 | strap_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 | strap_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) |
| void | strap_G2API_SetRagDoll (void *ghoul2, sharedRagDollParams_t *params) |
| void | strap_G2API_AnimateG2Models (void *ghoul2, int time, sharedRagDollUpdateParams_t *params) |
| qboolean | strap_G2API_SetBoneIKState (void *ghoul2, int time, const char *boneName, int ikState, sharedSetBoneIKStateParams_t *params) |
| qboolean | strap_G2API_IKMove (void *ghoul2, int time, sharedIKMoveParams_t *params) |
| void | strap_TrueMalloc (void **ptr, int size) |
| void | strap_TrueFree (void **ptr) |
|
||||||||||||||||
|
Definition at line 48 of file cg_strap.c.
00049 {
00050 trap_G2API_AnimateG2Models(ghoul2, time, params);
00051 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 6 of file cg_strap.c.
00008 {
00009 return trap_G2API_GetBoltMatrix(ghoul2, modelIndex, boltIndex, matrix, angles, position, frameNum, modelList, scale);
00010 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 18 of file cg_strap.c.
00020 {
00021 return trap_G2API_GetBoltMatrix_NoRecNoRot(ghoul2, modelIndex, boltIndex, matrix, angles, position, frameNum, modelList, scale);
00022 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 12 of file cg_strap.c.
00014 {
00015 return trap_G2API_GetBoltMatrix_NoReconstruct(ghoul2, modelIndex, boltIndex, matrix, angles, position, frameNum, modelList, scale);
00016 }
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 37 of file cg_strap.c.
00039 {
00040 return trap_G2API_GetBoneAnim(ghoul2, boneName, currentTime, currentFrame, startFrame, endFrame, flags, animSpeed, modelList, modelIndex);
00041 }
|
|
||||||||||||||||
|
Definition at line 58 of file cg_strap.c.
00059 {
00060 return trap_G2API_IKMove(ghoul2, time, params);
00061 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 24 of file cg_strap.c.
00027 {
00028 return trap_G2API_SetBoneAngles(ghoul2, modelIndex, boneName, angles, flags, up, right, forward, modelList, blendTime, currentTime);
00029 }
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 31 of file cg_strap.c.
00033 {
00034 return trap_G2API_SetBoneAnim(ghoul2, modelIndex, boneName, startFrame, endFrame, flags, animSpeed, currentTime, setFrame, blendTime);
00035 }
|
|
||||||||||||||||||||||||
|
Definition at line 53 of file cg_strap.c.
00054 {
00055 return trap_G2API_SetBoneIKState(ghoul2, time, boneName, ikState, params);
00056 }
|
|
||||||||||||
|
Definition at line 43 of file cg_strap.c.
00044 {
00045 trap_G2API_SetRagDoll(ghoul2, params);
00046 }
|
|
|
Definition at line 68 of file cg_strap.c.
00069 {
00070 trap_TrueFree(ptr);
00071 }
|
|
||||||||||||
|
Definition at line 63 of file cg_strap.c.
00064 {
00065 trap_TrueMalloc(ptr, size);
00066 }
|