Bill Currie
630e064150
-dedicated fixes
2001-10-03 17:25:21 +00:00
Ragnvald Maartmann-Moe IV
450dd9f504
5.2 time and fps in demo output, for both nq and qw.
2001-10-02 19:43:25 +00:00
Bill Currie
55b2a41b02
fix the capitolisation of nq_server_SOURCES
2001-10-01 21:56:12 +00:00
Bill Currie
f505e8630c
fixes for rh 7.1
2001-09-30 23:24:53 +00:00
Bill Currie
138a4a1c14
rename console_t to old_console_t in preparation for a better version and
...
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Bill Currie
cca3e4c203
fix a coupld d'ohs for pr_checkextensions
2001-09-28 21:39:13 +00:00
Bill Currie
f1454ae93c
include console.h
2001-09-28 16:53:11 +00:00
Bill Currie
c78edb3a36
Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch
2001-09-28 07:51:15 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Jeff Teunissen
3dbf6cba31
This fixes NQ.
2001-09-28 05:37:46 +00:00
Bill Currie
180fe60c10
empty file
2001-09-28 04:40:37 +00:00
Ragnvald Maartmann-Moe IV
2941c07b0a
Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects.
2001-09-27 00:43:46 +00:00
Jeff Teunissen
e110f6da83
-3dfx is gone, pending someone to work on it again. Most of the stuff it
...
did specially will be folded into -glx.
2001-09-25 23:58:23 +00:00
Chris Ison
0efd28abcc
trying to get bootstrap to work in cygwin
2001-09-25 23:04:13 +00:00
Jeff Teunissen
875a0eab1b
simplify, be paranoid
2001-09-25 21:55:31 +00:00
Jeff Teunissen
9a1e0aba59
Better fix.
2001-09-25 21:46:23 +00:00
Jeff Teunissen
662a752f9b
Makefile updates. Not so ugly any more, and might even work in Windows.
2001-09-25 21:38:05 +00:00
Bill Currie
36de3c147e
move Sys_Quit and Sys_Error totally into libQFutil. They will call a list
...
of pre-registered (Sys_RegisterShutdown) function before actually exiting
the program. This should take care of the pain when an ncurses server
crashes.
2001-09-24 21:00:23 +00:00
Adam Olsen
f5135b7542
- and THAT particular bug fix is going into nq too
2001-09-24 19:41:42 +00:00
Bill Currie
49a85718f8
total nukage of Con_*Printf calls from libs (except for video). Sys_*Printf
...
(Sys_DPrintf is new) is now used exclusively for all lib printing. Con_Init
sets the sys printf recirection to Con_Print (which has been revamped
appropriatly) and the server sets it to SV_Print (which was SV_Printf and
the new SV_Printf calls /it/). This should fix the rcon print redirection
issues.
2001-09-21 04:22:46 +00:00
Bill Currie
4416404982
total nukage of Sys_Printf calls in the client and server source. this paves
...
the way for libQFutil using Sys_Printf exlusively.
2001-09-21 03:01:14 +00:00
Ragnvald Maartmann-Moe IV
a7d8e2c0ea
TE_EXPLOSION2 now does colored lighting. And spark showers brightened up a bit. Sparks all yellow now, none of the weird dingy grey ones. ;)
2001-09-16 20:07:28 +00:00
Bill Currie
4bc167c5aa
evil hack, but can build from "make dist" again
2001-09-11 06:34:03 +00:00
Ragnvald Maartmann-Moe IV
0d0e570676
Small particle trail speedup/legibility/flexibility improvement, at price of redundant code in sw/sw32. Tradeoffs. *sigh*
2001-09-07 05:37:11 +00:00
Bill Currie
e9cf5b4eba
include sys/types.h for freebsd
2001-09-07 04:41:13 +00:00
Adam Olsen
22075ac46f
Add a cl_quakerc cvar, for disabling the execution of the default
...
config.
2001-09-06 23:58:28 +00:00
Bill Currie
d7675ada7a
move the particle count multiplication out of the renderer and into the clien
...
(for blood and gunshot, anyway).
2001-09-06 05:41:15 +00:00
Bill Currie
c2c0353e60
cl_demospeed for nq
2001-09-06 04:35:02 +00:00
Bill Currie
a890be806c
this /should/ fix the dancing corpses
2001-09-05 23:14:27 +00:00
Bill Currie
008d80df67
s/IMT_DEFAULT/IMT_0/g for the constant and move the name-enum entry for
...
IMT_DEFAULT to the bottom of the list so that IMT_0 gets written as such
rather than IMT_DEFAULT.
Also, clean up nq's EF_* dlight creation a bit (haven't touched
EF_MUZZLEFLASH: undecided on what to do).
2001-09-05 21:22:55 +00:00
Bill Currie
6c8a112cb8
get "make dist" working again
2001-09-04 21:00:08 +00:00
Adam Olsen
f1a016c8a5
- Refine the Cache_Get callback, to use a void * instead of a char *
...
- Switch alias models over to Cache_Get/Cache_Release
2001-08-31 12:22:45 +00:00
Bill Currie
3656d6fd59
compile fixes for win32 and take the pruning shears to *sys*.c in qw and nq
...
(they're not done yet, though)
2001-08-29 17:45:53 +00:00
Ragnvald Maartmann-Moe IV
2f5e0cf603
whitespace and headers.
2001-08-29 02:12:57 +00:00
Adam Olsen
57e98c89d2
Add a builtin for hullpointcontents, since gcc doesn't like unused
...
static functions
2001-08-28 01:14:21 +00:00
Bill Currie
a9d6bc9a30
total nukage of #ifdef QUAKE2 (R_DarkFieldParticles is present, just unused)
2001-08-27 23:21:09 +00:00
Bill Currie
74dfef5cd1
sort-of merge world.h and (mostly: Sys/Con vs SV) world.c this winds up
...
bringing rotated bboxes into nq :)
2001-08-27 22:16:11 +00:00
Bill Currie
3edd4550d2
heh, nor do we need PROGHEADER_CRC
2001-08-27 21:13:00 +00:00
Bill Currie
9d27a12df7
progdefs? where we're going we dont need... progdefs
2001-08-27 21:09:13 +00:00
Bill Currie
9a678a5e63
final eradication of basedir and cachedir
2001-08-27 18:53:09 +00:00
Ragnvald Maartmann-Moe IV
eb7982fa26
Compile fix.
2001-08-27 07:17:13 +00:00
Ragnvald Maartmann-Moe IV
277b141ec7
Header cleanups (<strings.h> outside without HAVE_* tests and the like, multiply including several headers unless on windows, and other bizarre messes). Plus a hefty dose of whitespace.
2001-08-27 07:13:32 +00:00
Bill Currie
272332bb2c
make Sys_HighFPPrecision and Sys_LowFPPrecision available in sdl
2001-08-27 06:16:43 +00:00
Ragnvald Maartmann-Moe IV
50190403fa
.gitignore update for sdl32.
2001-08-25 04:40:40 +00:00
Ragnvald Maartmann-Moe IV
c6266aba36
sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet.
2001-08-25 02:47:11 +00:00
Adam Olsen
ea063a1e0f
having duplicate functions is bad.
2001-08-22 05:50:01 +00:00
Adam Olsen
17ba7ef92f
- move alot of the builtins to libQFgamecode_builtins
...
- move the init into qw and nq
2001-08-22 03:24:25 +00:00
Adam Olsen
1314c89b6c
- add libs/gamecode/builtins subdir, with libQFgamecode_builtins.la
...
- add .gitignore files
- fix building :)
2001-08-21 22:34:20 +00:00
Bill Currie
7df09a3487
centralize client state setting
2001-08-20 17:48:16 +00:00
Adam Olsen
d5fa2cc321
Major diff reduction in *sys_*.c files. Don't think I broke anything,
...
but hard to test it all..
I skipped a couple files, because they contained *alot* of
platform-specific functions.
2001-08-18 21:57:45 +00:00
Zephaniah E. Hull
81172de25c
ToggleConsole now sets the game_target as it should.
2001-08-17 07:32:53 +00:00
Zephaniah E. Hull
80696badc7
kgt->imt, and imt now displays the current IMT.
2001-08-17 07:06:01 +00:00
Zephaniah E. Hull
20adccc9e4
A few things, first is that I removed the (rather broken) serial
...
networking support.
Second, I moves keys.c from qw and nq to libs/video/targets when I did
the next thing.
Existing user configs which do binds, sledge hammer. Sledge hammer,
existing user configs which do binds. *WHACK* *WHACK* *WHACK*
See, much nicer now.
Someone should document it, and fix all targets which don't use SDL for
input. (I honestly don't expect svgalib and the like to ever be fixed.)
2001-08-16 09:19:36 +00:00
Bill Currie
a22fd5a172
sdl 1.1.5 fixes
2001-08-15 21:29:18 +00:00
Bill Currie
59e50d933d
sdl and sgl clients now build
2001-08-15 20:55:22 +00:00
Bill Currie
8d0acf7630
remove some unneeded -L.s. it seems some versions of binutils don't like it
2001-08-15 06:12:38 +00:00
Ragnvald Maartmann-Moe IV
ca4d4791c9
Fix a severe braino, and get less excessively parenthetical in one spot.
2001-08-10 03:07:34 +00:00
Ragnvald Maartmann-Moe IV
b868a09661
Kill off gl_view.c and sw_view.c. Renderer merge is more or less complete now. Software and gl renderers now calculate color shifts the same way, and sw looks a bit different now. Powerups don't shift enough in sw right now, IMO.
2001-08-10 00:28:57 +00:00
Adam Olsen
0c63c11b4b
diff noise reduction. mostly just "progs_t * pr" to "progs_t *pr".
...
Only code change is copying qw's variable-size PF_VarString in place
of nq's 256 char "I wanna be a buffer-overflow exploit!" version.
2001-08-09 06:05:43 +00:00
Bill Currie
fb42199637
change all the SVFIELD calls to SVtype. this should make the code a little
...
easier to read.
2001-08-08 20:28:53 +00:00
Ragnvald Maartmann-Moe IV
2ccebbfd5c
Exit early on common case, rather than go through all checks. Minor speedup, but measurable on higher framerate demos.
2001-08-07 18:53:22 +00:00
Adam Olsen
d241e8dd64
Make sure all the function names passed to PR_AddBuiltin are
...
lowercase, for sanity reasons.
2001-08-04 22:14:45 +00:00
Adam Olsen
ae133d0a90
Modify progs to add builtins at runtime. It should be trivial to
...
lookup functions by name, and make all our new QC builtins allocate
numbers automatically.
2001-08-03 06:40:28 +00:00
Adam Olsen
19387f0801
diff noise reduction, cleaned up the comments somewhat
2001-08-02 23:27:45 +00:00
Bill Currie
0a4caac3c6
mingw compile fixes
2001-08-02 23:00:39 +00:00
Bill Currie
79eb948127
for some reasone, building the rpms wanted an explicit stdio.h inclusion
...
*shrug*
2001-08-02 03:24:18 +00:00
Bill Currie
e8c0af9c40
re-enable the mission pack stuff. yeah, it's clunky, but it's nice to have.
...
Hopefully, scripted huds will come soon.
2001-08-01 05:12:37 +00:00
Bill Currie
368468dce0
revert the changes to cl_demo.c as they are a serious (10%) speed hit in qw.
...
While lost in the noise for nq for the standard demos, it seems like a good
idea to revert it too.
2001-07-31 07:29:44 +00:00
Bill Currie
6196fda661
don't seg if looking up the ip of hostname fails (which on a properly
...
configured system, shouldn't happen, but oh well)
2001-07-27 23:17:40 +00:00
Bill Currie
44daa25fe6
force the software clients to use the static renderer so asm is used
2001-07-26 20:55:42 +00:00
Bill Currie
c7390e4d53
diff_snr-- :)
2001-07-23 18:36:36 +00:00
Bill Currie
22c9716b56
rename int_var to integer_var
2001-07-22 20:20:46 +00:00
Bill Currie
aa7500cac7
add the DOUBLEQUOTE key name as per mechanix' request
2001-07-19 21:54:12 +00:00
Bill Currie
46176e1094
azerty kb patch from Filip Van Raemdonck <mechanix@digibel.org>. includes some
...
misc fixes, too
2001-07-19 21:46:34 +00:00
Adam Olsen
a771b5bd6c
Make edicts command support a search string, so it only prints edicts
...
with matching classnames. Makes it easy to print out the type you want
for debugging :)
2001-07-19 03:18:11 +00:00
Bill Currie
47a6f2c9b5
pr_debug.c:
...
capitolise CRC and add a \n to the message
sv_progs.c (both nq and qw):
don't bother checking the progdefs.h crc: it's just not needed any more
pr_imm.c:
use r instead of rep when checking the hash tables.
main.c (quaq):
make developer work and set com_filesize (otherwise, progs crc doesn't
get set properly (com_filesize, not developer:))
2001-07-18 21:28:41 +00:00
Bill Currie
e5de359877
requiring quake2 fields ain't such a good idea (but why are they in q1 progs?
...
oh well)
2001-07-18 18:16:11 +00:00
Bill Currie
bab80a0648
move the special keys out of the way of ascii codes (unless they represent
...
ascii codes (eg, K_ENTER)) and remove the magic number for the number of keys.
2001-07-17 15:51:56 +00:00
Adam Olsen
8c3f799282
Make nq-* -dedicated work. :)
2001-07-16 23:36:43 +00:00
Bill Currie
104701a8c5
the beginnings of the console lib (using plugins for the client/server type
...
consoles). Currently, doesn't affect anybody other than the need to
re-bootstrap.
2001-07-16 20:41:10 +00:00
Bill Currie
1c9e1b176f
fear the mighty const correct patch
2001-07-15 07:04:17 +00:00
Bill Currie
96e28e638a
make the quake 2(?) fiels optional
2001-07-15 02:16:29 +00:00
Adam Olsen
155b46b8c8
More diff noise reductions. yay!
2001-07-15 01:48:03 +00:00
Adam Olsen
08cb34e0e0
Diff noise reduction. Stop me if I break it :)
2001-07-15 00:21:48 +00:00
Adam Olsen
fb0fe95e7e
Diff noise reduction
2001-07-15 00:03:11 +00:00
Bill Currie
7ca4383790
move a Key function out of console and into keys.
...
replace a Con_Print call with Con_Printf ("%s", ...) (I want to make Con_Print
private)
2001-07-11 19:17:58 +00:00
Bill Currie
ecff96258f
cmd.[ch]:
...
api change: Cmd_Args () now takes a parameter inidcating which arg to
start at for grabbing the un-parsed command line
qw/source/sv_ccmds.c:
implement kk's tell command and user name matching (though # is used for
the wildcard and it's still case sensitive)
everything else:
adjust for the new Cmd_Args protype
2001-07-10 18:25:54 +00:00
Bill Currie
c60d333610
sbar.c:
...
whitespace
sv_main.c:
fix a silly mis-cast that caused the runes to not be displayed in the client
2001-07-09 03:17:53 +00:00
Bill Currie
41e07f08a4
oops, re-using freed memory is a nono :/
2001-07-06 20:04:05 +00:00
Bill Currie
bb084d5f14
fix the case when the expansion is both an exact match and a sub-string
2001-07-06 19:47:44 +00:00
Bill Currie
e3c38e7774
rework tab completion a bit so that it expands as much as possible
2001-07-06 19:43:01 +00:00
Bill Currie
03c0216dde
force_centerview is back
2001-07-06 17:42:04 +00:00
Bill Currie
0fddfe4931
just typing map will give the current map name. In nq, doesn't work too well
...
during a demo (doesn't die, just gives "map is ", or likely the last map
actually played on).
2001-07-06 17:38:17 +00:00
Bill Currie
b4ac2446a1
Put knghtbrd's sys cleanup changes back in, but with Sys_MakeCodeWriteable
...
in sys/util.c rather than limbo (the crux of the problem that caused the
previous reversal). I'll look into his Sys_Printf changes next.
2001-07-05 03:28:40 +00:00
Bill Currie
e659c2a44f
revert kntbrds recent sys changes as they break sw static builds
2001-07-05 00:12:43 +00:00
Joseph Carter
eb71edb5d4
taniwha, please have a look at this to make sure I'm doing it the "right"
...
way.. Sys_Printf is now Sys_StdPrintf for now. Sys_Printf is a function
pointer and will end up replacing Con_Printf as well. Names will change
to something intelligent when I'm done. Win32 is not yet touched, but I
haven't forgotten it.
The reason for this is the assumption that Con_Printf and Sys_Printf do
not overlap. The new server console WILL change that, requiring that we
change how we handle both functions. The plan: Default to using stubs
and swap them for full-featured functions on Console init which do all
the things we expect. Will also do a stderr version later.
2001-07-02 18:11:34 +00:00
Joseph Carter
8bff65bbd2
A little more cleanup of the sys stuff, at least for unix. I don't want
...
to mess with the win32 stuff just now without coordinating with Coderjoe,
which I don't have time for just now..
2001-07-01 08:59:49 +00:00
Bill Currie
0d8ac0dbdd
whitespace
2001-06-29 15:42:53 +00:00
Joseph Carter
515f449a39
Sun-specific code is dead. Sun boxes should work fine with -x11 and -glx
...
as it is. Left snd_sun, which looks useful for something.
2001-06-29 08:01:12 +00:00
Joseph Carter
11257134c0
dos is dead, really. This has never worked, and would need a full rewrite
...
from scratch before it would anyway. That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00