Bill Currie
f40b361fb3
hash.[ch]:
...
slight api change: the getkey and free functions now take a user data
parameter (which is an aditional parameter to Hash_New.
cmd.c, cvar.c, quakefs.c:
clean up the resulting errors.
pr_edict.c:
use hash tables for lookups of function, global and field definitions.
should speed things up a bit, ESPECIALLY when type checking is enabled.
2001-03-05 05:11:26 +00:00
Bill Currie
aad21e3c00
put the pointer comparison back in so dynamic strings don't cause blowouts
2001-03-05 04:15:59 +00:00
Bill Currie
234dcb4cc9
better(?) string sharing. e1m3 died a sad death in nq due to running out of
...
strings, but that was because only the address of the string was checked for
similarity. Now strequal is used.
2001-03-05 04:08:08 +00:00
Bill Currie
021c1347ed
remove the reliance on MAX_EDICTS
2001-03-04 05:42:26 +00:00
Bill Currie
8e52f7dc39
more nq fixes, not there yet
2001-03-03 09:09:39 +00:00
Bill Currie
26c387408c
fix a silly edict print bug
2001-03-02 23:07:21 +00:00
Bill Currie
6c9de8061b
fix the silly OP_STATE bug. also erradicate pr_offs.c and its contents (the
...
source of the bug)
2001-03-02 19:18:04 +00:00
Bill Currie
ffc5838599
more debug changes. not there yet
2001-03-02 00:32:10 +00:00
Bill Currie
be8f1cef7c
just some temporary debug info
2001-03-01 23:30:55 +00:00
Bill Currie
6f590ff9d0
forgot to change ev_function to ev_func in pr_edict and pr_exec was using the
...
wrong time. weaponframe still not fixed, but static entities were fixed in the
previous checkin
2001-03-01 23:03:40 +00:00
Bill Currie
ad18afaa3c
really clean up global and function access. Unfortunatly, frames are still
...
borked, at least for the view entity.
2001-03-01 08:34:30 +00:00
Bill Currie
cc43c91c89
fix classname field finding
2001-02-28 23:33:16 +00:00
Bill Currie
63b990cd30
qw-server builds, but dies a sad death. I REALLY REALLY NEED to clean up my
...
progs globals and edict fields accessors, but I'm not so sure that's the cause
of the run-time error:
SV_Error: SV_ModelIndex: model progs/player.mdl not precached
Fatal error: SV_Error: SV_ModelIndex: model progs/player.mdl not precached
I suspect I failed to find the spawn function.
2001-02-28 22:44:38 +00:00
Bill Currie
dfaf767890
libqfgamecode now builds. Now for the fun part: getting qw and nq to work using
...
the new setup.
2001-02-28 09:12:01 +00:00
Bill Currie
b5d86d522d
pr_edict.c is closer to compiling and has been re-indented
2001-02-28 02:25:03 +00:00
Bill Currie
9f2dacd2e1
re-think edict_t. this is going to massivly break things for a while, but
...
tough, progs should never have known about entity_state_t in the first place.
Nor should it have been mod spefic.
2001-02-28 01:59:31 +00:00
Bill Currie
e5543eb0a6
next step of the progs merge done. just need to sort out interdependencies,
...
fix PR_SetString, and a few other things.
2001-02-28 00:56:03 +00:00
Bill Currie
38e70e9fb2
the beginnings of merged progs code
2001-02-27 23:02:17 +00:00