Bill Currie
05ec06d3e2
more FNDELAY to O_NONBLOCK
2002-04-07 06:31:22 +00:00
Bill Currie
bad8b0fcf2
make the linux/solaris variant of CPP_NAME the default
2002-04-07 06:00:13 +00:00
Bill Currie
e49672591a
oops, sh isn't C :)
2002-04-07 05:53:33 +00:00
Bill Currie
e230d1a8c3
make CPP_NAME get set for solaris
2002-04-07 05:52:27 +00:00
Bill Currie
b29c0d70b7
more signed char indeces
2002-04-07 05:44:34 +00:00
Bill Currie
0f198f118e
%d and pid_t don't mix on solaris, so use %ld and cast to long
2002-04-07 05:40:27 +00:00
Bill Currie
9540e9af4a
s/FNDELAY/O_NONBLOCK/
2002-04-07 05:35:32 +00:00
Bill Currie
7d6792ecff
don't build libasm at all when not doing asm
2002-04-07 05:27:15 +00:00
Bill Currie
63909922d7
damn sun's model_t :P
2002-04-07 05:03:54 +00:00
Bill Currie
4f65a313fd
oops :)
2002-04-07 04:57:42 +00:00
Bill Currie
197db0aca7
more signed char indeces
2002-04-07 04:54:19 +00:00
Bill Currie
ea9c1fc4ac
setenv isn't as portable as one could wish...
2002-04-07 04:45:02 +00:00
Bill Currie
9175360d53
solaris' test doesn't like -e
2002-04-07 04:16:30 +00:00
Bill Currie
e4b549d11d
hopefully fix this sucker
2002-04-07 03:43:33 +00:00
Bill Currie
9885aa5916
fix some signed char index warnings
2002-04-07 03:41:10 +00:00
Bill Currie
eaccc6ea8b
looks like solaris' test doesn't short circuit
2002-04-07 03:31:20 +00:00
Bill Currie
db75da7733
this should fix compiling snd_sun on solaris
2002-04-07 03:24:29 +00:00
Bill Currie
b26c2b2336
try to fix Damm's bootstrap error (invalid arg to -x)
2002-04-07 03:22:46 +00:00
Bill Currie
b322835767
fix a missing \n
2002-04-03 18:50:36 +00:00
Brian Koropoff
93c9f96416
Added embedded commands with ~{} and the return command, created a token
...
structure to help tidy the command buffer struct up a bit, fixed a few
bugs and probably created 100 more. A lot of things were changed to
allow embedded commands:
- Old buffers on the stack are left alone for Cbuf_ExecuteStack to
clean up. This is so return values can be extracted from them.
- The imperative flag has been added. An imperative buffer and all buffers
following it can not be paused with the wait command.
- The returning flag and retval dstring have been added. If a buffer
returned something, the flag will be set.
- The return command was added so there was something to use in the
substitution. Return nukes all loop buffers since they don't really count
as independent functions, sets the return value on the top buffer, and
clears it.
- Who knows what else.
2002-03-29 07:43:02 +00:00
Brian Koropoff
676bf39d9d
Beautified GIB, improved looping and backtraces slightly. Old buffers are
...
now recycled, not freed. Fixed some bugs in exp.c. Ready to add embeded
functions (read: function calls with return values) and for loops.
Probably some other misc. fixes, I tend to go on debugging streaks.
2002-03-27 06:24:19 +00:00
Brian Koropoff
807e7de22e
Fixed a bug with comments that don't have a newline after them.
2002-03-24 06:55:52 +00:00
Brian Koropoff
7c4cecd700
Fixed a stupid bug in Cmd_Exec_f that was causing map commands inside
...
executed files to crash the server.
2002-03-23 23:13:15 +00:00
Brian Koropoff
73f32465c5
Fixed a double free in exp.c, and made math error reports slightly more
...
useful.
2002-03-22 07:11:05 +00:00
Brian Koropoff
e1b61d2116
Changed how looping works, fixed echo to work with taniwha's Cmd_Args
...
changes, added the != operator for math evaluation, added break command
to break out of loops early, added ifnot command, and who knows what else.
2002-03-22 00:22:03 +00:00
Bill Currie
961a716942
minor oops
2002-03-21 21:56:59 +00:00
Bill Currie
5a30278e77
whitespace
2002-03-21 21:56:22 +00:00
Bill Currie
d00d6a539a
add dstring_insertsubstr
2002-03-21 21:53:52 +00:00
Bill Currie
619a77b2f7
fix a couple of brainos that broke quotes entirely
2002-03-21 21:45:00 +00:00
Bill Currie
c1deee9955
rework cmd_buffer_t->line and cmd_buffer_t->args building so quotes are
...
preseved
2002-03-21 21:17:31 +00:00
Bill Currie
b7fc784718
add dstring_appendsubstr
2002-03-21 21:16:26 +00:00
Bill Currie
6f1b68aeb4
sys.h:
...
define SYS_CHECKMEM macro to ease memory allocation failure detection
cmd.c:
loads of whitespace
2002-03-21 19:47:31 +00:00
Brian Koropoff
388ff7b597
Some bug fixes and memory leak fixes. Local variables break randomly,
...
probably due to my misuse of hash tables. Anyone have any ideas?
2002-03-20 22:57:26 +00:00
Robin Redeker
264e9b1617
Added teamname to the playerconfig dialog.
...
Made noskins a archived var.
Added a network menu.
-> just realized, that menu-code is still to blown
and still sucks too much. i am thinking about a
more templated menu-code. (tanwha: i will design something nice ;)
2002-03-20 16:13:32 +00:00
Brian Koropoff
d5fad096c0
Added local variables and replaced %-substitution with local variables.
...
Made variable substitution recursive, so ${${foo}} will be the value of
the variable whose name is contained in foo. Added setl command to
manipulate local variables. The only other place they can be used is in
variable substitution.
2002-03-20 04:24:31 +00:00
Robin Redeker
adc8fc07fb
Fixed a forgotten debugprint;
2002-03-19 19:07:28 +00:00
Robin Redeker
18082533d5
Fixed some memory problems in my string-hashes.
2002-03-19 18:08:07 +00:00
Robin Redeker
59f5cfeb7e
Fixed the keyloading.
2002-03-19 17:40:03 +00:00
Robin Redeker
489bc7291a
Playermenu working now fine.
...
Added some api-functions to complete playermenu.
(Playermenu isn't still finished)
2002-03-19 17:07:56 +00:00
Bill Currie
504ee0014f
and another one :/
2002-03-19 17:03:52 +00:00
Bill Currie
7816644fc3
missed a place for enter_hook
2002-03-19 16:59:25 +00:00
Robin Redeker
ee9bcc98c1
Added Menu_Enter-/LeaveHook to the CodingStyle as a
...
function prefix.
2002-03-19 16:20:54 +00:00
Brian Koropoff
1683633042
Changed to an execution stack system for aliases and config files, and
...
added error backtraces.
2002-03-18 23:39:03 +00:00
Bill Currie
d7487a1344
compile fix for win32
2002-03-18 22:40:52 +00:00
Bill Currie
2338d0c157
make zpak work with the new pak
2002-03-18 22:16:37 +00:00
Bill Currie
b4b14b096f
fix an oopsie with the verbose output of extract and create
2002-03-18 22:16:14 +00:00
Bill Currie
568e7ecdb2
make pak get built with the rest of the system
2002-03-18 22:01:51 +00:00
Bill Currie
1757030521
extraction works
2002-03-18 21:37:39 +00:00
Bill Currie
311811bd25
start working on file extraction
2002-03-18 20:52:21 +00:00
Bill Currie
b01cda716f
callback hooks for entering/leaving menus
2002-03-18 20:20:56 +00:00