Bill Currie
d1fcfd1939
Implement --traditional so qfcc can be a nicer qcc. This disables several
...
keywords (quaternion integer function for break continue switch case default
NIL struct enum typedef) and converts some errors to warnings (assignment to
constants, insufficient function arguments, return; from non-void function,
anal function `pointer' type checks)
2002-02-18 06:23:59 +00:00
Bill Currie
7c9a19283b
add servlist.qc
...
My fault for telling wildcode menu.src instead of menu.src.in :)
2002-02-17 07:32:36 +00:00
Chris Ison
952d14a149
the early beginnings of the serverlist qc
2002-02-17 00:21:48 +00:00
Bill Currie
49ef391664
make dist fix
...
----------------------------------------------------------------------
2002-02-16 05:15:24 +00:00
Chris Ison
dcd4ec19c5
fixed up positioning of say_team input, also fixed length of say and say_team, thanx taniwha
2002-02-16 04:21:03 +00:00
Bill Currie
234305f0ab
make sure networking is initialized before doing /anything/. this should
...
fix the host lookup failurs for win32 when using -f.
2002-02-13 17:58:30 +00:00
Bill Currie
2c1173aadf
totally zap a client slot when the server sends an svc_updateuserinfo with
...
a blank info string as the only way this should ever happen is when the
server is dropping the relevant client so our client might as well drop it
too.
2002-02-13 17:52:53 +00:00
Bill Currie
f1ea286a44
don't bother writing client info for unused client slots. If demo
...
compatability breaks, this is one place to check for why (but I don't think
it will).
2002-02-13 17:50:47 +00:00
Bill Currie
af663488c8
print out the error string when failing to get shared memory
2002-02-13 08:35:46 +00:00
Bill Currie
2e8f780e03
return "" from PF_infokey when the client the key is being requested from
...
has been dropped. This fixes a nasty crash at the end of a match in tf 2.8+
2002-02-13 05:49:24 +00:00
Bill Currie
814e2ddfe9
hopefully a more correct implementation
2002-02-13 00:57:00 +00:00
Bill Currie
42ba67eb4b
*sigh*, getting this right is proving to be a pain :P
2002-02-12 21:34:28 +00:00
Bill Currie
01882919a2
get it right this time :/
2002-02-12 21:26:34 +00:00
Bill Currie
befc4113b8
fix a braino for vsnprintf return code handling
2002-02-12 20:39:11 +00:00
Bill Currie
b4000200e3
move the getopt files from qfcc/source to libs/util, link qw-master against
...
libQFutil and enable the option parsting in qw-master for win32.
2002-02-12 17:44:41 +00:00
Bill Currie
799cfa58af
fix the recent win32 crash bug
...
Q_vsnprintfz should return -1 when size is 0. also make client.c's C_Print
use vsnprintf correctly
2002-02-12 04:29:44 +00:00
Bill Currie
a9547414f3
compile fixes for win32
2002-02-12 04:17:31 +00:00
Bill Currie
6f7b3fa0ef
more magic number nukage and add a couple comments
2002-02-11 21:28:18 +00:00
Bill Currie
7c0d8f2345
remove some evile magic numbers
2002-02-11 21:23:28 +00:00
Bill Currie
6c6b8ca4c3
at rxr's request, allow the master server to read in a static list of
...
servers (qw-master -f servers.txt). These servers can not be removed from
the master server without editing the file and restarting the server. The
format of the server list file is a simple line-by-line list of the servers'
addresses and their port (optional: defaults to 27500):
servername([ :]port)?
one per line.
2002-02-11 20:50:54 +00:00
Bill Currie
b5c2c0e14e
clean up a fixme. this doesn't fix serplord's out-of-bounds problem, but
...
that's because his qc compiler is doing weird stuff.
2002-02-11 19:36:36 +00:00
Bill Currie
d47533ad2e
hopefully fix strcasecmp and strnlen for those systems that don't hide them
2002-02-06 19:06:05 +00:00
Bill Currie
4f6e61d68b
win32 compile fix
2002-02-05 22:56:21 +00:00
Bill Currie
16298914f0
default sourcedir to "" rather than "./" and strip leading paths from the
...
tempname when preserving temps
2002-02-05 22:08:19 +00:00
Bill Currie
94d2f2bee4
make dist fixes
2002-02-05 19:43:22 +00:00
Bill Currie
cb0db8b8d1
disable debug putout and allow the cpp command line to be specified.
2002-02-05 19:35:45 +00:00
Bill Currie
f2a8f8ff28
make cpp command line selection more intelligent. This should take care of
...
the stuck cpp problem on openbsd.
2002-02-05 18:40:47 +00:00
Bill Currie
718c64bc2c
don't wrap around the ends of slider bars
2002-02-04 05:35:05 +00:00
Robin Redeker
ba902690ee
Percentage-bars now look like in old quake
2002-02-02 13:19:05 +00:00
Robin Redeker
c7e50a735d
Added some bindings to the binding-submenu.
...
Added a audio-menu and soem other stuff i forgot.
2002-02-02 12:43:14 +00:00
Robin Redeker
03e0b2eae0
Completed bindings-submenu, now all basic-bindings from old quake
...
are there.
2002-02-02 10:20:37 +00:00
Robin Redeker
2ac4ab161a
The option-menus now have a better layout and
...
the control-binding-submenu works a lot better now too.
I added some string-functions for the API.
2002-02-02 09:38:25 +00:00
Robin Redeker
67d53f4e56
Added some QC-API functions: String_Cut, String_Len, Key_CountBindings.
2002-02-02 09:38:19 +00:00
Robin Redeker
ecc20a7d17
Worked on the options-menu and made gamma-bar more useable and
...
moved control-binding (still in construction) to a extra-submenu.
2002-02-02 08:06:50 +00:00
Robin Redeker
60e99d724b
Fixed a bug with callback-calling in Menu_KeyEvent
2002-02-01 18:50:56 +00:00
Bill Currie
cf2f42ea6a
make it so menu items can get called for any keypress. this is optionally
...
done by setting the allkeys param to 1. when this is the case, if the menu
item function returns 0, normal processing is done, otherwise processing
stops.
2002-02-01 17:32:40 +00:00
Robin Redeker
8503b43897
Added beginnings for the command-binding to the
...
option-menu.
2002-01-31 21:10:43 +00:00
Robin Redeker
f8452e5d26
Added declarations for QC-Keys-API.
2002-01-31 21:09:36 +00:00
Robin Redeker
fa575a3475
Added a start for the QC-Keys-API
2002-01-31 21:08:45 +00:00
Ragnvald Maartmann-Moe IV
a3c699a921
Fix three gitignores.
2002-01-31 07:49:29 +00:00
Bill Currie
72bd704d13
BSD compile fixes
2002-01-31 07:37:56 +00:00
Bill Currie
03ae513559
compile fixes. we've finally got a sun sound user
2002-01-31 06:50:18 +00:00
Bill Currie
ad6d847728
fix qfcc's incorrect allocation/initialization for pointers (eg, float [] foo)
2002-01-30 22:57:48 +00:00
Bill Currie
938037c5ea
you can now type in the input lines. the data doesn't get used yet, though
2002-01-30 22:20:52 +00:00
Bill Currie
3d9c8a9a60
get nil conversions working fully and things like !pointer
2002-01-30 22:17:55 +00:00
Bill Currie
681950cf26
print [val] for pointers
2002-01-30 22:14:13 +00:00
Bill Currie
bb97d2d74f
set some more cvars to the correct values for single player play
2002-01-30 21:49:31 +00:00
Bill Currie
40e987c071
provide InputLine_SetWidth so the drawn width can be set
2002-01-30 21:25:00 +00:00
Bill Currie
d1460f6166
rename the width parameter to lsize as it's the size of the input line, not
...
the drawn width
2002-01-30 21:23:46 +00:00
Bill Currie
6d63d1d55b
implement comparisons and not for pointers
2002-01-30 21:20:12 +00:00