// we should avoid extensive checking on entities already encountered
int areagridmarknumber;
- // old entity protocol, not used
-#ifdef QUAKEENTITIES
+ // PROTOCOL_QUAKE
// baseline values
entity_state_t baseline;
- // LordHavoc: previous frame
- entity_state_t deltabaseline;
-#endif
// LordHavoc: gross hack to make floating items still work
int suspendedinairflag;
char *ED_NewString (const char *string);
// returns a copy of the string allocated from the server's string heap
-void ED_Print (edict_t *ed);
+void ED_Print(edict_t *ed);
void ED_Write (qfile_t *f, edict_t *ed);
const char *ED_ParseEdict (const char *data, edict_t *ent);
edict_t *EDICT_NUM_ERROR(int n, char *filename, int fileline);
#define EDICT_NUM(n) (((n) >= 0 && (n) < sv.max_edicts) ? sv.edicts + (n) : EDICT_NUM_ERROR(n, __FILE__, __LINE__))
+#define EDICT_NUM_UNSIGNED(n) (((n) < sv.max_edicts) ? sv.edicts + (n) : EDICT_NUM_ERROR(n, __FILE__, __LINE__))
//int NUM_FOR_EDICT_ERROR(edict_t *e);
#define NUM_FOR_EDICT(e) ((edict_t *)(e) - sv.edicts)