Bill Currie
c8db558c00
don't need sys/mman.h
2002-12-20 22:35:41 +00:00
Bill Currie
a84b6bba5d
make stuff static that can be and nuke some useless stuff
2002-12-16 23:26:14 +00:00
Bill Currie
12c970496d
win32 compile fix
2002-12-13 23:03:27 +00:00
Bill Currie
7e4979e908
make sure the baselines always point to entities
2002-12-11 22:09:23 +00:00
Bill Currie
bf3fa3dc76
remove some dead code and a lot of unnecessary diffs
2002-12-11 16:45:40 +00:00
Bill Currie
ee30860cef
fix a bunch of ;; typos
2002-11-20 21:44:04 +00:00
Brian Koropoff
625e1e36d6
Added Sys_PathType, which reports whether a path is absolute, relative
...
below, or relative above (uses .. to ascend the filesystem). Changed
file functions in GIB to use this. GIB can now be initialized in a
non-sandboxed mode, which at the moment means that GIB scripts run with
carne can access the entire filesystem.
2002-11-14 05:28:54 +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
Brian Koropoff
b40400d59c
Moved GIB into libs/gib and made util no longer depend on it. Cleaned up
...
some cruft from a previous incarnation of GIB.
2002-11-09 07:13:52 +00:00
Bill Currie
3d44623b57
change Cmd_Exec_File's api so it can conditionally use normal or quake
...
file system accesses. fixes the map.cfg exec problem
2002-11-08 16:39:28 +00:00
Bill Currie
864b181b99
d'oh, COM_FOpenFile could probably do with a re-design of its api :P
2002-11-08 03:27:05 +00:00
Bill Currie
ec0273e3dc
do a pre and post pass for maps/mapname.cfg and use maps_default.cfg if
...
maps/mapname.cfg doesn't exist.
2002-11-08 02:43:04 +00:00
Bill Currie
8d736d7424
uptime (via status) for qw-server and map time and auto map start for
...
nq-server
2002-11-07 16:43:05 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Bill Currie
ce2cfbcf45
clear beam end time when beams expire
2002-10-11 22:13:40 +00:00
Bill Currie
9f7c669370
various win32 compile fixes for the latest mingw (not fully working due to
...
LPCWAVEFORMATEX)
2002-10-11 20:47:17 +00:00
Bill Currie
c1cad316fd
fix some missing windows files
2002-10-11 17:43:51 +00:00
Bill Currie
347815f3e3
Call CL_UpdateScreen a few extra times to make sure the screen gets updated
...
before any lengthy pauses occur
2002-10-11 03:40:41 +00:00
Bill Currie
cddca4544d
behave sanely when the requested map doesn't exist ( Closes #44 ). I'm
...
closing the bug because X closing on qf receiving TERM or KILL is due to
X segfaulting and thus is an X bug.
2002-10-11 03:15:41 +00:00
Bill Currie
ffb90a510a
win32 compile fixes
2002-09-30 16:40:06 +00:00
Ragnvald Maartmann-Moe IV
eb54acf140
Whitespace.
2002-09-28 02:33:39 +00:00
Bill Currie
6bf98db650
kill most of the diffs
2002-09-26 20:58:03 +00:00
Bill Currie
606cb9abb0
hopefully fix compiling in Irix
2002-09-18 15:31:44 +00:00
Bill Currie
1025c6e343
forgot to remove my debug code
2002-09-18 03:55:43 +00:00
Bill Currie
0fbcd7719f
when bailing out of the bits tests due to U_EXTEND2 not being set, jump
...
to the forcelink test rather than returning from the function. fixes the
intermission bug.
2002-09-18 03:48:06 +00:00
Ragnvald Maartmann-Moe IV
7bf16df448
More QSG2 work.
2002-09-12 22:09:55 +00:00
Bill Currie
9f6f50699d
remove vid_basepal, creating vid.palette (current palette) and host_basepal
2002-09-10 03:51:10 +00:00
Ragnvald Maartmann-Moe IV
ceb264ce87
Make nq lightning handling match qw, which also gets some cleanups.
2002-09-09 20:02:52 +00:00
Chris Ison
d68c4f7700
clear cl.worldmodel on disconnect.
2002-09-08 03:36:34 +00:00
Bill Currie
ea7576286a
diff--
2002-08-30 02:18:53 +00:00
Bill Currie
a7380fef66
nuke msg_suppress_1 in favor of Sys_DPrintf
2002-08-27 18:05:59 +00:00
Bill Currie
a0807c762f
fix the handling of escape when in the console before ever connecting
2002-08-27 08:33:21 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Brian Koropoff
98fc04e041
Added threads and callbacks to GIB, as well as several QW callbacks dealing
...
with player status.
2002-08-27 04:47:49 +00:00
Bill Currie
5009213564
Move the signal handling code from video/targets/* to sys.c (I'm leaving
...
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie
099e2739b5
various msvc fixes thanks to muzzy (hope he doesn't give up:)
2002-08-20 19:16:11 +00:00
Ragnvald Maartmann-Moe IV
7de0dd6b5e
Whoops, missed one Length.
2002-08-20 02:31:19 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Bill Currie
2b1fd8e8c0
fix the menu keybinding not working bug
2002-08-19 02:48:38 +00:00
Bill Currie
bfd02b6412
mess around with the builtin comments
2002-08-14 22:33:10 +00:00
Bill Currie
ff02dfbbbc
make the sdl clients link reliably (some versions of binutils don't cope well
...
with no .o files)
2002-08-12 16:42:26 +00:00
Ragnvald Maartmann-Moe IV
a69b172f6f
Cache grappling hook beam model loading, should speed up CTF beam handling. For mods with no beam model, wastes a pointer on a lightning bolt model. Better than crashing... ;)
...
Also copy the sound effects LUT for spikes into nq, which I never got around to.
2002-08-10 02:53:44 +00:00
Bill Currie
b5783866ad
fix model_t issues for solaris (now that I know which headers cause the
...
problem...:)
2002-08-09 02:44:23 +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
64b608b20d
put *sys_sdl.c into a lib so it doesn't get compiled more than once and do
...
more macroizing
2002-08-07 18:20:23 +00:00
Brian Koropoff
5c60be3a49
If and while now work, and embedded commands use backticks instead of <> now
...
to prevent conflicts with math expressions. All clients and servers are set
to create buffers with the normal parser. However, scripts ending in .gib
are now executed in a GIB buffer, and the export command can be used to
make specific GIB functions available to normal command buffers (i.e. the
console).
2002-08-07 06:17:50 +00:00
Bill Currie
bd9092a626
per map config files (eg, maps/start.cfg for maps/start.bsp)
2002-08-06 05:45:03 +00:00
Brian Koropoff
cf48363c6e
More of GIB done: builtins, functions, various cleanups, math, etc.
2002-08-03 06:04:00 +00:00
Bill Currie
2ce0f2ded2
we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
...
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Brian Koropoff
439f9838d3
Whoops, missed some stuff that needed to be in idparse.h
2002-07-31 22:13:15 +00:00