/dports/games/egl/egl-0.3.1_9/cgame/ |
H A D | cg_muzzleflash.c | 69 int entNum, flashNum; in CG_ParseMuzzleFlash() local 71 entNum = cgi.MSG_ReadShort (); in CG_ParseMuzzleFlash() 72 if (entNum < 1 || entNum >= MAX_CS_EDICTS) in CG_ParseMuzzleFlash() 79 pl = &cg_entityList[entNum]; in CG_ParseMuzzleFlash() 81 dl = CG_AllocDLight (entNum); in CG_ParseMuzzleFlash() 322 int entNum, flashNum; in CG_ParseMuzzleFlash2() local 324 entNum = cgi.MSG_ReadShort (); in CG_ParseMuzzleFlash2() 325 if (entNum < 1 || entNum >= MAX_CS_EDICTS) in CG_ParseMuzzleFlash2() 330 Angles_Vectors (cg_entityList[entNum].current.angles, forward, right, NULL); in CG_ParseMuzzleFlash2() 335 dl = CG_AllocDLight (entNum); in CG_ParseMuzzleFlash2() [all …]
|
H A D | cg_entities.h | 61 void CG_NewPacketEntityState (int entNum, entityState_t state); 67 void CG_GetEntitySoundOrigin (int entNum, vec3_t origin, vec3_t velocity);
|
H A D | cg_api.h | 42 void (*NewPacketEntityState) (int entNum, entityState_t state); 45 void (*GetEntitySoundOrigin) (int entNum, vec3_t origin, vec3_t velocity); 53 …void (*StartSound) (vec3_t origin, int entNum, entChannel_t entChannel, int soundNum, float volum… 230 …void (*Snd_StartSound) (vec3_t origin, int entNum, entChannel_t entChannel, struct sfx_s *sfx, fl…
|
/dports/games/iortcw/iortcw-1.51c/SP/code/game/ |
H A D | ai_cast_global.h | 62 void AICast_Activate( int activatorNum, int entNum ); 64 qboolean AICast_NoFlameDamage( int entNum ); 65 void AICast_SetFlameDamage( int entNum, qboolean status ); 66 qboolean AICast_HasFiredWeapon( int entNum, int weapon ); 71 qboolean AICast_AllowFlameDamage( int entNum );
|
H A D | ai_cast.c | 847 void AICast_Activate( int activatorNum, int entNum ) { in AICast_Activate() argument 850 cs = AICast_GetCastState( entNum ); in AICast_Activate() 852 cs->activate( entNum, activatorNum ); in AICast_Activate() 855 AICast_Printf( AICAST_PRT_DEBUG, "activated entity # %i\n", entNum ); in AICast_Activate() 863 qboolean AICast_NoFlameDamage( int entNum ) { in AICast_NoFlameDamage() argument 866 if ( entNum >= MAX_CLIENTS ) { in AICast_NoFlameDamage() 875 cs = AICast_GetCastState( entNum ); in AICast_NoFlameDamage() 884 void AICast_SetFlameDamage( int entNum, qboolean status ) { in AICast_SetFlameDamage() argument 887 if ( entNum >= MAX_CLIENTS ) { in AICast_SetFlameDamage() 896 cs = AICast_GetCastState( entNum ); in AICast_SetFlameDamage()
|
H A D | ai_cast_events.c | 485 void AICast_ProcessActivate( int entNum, int activatorNum ) { in AICast_ProcessActivate() argument 489 cs = AICast_GetCastState( entNum ); in AICast_ProcessActivate() 490 ent = &g_entities[entNum]; in AICast_ProcessActivate() 516 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].sound… in AICast_ProcessActivate() 524 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].sound… in AICast_ProcessActivate() 532 newent->r.ownerNum = entNum; in AICast_ProcessActivate() 549 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].sound… in AICast_ProcessActivate() 555 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].sound… in AICast_ProcessActivate()
|
/dports/games/openjk/OpenJK-07675e2/codemp/client/ |
H A D | FxUtil.h | 43 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 51 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 58 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 69 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 79 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1, 92 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 98 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1); 109 CGhoul2Info_v *ghoul2 = NULL, int entNum=-1, int modelNum=-1, int boltNum=-1);
|
H A D | FxUtil.cpp | 267 CGhoul2Info_v *ghoul2/*0*/, int entNum/*-1*/, int modelNum/*-1*/, int boltNum/*-1*/ ) in FX_AddParticle() argument 282 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddParticle() 378 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddLine() 464 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddElectricity() 544 CGhoul2Info_v *ghoul2/*0*/, int entNum/*-1*/, int modelNum/*-1*/, int boltNum/*-1*/ ) in FX_AddTail() argument 559 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddTail() 650 CGhoul2Info_v *ghoul2/*0*/, int entNum/*-1*/, int modelNum/*-1*/, int boltNum/*-1*/, in FX_AddCylinder() argument 666 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddCylinder() 859 CGhoul2Info_v *ghoul2/*0*/, int entNum/*-1*/, int modelNum/*-1*/, int boltNum/*-1*/) in FX_AddLight() argument 874 fx->SetBoltinfo( ghoul2, entNum, modelNum, boltNum ); in FX_AddLight() [all …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/game/ |
H A D | ai_cast_global.h | 62 void AICast_Activate( int activatorNum, int entNum ); 64 qboolean AICast_NoFlameDamage( int entNum ); 65 qboolean AICast_HasFiredWeapon( int entNum, int weapon ); 70 qboolean AICast_AllowFlameDamage( int entNum );
|
H A D | ai_cast_events.c | 445 void AICast_ProcessActivate( int entNum, int activatorNum ) { in AICast_ProcessActivate() argument 449 cs = AICast_GetCastState( entNum ); in AICast_ProcessActivate() 450 ent = &g_entities[entNum]; in AICast_ProcessActivate() 471 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].order… in AICast_ProcessActivate() 479 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].stayS… in AICast_ProcessActivate() 487 newent->r.ownerNum = entNum; in AICast_ProcessActivate() 504 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].order… in AICast_ProcessActivate() 510 …G_AddEvent( &g_entities[entNum], EV_GENERAL_SOUND, G_SoundIndex( aiDefaults[cs->aiCharacter].follo… in AICast_ProcessActivate()
|
H A D | ai_cast.c | 797 void AICast_Activate( int activatorNum, int entNum ) { in AICast_Activate() argument 800 cs = AICast_GetCastState( entNum ); in AICast_Activate() 802 cs->activate( entNum, activatorNum ); in AICast_Activate() 805 AICast_Printf( AICAST_PRT_DEBUG, "activated entity # %i\n", entNum ); in AICast_Activate() 813 qboolean AICast_NoFlameDamage( int entNum ) { in AICast_NoFlameDamage() argument 816 if ( entNum >= MAX_CLIENTS ) { in AICast_NoFlameDamage() 825 cs = AICast_GetCastState( entNum ); in AICast_NoFlameDamage()
|
/dports/games/egl/egl-0.3.1_9/server/ |
H A D | sv_init.c | 48 int entNum; in SV_CreateBaseline() local 50 for (entNum=1 ; entNum<ge->numEdicts ; entNum++) { in SV_CreateBaseline() 51 svent = EDICT_NUM(entNum); in SV_CreateBaseline() 56 svent->s.number = entNum; in SV_CreateBaseline() 61 memcpy (&sv.baseLines[entNum], &svent->s, sizeof (entityStateOld_t)); in SV_CreateBaseline()
|
/dports/games/r1q2/r1q2-8012_5/client/ |
H A D | snd_dma.c | 686 void Snd_GetEntityOrigin (int entNum, vec3_t origin) in Snd_GetEntityOrigin() argument 688 if (entNum == cl.playernum + 1) in Snd_GetEntityOrigin() 691 CL_GetEntityOrigin (entNum, origin); in Snd_GetEntityOrigin() 894 sfx = S_RegisterSexedSound(sfx->name, entNum); in S_OpenAL_StartSound() 915 ps->entnum = entNum; in S_OpenAL_StartSound() 1388 if (entNum < 0 || entChannel < 0) in S_OpenAL_PickChannel() 1406 if (entChannel != 0 && (ch->entNum == entNum && ch->entChannel == entChannel)) in S_OpenAL_PickChannel() 1414 if (entNum != cl.playernum+1 && ch->entNum == cl.playernum+1) in S_OpenAL_PickChannel() 1430 ch->entNum = entNum; in S_OpenAL_PickChannel() 1446 if (ch->entNum == cl.playernum+1 || !ch->distanceMult) in S_OpenAL_SpatializeChannel() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | g_main.cpp | 65 unsigned int entNum=ent-g_entities; in SetInUse() local 66 g_entityInUseBits[entNum/32]|=((unsigned int)1)<<(entNum&0x1f); in SetInUse() 73 unsigned int entNum=ent-g_entities; in ClearInUse() local 74 g_entityInUseBits[entNum/32]&=~(((unsigned int)1)<<(entNum&0x1f)); in ClearInUse() 77 qboolean PInUse(unsigned int entNum) in PInUse() argument 79 assert(entNum>=0); in PInUse() 80 assert(entNum<MAX_GENTITIES); in PInUse() 81 return (qboolean)((g_entityInUseBits[entNum / 32] & (1u << (entNum & 0x1f))) != 0); in PInUse() 88 unsigned int entNum=ent-g_entities; in PInUse2() local 89 return (qboolean)((g_entityInUseBits[entNum / 32] & (1u << (entNum & 0x1f))) != 0); in PInUse2()
|
/dports/games/egl/egl-0.3.1_9/client/ |
H A D | snd_main.c | 737 static struct sfx_s *Snd_RegisterSexedSound (char *base, int entNum) in Snd_RegisterSexedSound() argument 749 n = CS_PLAYERSKINS + entNum - 1; in Snd_RegisterSexedSound() 1099 void Snd_StartSound (vec3_t origin, int entNum, entChannel_t entChannel, struct sfx_s *sfx, float v… in Snd_StartSound() argument 1112 sfx = Snd_RegisterSexedSound (sfx->name, entNum); in Snd_StartSound() 1125 if (entNum < 0 || entNum >= MAX_CS_EDICTS) { in Snd_StartSound() 1126 Com_Printf (PRNT_ERROR, "Snd_StartSound: invalid entNum (%i), forcing 0", entNum); in Snd_StartSound() 1127 entNum = 0; in Snd_StartSound() 1143 else if (entNum == cl.playerNum+1) in Snd_StartSound() 1153 ps->entNum = entNum; in Snd_StartSound()
|
H A D | snd_dma.c | 289 CL_CGModule_GetEntitySoundOrigin (ch->entNum, origin, velocity); in DMASnd_SpatializeChannel() 316 static channel_t *DMASnd_PickChannel (int entNum, entChannel_t entChannel) in DMASnd_PickChannel() argument 329 if (entChannel != 0 && ch->entNum == entNum && ch->entChannel == entChannel) { in DMASnd_PickChannel() 336 if (ch->entNum == cl.playerNum+1 && entNum != cl.playerNum+1 && ch->sfx) in DMASnd_PickChannel() 390 ch = DMASnd_PickChannel (ps->entNum, ps->entChannel); in DMASnd_IssuePlaysounds() 403 ch->entNum = ps->entNum; in DMASnd_IssuePlaysounds()
|
H A D | snd_openal.c | 407 CL_CGModule_GetEntitySoundOrigin (ch->entNum, position, velocity); in ALSnd_SpatializeChannel() 426 static channel_t *ALSnd_PickChannel (int entNum, entChannel_t entChannel) in ALSnd_PickChannel() argument 450 if (entChannel != 0 && ch->entNum == entNum && ch->entChannel == entChannel) { in ALSnd_PickChannel() 457 if (ch->entNum == cl.playerNum+1 && entNum != cl.playerNum+1 && ch->sfx) in ALSnd_PickChannel() 474 ch->entNum = entNum; in ALSnd_PickChannel() 511 ch = ALSnd_PickChannel (ps->entNum, ps->entChannel); in ALSnd_IssuePlaysounds() 524 ch->entNum = ps->entNum; in ALSnd_IssuePlaysounds()
|
H A D | cl_cgapi.c | 140 void CL_CGModule_NewPacketEntityState (int entNum, entityState_t state) in CL_CGModule_NewPacketEntityState() argument 143 cge->NewPacketEntityState (entNum, state); in CL_CGModule_NewPacketEntityState() 164 void CL_CGModule_GetEntitySoundOrigin (int entNum, vec3_t origin, vec3_t velocity) in CL_CGModule_GetEntitySoundOrigin() argument 167 cge->GetEntitySoundOrigin (entNum, origin, velocity); in CL_CGModule_GetEntitySoundOrigin() 364 void CL_CGModule_StartSound (vec3_t origin, int entNum, entChannel_t entChannel, int soundNum, floa… in CL_CGModule_StartSound() argument 367 cge->StartSound (origin, entNum, entChannel, soundNum, volume, attenuation, timeOffset); in CL_CGModule_StartSound()
|
/dports/games/openjk/OpenJK-07675e2/codemp/icarus/ |
H A D | Q3_Interface.cpp | 683 int entNum; in Q3_DebugPrint() local 686 sscanf( text, "%d", &entNum ); in Q3_DebugPrint() 688 if ( ( ICARUS_entFilter >= 0 ) && ( ICARUS_entFilter != entNum ) ) in Q3_DebugPrint() 694 if ( ( entNum < 0 ) || ( entNum >= MAX_GENTITIES ) ) in Q3_DebugPrint() 695 entNum = 0; in Q3_DebugPrint() 697 …_Printf ( S_COLOR_BLUE"DEBUG: %s(%d): %s\n", SV_GentityNum(entNum)->script_targetname, entNum, buf… in Q3_DebugPrint()
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/ufo2map/common/ |
H A D | bspfile.h | 68 epair_t* ParseEpair(int entNum); 69 epair_t* AddEpair(const char* key, const char* value, int entNum);
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/ui/maptools/ |
H A D | CompilerObserver.h | 84 int entNum = getEntNum(message); in notify() local 90 gtk_list_store_set(_store, &iter, CHECK_ENTITY, entNum, CHECK_BRUSH, brushNum, CHECK_MESSAGE, in notify()
|
/dports/games/egl/egl-0.3.1_9/game/ |
H A D | g_save.c | 685 int entNum; in ReadLevel() local 729 if (fread (&entNum, sizeof(entNum), 1, f) != 1) in ReadLevel() 734 if (entNum == -1) in ReadLevel() 736 if (entNum >= globals.numEdicts) in ReadLevel() 737 globals.numEdicts = entNum+1; in ReadLevel() 739 ent = &g_edicts[entNum]; in ReadLevel()
|
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/ |
H A D | cg_public.h | 174 int entNum; //index of entity who owns the bone in question member 180 int entNum; //index of entity who owns the bone in question member 186 int entNum; //index of entity who owns the bone in question member 637 …) ( int id, vec3_t org, matrix3_t axis, const int boltInfo, const int entNum, int vol, int rad … 638 …ID) ( int id, vec3_t org, void *pGhoul2, const int boltNum, const int entNum, const int modelNu… 671 …ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, vec3_t rayStart, … 672 … ghoul2, const vec3_t angles, const vec3_t position,int frameNumber, int entNum, vec3_t rayStart, … 690 …qboolean (*G2API_AttachEnt) ( int *boltInfo, void *ghlInfoTo, int toBoltIndex, int entNum, i…
|
H A D | cg_syscalls.c | 446 …st char *file, vec3_t org, matrix3_t axis, const int boltInfo, const int entNum, int vol, int rad … 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 …ectID( int id, vec3_t org, matrix3_t axis, const int boltInfo, const int entNum, int vol, int rad … 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() 458 …EffectID( int id, vec3_t org, void *ghoul2, const int boltNum, const int entNum, const int modelNu… in trap_FX_PlayBoltedEffectID() argument 459 …return Q_syscall( CG_FX_PLAY_BOLTED_EFFECT_ID, id, org, ghoul2, boltNum, entNum, modelNum, iLoopti… in trap_FX_PlayBoltedEffectID() 549 …Q_syscall ( CG_G2_COLLISIONDETECT, collRecMap, ghoul2, angles, position, frameNumber, entNum, rayS… in trap_G2API_CollisionDetect() 552 …Q_syscall ( CG_G2_COLLISIONDETECTCACHE, collRecMap, ghoul2, angles, position, frameNumber, entNum,… in trap_G2API_CollisionDetectCache() 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() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/contrib/bobtoolz/ |
H A D | DTreePlanter.cpp | 74 int entNum = -1, lastEntNum = -1, entpos; in OnLButtonDown() 77 pThisEntity = FindEntityFromTargetname( buffer, &entNum ); in OnLButtonDown() 81 lastEntNum = entNum; in OnLButtonDown()
|