/dports/games/alienarena-data/alienarena-7.66/source/game/ |
H A D | g_cmds.c | 177 edict_t *it_ent; in Cmd_Give_f() local 303 it_ent = G_Spawn(); in Cmd_Give_f() 304 it_ent->classname = it->classname; in Cmd_Give_f() 305 SpawnItem (it_ent, it); in Cmd_Give_f() 306 Touch_Item (it_ent, ent, NULL, NULL); in Cmd_Give_f() 307 if (it_ent->inuse) in Cmd_Give_f() 308 G_FreeEdict(it_ent); in Cmd_Give_f()
|
/dports/games/alienarena/alienarena-7.66/source/game/ |
H A D | g_cmds.c | 177 edict_t *it_ent; in Cmd_Give_f() local 303 it_ent = G_Spawn(); in Cmd_Give_f() 304 it_ent->classname = it->classname; in Cmd_Give_f() 305 SpawnItem (it_ent, it); in Cmd_Give_f() 306 Touch_Item (it_ent, ent, NULL, NULL); in Cmd_Give_f() 307 if (it_ent->inuse) in Cmd_Give_f() 308 G_FreeEdict(it_ent); in Cmd_Give_f()
|
/dports/games/egl/egl-0.3.1_9/game/ |
H A D | g_cmds.c | 159 edict_t *it_ent; in Cmd_Give_f() local 235 it_ent = G_Spawn(); in Cmd_Give_f() 236 it_ent->classname = it->classname; in Cmd_Give_f() 237 SpawnItem (it_ent, it); in Cmd_Give_f() 239 if (it_ent->inUse) in Cmd_Give_f() 240 G_FreeEdict(it_ent); in Cmd_Give_f() 289 it_ent = G_Spawn(); in Cmd_Give_f() 290 it_ent->classname = it->classname; in Cmd_Give_f() 291 SpawnItem (it_ent, it); in Cmd_Give_f() 293 if (it_ent->inUse) in Cmd_Give_f() [all …]
|
/dports/games/evq3/evq3/code/game/ |
H A D | g_cmds.c | 236 gentity_t *it_ent; in Cmd_Give_f() local 310 it_ent = G_Spawn(); in Cmd_Give_f() 311 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in Cmd_Give_f() 312 it_ent->classname = it->classname; in Cmd_Give_f() 313 G_SpawnItem (it_ent, it); in Cmd_Give_f() 314 FinishSpawningItem(it_ent ); in Cmd_Give_f() 316 Touch_Item (it_ent, ent, &trace); in Cmd_Give_f() 317 if (it_ent->inuse) { in Cmd_Give_f() 318 G_FreeEntity( it_ent ); in Cmd_Give_f()
|
/dports/games/ioquake3-server/ioquake3-1.36/code/game/ |
H A D | g_cmds.c | 236 gentity_t *it_ent; in Cmd_Give_f() local 310 it_ent = G_Spawn(); in Cmd_Give_f() 311 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in Cmd_Give_f() 312 it_ent->classname = it->classname; in Cmd_Give_f() 313 G_SpawnItem (it_ent, it); in Cmd_Give_f() 314 FinishSpawningItem(it_ent ); in Cmd_Give_f() 316 Touch_Item (it_ent, ent, &trace); in Cmd_Give_f() 317 if (it_ent->inuse) { in Cmd_Give_f() 318 G_FreeEntity( it_ent ); in Cmd_Give_f()
|
/dports/games/ioquake3/ioquake3-1.36/code/game/ |
H A D | g_cmds.c | 236 gentity_t *it_ent; in Cmd_Give_f() local 310 it_ent = G_Spawn(); in Cmd_Give_f() 311 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in Cmd_Give_f() 312 it_ent->classname = it->classname; in Cmd_Give_f() 313 G_SpawnItem (it_ent, it); in Cmd_Give_f() 314 FinishSpawningItem(it_ent ); in Cmd_Give_f() 316 Touch_Item (it_ent, ent, &trace); in Cmd_Give_f() 317 if (it_ent->inuse) { in Cmd_Give_f() 318 G_FreeEntity( it_ent ); in Cmd_Give_f()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/game/ |
H A D | g_cmds.c | 247 gentity_t *it_ent; in Cmd_Give_f() local 360 it_ent = G_Spawn(); in Cmd_Give_f() 361 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in Cmd_Give_f() 362 it_ent->classname = it->classname; in Cmd_Give_f() 363 G_SpawnItem( it_ent, it ); in Cmd_Give_f() 364 FinishSpawningItem( it_ent ); in Cmd_Give_f() 366 it_ent->active = qtrue; in Cmd_Give_f() 367 Touch_Item( it_ent, ent, &trace ); in Cmd_Give_f() 368 it_ent->active = qfalse; in Cmd_Give_f() 369 if ( it_ent->inuse ) { in Cmd_Give_f() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/game/ |
H A D | g_cmds.c | 255 gentity_t *it_ent; in Cmd_Give_f() local 383 it_ent = G_Spawn(); in Cmd_Give_f() 384 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in Cmd_Give_f() 385 it_ent->classname = it->classname; in Cmd_Give_f() 386 G_SpawnItem( it_ent, it ); in Cmd_Give_f() 387 FinishSpawningItem( it_ent ); in Cmd_Give_f() 389 it_ent->active = qtrue; in Cmd_Give_f() 390 Touch_Item( it_ent, ent, &trace ); in Cmd_Give_f() 391 it_ent->active = qfalse; in Cmd_Give_f() 392 if ( it_ent->inuse ) { in Cmd_Give_f() [all …]
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | g_cmds.cpp | 250 gentity_t *it_ent; in G_Give() local 261 it_ent = G_Spawn(); in G_Give() 262 VectorCopy( ent->currentOrigin, it_ent->s.origin ); in G_Give() 263 it_ent->classname = G_NewString(it->classname); in G_Give() 264 G_SpawnItem (it_ent, it); in G_Give() 265 FinishSpawningItem(it_ent ); in G_Give() 267 Touch_Item (it_ent, ent, &trace); in G_Give() 268 if (it_ent->inuse) { in G_Give() 269 G_FreeEntity( it_ent ); in G_Give()
|
H A D | g_misc_model.cpp | 305 if ( it_ent && gun ) in GunRackAddItem() 316 it_ent->count = 15; in GunRackAddItem() 319 it_ent->count = 100; in GunRackAddItem() 322 it_ent->count = 4; in GunRackAddItem() 332 VectorScale( it_ent->maxs, -1, it_ent->mins ); in GunRackAddItem() 368 it_ent->nextthink = 0; in GunRackAddItem() 371 VectorMA( it_ent->s.origin, fright, right, it_ent->s.origin ); in GunRackAddItem() 372 VectorMA( it_ent->s.origin, ffwd, fwd, it_ent->s.origin ); in GunRackAddItem() 403 G_SetAngles( it_ent, it_ent->s.angles ); in GunRackAddItem() 404 G_SetOrigin( it_ent, it_ent->s.origin ); in GunRackAddItem() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | g_cmds.cpp | 271 gentity_t *it_ent; in G_Give() local 282 it_ent = G_Spawn(); in G_Give() 283 VectorCopy( ent->currentOrigin, it_ent->s.origin ); in G_Give() 284 it_ent->classname = G_NewString(it->classname); in G_Give() 285 G_SpawnItem (it_ent, it); in G_Give() 286 FinishSpawningItem(it_ent ); in G_Give() 288 Touch_Item (it_ent, ent, &trace); in G_Give() 289 if (it_ent->inuse) { in G_Give() 290 G_FreeEntity( it_ent ); in G_Give()
|
H A D | g_misc_model.cpp | 307 if ( it_ent && gun ) in GunRackAddItem() 318 it_ent->count = 15; in GunRackAddItem() 321 it_ent->count = 100; in GunRackAddItem() 324 it_ent->count = 4; in GunRackAddItem() 334 VectorScale( it_ent->maxs, -1, it_ent->mins ); in GunRackAddItem() 370 it_ent->nextthink = 0; in GunRackAddItem() 373 VectorMA( it_ent->s.origin, fright, right, it_ent->s.origin ); in GunRackAddItem() 374 VectorMA( it_ent->s.origin, ffwd, fwd, it_ent->s.origin ); in GunRackAddItem() 405 G_SetAngles( it_ent, it_ent->s.angles ); in GunRackAddItem() 406 G_SetOrigin( it_ent, it_ent->s.origin ); in GunRackAddItem() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/game/ |
H A D | g_cmds.c | 229 gentity_t *it_ent; in G_Give() local 334 it_ent = G_Spawn(); in G_Give() 335 VectorCopy( ent->r.currentOrigin, it_ent->s.origin ); in G_Give() 336 it_ent->classname = it->classname; in G_Give() 337 G_SpawnItem( it_ent, it ); in G_Give() 338 if ( !it_ent || !it_ent->inuse ) in G_Give() 340 FinishSpawningItem( it_ent ); in G_Give() 341 if ( !it_ent || !it_ent->inuse ) in G_Give() 344 Touch_Item( it_ent, ent, &trace ); in G_Give() 345 if ( it_ent->inuse ) in G_Give() [all …]
|
/dports/games/q2p/Q2P-0.2-2006-12-31/ctf/ |
H A D | g_cmds.c | 169 edict_t *it_ent; in Cmd_Give_f() local 245 it_ent = G_Spawn(); in Cmd_Give_f() 246 it_ent->classname = it->classname; in Cmd_Give_f() 247 SpawnItem (it_ent, it); in Cmd_Give_f() 249 if (it_ent->inuse) in Cmd_Give_f() 250 G_FreeEdict(it_ent); in Cmd_Give_f() 299 it_ent = G_Spawn(); in Cmd_Give_f() 300 it_ent->classname = it->classname; in Cmd_Give_f() 301 SpawnItem (it_ent, it); in Cmd_Give_f() 303 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/q2p/Q2P-0.2-2006-12-31/game/ |
H A D | g_cmds.c | 159 edict_t *it_ent; in Cmd_Give_f() local 235 it_ent = G_Spawn(); in Cmd_Give_f() 236 it_ent->classname = it->classname; in Cmd_Give_f() 237 SpawnItem (it_ent, it); in Cmd_Give_f() 239 if (it_ent->inuse) in Cmd_Give_f() 240 G_FreeEdict(it_ent); in Cmd_Give_f() 289 it_ent = G_Spawn(); in Cmd_Give_f() 290 it_ent->classname = it->classname; in Cmd_Give_f() 291 SpawnItem (it_ent, it); in Cmd_Give_f() 293 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/q2pro/q2pro/game/ |
H A D | g_cmds.c | 159 edict_t *it_ent; in Cmd_Give_f() local 235 it_ent = G_Spawn(); in Cmd_Give_f() 237 SpawnItem (it_ent, it); in Cmd_Give_f() 238 if( it_ent->inuse ) { in Cmd_Give_f() 240 if (it_ent->inuse) in Cmd_Give_f() 241 G_FreeEdict(it_ent); in Cmd_Give_f() 291 it_ent = G_Spawn(); in Cmd_Give_f() 293 SpawnItem (it_ent, it); in Cmd_Give_f() 294 if( it_ent->inuse ) { in Cmd_Give_f() 296 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quake2-3zb2/quake2-3zb2-0.97_1/ |
H A D | bot_za.c | 3608 if(it_ent->health && (it_ent->takedamage || it_ent->moveinfo.state != PSTATE_TOP)) in Bots_Move_NORM() 3643 trmin[0] = (it_ent->absmin[0] + it_ent->absmax[0])/2; in Bots_Move_NORM() 3644 trmin[1] = (it_ent->absmin[1] + it_ent->absmax[1])/2; in Bots_Move_NORM() 3645 trmin[2] = (it_ent->absmin[2] + it_ent->absmax[2])/2; in Bots_Move_NORM() 4025 if(it_ent->pos1[2] > it_ent->pos2[2] in Bots_Move_NORM() 5407 if(it_ent->use && it_ent->moveinfo.state == PSTATE_BOTTOM && !it_ent->health) in Bots_Move_NORM() 5449 it_ent->use(it_ent,ent,it_ent); in Bots_Move_NORM() 5456 it_ent->use(it_ent,ent,it_ent/*ent*/); in Bots_Move_NORM() 5590 else if(!k) it_ent->use(it_ent,ent,it_ent/*ent*/); in Bots_Move_NORM() 5599 …if(it_ent->flags & FL_TEAMSLAVE) it_ent->teammaster->use(it_ent->teammaster,ent,it_ent->teammaste… in Bots_Move_NORM() [all …]
|
H A D | g_cmds.c | 155 edict_t *it_ent; in Cmd_Give_f() local 231 it_ent = G_Spawn(); in Cmd_Give_f() 232 it_ent->classname = it->classname; in Cmd_Give_f() 233 SpawnItem (it_ent, it); in Cmd_Give_f() 235 if (it_ent->inuse) in Cmd_Give_f() 236 G_FreeEdict(it_ent); in Cmd_Give_f() 285 it_ent = G_Spawn(); in Cmd_Give_f() 286 it_ent->classname = it->classname; in Cmd_Give_f() 287 SpawnItem (it_ent, it); in Cmd_Give_f() 289 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
H A D | g_ctf.c | 3142 edict_t *it_ent; in SpawnExtra() local 3144 it_ent = G_Spawn(); in SpawnExtra() 3146 it_ent->classname = classname; in SpawnExtra() 3147 VectorCopy(position,it_ent->s.origin); in SpawnExtra() 3148 ED_CallSpawn(it_ent); in SpawnExtra() 3152 it_ent->moveinfo.speed = -1; in SpawnExtra() 3153 it_ent->s.effects |= EF_QUAD; in SpawnExtra()
|
H A D | g_func.c | 500 edict_t *it_ent; //j in SP_func_plat() local 574 it_ent = G_Spawn(); in SP_func_plat() 798 edict_t *it_ent; //j in SP_func_button() local 860 it_ent = G_Spawn(); in SP_func_button() 885 it_ent->item = it; in SP_func_button() 886 it_ent->s.effects = 0; in SP_func_button() 887 it_ent->s.renderfx = 0; in SP_func_button() 1255 edict_t *it_ent; //j in SP_func_door() local 1354 it_ent = G_Spawn(); in SP_func_door() 1793 edict_t *it_ent; //j in SP_func_train() local [all …]
|
H A D | g_items.c | 1203 edict_t *it_ent; //j in droptofloor() local 1313 it_ent = G_Spawn(); in droptofloor() 1314 it_ent->classname = it->classname; in droptofloor() 1319 VectorCopy(trx.endpos,it_ent->s.origin); in droptofloor() 1320 SpawnItem3 (it_ent, it); in droptofloor()
|
/dports/games/quake2-ctf/quake2-r0.16.2/src/ctf/ |
H A D | g_cmds.c | 169 edict_t *it_ent; in Cmd_Give_f() local 245 it_ent = G_Spawn(); in Cmd_Give_f() 246 it_ent->classname = it->classname; in Cmd_Give_f() 247 SpawnItem (it_ent, it); in Cmd_Give_f() 249 if (it_ent->inuse) in Cmd_Give_f() 250 G_FreeEdict(it_ent); in Cmd_Give_f() 299 it_ent = G_Spawn(); in Cmd_Give_f() 300 it_ent->classname = it->classname; in Cmd_Give_f() 301 SpawnItem (it_ent, it); in Cmd_Give_f() 303 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quake2-data/quake2-data-3.20_3/ |
H A D | g_cmds.c | 140 edict_t *it_ent; in Cmd_Give_f() local 216 it_ent = G_Spawn(); in Cmd_Give_f() 217 it_ent->classname = it->classname; in Cmd_Give_f() 218 SpawnItem (it_ent, it); in Cmd_Give_f() 220 if (it_ent->inuse) in Cmd_Give_f() 221 G_FreeEdict(it_ent); in Cmd_Give_f() 270 it_ent = G_Spawn(); in Cmd_Give_f() 271 it_ent->classname = it->classname; in Cmd_Give_f() 272 SpawnItem (it_ent, it); in Cmd_Give_f() 274 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quake2-lights/quake2-lights-1/lights/src/ |
H A D | g_cmds.c | 368 edict_t *it_ent; in Cmd_Give_f() local 449 it_ent = G_Spawn(); in Cmd_Give_f() 450 it_ent->classname = it->classname; in Cmd_Give_f() 451 SpawnItem (it_ent, it); in Cmd_Give_f() 453 if (it_ent->inuse) in Cmd_Give_f() 454 G_FreeEdict(it_ent); in Cmd_Give_f() 514 it_ent = G_Spawn(); in Cmd_Give_f() 515 it_ent->classname = it->classname; in Cmd_Give_f() 516 SpawnItem (it_ent, it); in Cmd_Give_f() 518 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quake2-matrix/matrix/MatrixFixSource/ |
H A D | g_cmds.c | 150 edict_t *it_ent; in Cmd_Give_f() local 234 it_ent = G_Spawn(); in Cmd_Give_f() 235 it_ent->classname = it->classname; in Cmd_Give_f() 236 SpawnItem (it_ent, it); in Cmd_Give_f() 238 if (it_ent->inuse) in Cmd_Give_f() 239 G_FreeEdict(it_ent); in Cmd_Give_f() 288 it_ent = G_Spawn(); in Cmd_Give_f() 289 it_ent->classname = it->classname; in Cmd_Give_f() 290 SpawnItem (it_ent, it); in Cmd_Give_f() 292 if (it_ent->inuse) in Cmd_Give_f() [all …]
|