Commit graph

119 commits

Author SHA1 Message Date
Bill Currie
26e2d545e4 macro parameter usage must have () around them :P
This seems to fix the aim bug
2001-03-03 05:34:50 +00:00
Bill Currie
51ca0b6a41 missed this in the previous checkin 2001-03-02 23:41:50 +00:00
Bill Currie
3c17a888be more cleanups. rocket/shotgun bug not found yet 2001-03-02 23:40:34 +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
10e6b7af84 edict field access type checking :) Currently forced on, but it will become a
configure option in the future
2001-03-01 21:11:35 +00:00
Bill Currie
68220d1fb0 fix up packet logging for the new msg stuff 2001-03-01 20:41:20 +00:00
Bill Currie
4fcf7704d3 clean out unused fields 2001-03-01 19:05:40 +00:00
Bill Currie
ef38fd2e79 progsdef.h is now used only for the PROGHEADER_CRC def. Much of the protocol
still seems to be broken :(
2001-03-01 18:44:19 +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
c2213f2366 must set the data field in ALL edicts, not just player edicts :) 2001-02-28 23:35:20 +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
Bill Currie
7e14a0fbf3 clean up RETURN_EDICT and RETURN_STRING definitions to be both easier to read
and more correct for aliasing (and int size dependence, too:).
2001-02-27 19:05:05 +00:00
Bill Currie
ea464d5928 new operand handling from nq 2001-02-27 08:21:40 +00:00
Bill Currie
8f0272c04e fix some indent braindamage.
change OP[ABC] to E_OP[ABC] and add OP[ABC] as the non-cast version.
2001-02-27 05:37:35 +00:00
Bill Currie
2367b0dc5f initial work at bringing nq's progs code up-to-snuff with qw's. Doesn't work
yet :( nq segs due to either mangled strings or mangled functions, not sure
yet.
2001-02-26 20:52:14 +00:00
Bill Currie
f6d047712d all -snd* params and environment checking have been removed from the sound
subsystem in favor of Cvars*. These new cvars are:
 o  snd_device  defaults to "" which selects the default device of the system
    (eg, plug:0,0 for ALSA 0.9 or /dev/dsp for OSS)
 o  snd_rate    defaults to 0 which selects the system default rate.
 o  snd_bits    defaults to 0 which selects the system default bit depth.
 o  snd_stereo  defaults to 1 (0 is mono)

* actually, not that thorough: alsa and oss only. The rest have just ws :/
2001-02-26 17:39:32 +00:00
Bill Currie
95e5b5e4cf all -snd* params and environment checking have been removed from the sound
subsystem in favor of Cvars. These new cvars are:
 o  snd_device  defaults to "" which selects the default device of the system
    (eg, plug:0,0 for ALSA 0.9 or /dev/dsp for OSS)
 o  snd_rate    defaults to 0 which selects the system default rate.
 o  snd_bits    defaults to 0 which selects the system default bit depth.
 o  snd_stereo  defaults to 1 (0 is mono)
2001-02-26 17:12:13 +00:00
Bill Currie
1fce1ea12e run indent over all the .c files using qw's .indent.pro. The real reason for
this is I mistakenly did so while making some other changes (which I made sure
were NOT in the checkin:)
2001-02-26 06:48:02 +00:00
Bill Currie
a23e18e8be strip tabs and `TODOize' the directory tree, marking those dirs I consider to
be basicly done as such.
2001-02-25 23:18:23 +00:00
Ragnvald Maartmann-Moe IV
4723086242 More comment updates! Flee in terror! (Right into the maw of that shambler behind you!) 2001-02-24 08:38:47 +00:00
Jeff Teunissen
2dd03876af QFCC -- the QuakeForge Code Compiler -- an autoconfiscated qcc.
It sucks, but it works, and will form the basis for something that Does
Not Suck.
2001-02-24 06:58:54 +00:00
Bill Currie
df916ef2c7 fix up the support for -<game> 2001-02-24 06:38:01 +00:00
Bill Currie
a457cfb467 rev the version number to the devel series 2001-02-24 04:40:49 +00:00
Bill Currie
4b1f10d10d fix the problem with getting kicked from tf/megatf servers for changing teams.
Got the `changed' test backwards.
2001-02-24 04:25:27 +00:00
Bill Currie
2bfeed6820 looks like utils is more or less complete for now, except for some fixes in
nq for abyss etc (ie, the magical -<mod> args).
The interface to the message subsystem got a revamp and all the mods to the .c
files reflect this. currently a little ugly, but I plan on abstracting msg
further to clean it up and make it more oo.
2001-02-23 23:16:13 +00:00
Bill Currie
b4cbb49ca0 forgot to update the alsa version test 2001-02-23 20:26:01 +00:00
Bill Currie
981d067000 merge qw's net_com.c and checksum.c (net_com.c was identitcle to nq's
checksum.c) and then move the resutlting checksum.c into libs/utils
ditching nq's. Due to net_com.c, qw's libqfnet.a will need to be deleted or
you will get duplicate symbol link errors. Also merge crc.[ch] and move
qfplits.[ch] to their final homes. Also, remove a slightly overzealous use
of "static" in qfplist.[ch].
2001-02-23 18:31:48 +00:00
Bill Currie
265680d2c2 snd_alsa_0_9.c now works on my cards. Hope it still works for Despair. 2001-02-23 06:36:19 +00:00
Ragnvald Maartmann-Moe IV
efad87a4b7 Fiend is getting full, but I force fed it some more typos anyways. 2001-02-23 05:44:57 +00:00
Ragnvald Maartmann-Moe IV
00cf07b221 More misspellings messily dispatched. 2001-02-23 05:32:06 +00:00
Joseph Carter
f50f4a7c91 Cleared the NEWS file - what was there didn't even apply to newtree it was
so old.
2001-02-23 00:49:59 +00:00
Bill Currie
7227f77fb6 as alsa 0.6 never came out, ditch it and add 0.9 support (thanks, Abramo) 2001-02-22 20:51:51 +00:00
Timothy C. McGrath
61ab8c2d47 swspeed.cfg is speed cfg for software clients (-x11 -svga) however it is
not well tested, and needs someone to bash it over the head a few times.
If you routinely use the software clients, please find out what in this
file works for you, and let me know.

Misty
2001-02-22 20:39:37 +00:00
Timothy C. McGrath
721c7da648 My glspeed.cfg, which I promise to incrementally upgrade as I get
feedback. This will produce tremendous speed increases with gl cards, so
long as you are willing to sacrifice eyecandy.

Misty
2001-02-22 19:23:11 +00:00
Bill Currie
5c7b50ab0b add an item for doublesize modes 2001-02-22 19:06:56 +00:00
Bill Currie
07ae0ed92c fix broken ipv6 address field 2001-02-22 19:00:34 +00:00
Bill Currie
3d35af018f add reporting of compression support 2001-02-22 17:06:12 +00:00
Bill Currie
42e52a7093 %s/libutil.a/libqfutil.a/g due to name space clash found when linking SDL.
New naming convention, all libs will be libqf<subsys>.a (should we instead
use libQF<subsys>.a?). The .so libs, when we get to them, will have to be
sorted out then.
2001-02-22 16:53:15 +00:00
Bill Currie
7516666084 libutil.a is now used by both qw and nq 2001-02-22 08:12:13 +00:00
Bill Currie
9aa50a847c clean up the mess caused by attempting to merge cmd.[ch]. When taken further,
this might give us nice controlability of when cvars can be changed.
2001-02-22 04:46:59 +00:00