Bill Currie
e937fecdc1
move the riff reading code into libQFutil
2003-04-10 16:52:39 +00:00
Bill Currie
39886ebb18
handle short files more robustly
2003-04-10 16:11:09 +00:00
Bill Currie
b80357afda
change _FOpenFile to take a dstring for foundname plugging a potential
...
buffer overflow.
2003-04-09 05:55:41 +00:00
Bill Currie
d4a4cde83c
fix a buffer overflow (oops, not paying attention)
2003-04-08 02:56:36 +00:00
Bill Currie
d5003f363d
make plist arrays unlimited in size
2003-04-07 19:29:52 +00:00
Bill Currie
bd08b03791
don't assuming 32 bpp in setup_pixrow_span
2003-03-21 22:18:20 +00:00
Ragnvald Maartmann-Moe IV
91bebf1bfa
Don't need LA for greyscale textures, switch to luminance-only.
2003-03-21 22:08:46 +00:00
Bill Currie
16eac174e6
correct the scaling of the 5 bit color map types
2003-03-21 16:18:51 +00:00
Bill Currie
fa775c6e30
oops, missed a case
2003-03-21 06:08:57 +00:00
Bill Currie
7e0ce3d3df
skip over any present colormap for non-colormap types
2003-03-21 06:08:17 +00:00
Bill Currie
3e349ee52c
we now theoreticly support greyscale tga files too :)
2003-03-21 05:03:32 +00:00
Bill Currie
6c850c5528
seriously clean up LoadTGA by using a decoder table and implement colormap
...
support (8 bpp only)
2003-03-21 04:23:16 +00:00
Ragnvald Maartmann-Moe IV
bf18436ad5
Whitespace.
2003-03-21 00:51:57 +00:00
Bill Currie
c525bc4925
call the correct read functions for 32 bit rle expansion
2003-03-20 23:11:58 +00:00
Bill Currie
32257923a5
cleanup unused vars
2003-03-20 23:02:53 +00:00
Bill Currie
b2bc3f13ea
support RLE tga files for all 4 directions
2003-03-20 22:54:44 +00:00
Bill Currie
abdb21eadc
however, don't need read_rgb and read_rgba
2003-03-20 21:25:56 +00:00
Bill Currie
4222c501a0
darn, broke the reverse direction and fixing it produces horrid code
2003-03-20 21:24:04 +00:00
Bill Currie
1a18044b31
merge the forward and reverse blitters/readers using a direction flag which
...
gets optimized out
2003-03-20 21:08:47 +00:00
Bill Currie
a01456f851
allocate space for the texture correctly
2003-03-20 21:08:04 +00:00
Bill Currie
3423ed59d5
expand the plist api to make plist creation easier
2003-03-18 19:15:31 +00:00
Bill Currie
eeb2439eb6
need a specific entry for "qw:qw" since servers set the gamedir to "qw"
...
explicitly
2003-03-13 05:43:45 +00:00
Bill Currie
e105198f48
ensure the path passed to Sys_DebugLog is expanded
2003-03-13 05:41:55 +00:00
Bill Currie
72d1343735
add some comments about the coordinate systems used in AngleVectors
2003-03-10 20:44:50 +00:00
Bill Currie
beecb5580f
use %g instead of %f and the 0s hack
2003-03-03 17:52:11 +00:00
Brian Koropoff
ce80fffe69
Massive bug and memory leak fixing.
2003-02-26 07:44:34 +00:00
Bill Currie
32ed283122
don't need that FIXME
2003-02-25 18:13:56 +00:00
Brian Koropoff
c9fbb334f1
Cleaned up the GIB parser and GIB_Execute() a lot. Made aliases work in
...
GIB. Added some breakpoint GIB builtins for debugging script/intepreter
interactions. Made carne work properly again (local variables don't
disappear in interactive mode)
2003-02-25 06:52:27 +00:00
Ragnvald Maartmann-Moe IV
59c4290563
Fix handling of all non-RLE-compressed tga formats we supposedly support. Now
...
we work even if the first pixel isn't in lower left. ;)
Handling the RLE-compressed oddball cases would require a lot more code
duplication, will brute force that later if nobody beats me to it with a clean
solution.
2003-02-23 17:39:23 +00:00
Bill Currie
c026e61d22
make LittleLong and co defines rather than function pointers
2003-02-22 23:23:16 +00:00
Bill Currie
d93fceea38
fix a snafu in SVC_DirectConnect related to info strings, make
...
Info_ParseString take (and pass on to Info_SetValueForStarKey) a flags arg
and simplify the flags handing in Info_SetValueForStarKey.
2003-02-19 17:39:21 +00:00
Brian Koropoff
7eb2e42a3c
Made QFS_NextFilename use Qexpand_squiggle on fs_userpath so screenshots
...
are saved to sequential filenames correctly. This might be temporary if
taniwha has a better way of handling squiggle expansion in QFS in mind.
2003-02-16 22:43:06 +00:00
Bill Currie
851d203916
work towards a more secure qfs
2003-02-14 22:36:10 +00:00
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
aaa6c2a2b0
fix some warnings picked up by ia-64
2003-02-12 23:29:16 +00:00
Bill Currie
137b56892f
move menu.dat to its new home :)
2003-02-07 20:18:59 +00:00
Bill Currie
06dc22af3d
make "wait" work again.
2003-02-03 16:05:53 +00:00
Bill Currie
3e693cbce5
change the default of sys_dead_sleep to 0
2003-01-31 04:51:35 +00:00
Brian Koropoff
15687970b3
Fix a braino that caused COM_execute_sets to work improperly.
2003-01-29 22:46:24 +00:00
Brian Koropoff
1f5cabcba9
A few GIB bugfixes, cleanups, and enhancements. Still more to come.
2003-01-29 04:34:23 +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
ba12255550
get the qfs variable substitution more-or-less working
2003-01-27 21:56:30 +00:00
Bill Currie
fd5695eb03
hash.[ch]:
...
add Hash_Free to ease freeing of hash table entries.
quakefs.c:
beginnings of proper variable subtitution in qfs. not yet working but
it compiles.
2003-01-27 18:16:15 +00:00
Bill Currie
55bec57b18
get -game working again (well enough for "nq-x11 -game slide" to work,
...
anwyay:)
2003-01-22 20:00:46 +00:00
Bill Currie
341b6a1d68
this /should/ fix the windows server input problems. based on Timmmm's fix.
2003-01-16 16:11:28 +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
9323f359db
move the default GameCode definitions from qw:* and nq:* to QuakeWorld and
...
Quake as that seems to be a more logical place for them.
2003-01-13 17:32:00 +00:00
Bill Currie
c9204e3237
forgot the path for nq games
2003-01-13 16:46:13 +00:00