/external/quake/quake/src/QW/server/ |
progs.h | 88 //define EDICT_NUM(n) ((edict_t *)(sv.edicts+ (n)*pr_edict_size)) 89 //define NUM_FOR_EDICT(e) (((byte *)(e) - sv.edicts)/pr_edict_size) 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]))
|
sv_move.c | 130 if (i == 0 && enemy != sv.edicts) 151 if (enemy == sv.edicts) 409 if ( PROG_TO_EDICT(ent->v.enemy) != sv.edicts && SV_CloseEnough (ent, goal, dist) )
|
pr_cmds.c | 542 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); 648 RETURN_EDICT(sv.edicts); 660 RETURN_EDICT(sv.edicts); 771 chain = (edict_t *)sv.edicts; 776 ent = NEXT_EDICT(sv.edicts); 878 RETURN_EDICT(sv.edicts); 1136 RETURN_EDICT(sv.edicts); 1203 check = NEXT_EDICT(sv.edicts);
|
pr_exec.c | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) 568 c->_int = (byte *)((int *)&ed->v + b->_int) - (byte *)sv.edicts;
|
sv_phys.c | 70 check = NEXT_EDICT(sv.edicts); 145 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); 453 check = NEXT_EDICT(sv.edicts);
608 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); 825 pr_global_struct->self = EDICT_TO_PROG(sv.edicts); 826 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); 915 ent = sv.edicts;
|
world.c | 272 // touch linked edicts 369 if (ent == sv.edicts) 511 return sv.edicts; 722 // touch linked edicts 833 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end ); 884 return sv.edicts; 890 check = NEXT_EDICT(sv.edicts);
|
server.h | 30 ss_loading, // spawning level edicts 61 edict_t *edicts; // can NOT be array indexed, because member in struct:__anon10424
|
sv_init.c | 324 // allocate edicts 325 sv.edicts = Hunk_AllocName (MAX_EDICTS*pr_edict_size, "edicts");
|
pr_edict.c | 97 Con_Printf ("WARNING: ED_Alloc: no free edicts\n"); 804 if (ent != sv.edicts) // hack 1059 Cmd_AddCommand ("edicts", ED_PrintEdicts); 1070 return (edict_t *)((byte *)sv.edicts+ (n)*pr_edict_size); 1077 b = (byte *)e - (byte *)sv.edicts;
|
sv_user.c | 96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message)); 112 MSG_WriteByte (&host_client->netchan.message, sv.edicts->v.sounds); 1248 // touch linked edicts 1314 check = NEXT_EDICT(sv.edicts); [all...] |
/external/quake/quake/src/WinQuake/ |
progs.h | 93 //define EDICT_NUM(n) ((edict_t *)(sv.edicts+ (n)*pr_edict_size)) 94 //define NUM_FOR_EDICT(e) (((byte *)(e) - sv.edicts)/pr_edict_size) 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]))
|
sv_move.cpp | 130 if (i == 0 && enemy != sv.edicts) 151 if (enemy == sv.edicts) 414 if (enemy != sv.edicts && SV_CloseEnough (ent, enemy, dist) ) 416 if ( PROG_TO_EDICT(ent->u.v.enemy) != sv.edicts && SV_CloseEnough (ent, goal, dist) )
|
pr_exec.cpp | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) 568 c->_int = (byte *)(ed->u.i + b->_int) - (byte *)sv.edicts;
|
pr_cmds.cpp | 634 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); 663 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); 771 RETURN_EDICT(sv.edicts); 783 RETURN_EDICT(sv.edicts); 888 chain = (edict_t *)sv.edicts; 893 ent = NEXT_EDICT(sv.edicts); 986 first = second = last = (edict_t *)sv.edicts; 1003 if (first == (edict_t *)sv.edicts) 1005 else if (second == (edict_t *)sv.edicts) 1018 last->u.v.chain = EDICT_TO_PROG((edict_t *)sv.edicts); [all...] |
server.h | 59 edict_t *edicts; // can NOT be array indexed, because member in struct:__anon10715
|
sv_main.cpp | 207 sprintf (message, "%s", pr_strings+sv.edicts->u.v.message); 221 MSG_WriteByte (&client->message, (int) sv.edicts->u.v.sounds); 222 MSG_WriteByte (&client->message, (int) sv.edicts->u.v.sounds); 441 ent = NEXT_EDICT(sv.edicts); 562 ent = NEXT_EDICT(sv.edicts); 1101 sv.edicts = (edict_t*) Hunk_AllocName (sv.max_edicts*pr_edict_size, "edicts");
|
sv_phys.cpp | 67 check = NEXT_EDICT(sv.edicts); 141 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); 473 check = NEXT_EDICT(sv.edicts); 601 check = NEXT_EDICT(sv.edicts); 737 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); [all...] |
pr_edict.cpp | 105 Sys_Error ("ED_Alloc: no free edicts"); 813 if (ent != sv.edicts) // hack 1071 Cmd_AddCommand ("edicts", ED_PrintEdicts); 1093 return (edict_t *)((byte *)sv.edicts+ (n)*pr_edict_size); 1100 b = (byte *)e - (byte *)sv.edicts;
|
world.cpp | 283 // touch linked edicts 379 if (ent == sv.edicts) 558 return sv.edicts; 820 // touch linked edicts 931 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end );
|