Home
last modified time | relevance | path

Searched refs:boltIndex (Results 1 – 25 of 49) sorted by relevance

12

/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A Dbg_g2_utils.c39 int boltIndex; in BG_AttachToRancor() local
46 boltIndex = trap->G2API_AddBolt(ghoul2, 0, "jaw_bone"); in BG_AttachToRancor()
48 boltIndex = trap->G2API_AddBolt(ghoul2, 0, "jaw_bone"); in BG_AttachToRancor()
54 boltIndex = trap->G2API_AddBolt(ghoul2, 0, "*r_hand"); in BG_AttachToRancor()
56 boltIndex = trap->G2API_AddBolt(ghoul2, 0, "*r_hand"); in BG_AttachToRancor()
61 …trap->G2API_GetBoltMatrix( ghoul2, 0, boltIndex, &boltMatrix, rancAngles, rancOrigin, time, modelL… in BG_AttachToRancor()
63 …trap->G2API_GetBoltMatrix( ghoul2, 0, boltIndex, &boltMatrix, rancAngles, rancOrigin, time, modelL… in BG_AttachToRancor()
H A DNPC_utils.c1723 void G_GetBoltPosition( gentity_t *self, int boltIndex, vec3_t pos, int modelIndex ) in G_GetBoltPosition() argument
1748 boltIndex, in G_GetBoltPosition()
1758 float NPC_EntRangeFromBolt( gentity_t *targEnt, int boltIndex ) in NPC_EntRangeFromBolt() argument
1767 G_GetBoltPosition( NPCS.NPC, boltIndex, org, 0 ); in NPC_EntRangeFromBolt()
1772 float NPC_EnemyRangeFromBolt( int boltIndex ) in NPC_EnemyRangeFromBolt() argument
1774 return (NPC_EntRangeFromBolt( NPCS.NPC->enemy, boltIndex )); in NPC_EnemyRangeFromBolt()
1777 int NPC_GetEntsNearBolt( int *radiusEnts, float radius, int boltIndex, vec3_t boltOrg ) in NPC_GetEntsNearBolt() argument
1785 G_GetBoltPosition( NPCS.NPC, boltIndex, org, 0 ); in NPC_GetEntsNearBolt()
H A DNPC_AI_Wampa.c196 extern int NPC_GetEntsNearBolt( int *radiusEnts, float radius, int boltIndex, vec3_t boltOrg );
198 void Wampa_Slash( int boltIndex, qboolean backhand ) in Wampa_Slash() argument
208 numEnts = NPC_GetEntsNearBolt( radiusEntNums, radius, boltIndex, boltOrg ); in Wampa_Slash()
H A Dg_syscalls.c852 qboolean trap_G2API_GetBoltMatrix(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone… in trap_G2API_GetBoltMatrix() argument
853 …return (qboolean)(Q_syscall(G_G2_GETBOLT, ghoul2, modelIndex, boltIndex, matrix, angles, position,… in trap_G2API_GetBoltMatrix()
855 …tBoltMatrix_NoReconstruct(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoReconstruct() argument
856 …return (qboolean)(Q_syscall(G_G2_GETBOLT_NOREC, ghoul2, modelIndex, boltIndex, matrix, angles, pos… in trap_G2API_GetBoltMatrix_NoReconstruct()
858 …_GetBoltMatrix_NoRecNoRot(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoRecNoRot() argument
859 …return (qboolean)(Q_syscall(G_G2_GETBOLT_NOREC_NOROT, ghoul2, modelIndex, boltIndex, matrix, angle… in trap_G2API_GetBoltMatrix_NoRecNoRot()
924 qboolean trap_G2API_SetNewOrigin(void *ghoul2, const int boltIndex) { in trap_G2API_SetNewOrigin() argument
925 return Q_syscall(G_G2_SETNEWORIGIN, ghoul2, boltIndex); in trap_G2API_SetNewOrigin()
/dports/games/openjk/OpenJK-07675e2/code/game/
H A DNPC_utils.cpp1553 void G_GetBoltPosition( gentity_t *self, int boltIndex, vec3_t pos, int modelIndex = 0 ) in G_GetBoltPosition() argument
1563 boltIndex, in G_GetBoltPosition()
1573 float NPC_EntRangeFromBolt( gentity_t *targEnt, int boltIndex ) in NPC_EntRangeFromBolt() argument
1582 G_GetBoltPosition( NPC, boltIndex, org ); in NPC_EntRangeFromBolt()
1587 float NPC_EnemyRangeFromBolt( int boltIndex ) in NPC_EnemyRangeFromBolt() argument
1589 return (NPC_EntRangeFromBolt( NPC->enemy, boltIndex )); in NPC_EnemyRangeFromBolt()
1592 int G_GetEntsNearBolt( gentity_t *self, gentity_t **radiusEnts, float radius, int boltIndex, vec3_t… in G_GetEntsNearBolt() argument
1600 G_GetBoltPosition( self, boltIndex, org ); in G_GetEntsNearBolt()
1615 int NPC_GetEntsNearBolt( gentity_t **radiusEnts, float radius, int boltIndex, vec3_t boltOrg ) in NPC_GetEntsNearBolt() argument
1617 return (G_GetEntsNearBolt( NPC, radiusEnts, radius, boltIndex, boltOrg )); in NPC_GetEntsNearBolt()
H A DAI_Tusken.cpp419 int boltIndex = gi.G2API_AddBolt(&NPC->ghoul2[NPC->weaponModel[0]], "*weapon"); in Tusken_StaffTrace() local
420 if ( boltIndex != -1 ) in Tusken_StaffTrace()
433 boltIndex, in Tusken_StaffTrace()
H A Dg_local.h410 void G_SetBoltSurfaceRemoval( const int entNum, const int modelIndex, const int boltIndex, const in…
423 void G_PlayEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum, const vec…
425 void G_StopEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum );
426 void G_StopEffect(const char *name, const int modelIndex, const int boltIndex, const int entNum );
H A Dg_utils.cpp196 void G_PlayEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum, const vec… in G_PlayEffect() argument
207 …gi.G2API_AttachEnt(&tent->s.boltInfo, &g_entities[entNum].ghoul2[modelIndex], boltIndex, entNum, m… in G_PlayEffect()
237 void G_StopEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum ) in G_StopEffect() argument
244 …gi.G2API_AttachEnt( &tent->s.boltInfo, &g_entities[entNum].ghoul2[modelIndex], boltIndex, entNum, … in G_StopEffect()
247 void G_StopEffect(const char *name, const int modelIndex, const int boltIndex, const int entNum ) in G_StopEffect() argument
249 G_StopEffect( G_EffectIndex( name ), modelIndex, boltIndex, entNum ); in G_StopEffect()
2031 void G_SetBoltSurfaceRemoval( const int entNum, const int modelIndex, const int boltIndex, const in… in G_SetBoltSurfaceRemoval() argument
2040 e->attackDebounceTime = boltIndex; in G_SetBoltSurfaceRemoval()
H A DAI_Wampa.cpp185 extern int NPC_GetEntsNearBolt( gentity_t **radiusEnts, float radius, int boltIndex, vec3_t boltOrg…
187 void Wampa_Slash( int boltIndex, qboolean backhand ) in Wampa_Slash() argument
197 numEnts = NPC_GetEntsNearBolt( radiusEnts, radius, boltIndex, boltOrg ); in Wampa_Slash()
611 extern float NPC_EnemyRangeFromBolt( int boltIndex );
H A DAI_Howler.cpp42 extern void G_GetBoltPosition( gentity_t *self, int boltIndex, vec3_t pos, int modelIndex = 0 );
46 extern float NPC_EntRangeFromBolt( gentity_t *targEnt, int boltIndex );
47 extern int NPC_GetEntsNearBolt( gentity_t **radiusEnts, float radius, int boltIndex, vec3_t boltOrg…
H A Dg_public.h308 …qboolean (*G2API_GetBoltMatrix)(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, …
328 qboolean (*G2API_SetNewOrigin)(CGhoul2Info *ghlInfo, const int boltIndex);
/dports/games/openjk/OpenJK-07675e2/codemp/ui/
H A Dui_syscalls.c358 qboolean trap_G2API_GetBoltMatrix(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone… in trap_G2API_GetBoltMatrix() argument
359 …return (qboolean)(Q_syscall(UI_G2_GETBOLT, ghoul2, modelIndex, boltIndex, matrix, angles, position… in trap_G2API_GetBoltMatrix()
361 …BoltMatrix_NoReconstruct( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoReconstruct() argument
362 …return (qboolean)(Q_syscall(UI_G2_GETBOLT_NOREC, ghoul2, modelIndex, boltIndex, matrix, angles, po… in trap_G2API_GetBoltMatrix_NoReconstruct()
364 …_GetBoltMatrix_NoRecNoRot(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoRecNoRot() argument
365 …return (qboolean)(Q_syscall(UI_G2_GETBOLT_NOREC_NOROT, ghoul2, modelIndex, boltIndex, matrix, angl… in trap_G2API_GetBoltMatrix_NoRecNoRot()
424 qboolean trap_G2API_SetNewOrigin(void *ghoul2, const int boltIndex) { in trap_G2API_SetNewOrigin() argument
425 return Q_syscall(UI_G2_SETNEWORIGIN, ghoul2, boltIndex); in trap_G2API_SetNewOrigin()
H A Dui_public.h342 …qboolean (*G2API_GetBoltMatrix) ( void *ghoul2, const int modelIndex, const int boltIndex, md…
343 …ltMatrix_NoReconstruct) ( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat…
344 …BoltMatrix_NoRecNoRot) ( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat…
363 qboolean (*G2API_SetNewOrigin) ( void *ghoul2, const int boltIndex );
/dports/games/openjk/OpenJK-07675e2/codemp/rd-dedicated/
H A DG2_API.cpp1708 …tMatrix_SPMethod(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in G2API_GetBoltMatrix_SPMethod() argument
1719 if (ghlInfo && (boltIndex < (int)ghlInfo->mBltlist.size()) && boltIndex >= 0 ) in G2API_GetBoltMatrix_SPMethod()
1731 use=&ghlInfo->mBltlist[boltIndex].position; in G2API_GetBoltMatrix_SPMethod()
1776 qboolean G2API_GetBoltMatrix(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxa… in G2API_GetBoltMatrix() argument
1797 …G2ERROR(boltIndex >= 0 && (boltIndex < ghlInfo->mBltlist.size()),va("Invalid Bolt Index (%d:%s)",b… in G2API_GetBoltMatrix()
1799 if (boltIndex >= 0 && ghlInfo && (boltIndex < (int)ghlInfo->mBltlist.size()) ) in G2API_GetBoltMatrix()
1822 G2_GetBoltMatrixLow(*ghlInfo,boltIndex,scale,bolt); in G2API_GetBoltMatrix()
2386 qboolean G2API_SetNewOrigin(CGhoul2Info_v &ghoul2, const int boltIndex) in G2API_SetNewOrigin() argument
2397 if (boltIndex < 0) in G2API_SetNewOrigin()
2410 … "Bad boltindex (%i) trying to SetNewOrigin (naughty naughty!)\nModel %s\n", boltIndex, modelName); in G2API_SetNewOrigin()
[all …]
/dports/games/openjk/OpenJK-07675e2/codemp/client/
H A Dcl_uiapi.cpp271 static qboolean CL_G2API_GetBoltMatrix( void *ghoul2, const int modelIndex, const int boltIndex, md… in CL_G2API_GetBoltMatrix() argument
276 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix()
279 …BoltMatrix_NoReconstruct( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in CL_G2API_GetBoltMatrix_NoReconstruct() argument
285 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix_NoReconstruct()
288 …GetBoltMatrix_NoRecNoRot( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in CL_G2API_GetBoltMatrix_NoRecNoRot() argument
295 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix_NoRecNoRot()
608 static qboolean CL_G2API_SetNewOrigin( void *ghoul2, const int boltIndex ) { in CL_G2API_SetNewOrigin() argument
613 return re->G2API_SetNewOrigin( *((CGhoul2Info_v *)ghoul2), boltIndex ); in CL_G2API_SetNewOrigin()
H A Dcl_cgameapi.cpp490 static qboolean CL_G2API_GetBoltMatrix( void *ghoul2, const int modelIndex, const int boltIndex, md… in CL_G2API_GetBoltMatrix() argument
492 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix()
495 …BoltMatrix_NoReconstruct( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in CL_G2API_GetBoltMatrix_NoReconstruct() argument
498 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix_NoReconstruct()
501 …GetBoltMatrix_NoRecNoRot( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in CL_G2API_GetBoltMatrix_NoRecNoRot() argument
505 …return re->G2API_GetBoltMatrix( *((CGhoul2Info_v *)ghoul2), modelIndex, boltIndex, matrix, angles,… in CL_G2API_GetBoltMatrix_NoRecNoRot()
669 static qboolean CL_G2API_SetNewOrigin( void *ghoul2, const int boltIndex ) { in CL_G2API_SetNewOrigin() argument
671 return re->G2API_SetNewOrigin( *((CGhoul2Info_v *)ghoul2), boltIndex ); in CL_G2API_SetNewOrigin()
/dports/games/openjk/OpenJK-07675e2/codemp/rd-vanilla/
H A DG2_API.cpp1932 …tMatrix_SPMethod(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in G2API_GetBoltMatrix_SPMethod() argument
1943 if (ghlInfo && (boltIndex < (int)ghlInfo->mBltlist.size()) && boltIndex >= 0 ) in G2API_GetBoltMatrix_SPMethod()
1955 use=&ghlInfo->mBltlist[boltIndex].position; in G2API_GetBoltMatrix_SPMethod()
2000 qboolean G2API_GetBoltMatrix(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxa… in G2API_GetBoltMatrix() argument
2021 …G2ERROR(boltIndex >= 0 && (boltIndex < ghlInfo->mBltlist.size()),va("Invalid Bolt Index (%d:%s)",b… in G2API_GetBoltMatrix()
2023 if (boltIndex >= 0 && ghlInfo && (boltIndex < (int)ghlInfo->mBltlist.size()) ) in G2API_GetBoltMatrix()
2046 G2_GetBoltMatrixLow(*ghlInfo,boltIndex,scale,bolt); in G2API_GetBoltMatrix()
2633 qboolean G2API_SetNewOrigin(CGhoul2Info_v &ghoul2, const int boltIndex) in G2API_SetNewOrigin() argument
2644 if (boltIndex < 0) in G2API_SetNewOrigin()
2657 … "Bad boltindex (%i) trying to SetNewOrigin (naughty naughty!)\nModel %s\n", boltIndex, modelName); in G2API_SetNewOrigin()
[all …]
/dports/games/openjk/OpenJK-07675e2/code/rd-vanilla/
H A DG2_API.cpp1726 qboolean G2API_GetBoltMatrix(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxa… in G2API_GetBoltMatrix() argument
1747 …G2ERROR(boltIndex >= 0 && (boltIndex < (int)ghlInfo->mBltlist.size()),va("Invalid Bolt Index (%d:%… in G2API_GetBoltMatrix()
1749 if (boltIndex >= 0 && ghlInfo && (boltIndex < (int)ghlInfo->mBltlist.size()) ) in G2API_GetBoltMatrix()
1758 G2_GetBoltMatrixLow(*ghlInfo,boltIndex,scale,bolt); in G2API_GetBoltMatrix()
2093 qboolean G2API_SetNewOrigin(CGhoul2Info *ghlInfo, const int boltIndex) in G2API_SetNewOrigin() argument
2097 G2ERROR(boltIndex>=0&&boltIndex<(int)ghlInfo->mBltlist.size(),"invalid boltIndex"); in G2API_SetNewOrigin()
2099 if (boltIndex>=0&&boltIndex<(int)ghlInfo->mBltlist.size()) in G2API_SetNewOrigin()
2101 ghlInfo->mNewOrigin = boltIndex; in G2API_SetNewOrigin()
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/
H A Dcg_public.h147 int boltIndex; // input member
666 …qboolean (*G2API_GetBoltMatrix) ( void *ghoul2, const int modelIndex, const int boltIndex, md…
667 …ltMatrix_NoReconstruct) ( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat…
668 …BoltMatrix_NoRecNoRot) ( void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat…
694 qboolean (*G2API_SetNewOrigin) ( void *ghoul2, const int boltIndex );
H A Dcg_syscalls.c533 qboolean trap_G2API_GetBoltMatrix(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone… in trap_G2API_GetBoltMatrix() argument
534 …return (qboolean)(Q_syscall(CG_G2_GETBOLT, ghoul2, modelIndex, boltIndex, matrix, angles, position… in trap_G2API_GetBoltMatrix()
536 …tBoltMatrix_NoReconstruct(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoReconstruct() argument
537 …return (qboolean)(Q_syscall(CG_G2_GETBOLT_NOREC, ghoul2, modelIndex, boltIndex, matrix, angles, po… in trap_G2API_GetBoltMatrix_NoReconstruct()
539 …_GetBoltMatrix_NoRecNoRot(void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *mat… in trap_G2API_GetBoltMatrix_NoRecNoRot() argument
540 …return (qboolean)(Q_syscall(CG_G2_GETBOLT_NOREC_NOROT, ghoul2, modelIndex, boltIndex, matrix, angl… in trap_G2API_GetBoltMatrix_NoRecNoRot()
617 qboolean trap_G2API_SetNewOrigin(void *ghoul2, const int boltIndex) { in trap_G2API_SetNewOrigin() argument
618 return Q_syscall(CG_G2_SETNEWORIGIN, ghoul2, boltIndex); in trap_G2API_SetNewOrigin()
/dports/games/openjk/OpenJK-07675e2/code/cgame/
H A Dcg_effects.cpp1049 void CG_PlayEffectBolted( const char *fxName, const int modelIndex, const int boltIndex, const int … in CG_PlayEffectBolted() argument
1057 boltIndex, in CG_PlayEffectBolted()
1071 void CG_PlayEffectIDBolted( const int fxID, const int modelIndex, const int boltIndex, const int en… in CG_PlayEffectIDBolted() argument
1074 CG_PlayEffectBolted( fxName, modelIndex, boltIndex, entNum, origin, iLoopTime, isRelative ); in CG_PlayEffectIDBolted()
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A Dg_utils.cpp191 void G_PlayEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum) in G_PlayEffect() argument
200 …gi.G2API_AttachEnt(&tent->s.boltInfo, &g_entities[entNum].ghoul2[modelIndex], boltIndex, entNum, m… in G_PlayEffect()
224 void G_PlayEffect( const char *name, const int modelIndex, const int boltIndex, const int entNum ) in G_PlayEffect() argument
226 G_PlayEffect( G_EffectIndex( name ), modelIndex, boltIndex, entNum ); in G_PlayEffect()
1515 void G_SetBoltSurfaceRemoval( const int entNum, const int modelIndex, const int boltIndex, const in… in G_SetBoltSurfaceRemoval() argument
1524 e->attackDebounceTime = boltIndex; in G_SetBoltSurfaceRemoval()
H A Dg_local.h359 void G_SetBoltSurfaceRemoval( const int entNum, const int modelIndex, const int boltIndex, const in…
369 void G_PlayEffect( const char *name, const int modelIndex, const int boltIndex, const int entNum);
372 void G_PlayEffect( int fxID, const int modelIndex, const int boltIndex, const int entNum);
H A Dg_public.h298 …qboolean (*G2API_GetBoltMatrix)(CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, …
318 qboolean (*G2API_SetNewOrigin)(CGhoul2Info *ghlInfo, const int boltIndex);
/dports/games/openjk/OpenJK-07675e2/code/server/
H A Dsv_game.cpp533 …CGhoul2Info_v &ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t… in SV_G2API_GetBoltMatrix() argument
536 return re.G2API_GetBoltMatrix(ghoul2, modelIndex, boltIndex, matrix, angles, in SV_G2API_GetBoltMatrix()
750 static qboolean SV_G2API_SetNewOrigin( CGhoul2Info *ghlInfo, const int boltIndex ) in SV_G2API_SetNewOrigin() argument
752 return re.G2API_SetNewOrigin( ghlInfo, boltIndex ); in SV_G2API_SetNewOrigin()

12