Bill Currie
4d520d588d
enough whitespace to crush a shambler
2002-09-19 17:14:23 +00:00
Bill Currie
afa0b21336
Whee, now we have qfbsp. It compiles, but won't work as it hasn't been
...
`ported' to the new bspfile stuff when it comes to creating/editing a bsp.
2002-09-19 16:58:48 +00:00
Bill Currie
d8a38ae648
don't fuss with function defs that aren't initialized
2002-09-19 06:01:06 +00:00
Bill Currie
24a9b48127
rewrite bspfile.[ch] so they work off an object rather than global data.
...
The direct filesystem access is also removed. Fix up qfvis and qflight to
compile with the new bspfile. qfvis seems to work, qflight probably doesn't
2002-09-19 05:35:17 +00:00
Ragnvald Maartmann-Moe IV
e5582a9f2d
typo fix
2002-09-19 02:45:57 +00:00
Ragnvald Maartmann-Moe IV
6376ebb253
Whitespace.
2002-09-19 02:37:52 +00:00
Ragnvald Maartmann-Moe IV
b3f842ba65
Whitespace, and one typo fix in an error message.
2002-09-18 23:09:09 +00:00
Bill Currie
ab421330a9
forgot to update a pointer
2002-09-18 21:35:00 +00:00
Bill Currie
b94fc0bf55
avoid a buffer overflow when the new visdata is bigger than the old
2002-09-18 21:14:24 +00:00
Bill Currie
599fea0edb
redo bspfile to use dynamic allocation for the arrays to avoid buffer
...
overflows. also fix up the verbosity levels in qfvis.c
2002-09-18 06:07:38 +00:00
Bill Currie
91a6dd5272
bah, EXTRA_MANS doesn't work, even though automake doesn't complain :/
2002-09-17 22:37:32 +00:00
Bill Currie
317c02539b
macro-ize --with-{clients,servers} and implement --with-tools using the new
...
macro
2002-09-17 22:19:14 +00:00
Bill Currie
ece9660099
get @system working ( Closes : #52 ). I'm not happy with the name of this
...
operator and I'm very open to suggestions, but it seems to work. What
@system does is to mark a def in such a way that the linker will allow it
to be redefined /once/ giving the programmer control over where and when
a def is defined, but initializing it elsewhere. This is most useful when
working with v6 progs and separate compliation as the `system' defs need to
be in a certain order in certain locations or the resuting progs.dat file
will be incompatable with non-qf 0.5 servers.
2002-09-17 18:42:35 +00:00
Bill Currie
b94077200f
make it so id can be assigned to any class or object pointer
2002-09-16 20:32:32 +00:00
Bill Currie
4a34960d95
a bit of code cleanup
2002-09-16 17:37:22 +00:00
Bill Currie
412db7e27d
"for example" is more appropriate than "that is"
2002-09-16 15:42:11 +00:00
Chris Ison
3b09f34532
fix up package names in license
2002-09-16 07:17:24 +00:00
Bill Currie
eb4aa7ccec
produce better code for v6 %
2002-09-13 17:38:19 +00:00
Bill Currie
308ff7163f
emit.c:
...
implement % for v6 code. hacky, but it works :) (Closes : #29 )
expr.c:
emit the body of a block expresion before emitting its result (needed
for v6 %)
2002-09-13 17:12:26 +00:00
Bill Currie
1e5402a30a
Closes : #50
...
idstuff.c:
don't write the defs at offset 0 to progdefs.h
qfcc.c:
generate progdefs.h and the crc for v6 code when linking object files
to the progs.dat
2002-09-13 15:42:07 +00:00
Bill Currie
b8829faac4
bspfile.c:
...
start rewriting for saner code starting with making the private
functions static
cmdlib.[ch]:
win32 compile fixes (remove redundant function)
2002-09-13 15:07:48 +00:00
Bill Currie
beb6219072
bring in rvis' speedup. I won't pretend to understand what's going on, so
...
it's tagged :)
2002-09-12 21:11:52 +00:00
Bill Currie
cd05f96ac6
forgot to uncomment the code that initialized uncompressed when I got
...
portal loading working
2002-09-12 19:33:17 +00:00
Bill Currie
090e65bc09
mark allocated fields constant
2002-09-12 18:34:17 +00:00
Bill Currie
d7eea11c91
static defs are initialized too
2002-09-12 18:30:24 +00:00
Bill Currie
842a9d2eb0
linker.c:
...
don't seg on uninitialized fields
qc-parse.y:
support @extern and @static blocks (eg, @extern { ... };)
2002-09-12 17:13:19 +00:00
Bill Currie
774b0adc2b
get qfvis working, including pthreads
2002-09-12 06:48:05 +00:00
Bill Currie
2f98af35b8
implement non-asm versions of the bit plane mungers
2002-09-11 21:33:58 +00:00
Bill Currie
c784b4375a
bring in modelgel, quakeforgeized :) (more work needs to be done, though)
2002-09-11 20:22:17 +00:00
Bill Currie
fc5daabb05
silly little python script for dumping models
2002-09-11 19:03:51 +00:00
Bill Currie
aae378c0a2
delete temporary .qfo files for (eg) qfcc -o test.dat test.qc
2002-09-11 18:17:45 +00:00
Bill Currie
324b89696a
create new_*_expr functions for all basic expression types except ex_poitner
...
and use them instead of new_expr and setting the fields each time. Serious
code cleanup :)
2002-09-11 16:21:26 +00:00
Bill Currie
e5227076e0
put in some error checking on the Qopen calls
2002-09-10 15:46:50 +00:00
Bill Currie
867f964740
* taniwha salutes while taps is played
2002-09-10 15:36:32 +00:00
Bill Currie
05d437a3c1
make @extern and @static available to v6 progs
2002-09-10 04:07:34 +00:00
Bill Currie
656b0e3bb2
add line-number dumping
2002-09-07 06:47:16 +00:00
Bill Currie
f6cdbdf63c
make sure an initialized def has the correct source file and line info
2002-09-07 06:45:51 +00:00
Bill Currie
2ba3585d06
fix a braino with ~float const
2002-09-05 17:40:14 +00:00
Bill Currie
27b0314e2e
don't do the ObjQC types if --traditional is used
2002-09-04 21:47:27 +00:00
Bill Currie
1d35f4dd9e
make ~ work for v6 progs by implementing ~x as -1 - x (will give bogus
...
results if x has fractional bits, but it's better than it was:)
2002-09-04 16:18:52 +00:00
Bill Currie
882d0f25ce
the code memory block can move around so take the address of a statement
...
after statments have been emitted, not before.
2002-08-30 05:33:34 +00:00
Bill Currie
5da6fbe59c
check for uninitialized variables used in function args
2002-08-29 03:06:00 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Ragnvald Maartmann-Moe IV
d855b5199d
Whitespace
2002-08-26 23:08:04 +00:00
Ragnvald Maartmann-Moe IV
9b9a68db9e
Updated manpages.
2002-08-26 23:02:17 +00:00
Chris Ison
0ff949fdef
return empty string for glGetString by default .. was returning 0 but efence complained
2002-08-26 19:51:39 +00:00
Bill Currie
52f183a9a5
more getopt fixes. correct : and - for qflight and fix up the help screens
2002-08-26 16:24:46 +00:00
Bill Currie
4a69ce1877
fix some getopt misconfigurations: missed args markers and "-" isn't needed
...
because we don't care about option interleave
2002-08-26 16:15:19 +00:00
Bill Currie
df96985118
whitespace
2002-08-26 15:12:05 +00:00
Bill Currie
5108c3c976
more (believable:) whitespace
2002-08-26 15:05:23 +00:00