Bill Currie
d2edce37a4
give qc access to WriteCoordV and WriteAngleV
2003-02-28 04:59:40 +00:00
Bill Currie
ef762e21eb
allow initialized globals (since they're constant) to be used in most places
...
constants are required (switch, initializing globals, enums)
2003-02-28 04:54:07 +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
Bill Currie
382f13f7ce
fix a decl mismatch
2003-02-26 05:01:18 +00:00
Brian Koropoff
61d315755a
Fix a braino that most likely broke concatenation.
2003-02-26 02:51:40 +00:00
Brian Koropoff
2364c49741
Add DrSpliff's qfadmin GIB script to CVS.
2003-02-26 02:28:10 +00:00
Brian Koropoff
d47aa718f7
Added a line to the latex preamble to use postscript fonts on PS/PDF
...
ouput. This makes the PDF version much more readable, especially in
acrobat.
2003-02-26 02:18:11 +00:00
Bill Currie
106fb77eb3
need AppKit/NSImage.h now
2003-02-25 20:54:24 +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
Bill Currie
05fb5fe08b
make syntax errors a little easier to understand
2003-02-25 07:48:12 +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
Ragnvald Maartmann-Moe IV
e959df1692
Whitespace. Grr!
2003-02-25 03:56:58 +00:00
Bill Currie
2ba8e871f3
convert \ to / in paths in windows
2003-02-24 21:51:08 +00:00
Bill Currie
b928f94440
produce a warning if both @self and self are used in the same progs
2003-02-24 20:10:33 +00:00
Bill Currie
5a58c58e7a
don't initialize external defs. this broke source line/file tracking for
...
@extern defs in headers.
2003-02-24 19:13:56 +00:00
Bill Currie
c145fdb20f
make the line number dump more useful
2003-02-24 18:51:12 +00:00
Bill Currie
93834f2694
better source line tracking
2003-02-24 16:01:52 +00:00
Bill Currie
5f75aa024a
don't relocate a null function constant
2003-02-24 15:33:57 +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
Bill Currie
44285ba5de
speed up qfo writing by about 12.5:1 (for large object files, anyway) by
...
making compression optional (compressed qfo files will still be handled
transparently)
2003-02-23 23:43:43 +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
Ragnvald Maartmann-Moe IV
0fd0bd5d96
Replace removed bigendian declaration.
2003-02-23 22:53:03 +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
Brian Koropoff
fe8161c036
Might as well spell check what I have so far...
2003-02-23 05:10:14 +00:00
Brian Koropoff
e338dd4672
Finished up the section on flow control and outlined the section on
...
functions. Added example script output to figures.
2003-02-23 05:08:15 +00:00
Brian Koropoff
d85639d65e
Added more to the GIB docs.
2003-02-23 03:20:53 +00:00
Bill Currie
c026e61d22
make LittleLong and co defines rather than function pointers
2003-02-22 23:23:16 +00:00
Bill Currie
599ae15490
give the hash functions more unique names
2003-02-22 22:38:55 +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
Brian Koropoff
5d634d6874
Wrote some more of the GIB docs. Writing this stuff is brutal.
2003-02-21 23:48:35 +00:00
Bill Currie
af44b129d6
don't store pointers to defs in the hash table as the defs can move around
...
due to realloc. can now link large progs
2003-02-21 22:31:40 +00:00
Bill Currie
132bd4ac8d
remove some incorrect comments
2003-02-21 22:30:49 +00:00
Brian Koropoff
00b3083a57
Added the beginnings of GIB documentation.
2003-02-21 21:33:36 +00:00
Bill Currie
72e5221f06
minor debugging tweaks
2003-02-21 15:09:02 +00:00
Bill Currie
6805d479f3
improve Hash_Free's docs
2003-02-21 02:37:44 +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