Commit graph

2806 commits

Author SHA1 Message Date
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
Bill Currie
e1abe4c44b finalize the crc of the progs file 2002-01-30 21:13:57 +00:00
Robin Redeker
c74e2a52c7 Added a gamma-selector (but waiting still for new key-handling-api)
and auto-run option.
2002-01-30 20:02:15 +00:00
Bill Currie
b7cfb95a64 update for new progs loader api and the makefile for the option of static
linking
2002-01-30 17:41:16 +00:00
Bill Currie
e5e157a804 update for new progs loader api 2002-01-30 17:20:10 +00:00
Bill Currie
7ef4426775 inputline api `done'. now just to get it working 2002-01-30 08:41:18 +00:00
Bill Currie
ee3f51f13b "" to <> for system headers 2002-01-30 08:34:44 +00:00
Bill Currie
c76f7d88ce fix an API snafu (oops:) 2002-01-30 08:09:53 +00:00
Bill Currie
c66bc5a6eb whitespace 2002-01-30 06:29:32 +00:00
Bill Currie
8561dfa93a basic resource management system for the VM 2002-01-30 06:21:20 +00:00
Bill Currie
9c6def5c7d fade the screen when drawing the menus (this is optional per menu) 2002-01-29 22:32:56 +00:00
Bill Currie
ce5087225a oops, forgot this 2002-01-29 21:51:33 +00:00
Bill Currie
476c3d2626 helps if I understand what elmex was up to :) 2002-01-29 21:51:19 +00:00
Bill Currie
0ea713eda4 redo the progs loader to allocate all the memory needed for progs in one
shot, allowing for caller specified alloc and edicts and zone memory sizes.
(progs + edicts + zone).
2002-01-29 20:53:44 +00:00