Bill Currie
a8c989969d
hopefully better input grabbing state tracking
2003-03-07 22:30:15 +00:00
Bill Currie
c731afa957
hopefully fix the input grabbing (and evem more hopefully, without driving
...
Despair to ... um... ;)
2003-03-07 03:55:51 +00:00
Bill Currie
bfaef7747b
the first fielddef isn't always null (esp with qfcc), so check to see if it
...
needs printing too
2003-03-05 18:18:42 +00:00
Ragnvald Maartmann-Moe IV
f57eb911cc
Another little FIXME. (Cleanup I'll do soon, hopefully)
2003-03-03 19:32:56 +00:00
Ragnvald Maartmann-Moe IV
2000954a2c
Whitespace, and a workaround for show_* misplacement.
2003-03-03 19:20:44 +00:00
Bill Currie
beecb5580f
use %g instead of %f and the 0s hack
2003-03-03 17:52:11 +00:00
Brian Koropoff
3b99b7366f
Fixed two bugs in complex variable substitution.
2003-03-02 05:11:22 +00:00
Brian Koropoff
cd3fc3569b
Fixed a bug on out-of-bounds array access attempts and enhanced the now-
...
functioning infobot.gib.
2003-03-01 07:24:58 +00:00
Brian Koropoff
2be8a851d5
Oops, make 'return' GIB builtin actually end the current function.
2003-03-01 02:44:58 +00:00
Bill Currie
7f37260a9c
this bit shouldn't know about windows
2003-02-28 16:22:42 +00:00
Bill Currie
a9a169e820
make the more relevant parts of qfs available to progs. bi_file.c will
...
eventually be moving into bi_qfs.c
2003-02-28 05:35:27 +00:00
Bill Currie
6ef4770adb
make the menu load when the gamedir hasn't been set
2003-02-28 05:28:35 +00:00
Brian Koropoff
7f72596ab5
Fix a bug with embedded commands and make the parser more anal about what
...
can be embedded.
2003-02-28 05:07:15 +00:00
Brian Koropoff
11596e4b42
Fixed a bug with parse trees being freed early.
2003-02-28 04:03:45 +00:00
Brian Koropoff
ce80fffe69
Massive bug and memory leak fixing.
2003-02-26 07:44:34 +00:00
Brian Koropoff
61d315755a
Fix a braino that most likely broke concatenation.
2003-02-26 02:51:40 +00:00
Bill Currie
32ed283122
don't need that FIXME
2003-02-25 18:13:56 +00:00
Bill Currie
be728c7b7c
Initialize p_mouse_x and p_mouse_y from the EnterNotify event so that the
...
first mouse move of the game doesn't screw up your view. Also does resonable
behaviour when entering and leaving the window.
2003-02-25 17:19:47 +00:00
Ragnvald Maartmann-Moe IV
5fc069753a
Warning fix (c might be used before initialization).
...
Too tired to check if there's an actual bug there. Goodnight...
2003-02-25 08:35:31 +00:00
Brian Koropoff
020a9262f7
Made the parser anal about concatenation usage and fixed several bugs by
...
running /dev/urandom through carne to catch problems.
2003-02-25 08:04:48 +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
1201f615ee
Move a test inside function, rather than repeated all over the place.
2003-02-25 06:04:42 +00:00
Ragnvald Maartmann-Moe IV
a9c61bb6bf
Updated for OpenGL 1.4, plus whitespace.
2003-02-25 05:45:11 +00:00
Bill Currie
93834f2694
better source line tracking
2003-02-24 16:01:52 +00:00
Bill Currie
38d5c8c41a
better line search algorithm (not perfect yet, though)
2003-02-24 03:34:11 +00:00
Bill Currie
5c3892cbb2
make sure the string is valid before attempting to print it
2003-02-24 03:07:26 +00:00
Brian Koropoff
71a4ff6379
Use floor() or ceil() based on sign for 'trunc' GIB math function.
2003-02-23 22:53:36 +00:00
Brian Koropoff
6141bc35d0
Removed the 'random' GIB builtin and replaced it with the rand() math
...
function in the math evaluator. Added the trunc() math function as well.
2003-02-23 22:14:07 +00:00
Brian Koropoff
36774a612d
Use atof when checking truth values.
2003-02-23 21:14:33 +00:00
Ragnvald Maartmann-Moe IV
d9ed34a5fb
More video mode selection robustness improvements.
2003-02-23 20:21:06 +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
Brian Koropoff
5acf0bbeda
Fixed a bug in the 'contains' GIB builtin and added more to the GIB docs.
2003-02-22 07:19:51 +00:00
Bill Currie
72e5221f06
minor debugging tweaks
2003-02-21 15:09:02 +00:00
Bill Currie
152538bf90
zap the Cmd_Return stuff as that's dead and burried
2003-02-20 20:33:03 +00:00
Bill Currie
bb5f5e0a0c
fix a couple of gcc 2.95 warnings
2003-02-19 21:41:37 +00:00
Ragnvald Maartmann-Moe IV
e3ea39e67b
QuakeForge now supports map specific textures in textures/mapname/
.
2003-02-19 17:41: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
Bill Currie
b6a3bc8d1c
try to give line numbers in the traceback
2003-02-19 06:26:49 +00:00
Brian Koropoff
a9fa6c06d5
Remove some stupid hacks so that negation works again.
2003-02-17 20:33:56 +00:00
Brian Koropoff
00d71f13f6
Make %var expansion actually work.
2003-02-17 08:55:40 +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
Brian Koropoff
f6da3baa1e
Temporarily fixed GIB filesystem access until I can work out a system that
...
better meshes with the new QFS. Fixed up some GIB scripts a bit.
2003-02-16 21:27:18 +00:00
Brian Koropoff
760210dc7b
GIB: Many bugfixes and cleanups. Added bitwise math operations, expansion
...
of leaf names in a stem variable via %var, the builtin functions 'count'
and 'contains', and an initial interface between qw-server and GIB to allow
querying of clients and their info strings. Also cleaned up the chat event
interface a bit. Renamed a few builtins.
2003-02-16 19:46:34 +00:00
Brian Koropoff
af520a373a
More cleanups and bug fixes. Added stem-and-leaf variables back in and
...
added the global::delete builtin.
2003-02-16 02:44:24 +00:00
Brian Koropoff
fc37941ca5
Tidied up some Sys_Printf()s that indent mangled.
2003-02-15 02:27:25 +00:00
Bill Currie
c91137e4db
run gib through indent
2003-02-14 22:42:11 +00:00
Bill Currie
851d203916
work towards a more secure qfs
2003-02-14 22:36:10 +00:00
Bill Currie
68d2167c9e
fix a sequence point issue that could cause index to be put on the stack
...
before being initialized
2003-02-14 20:36:15 +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