Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Brian Koropoff
3c522a83bc
Various cleanups and bugfixes. Added proper line number reporting to
...
errors. A few new builtin functions, such as slice::find and thread::list.
2003-02-14 08:06:01 +00:00
Bill Currie
c46b58f4b5
fix an oopsie
2003-02-05 05:16:51 +00:00
Bill Currie
c5f7138db8
emit clipnodes in the correct order
2003-02-05 05:06:14 +00:00
Bill Currie
7073afc0a4
port in OQ's detail, hint and skip brush/texture enhancements
2003-02-04 23:26:26 +00:00
Bill Currie
2dd8a6c39d
grok quest's "map2" format (as well as the original)
2003-02-04 18:19:57 +00:00
Bill Currie
ab2aa3ae92
start merging in "map2" (quest) support
2003-02-03 22:42:13 +00:00
Brian Koropoff
580ca17546
GIB: Added proper reference counting on parse trees, got threads working
...
again, added a few new builtins and renamed some others, made misc. fixes
and enhancements.
2003-01-30 23:26:43 +00:00
Bill Currie
2d766710b6
detect multiple initializations of globals
2003-01-29 22:29:37 +00:00
Bill Currie
8a9cd78072
fix up a couple of error cases (and catch them!)
2003-01-29 20:32:44 +00:00
Brian Koropoff
59fbd48a81
Overhauled GIB to parse scripts in advance, among other design and language
...
changes. There still remains some bugs to be squashed, a feature or two to
add, and some polishing to be done. However, it seems to be in a workable
state.
2003-01-28 21:16:21 +00:00
Bill Currie
26c06c09a2
s/__attribute/__attribute__/
2003-01-27 23:14:07 +00:00
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
a4dfef63c3
make all files with rcsid include config.h
2003-01-14 20:18:29 +00:00
Bill Currie
e32dc4cdb7
missed the new headers
2003-01-08 16:07:45 +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
122b0d81e7
values.h doesn't seem to be needed and doesn't exist on darwin anyway
2002-12-20 23:41:24 +00:00
Bill Currie
2a5ac8c42d
returning value for void function now a warning for traditional
2002-12-13 23:21:09 +00:00
Bill Currie
64a9a8199c
allow if (void expr) (with warning) in traditional mode
2002-12-13 23:16:42 +00:00
Bill Currie
aec0c9eea1
make return type missmatch a warning for --traditional
2002-12-13 23:05:24 +00:00
Bill Currie
7c86ec2396
go to newer mingw setup
2002-12-13 17:58:51 +00:00
Bill Currie
8ee1461fff
fix a changed url and make binutils compile with recent bison
2002-12-12 05:13:56 +00:00
Bill Currie
e5400d4e3d
remove some debug code
2002-12-10 18:25:11 +00:00
Bill Currie
c158f0028b
fix gl_stub so it works again and also get the gl functions being looked up
...
properly
2002-12-10 15:30:16 +00:00
Bill Currie
ee30860cef
fix a bunch of ;; typos
2002-11-20 21:44:04 +00:00
Bill Currie
599b51b542
hmm, hadn't noticed "stdint.h"
2002-11-19 05:03:42 +00:00
Bill Currie
ac8acaacd7
need limits.h
2002-11-19 05:02:57 +00:00
Bill Currie
63dfd5e523
MAXINT isn't as portable as one would like
2002-11-19 05:01:39 +00:00
Bill Currie
0866f5d35f
nuke a bunch of commented out code
2002-11-18 23:22:52 +00:00
Bill Currie
b44d61e84b
use bspfile for reading the map
2002-11-18 22:46:53 +00:00
Bill Currie
b1184fc066
run through indent and do some cleanup
2002-11-18 22:14:31 +00:00
Bill Currie
2a1d8555d2
Import Matthew Wong's bsp2bmp utility using quakeio functions, creating an
...
image_t type for the line point drawing, ditching the raw and bmp formats
in favor of pcx (for now), and renaming to bsp2img. I plan on working on
getopt, bspfile and other image formats in the future as well as generally
cleaning up the code.
2002-11-18 20:48:29 +00:00
Bill Currie
447984226e
remove a duplicate perror call
2002-11-18 15:01:02 +00:00
Brian Koropoff
78785a90f8
Added a primitive interactive mode to carne and modified the file::read
...
GIB builtin to use Qopen instead of COM_LoadHunkFile. This makes it work
properly in carne.
2002-11-15 23:27:07 +00:00
Bill Currie
cb81f17697
bah, bloody bison inconsistencies
2002-11-15 17:12:16 +00:00
Bill Currie
10e34e6d70
ignorage
2002-11-14 22:02:27 +00:00
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
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
8cf5c9a430
don't die on invalid strings
2002-11-13 16:17:00 +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
75c91e78c2
qwaq progs now take args :)
2002-11-12 02:56:10 +00:00
Bill Currie
13c5216373
do some cleanup
2002-11-12 02:30:08 +00:00
Bill Currie
498bdcc406
compile fixes for alpha linux
2002-11-10 02:50:42 +00:00
Bill Currie
f94eeb55a2
fix some alpha warnings
2002-11-08 17:36:47 +00:00
Bill Currie
749b56aae7
forgot to fix these when I did the copyrights
2002-11-06 16:32:28 +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