Bill Currie
bad252cb81
support category dumping
2002-11-14 18:44:01 +00:00
Bill Currie
04867e06bc
fix a silly bug that caused object names to get mangled when they had a
...
super class
2002-11-14 18:29:21 +00:00
Bill Currie
3c215ce13f
getting closer to working categories
2002-11-14 18:17:43 +00:00
Bill Currie
e544c1247f
fix a clobbered by longjump warning
2002-11-14 15:37:09 +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
Brian Koropoff
7b0c24a386
Added carne, the stand-alone GIB interpreter. Made a few changes to GIB
...
to accommodate it. Added the strict flag to cbufs, which causes an error
to be generated when a command is not found instead of just warning the
user. GIB buffers have the strict flag set by default.
2002-11-14 02:10:55 +00:00
Bill Currie
6ce0abe536
more alpha compile fixes. Closes : #60 because while it started out for
...
0.1.1 it developed into an alpha compile issue for 0.5.2
2002-11-13 20:20:50 +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
8cf5c9a430
don't die on invalid strings
2002-11-13 16:17:00 +00:00
Brian Koropoff
cef0d957e2
Added useful error messages to the math parser, cleaned up implied
...
multiplication a bit, and added some whitespace to cbuf errors for
readability.
2002-11-13 03:03:37 +00:00
Bill Currie
da334413b8
re-write category handling so it has a better chance of working (category
...
using code now compiles)
2002-11-12 19:52:43 +00:00
Bill Currie
33918c6371
didn't realize that was there
2002-11-12 15:21:53 +00:00
Bill Currie
75c91e78c2
qwaq progs now take args :)
2002-11-12 02:56:10 +00:00
Brian Koropoff
44d0408a38
Two small fixes.
2002-11-12 02:53:24 +00:00
Bill Currie
13c5216373
do some cleanup
2002-11-12 02:30:08 +00:00
Bill Currie
f561d25a84
show what console says
2002-11-11 21:29:05 +00:00
Bill Currie
bde21fa510
packaging fixes the for resurrected gib lib
2002-11-11 18:10:26 +00:00
Brian Koropoff
0f71b02fd7
Changed the name of GIB builtins from string.length to string::length, etc.
...
Made a few miscellaneous cleanups and enhancements to builtins and changed
all the GIB scripts in CVS to reflect the new naming conventions.
2002-11-11 01:57:34 +00:00
Bill Currie
aa5ad0f0f9
don't use glXGetProcAddressARB to look up the glX functions. hopefully fixes
...
the nvidea segfault
2002-11-10 23:31:19 +00:00
Brian Koropoff
8ebef28b7a
Removed references to Cmd_Return, which should have gone away when GIB was
...
separated out into an independent interpreter.
2002-11-10 03:24:00 +00:00
Bill Currie
498bdcc406
compile fixes for alpha linux
2002-11-10 02:50:42 +00:00
Bill Currie
77288fe90b
make dist fix
2002-11-09 21:56:13 +00:00
Bill Currie
5f606a2829
\r terminates a line only if followed by \n or the end of the buffer
2002-11-09 07:58:34 +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
1dfbf4ba7e
win32 compile fixes
2002-11-08 23:13:52 +00:00
Bill Currie
d0084cb558
tell dh_strip to leave ruamoko libs alone
2002-11-08 18:50:08 +00:00
Bill Currie
f94eeb55a2
fix some alpha warnings
2002-11-08 17:36:47 +00:00
Bill Currie
a5ead00f8e
small bit of cleanup
2002-11-08 17:13:23 +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
d46b37f940
use COM_CompressPath
2002-11-08 03:35:22 +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
62bbd0228a
prototype Com_CollapsePath
2002-11-08 03:12:22 +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
71e95ee26f
stop lying about responding to Delete events
2002-11-06 17:09:01 +00:00
Bill Currie
749b56aae7
forgot to fix these when I did the copyrights
2002-11-06 16:32:28 +00:00
Bill Currie
eeb4e4f9a9
how that got past my compile tests is beyond me
2002-11-06 14:56:39 +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
43fa6a4002
inherited attributes rock :) (thanks, aho, ulman and sethi:)
2002-11-04 17:54:31 +00:00
Bill Currie
1cba65f6ce
fix a gcc 2.95 warning
2002-11-04 02:24:28 +00:00
Bill Currie
a6a171a5e1
python before ruamoko does interesting things to the mind
2002-11-01 22:53:02 +00:00
Bill Currie
d5e90852df
add lib/ruamoko to the packages
2002-11-01 18:11:20 +00:00
Bill Currie
be65608565
mention the qfcc search path improvements
2002-11-01 18:07:10 +00:00
Bill Currie
7f69f593d3
configure.ac:
...
define default include and lib paths for qfcc
ruamoko:
{cl_menu,game}/Makefile.am:
conform to the new qfcc library linking rules
lib/Makefile.am:
install the libs to ${prefix}/lib/ruamoko
qfcc:
linker.[ch]:
support path searching for -llib and make linker_add_lib search for
libfoo.a for -lfoo in the paths, or just a single dir search for the
libname otherwise.
options.c:
support -L libpath and setup the default include and lib paths
also change most strdup calls to save_string
qfcc.c:
check for foo.a as well as -lfoo when deciding whether the file is
an object file or lib file.
2002-11-01 18:05:12 +00:00
Bill Currie
ca95033c4f
and a bunch more cast fixes
2002-11-01 01:39:36 +00:00
Bill Currie
868201e509
remove a bunch of obsolete (and now wrong syntax anyway) casts
2002-11-01 01:31:37 +00:00
Bill Currie
9dc9ee537d
implement a dynamic array class
2002-10-31 23:00:40 +00:00
Bill Currie
1a6a9f177d
make error reporting a little saner (hopefully)
2002-10-31 23:00:13 +00:00
Bill Currie
7af99f422f
expr.c:
...
fix a braino that caused only sizeof expr to work
linker.c:
print an error message if unable to open the lib
qc-parse.y:
revamp expression parsing so casting is done via (type)expr rather than
type(expr)
make it so pointers to pointers don't need ()s
2002-10-31 22:58:59 +00:00
Bill Currie
b3671874bf
make dist fix
2002-10-30 15:54:17 +00:00