Bill Currie
4c5c711ff5
fix a nasty bug where immediates would get aliased. (eg, 2 and 1073741824).
2003-03-03 21:09:41 +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
d469a06620
move the maxclients and maxspectators range checks into callbacks
2003-03-03 18:30:09 +00:00
Bill Currie
beecb5580f
use %g instead of %f and the 0s hack
2003-03-03 17:52:11 +00:00
Bill Currie
389542fda7
first step in creating an interface for the snagging of client slots by
...
the progs
2003-03-03 17:08:45 +00:00
Bill Currie
8db10ff577
prototype the new Write functions
2003-03-03 16:13:04 +00:00
Ragnvald Maartmann-Moe IV
b64f193d56
Rest of the Write* update.
2003-03-03 05:34:26 +00:00
Ragnvald Maartmann-Moe IV
888337527e
Use Write*V and WriteBytes, instead of antique bloated functions. ;)
2003-03-03 05:28:13 +00:00
Ragnvald Maartmann-Moe IV
e472c6b935
*shakes an angry shambler at ugly codingstyle*
2003-03-03 05:24:45 +00:00
Brian Koropoff
3b99b7366f
Fixed two bugs in complex variable substitution.
2003-03-02 05:11:22 +00:00
Bill Currie
1a40e5b6b4
implement WriteBytes for qc
2003-03-02 03:25:47 +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
90752b33fe
make TYPE (void) NAME valid (no args)
2003-02-28 23:36:56 +00:00
Bill Currie
7f37260a9c
this bit shouldn't know about windows
2003-02-28 16:22:42 +00:00
Brian Koropoff
15cc02f17c
Added client::print, client::printChat, client::printAll, and
...
client::printAllChat GIB builtins.
2003-02-28 06:51:16 +00:00
Bill Currie
a99c859034
"main" in progs is never called
2003-02-28 05:53:40 +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
Bill Currie
a45223da6c
d'oh, forgot about "default"
2003-02-28 05:18:49 +00:00
Brian Koropoff
e9b117379f
Added client.connect, client.spawn, and client.disconnect GIB events.
2003-02-28 05:09:46 +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
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