/dports/games/openjk/OpenJK-07675e2/codemp/client/ |
H A D | FXExport.cpp | 78 const int boltInfo, CGhoul2Info_v *ghoul2, int iLooptime, qboolean isRelative ) in FX_PlayBoltedEffectID() argument 80 …theFxScheduler.PlayEffect(id, org, 0, boltInfo, ghoul2, -1, -1, -1, qfalse, iLooptime, !!isRelativ… in FX_PlayBoltedEffectID() 84 matrix3_t axis, const int boltInfo, const int entNum, int vol, int rad ) in FX_PlayEntityEffectID() argument 93 theFxScheduler.PlayEffect(id, org, axis, boltInfo, 0, -1, vol, rad ); in FX_PlayEntityEffectID()
|
H A D | FxScheduler.cpp | 59 assert(boltInfo!=-1); in ScheduleLoopedEffect() 64 mLoopedEffectArray[i].mBoltInfo == boltInfo && in ScheduleLoopedEffect() 93 mLoopedEffectArray[i].mBoltInfo = boltInfo; in ScheduleLoopedEffect() 121 mLoopedEffectArray[i].mBoltInfo == boltInfo && in StopEffect() 817 if ( boltInfo > 0 ) in PlayEffect() 820 modelNum = ( boltInfo >> MODEL_SHIFT ) & MODEL_AND; in PlayEffect() 821 boltNum = ( boltInfo >> BOLT_SHIFT ) & BOLT_AND; in PlayEffect() 822 entityNum = ( boltInfo >> ENTITY_SHIFT ) & ENTITY_AND; in PlayEffect() 911 if ( boltInfo == -1 && entityNum != -1 ) in PlayEffect() 940 if ( boltInfo == -1 ) in PlayEffect() [all …]
|
H A D | FXExport.h | 30 void FX_PlayEntityEffectID( int id, vec3_t org, matrix3_t axis, const int boltInfo, const int entNu… 31 void FX_PlayBoltedEffectID( int id, vec3_t org, const int boltInfo, CGhoul2Info_v *ghoul2, int iLoo…
|
H A D | FxScheduler.h | 592 …int ScheduleLoopedEffect( int id, int boltInfo, CGhoul2Info_v *ghoul2, bool isPortal, int iLoopTi… 653 …void PlayEffect( int id, vec3_t origin, matrix3_t axis, const int boltInfo=-1, CGhoul2Info_v *ghou… 658 …matrix3_t axis, const int boltInfo = -1, CGhoul2Info_v *ghoul2 = NULL, int fxParm = -1, int vol = … 660 …void StopEffect( const char *file, const int boltInfo, bool isPortal = false ); //find a scheduled…
|
H A D | cl_cgameapi.cpp | 447 int boltInfo=0; in CGFX_PlayBoltedEffectID() local 448 if ( re->G2API_AttachEnt( &boltInfo, g2, modelNum, boltNum, entNum, modelNum ) ) in CGFX_PlayBoltedEffectID() 450 FX_PlayBoltedEffectID(id, org, boltInfo, &g2, iLooptime, isRelative ); in CGFX_PlayBoltedEffectID() 648 static qboolean CL_G2API_AttachEnt( int *boltInfo, void *ghlInfoTo, int toBoltIndex, int entNum, in… in CL_G2API_AttachEnt() argument 651 return re->G2API_AttachEnt( boltInfo, g2, 0, toBoltIndex, entNum, toModelNum ); in CL_G2API_AttachEnt() 654 static void CL_G2API_SetBoltInfo( void *ghoul2, int modelIndex, int boltInfo ) { in CL_G2API_SetBoltInfo() argument 656 re->G2API_SetBoltInfo( *((CGhoul2Info_v *)ghoul2), modelIndex, boltInfo ); in CL_G2API_SetBoltInfo()
|
/dports/games/openjk/OpenJK-07675e2/code/cgame/ |
H A D | FxScheduler.cpp | 207 assert(boltInfo!=-1); in ScheduleLoopedEffect() 212 mLoopedEffectArray[i].mBoltInfo == boltInfo && in ScheduleLoopedEffect() 241 mLoopedEffectArray[i].mBoltInfo = boltInfo; in ScheduleLoopedEffect() 268 mLoopedEffectArray[i].mBoltInfo == boltInfo && in StopEffect() 1141 if ( boltInfo > 0 ) in PlayEffect() 1144 modelNum = ( boltInfo >> MODEL_SHIFT ) & MODEL_AND; in PlayEffect() 1145 boltNum = ( boltInfo >> BOLT_SHIFT ) & BOLT_AND; in PlayEffect() 1146 entityNum = ( boltInfo >> ENTITY_SHIFT ) & ENTITY_AND; in PlayEffect() 1153 ScheduleLoopedEffect(id, boltInfo, isPortal, iLoopTime, isRelative); in PlayEffect() 1204 if ( boltInfo == -1 && entNum != -1 ) in PlayEffect() [all …]
|
H A D | FxScheduler.h | 639 int ScheduleLoopedEffect( int id, int boltInfo, bool isPortal, int iLoopTime, bool isRelative ); 680 …void PlayEffect( int id, vec3_t origin, vec3_t axis[3], const int boltInfo=-1, const int entNum=-1… 683 …void PlayEffect( const char *file, vec3_t origin, vec3_t axis[3], const int boltInfo, const int en… 688 …void StopEffect( const char *file, const int boltInfo, bool isPortal = false ); //find a scheduled…
|
H A D | cg_ents.cpp | 257 int modelNum = cent->currentState.boltInfo >> MODEL_SHIFT; in G2_BoltToGhoul2Model() 259 int boltNum = cent->currentState.boltInfo >> BOLT_SHIFT; in G2_BoltToGhoul2Model() 261 int entNum = cent->currentState.boltInfo >> ENTITY_SHIFT; in G2_BoltToGhoul2Model() 407 if (s1->boltInfo) in CG_General() 2111 if ( (cent->currentState.boltInfo&MEF_MULTI_SPIN) ) in CG_MatrixEffect() 2195 if (cent->currentState.boltInfo&MEF_LOOK_AT_ENEMY) in CG_MatrixEffect() 2226 if ( !(cent->currentState.boltInfo&MEF_NO_SPIN) ) in CG_MatrixEffect() 2231 if ( (cent->currentState.boltInfo&MEF_REVERSE_SPIN) ) in CG_MatrixEffect() 2242 else if ( !(cent->currentState.boltInfo&MEF_NO_TIMESCALE) ) in CG_MatrixEffect() 2258 if ( !(cent->currentState.boltInfo&MEF_NO_VERTBOB) ) in CG_MatrixEffect() [all …]
|
H A D | cg_event.cpp | 815 if (es->boltInfo != 0) in CG_EntityEvent() 818 …theFxScheduler.PlayEffect( s, cent->lerpOrigin, axis, es->boltInfo, -1, portalEnt, es->loopSound, … in CG_EntityEvent() 859 if ( es->boltInfo != 0 ) in CG_EntityEvent() 861 theFxScheduler.StopEffect( s, es->boltInfo, portalEnt ); in CG_EntityEvent()
|
H A D | cg_effects.cpp | 1052 int boltInfo; in CG_PlayEffectBolted() local 1055 gi.G2API_AttachEnt(&boltInfo, in CG_PlayEffectBolted() 1064 boltInfo, in CG_PlayEffectBolted()
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/ |
H A D | FxScheduler.cpp | 539 void CFxScheduler::PlayEffect( const char *file, vec3_t origin, vec3_t axis[3], const int boltInfo,… in PlayEffect() argument 561 PlayEffect( mEffectIDs[sfile], origin, axis, boltInfo, entNum ); in PlayEffect() 841 void CFxScheduler::PlayEffect( int id, vec3_t origin, vec3_t axis[3], const int boltInfo, const int… in PlayEffect() argument 866 if ( boltInfo > 0 ) in PlayEffect() 869 modelNum = ( boltInfo >> MODEL_SHIFT ) & MODEL_AND; in PlayEffect() 870 boltNum = ( boltInfo >> BOLT_SHIFT ) & BOLT_AND; in PlayEffect() 871 entityNum = ( boltInfo >> ENTITY_SHIFT ) & ENTITY_AND; in PlayEffect() 923 if ( boltInfo == -1 && entNum != -1 ) in PlayEffect() 947 if ( boltInfo == -1 ) in PlayEffect()
|
H A D | FxScheduler.h | 621 …void PlayEffect( int id, vec3_t origin, vec3_t axis[3], const int boltInfo=-1, const int entNum=-1… 625 vec3_t axis[3], const int boltInfo, const int entNum );
|
H A D | cg_event.cpp | 777 if (es->boltInfo != 0) in CG_EntityEvent() 779 theFxScheduler.PlayEffect( s, cent->lerpOrigin, axis, es->boltInfo, -1 ); in CG_EntityEvent()
|
/dports/games/openjk/OpenJK-07675e2/codemp/ghoul2/ |
H A D | g2_local.h | 295 void G2API_SetBoltInfo(CGhoul2Info_v &ghoul2, int modelIndex, int boltInfo); 298 qboolean G2API_AttachEnt(int *boltInfo, CGhoul2Info_v& ghoul2, int modelIndex, int toBoltIndex, int… 299 void G2API_DetachEnt(int *boltInfo); 338 void G2API_SetBoltInfo(CGhoul2Info_v &ghoul2, int modelIndex, int boltInfo);
|
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/ |
H A D | cg_syscalls.c | 446 void trap_FX_PlayEntityEffect( const char *file, vec3_t org, matrix3_t axis, const int boltInfo, co… in trap_FX_PlayEntityEffect() argument 447 Q_syscall( CG_FX_PLAY_ENTITY_EFFECT, file, org, axis, boltInfo, entNum, vol, rad ); in trap_FX_PlayEntityEffect() 455 void trap_FX_PlayEntityEffectID( int id, vec3_t org, matrix3_t axis, const int boltInfo, const int … in trap_FX_PlayEntityEffectID() argument 456 Q_syscall( CG_FX_PLAY_ENTITY_EFFECT_ID, id, org, axis, boltInfo, entNum, vol, rad ); in trap_FX_PlayEntityEffectID() 605 qboolean trap_G2API_AttachEnt(int *boltInfo, void *ghlInfoTo, int toBoltIndex, int entNum, int toMo… in trap_G2API_AttachEnt() argument 606 return Q_syscall(CG_G2_ATTACHENT, boltInfo, ghlInfoTo, toBoltIndex, entNum, toModelNum); in trap_G2API_AttachEnt() 608 void trap_G2API_SetBoltInfo(void *ghoul2, int modelIndex, int boltInfo) { in trap_G2API_SetBoltInfo() argument 609 Q_syscall(CG_G2_SETBOLTON, ghoul2, modelIndex, boltInfo); in trap_G2API_SetBoltInfo()
|
H A D | cg_public.h | 637 …void (*FX_PlayEntityEffectID) ( int id, vec3_t org, matrix3_t axis, const int boltInfo, const… 690 …qboolean (*G2API_AttachEnt) ( int *boltInfo, void *ghlInfoTo, int toBoltIndex, int entNum, i… 691 void (*G2API_SetBoltInfo) ( void *ghoul2, int modelIndex, int boltInfo );
|
/dports/games/openjk/OpenJK-07675e2/code/rd-vanilla/ |
H A D | G2_API.cpp | 1693 qboolean G2API_AttachEnt(int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int entNum, int to… in G2API_AttachEnt() argument 1696 G2ERROR(boltInfo,"NULL boltInfo"); in G2API_AttachEnt() 1697 if (boltInfo&&G2_SetupModelPointers(ghlInfoTo)) in G2API_AttachEnt() 1706 … *boltInfo = (toBoltIndex << BOLT_SHIFT) | (toModelNum << MODEL_SHIFT) | (entNum << ENTITY_SHIFT); in G2API_AttachEnt() 1714 void G2API_DetachEnt(int *boltInfo) in G2API_DetachEnt() argument 1716 G2ERROR(boltInfo,"NULL boltInfo"); in G2API_DetachEnt() 1717 if (boltInfo) in G2API_DetachEnt() 1719 *boltInfo = 0; in G2API_DetachEnt()
|
/dports/games/openjk/OpenJK-07675e2/code/server/ |
H A D | sv_game.cpp | 444 static qboolean SV_G2API_AttachEnt( int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int ent… in SV_G2API_AttachEnt() argument 446 return re.G2API_AttachEnt( boltInfo, ghlInfoTo, toBoltIndex, entNum, toModelNum ); in SV_G2API_AttachEnt() 473 static void SV_G2API_DetachEnt( int *boltInfo ) in SV_G2API_DetachEnt() argument 475 re.G2API_DetachEnt( boltInfo ); in SV_G2API_DetachEnt()
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | g_public.h | 305 …qboolean (*G2API_AttachEnt)(int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int entNum, in… 306 void (*G2API_DetachEnt)(int *boltInfo);
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | g_public.h | 295 …qboolean (*G2API_AttachEnt)(int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int entNum, in… 296 void (*G2API_DetachEnt)(int *boltInfo);
|
/dports/games/openjk/OpenJK-07675e2/code/ghoul2/ |
H A D | G2.h | 167 qboolean G2API_AttachEnt(int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int entNum, int to… 168 void G2API_DetachEnt(int *boltInfo);
|
/dports/games/openjk/OpenJK-07675e2/code/rd-common/ |
H A D | tr_public.h | 284 …qboolean (*G2API_AttachEnt)(int *boltInfo, CGhoul2Info *ghlInfoTo, int toBoltIndex, int entNum, in… 291 void (*G2API_DetachEnt)(int *boltInfo);
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-common/ |
H A D | tr_public.h | 154 …qboolean (*G2API_AttachEnt) ( int *boltInfo, CGhoul2Info_v& ghoul2, int modelIndex, int toB… 214 void (*G2API_SetBoltInfo) ( CGhoul2Info_v &ghoul2, int modelIndex, int boltInfo );
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-dedicated/ |
H A D | G2_API.cpp | 1666 void G2API_SetBoltInfo(CGhoul2Info_v &ghoul2, int modelIndex, int boltInfo) in G2API_SetBoltInfo() argument 1670 ghoul2[modelIndex].mModelBoltLink = boltInfo; in G2API_SetBoltInfo() 1684 qboolean G2API_AttachEnt(int *boltInfo, CGhoul2Info_v& ghoul2, int modelIndex, int toBoltIndex, int… in G2API_AttachEnt() argument 1688 if (boltInfo && G2_SetupModelPointers(ghlInfoTo)) in G2API_AttachEnt() 1697 … *boltInfo = (toBoltIndex << BOLT_SHIFT) | (toModelNum << MODEL_SHIFT) | (entNum << ENTITY_SHIFT); in G2API_AttachEnt()
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-vanilla/ |
H A D | G2_API.cpp | 1890 void G2API_SetBoltInfo(CGhoul2Info_v &ghoul2, int modelIndex, int boltInfo) in G2API_SetBoltInfo() argument 1894 ghoul2[modelIndex].mModelBoltLink = boltInfo; in G2API_SetBoltInfo() 1908 qboolean G2API_AttachEnt(int *boltInfo, CGhoul2Info_v& ghoul2, int modelIndex, int toBoltIndex, int… in G2API_AttachEnt() argument 1912 if (boltInfo && G2_SetupModelPointers(ghlInfoTo)) in G2API_AttachEnt() 1921 … *boltInfo = (toBoltIndex << BOLT_SHIFT) | (toModelNum << MODEL_SHIFT) | (entNum << ENTITY_SHIFT); in G2API_AttachEnt()
|