/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
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/code/game/ |
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/qudos/QuDos-0.40.1-src/src/mods/zaero/ |
H A D | g_cmds.c | 133 edict_t *it_ent; in Cmd_Give_f() local 217 it_ent = G_Spawn(); in Cmd_Give_f() 219 SpawnItem (it_ent, it); in Cmd_Give_f() 221 if (it_ent->inuse) in Cmd_Give_f() 222 G_FreeEdict(it_ent); in Cmd_Give_f() 231 it_ent = G_Spawn(); in Cmd_Give_f() 235 if (it_ent->inuse) in Cmd_Give_f() 236 G_FreeEdict(it_ent); in Cmd_Give_f() 299 it_ent = G_Spawn(); in Cmd_Give_f() 303 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_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 …]
|
/dports/games/qudos/QuDos-0.40.1-src/src/mods/3zb2/ |
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_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 …]
|
/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-rogue/quake2-rogue-3.20/ |
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() 280 it_ent = G_Spawn(); in Cmd_Give_f() 282 SpawnItem (it_ent, it); in Cmd_Give_f() 284 if (!it_ent->inuse) in Cmd_Give_f() 288 if (it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/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/quake2lnx/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/quake2max/Quake2maX_0.45-src_unix/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/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-source/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/quake2lnx/quake2-r0.16.2/src/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/quetoo/quetoo-0.6.1/src/baseq2/ |
H A D | g_cmds.c | 148 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() 262 it_ent = G_Spawn(); in Cmd_Give_f() 263 it_ent->classname = it->classname; in Cmd_Give_f() 264 SpawnItem(it_ent, it); in Cmd_Give_f() 266 if(it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/quetoo/quetoo-0.6.1/src/vanctf/ |
H A D | g_cmds.c | 137 edict_t *it_ent; in Cmd_Give_f() local 205 it_ent = G_Spawn(); in Cmd_Give_f() 206 it_ent->classname = it->classname; in Cmd_Give_f() 207 SpawnItem(it_ent, it); in Cmd_Give_f() 209 if(it_ent->inuse) in Cmd_Give_f() 210 G_FreeEdict(it_ent); in Cmd_Give_f() 251 it_ent = G_Spawn(); in Cmd_Give_f() 252 it_ent->classname = it->classname; in Cmd_Give_f() 253 SpawnItem(it_ent, it); in Cmd_Give_f() 255 if(it_ent->inuse) in Cmd_Give_f() [all …]
|
/dports/games/qudos/QuDos-0.40.1-src/src/mods/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/qudos/QuDos-0.40.1-src/src/mods/jabot/ |
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/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/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/r1q2/r1q2-8012_5/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/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/quetoo/quetoo-0.6.1/src/ctf/ |
H A D | g_cmds.c | 158 edict_t *it_ent; in Cmd_Give_f() local 226 it_ent = G_Spawn(); in Cmd_Give_f() 227 it_ent->classname = it->classname; in Cmd_Give_f() 228 SpawnItem(it_ent, it); in Cmd_Give_f() 230 if(it_ent->inuse) in Cmd_Give_f() 231 G_FreeEdict(it_ent); in Cmd_Give_f() 272 it_ent = G_Spawn(); in Cmd_Give_f() 273 it_ent->classname = it->classname; in Cmd_Give_f() 274 SpawnItem(it_ent, it); in Cmd_Give_f() 276 if(it_ent->inuse) in Cmd_Give_f() [all …]
|