Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Bill Currie
836c469737
sys.[ch]:
...
handle SIGFPE and allow the registered signal handler to do recovery
rather than bail
progs.h, pr_exec.c, pr_load.c:
if pr_faultchecks is 1 (0 is default), handle division by 0 gracefully
by loading the maximum representable number into the answer
Closes : #58
the rest:
kill the SIGFPE stuff
2002-11-13 19:26:44 +00:00
Bill Currie
ea7576286a
diff--
2002-08-30 02:18:53 +00:00
Bill Currie
1354975692
clean out some unneeded includes and fix up model_t for sun (again:P)
2002-08-08 22:24:02 +00:00
Bill Currie
442ccc3deb
no more Sys_* functions defined in nq or qw :)
2002-06-07 15:46:15 +00:00
Bill Currie
ebfdbd9285
the fpu manipulation stuff seems to be better off in the one place that
...
actually uses it...
2002-06-07 15:09:20 +00:00
Bill Currie
f00e892d4e
mingw gcc 3.1 is freaking weird
2002-06-02 05:27:32 +00:00
Bill Currie
9630a23391
more Sys_* cleanup
2002-06-01 03:00:13 +00:00
Bill Currie
fc0bb7e175
move Sys_DebugLog
2002-05-31 22:50:43 +00:00
Bill Currie
f0c03f8331
minor cleanups of Sys_ConsoleInput. Cleaning it up properly will take more
...
work, but this removes most of the redundant instantces. nq-sdl (or -sgl)
-dedicated won't have console input, nor will dedicated servers that don't
load a console plugin.
2001-11-18 22:08:24 +00:00
Bill Currie
06622fa164
-mem now also works as a cvar (and there was much rejoycing:). sv_mem_size
...
(server) and cl_mem_size (client), in megabytes (ie, same as -mem). I haven't
done nq yet as I'm uncertain what to /call/ it :)
2001-11-14 20:18:37 +00:00
Bill Currie
6ea400fb30
d'oh, forgot to compile test :P
2001-10-18 17:03:50 +00:00
Bill Currie
00bfc128a0
more printf elimination
2001-10-18 16:49:40 +00:00
Bill Currie
2d068c0745
massive windows.h and WIN32 cleanup.
2001-10-16 21:40:45 +00:00
Bill Currie
5b8aca001b
diff snr--
2001-10-07 18:45:23 +00:00
Bill Currie
514a4a56cb
fix a win32 namespace issue
2001-09-28 16:29:34 +00:00
Bill Currie
8e27422c72
partial fixes for mingw cross builds. still have issues with ar :(
2001-09-28 16:03:45 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +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
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
ade99607cc
header/whitespace sweep continues.
2001-08-28 23:05:45 +00:00
Ragnvald Maartmann-Moe IV
500b5c09d3
More header fixes, whitespace cleanups.
2001-08-27 21:00:37 +00:00
Bill Currie
272332bb2c
make Sys_HighFPPrecision and Sys_LowFPPrecision available in sdl
2001-08-27 06:16:43 +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
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
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
Ragnvald Maartmann-Moe IV
91200a862d
Whitespace.
2001-05-14 03:08:24 +00:00
Bill Currie
527471a7de
*-wgl finally links (who knows if it works?:) and some more conceptual
...
cleanup
2001-04-17 15:55:33 +00:00
Adam Olsen
f9641bfadc
Make 16 megs the default, since 44khz sounds need it. Win will grab
...
up to 16 megs anyway, and nq already has 16 as the default, so no
changes for them.
2001-04-17 07:47:32 +00:00
Joseph Carter
2bc55b7828
Cvar cleanups.. NULL is now used in place of 0 for callbacks, this should
...
make Cvar_Get's a lot easier to read.
2001-04-10 23:39:30 +00:00
Bill Currie
dfbfd9463c
mingw cross compile fixes. qw-server (only, so far) compiles but does not
...
yet link due to Sys_Error :/
2001-04-10 20:07:11 +00:00
Bill Currie
e939ccc40a
cvars now sport a callback function that gets called whenever the cvar changes
...
or on initial get.
2001-03-31 01:02:52 +00:00
Bill Currie
5a48f987a5
scripted fixups for the QF include move
2001-03-27 23:36:02 +00:00
Ragnvald Maartmann-Moe IV
a0565418d9
Stomped out lots of typos and case inconsistencies. fixme, Fixme, FIXME!
2001-02-21 23:45:49 +00:00
Bill Currie
87854e1a0c
initial checkin of most recent newtree and nuq(?) source
2001-02-19 21:15:25 +00:00