Commit graph

5643 commits

Author SHA1 Message Date
Brian Koropoff
e8680d792e Added runtime error checking and line number tracking. Seems to catch most
Scheme program errors without making Rua abort now, although there are a
few things that still need to actually report errors instead of failing
in weird ways.
2005-05-08 06:38:01 +00:00
Bill Currie
a154ad2835 patch from sunspot/shadows to make net_drop non-global and a bunch more
work on qtv
2005-05-08 06:35:46 +00:00
Brian Koropoff
bc73af37f2 Scheme: Added letrec, first-class continuations, and tuned the garbage
collector a bit.
2005-05-08 03:44:18 +00:00
Bill Currie
4a425a1b1a though none of the signon info is sent yet, the spectating client now gets
put into the map. can't move yet, though
2005-05-08 00:48:21 +00:00
Bill Currie
d16cf69017 fix a typo in a message 2005-05-08 00:47:37 +00:00
Bill Currie
d2c586dae7 forgot to "disconnect" the client when it drops 2005-05-07 14:00:53 +00:00
Bill Currie
88ae6de8bf whee, clients now get spammed with text messages when "connected" to a
server
2005-05-07 13:57:07 +00:00
Bill Currie
84dd9c1a13 datagram needs allowoverflow 2005-05-07 12:57:48 +00:00
Bill Currie
77af004b32 bah, need svc_chokecount when real clients are connected :P 2005-05-07 11:42:04 +00:00
Bill Currie
ec4bab3088 parse nails and actually print svc_prints :) 2005-05-07 11:19:05 +00:00
Bill Currie
97d14de4d9 talk about silly brainos... (and drat that mask, might have to get rid of
it and go for % instead of &)
2005-05-07 10:47:02 +00:00
Bill Currie
f9541dcae7 fix an old bug that would mess up bots (geez, globals can suck) 2005-05-07 10:46:19 +00:00
Bill Currie
9c59d2e14e add a missing function 2005-05-07 09:52:57 +00:00
Bill Currie
69bf8f3941 wow, when I screw up... :)
fix the broken bindings menus
2005-05-07 08:28:44 +00:00
Bill Currie
0cbfc6f801 plug a leak 2005-05-07 07:38:04 +00:00
Bill Currie
a87a77e7a5 parse svc_temp_entity 2005-05-07 06:59:39 +00:00
Bill Currie
8caeb6aee2 get svc_playerinfo working (I think:) 2005-05-07 06:25:57 +00:00
Bill Currie
196622a83f parse ping and pl properly 2005-05-07 05:16:54 +00:00
Bill Currie
be93162837 svc_[delta]packetentities now getting parsed 2005-05-07 05:13:37 +00:00
Bill Currie
080e619675 oops, accidently broke delta updates in bad pl situations 2005-05-07 00:48:19 +00:00
Brian Koropoff
adba6b26dc Scheme updates:
- Boolean type (no support in lexer yet)
	- Conditionals
	- Defines (only work correctly at top level)
	- More core builtins (apply, cons, car, cdr)
	- Variable-argument functions
	- Incremental garbage collection
	- Garbage collection fixes
	- Other misc bugs fixed
2005-05-06 23:25:06 +00:00
Brian Koropoff
5378a850b4 Bug fixes: initializes properly, releases overwritten elements, doesn't
try to free null pointers
2005-05-06 23:06:50 +00:00
Bill Currie
4443ef50c8 forgot I also had the beginnings of player updates 2005-05-06 08:19:26 +00:00
Bill Currie
cadaf7327e cleanup sub-packet handling 2005-05-06 08:18:47 +00:00
Bill Currie
da1df94452 split out the qw protocol parsing from the server managmement code 2005-05-06 07:24:30 +00:00
Bill Currie
addb57bfb3 plug some memory leaks 2005-05-05 22:50:09 +00:00
Bill Currie
6c6f78158e make sv_new a little friendlier 2005-05-05 13:53:47 +00:00
Bill Currie
ac96f94658 fix broken mvds (and probably qtv streams, for that matter) 2005-05-05 13:36:01 +00:00
Bill Currie
d017b87c2b lots of progress, however mvd player deltas are borked atm 2005-05-05 11:46:29 +00:00
Bill Currie
978ad6ff48 oops, that didn't work as expected 2005-05-05 11:43:02 +00:00
Bill Currie
61aeae52bf don't need those prints any more 2005-05-05 07:59:58 +00:00
Bill Currie
966b5ee387 "mvd" stuff now gets streamed to the qtv proxy :) 2005-05-05 07:31:31 +00:00
Bill Currie
63d787d9e9 add MSG_WriteUTF8 and MSG_ReadUTF8 to handle 31 bit values nicely for
future protocol extensions. Equivalent to MSG_*Byte or MSG_*Char. Use
MSG_ReadString and MSG_WriteString with the appropriate libc functions for
utf8 strings.
2005-05-05 00:27:04 +00:00
Bill Currie
925ea16e1d we get to "spawn". whee. not long now and I'll have to work on the client
side :)
2005-05-02 09:00:17 +00:00
Bill Currie
2d8923eaf5 pre-initialize chan->incoming_sequence to -1 so a packet with an incoming
sequence of 0 will work
2005-05-02 06:31:55 +00:00
Bill Currie
d1bef3bf8c get -Wsign-compare check into the right place 2005-05-02 06:30:18 +00:00
Bill Currie
5ee4ec8421 Array now requires its elements to be Objects 2005-05-02 06:29:44 +00:00
Brian Koropoff
256630c84d Added proper error checking and reporting with line numbers. Next:
Runtime errors and support for line number reporting with the error.
2005-05-02 04:58:22 +00:00
Bill Currie
cd2f9434fc proxy now stays connected :) also gets the server data packet. most changes
due to move of pmove.h
2005-05-02 04:09:15 +00:00
Brian Koropoff
438073e110 Bug fixes, plus a first stab at the garbage collector. It *seems* to work
properly so far.
2005-05-02 02:33:44 +00:00
Brian Koropoff
5130545c72 Array now properly retains/releases objects it stores. 2005-05-02 02:32:03 +00:00
Bill Currie
0213efb331 sv_recorder seems to be ready for qtv :) 2005-05-02 00:45:25 +00:00
Bill Currie
7644b7fc8e a couple tweaks from snax' tree snuck in... 2005-05-01 22:27:03 +00:00
Bill Currie
c6cfcb1a9c mvds seem to work again 2005-05-01 22:13:10 +00:00
Brian Koropoff
281b683e14 Initial commit of a future partial implementation of the R5RS Scheme
standard, implemented in Ruamoko.  Currently works for a few simple
"Hello, world!" programs.
2005-05-01 11:48:36 +00:00
Brian Koropoff
2b666bd1ca Tweak qwaq a bit so it can be used to run Ruamoko Scheme 2005-05-01 11:46:20 +00:00
Bill Currie
73a34b86e8 recorder interface to ease writing server state to mvds and qtv. ones this
is working properly, adding qtv support will be trivial.
2005-05-01 09:07:20 +00:00
Bill Currie
f65c25a7c2 oops, signage error 2005-05-01 08:30:30 +00:00
Bill Currie
12eb4eb72e serious cleanup of demo_t in preparation for converting it to a more
general recorder struct to be shared between the demo recorder and qtv
proxy connection(s)
2005-05-01 04:27:05 +00:00
Bill Currie
8950f3188f messed up the logic for ucmd_unkown 2005-05-01 04:08:47 +00:00