Brought over pr_exec.c and pals from darkplaces.

Improvements include bounds checking, 40% less instructions per
opcode, support for 65535 globals. Might even break something.
This commit is contained in:
Dabb 2000-12-06 13:23:44 +00:00
parent 0dd34a3e20
commit a7b6d2df88
3 changed files with 1014 additions and 343 deletions

View file

@ -75,6 +75,7 @@ extern globalvars_t *pr_global_struct;
extern float *pr_globals; // same as pr_global_struct
extern int pr_edict_size; // in bytes
extern int pr_edictareasize; // LordHavoc: for bounds checking
//============================================================================