/external/quake/quake/src/WinQuake/ |
D | progs.h | 101 #define EDICT_TO_PROG(e) ((byte *)e - (byte *)sv.edicts) 102 #define PROG_TO_EDICT(e) ((edict_t *)((byte *)sv.edicts + e)) 108 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o]))
|
D | pr_cmds.cpp | 634 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_traceline() 663 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_TraceToss() 771 RETURN_EDICT(sv.edicts); in PF_checkclient() 783 RETURN_EDICT(sv.edicts); in PF_checkclient() 888 chain = (edict_t *)sv.edicts; in PF_findradius() 893 ent = NEXT_EDICT(sv.edicts); in PF_findradius() 986 first = second = last = (edict_t *)sv.edicts; in PF_Find() 1003 if (first == (edict_t *)sv.edicts) in PF_Find() 1005 else if (second == (edict_t *)sv.edicts) in PF_Find() 1018 last->u.v.chain = EDICT_TO_PROG((edict_t *)sv.edicts); in PF_Find() [all …]
|
D | pr_exec.cpp | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); in PR_ExecuteProgram() 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) in PR_ExecuteProgram() 568 c->_int = (byte *)(ed->u.i + b->_int) - (byte *)sv.edicts; in PR_ExecuteProgram()
|
D | sv_move.cpp | 130 if (i == 0 && enemy != sv.edicts) in SV_movestep() 151 if (enemy == sv.edicts) in SV_movestep() 414 if (enemy != sv.edicts && SV_CloseEnough (ent, enemy, dist) ) in SV_MoveToGoal() 416 if ( PROG_TO_EDICT(ent->u.v.enemy) != sv.edicts && SV_CloseEnough (ent, goal, dist) ) in SV_MoveToGoal()
|
D | sv_main.cpp | 207 sprintf (message, "%s", pr_strings+sv.edicts->u.v.message); in SV_SendServerinfo() 221 MSG_WriteByte (&client->message, (int) sv.edicts->u.v.sounds); in SV_SendServerinfo() 222 MSG_WriteByte (&client->message, (int) sv.edicts->u.v.sounds); in SV_SendServerinfo() 441 ent = NEXT_EDICT(sv.edicts); in SV_WriteEntitiesToClient() 562 ent = NEXT_EDICT(sv.edicts); in SV_CleanupEnts() 1101 sv.edicts = (edict_t*) Hunk_AllocName (sv.max_edicts*pr_edict_size, "edicts"); in SV_SpawnServer()
|
D | sv_phys.cpp | 67 check = NEXT_EDICT(sv.edicts); in SV_CheckAllEnts() 141 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_RunThink() 473 check = NEXT_EDICT(sv.edicts); in SV_PushMove() 601 check = NEXT_EDICT(sv.edicts); in SV_PushRotate() 737 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_Physics_Pusher() 1513 pr_global_struct->self = EDICT_TO_PROG(sv.edicts); in SV_Physics() 1514 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_Physics() 1523 ent = sv.edicts; in SV_Physics()
|
D | server.h | 59 edict_t *edicts; // can NOT be array indexed, because member
|
D | pr_edict.cpp | 813 if (ent != sv.edicts) // hack in ED_ParseEdict() 1093 return (edict_t *)((byte *)sv.edicts+ (n)*pr_edict_size); in EDICT_NUM() 1100 b = (byte *)e - (byte *)sv.edicts; in NUM_FOR_EDICT()
|
D | world.cpp | 379 if (ent == sv.edicts) in SV_LinkEdict() 558 return sv.edicts; in SV_TestEntityPosition() 931 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end ); in SV_Move()
|
/external/quake/quake/src/QW/server/ |
D | progs.h | 96 #define EDICT_TO_PROG(e) ((byte *)e - (byte *)sv.edicts) 97 #define PROG_TO_EDICT(e) ((edict_t *)((byte *)sv.edicts + e)) 103 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o]))
|
D | pr_exec.c | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); in PR_ExecuteProgram() 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) in PR_ExecuteProgram() 568 c->_int = (byte *)((int *)&ed->v + b->_int) - (byte *)sv.edicts; in PR_ExecuteProgram()
|
D | sv_phys.c | 70 check = NEXT_EDICT(sv.edicts); in SV_CheckAllEnts() 145 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_RunThink() 453 check = NEXT_EDICT(sv.edicts); in SV_Push() 608 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_Physics_Pusher() 825 pr_global_struct->self = EDICT_TO_PROG(sv.edicts); in SV_ProgStartFrame() 826 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_ProgStartFrame() 915 ent = sv.edicts; in SV_Physics()
|
D | sv_move.c | 130 if (i == 0 && enemy != sv.edicts) in SV_movestep() 151 if (enemy == sv.edicts) in SV_movestep() 409 if ( PROG_TO_EDICT(ent->v.enemy) != sv.edicts && SV_CloseEnough (ent, goal, dist) ) in SV_MoveToGoal()
|
D | pr_cmds.c | 542 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_traceline() 648 RETURN_EDICT(sv.edicts); in PF_checkclient() 660 RETURN_EDICT(sv.edicts); in PF_checkclient() 771 chain = (edict_t *)sv.edicts; in PF_findradius() 776 ent = NEXT_EDICT(sv.edicts); in PF_findradius() 878 RETURN_EDICT(sv.edicts); in PF_Find() 1136 RETURN_EDICT(sv.edicts); in PF_nextent() 1203 check = NEXT_EDICT(sv.edicts); in PF_aim()
|
D | world.c | 369 if (ent == sv.edicts) in SV_LinkEdict() 511 return sv.edicts; in SV_TestEntityPosition() 833 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end ); in SV_Move() 884 return sv.edicts; in SV_TestPlayerPosition() 890 check = NEXT_EDICT(sv.edicts); in SV_TestPlayerPosition()
|
D | pr_edict.c | 804 if (ent != sv.edicts) // hack in ED_ParseEdict() 1070 return (edict_t *)((byte *)sv.edicts+ (n)*pr_edict_size); in EDICT_NUM() 1077 b = (byte *)e - (byte *)sv.edicts; in NUM_FOR_EDICT()
|
D | server.h | 61 edict_t *edicts; // can NOT be array indexed, because member
|
D | sv_init.c | 325 sv.edicts = Hunk_AllocName (MAX_EDICTS*pr_edict_size, "edicts"); in SV_SpawnServer()
|
D | sv_user.c | 96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message)); in SV_New_f() 112 MSG_WriteByte (&host_client->netchan.message, sv.edicts->v.sounds); in SV_New_f() 1314 check = NEXT_EDICT(sv.edicts); in AddAllEntsToPmove()
|
/external/quake/quake/src/QW/ |
D | cmds.txt | 380 edicts", ED_PrintEdicts
|
D | qw2do.txt | 43 x- increase edicts to 1024
|
/external/quake/quake/src/QW/progs/ |
D | defs.qc | 234 float FL_CLIENT = 8; // set for all client edicts 636 void() coredump = #28; // prints all edicts
|