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
Bill Currie
1cba65f6ce
fix a gcc 2.95 warning
2002-11-04 02:24:28 +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
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
Bill Currie
9a1223cae2
need 14, not 4 for precache_sound
2002-10-30 05:06:03 +00:00
Bill Currie
14ec35176a
spelling corrections
2002-10-30 04:11:35 +00:00
Bill Currie
7a195bb910
revert my fs code subversion (2001/07/17 22:10:20 utc commit) as it's no
...
longer necessary with the new progs loading code
2002-10-30 03:35:20 +00:00
Bill Currie
912db0336e
clean out the cmdlib crap from quakefs.c and nuke qfcc's last dependency
...
on cmdlib.h (and nuke qfcc's cmdlib.h itself:)
2002-10-30 02:31:29 +00:00
Bill Currie
d2cedecfb0
make -t shortcut for --traditional work as pointed out by Dmitry Antipov
...
(dmitry.antipov@mail.ru )
2002-10-29 15:24:17 +00:00
Bill Currie
4ad8ed1fc2
*sigh* twice now forgot to remove that test code :P
2002-10-26 03:41:34 +00:00
Bill Currie
2679ade8cd
forgot 0X0 was just as valid as 0x0
2002-10-26 03:41:10 +00:00
Bill Currie
99cdcc9bd7
support hex numbers
2002-10-26 03:23:19 +00:00
Bill Currie
3a3da6a1c4
nuke PR_InitEdicts as it's redundant and only used in the tools due to
...
forgetting to remove it
2002-10-23 15:55:38 +00:00
Bill Currie
567b905590
copyright block work
2002-10-22 14:53:18 +00:00
Bill Currie
8fc17d27a8
update
2002-10-21 03:08:54 +00:00
Bill Currie
4ee013c5ba
don't seg on null strings
2002-10-20 03:43:14 +00:00
Bill Currie
9f8d7fbca7
re-write the hashing so pointers get merged only if they point to the same
...
def
2002-10-20 03:31:49 +00:00
Bill Currie
262baccd0e
remove debug code :P
2002-10-20 03:31:08 +00:00
Bill Currie
7bb6dd7197
make chained structure assignments (mostly) work. found a bug in the
...
handling of pointer immediates which needs fixing before this will work in
general
2002-10-20 02:35:12 +00:00
Bill Currie
6ece3bc481
don't use move for non-structs. it wasn't an optimisation anyway. this
...
fixes the internal error when compiling the quake1 progs
2002-10-20 01:25:15 +00:00
Bill Currie
378931412d
make the debug level controlable
2002-10-16 17:31:15 +00:00
Bill Currie
54564a4726
structure copies now seem to work
2002-10-16 17:07:01 +00:00
Bill Currie
0c0e4b23de
d'oh, temps are never global
2002-10-16 06:39:49 +00:00
Bill Currie
5a182b7cd4
turns out that flags == 0 is quite valid (d'oh)
2002-10-16 06:33:14 +00:00
Bill Currie
5eeb8bbda2
bah, bison decided to re-arange my tokens!
2002-10-16 06:31:00 +00:00
Bill Currie
7542a2457f
replace @argc and @argv with @args.count and @args.list. @args is of type
...
@va_list making it possible (though not yet: need to implement structure
copy) to pass ... params around.
2002-10-16 02:28:08 +00:00
Bill Currie
27effb5075
make struct_t and enum_t globally visible, re-do how enum info is stored
...
and make it possible to create a structure using a pre-existing type
2002-10-16 02:05:39 +00:00
Bill Currie
6af57049d5
make pointers work a bit better
2002-10-16 02:04:06 +00:00
Bill Currie
3b3b90ef4a
fix for new bison
2002-10-16 01:53:56 +00:00
Bill Currie
f95510bd46
make vector.x work for structure fields (which actually makes vectors more
...
useful in structures:)
2002-10-09 20:35:25 +00:00
Bill Currie
df1fdca828
add some notes about the threading of qfvis
2002-10-09 19:33:47 +00:00
Bill Currie
7e4e1a1f96
partial support for accessing vector components as .x .y and .z rather than
...
_x _y and _z
2002-10-09 19:30:43 +00:00
Bill Currie
22d3cf9664
rename the def_void and dev_function defs
2002-10-09 19:17:45 +00:00
Bill Currie
823822301f
support emitting bind sub-expressions
2002-10-09 19:16:55 +00:00
Bill Currie
a20bb946f6
type.[ch]:
...
provide a vector structure def so vector.[xyz] can be implemented
def.c:
record the return address in get_temp to aid debugging
2002-10-08 22:35:37 +00:00
Bill Currie
bca275944c
record the type of the result of a bind expr
2002-10-08 18:20:09 +00:00
Bill Currie
f992090b18
don't do extra manipulations for unnamed defs
2002-10-08 18:03:23 +00:00
Bill Currie
a2cf42c8fd
smarter gzipping thanks to alphageek (whew, slipped in at last moment:)
2002-10-01 02:37:53 +00:00
Jeff Teunissen
86d0093237
Add a paragraph to the Rua doc's introduction.
2002-09-30 16:45:51 +00:00
Bill Currie
9d8d570269
using Qseek on a pak sub-file should work better. this should make oggs in
...
paks work.
2002-09-27 04:27:19 +00:00
Bill Currie
2a56b8f15f
go back to the `long way' for the cross product as qfvis was no longer
...
getting the same results as vis (that may be acceptable, but not yet:)
2002-09-26 03:58:22 +00:00
Bill Currie
d25ee82838
provide a tighter accuracy (but slower) _VectorNormalize for the tools
2002-09-25 21:35:49 +00:00
Bill Currie
43d8cf9640
fix program name printing
2002-09-25 17:48:43 +00:00
Bill Currie
e81a0e2095
qfvis and qflight are still copyright Id
2002-09-25 01:51:58 +00:00
Bill Currie
324172414a
use the vector math macros from mathlib.h to make the math in
...
ClipToSeparators clearer and comment on how --level effects the vis
calculations
2002-09-24 21:48:47 +00:00
Bill Currie
554347b97c
forgot qflight was threaded too
2002-09-24 04:50:28 +00:00