Commit Graph

1380 Commits

Author SHA1 Message Date
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
Jeff Teunissen ade87c72b3 Woo, one more file builds cleanly...very few actual changes needed. 2001-03-02 09:36:51 +00:00
Jeff Teunissen 14772123d3 Forge.m now builds cleanly. It probably doesn't work, I had to comment out
a lot of PostScript-related code.
2001-03-02 09:13:35 +00:00
Jeff Teunissen 1bd5d98c4d Compile fixes, we're getting a bit closer. 2001-03-02 07:01:51 +00:00
Bill Currie ffc5838599 more debug changes. not there yet 2001-03-02 00:32:10 +00:00
Joseph Carter c7d74c6743 Minor cleanup to download draw function. More to do, this is just a good
checkpoint before I make changes that may not work.
2001-03-02 00:29:35 +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
Joseph Carter 1094e146da COM_SkipPath now uses strrchr, it's much more readable now. 2001-03-01 07:42:28 +00:00
Joseph Carter b2a53d4b46 The download bar is now seperate from Con_DrawConsole. This is currently
not really for the best, but it will be soon.
2001-03-01 02:51:51 +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
Joseph Carter 9564680d58 NQ's console is now identical to QW's, except for QW's download bar, which
IMO doesn't belong there and will be moving.  Other things may be moving
too, but I'm still debating them.
2001-02-28 10:49:39 +00:00
Joseph Carter 823be45d9d Con_Print now does Sys_Printf and logging itself. There was exactly one
use of Con_Printf in the code and it was appropriate for logging anyway.
As a result, Con_DPrintf now uses Con_Print directly for a slight speedup
there having two layers of function calls and varargs parsing to get to
the console.  Also ran the file through indent while I'm at it.
2001-02-28 10:21:38 +00:00
Joseph Carter 9c1988280b Cleaned up output of server print 2001-02-28 10:18:25 +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
Joseph Carter 0aa6110272 An evil (but temporary) hack. NQ has no concept of ca_active. This
should change to fix a few outstanding NQ bugs at some point, but in the
meantime it has been defined to be the same as ca_connected.  Yeah, that's
damned evil.  It's been clearly marked and WILL go away when not needed.
2001-02-28 08:53:17 +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
Jeff Teunissen 25f8a50ef4 Okay, that was stupid. ProjectCenter isn't good enough yet, so I'm back to
writing makefiles by hand.

Add a makefile preamble to set up our flags.

Compartmentalize all the headers into a Headers/ dir.
2001-02-27 21:18:27 +00:00
Jeff Teunissen e21ff3503e Update cmdlib.c to be in sync with qfcc 2001-02-27 20:44:53 +00:00
Jeff Teunissen 01f4df0ad4 Continuing work: Forge.* builds a little further. 2001-02-27 19:48:21 +00:00
Jeff Teunissen 5996198345 NSPoints are not passed by reference. 2001-02-27 19:28:22 +00:00
Jeff Teunissen acb42de4d5 whitespace. 2001-02-27 19:27:03 +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