Commit graph

1270 commits

Author SHA1 Message Date
Bill Currie
9f09a6aa32 assigning > 255 into an unsigned char isn't too good 2001-07-20 01:45:19 +00:00
Bill Currie
aa7500cac7 add the DOUBLEQUOTE key name as per mechanix' request 2001-07-19 21:54:12 +00:00
Bill Currie
bcbd1b953a heh. close, so close. one mised const 2001-07-19 21:51:18 +00:00
Bill Currie
46176e1094 azerty kb patch from Filip Van Raemdonck <mechanix@digibel.org>. includes some
misc fixes, too
2001-07-19 21:46:34 +00:00
Bill Currie
edcc313501 debug info for local variables is now used. only works when tracing atm:/ 2001-07-19 07:27:14 +00:00
Bill Currie
b23786880a check for hitting the maximum number of masters and print a message if so. 2001-07-19 07:07:32 +00:00
Bill Currie
5e81d80d8c optionally disable the curses server console, bringing back the old behaviour 2001-07-19 05:13:32 +00:00
Adam Olsen
a771b5bd6c Make edicts command support a search string, so it only prints edicts
with matching classnames.  Makes it easy to print out the type you want
for debugging :)
2001-07-19 03:18:11 +00:00
Bill Currie
00d409e80c fix constant folding for | 2001-07-19 03:00:35 +00:00
Bill Currie
09ae07f64e make --enable-cpp work when new-parser is left to default (which is on) 2001-07-19 03:00:08 +00:00
Bill Currie
086084c1fa fix a sign extention error 2001-07-19 00:24:24 +00:00
Bill Currie
40dfde55a1 don't try to use curses before things have been initialized 2001-07-19 00:07:20 +00:00
Bill Currie
2732797574 fix the undefined symbol error 2001-07-18 22:18:36 +00:00
Bill Currie
52b4daafb3 need svgalib for 3dfx 2001-07-18 21:42:53 +00:00
Bill Currie
47a6f2c9b5 pr_debug.c:
capitolise CRC and add a \n to the message
sv_progs.c (both nq and qw):
	don't bother checking the progdefs.h crc: it's just not needed any more
pr_imm.c:
	use r instead of rep when checking the hash tables.
main.c (quaq):
	make developer work and set com_filesize (otherwise, progs crc doesn't
	get set properly (com_filesize, not developer:))
2001-07-18 21:28:41 +00:00
Bill Currie
33e506e943 make PR_RunError back up to the preceding source line if debug is availalbe 2001-07-18 20:52:12 +00:00
Bill Currie
5a86b66054 fix a typo 2001-07-18 20:49:57 +00:00
Bill Currie
5c31fbf366 fix debug crc generation 2001-07-18 20:31:55 +00:00
Bill Currie
3eedd3d8fc more tests 2001-07-18 19:04:47 +00:00
Bill Currie
882de10388 rename Con_CompleteCommandLine to Con_BasicCompleteCommandLine and make it
use inputline_t rather than the key_lines junk.
2001-07-18 18:29:38 +00:00
Bill Currie
f70e2e8296 cleanup 2001-07-18 18:22:13 +00:00
Bill Currie
e5de359877 requiring quake2 fields ain't such a good idea (but why are they in q1 progs?
oh well)
2001-07-18 18:16:11 +00:00
Bill Currie
144eba8b3c it seems that the qcc variants that strip global defs only strip the name, so
don't bother fixing missing defs (but /do/ complain if any are missing). I
suspect full def striping would have seriously broken things.
2001-07-18 18:03:53 +00:00
Bill Currie
152114f1cd works now, though I don't imagine save games will work too well :) 2001-07-18 17:59:16 +00:00
Bill Currie
10ad8bebbd Make files.dat actually useful. I really dislike the hardcoding, but it /is/
useful. Also, fix a bug in PrecacheModel where it was checking MAX_SOUNDS and
numsounds instead of models.
2001-07-18 17:23:42 +00:00
Bill Currie
c9af1575d3 fix emit_assign_expr to emit an explicit assignment statement whenever
emit_sub_expr returns a temporary def. this fixes a = b = c; expressions when
entities are involved.
2001-07-18 16:33:31 +00:00
Bill Currie
d6c2943ae3 defs.c:
use the right hash table
fix_globals.c:
	clean up the math
2001-07-18 15:42:08 +00:00
Bill Currie
e9ed59ec27 add an integer type. not yet properly supported 2001-07-18 15:40:32 +00:00
Bill Currie
9d50fea8e5 more tests 2001-07-18 06:37:59 +00:00
Bill Currie
098305d649 fix (expr_type1 && expr_type2). this involed type completing expressions :/ 2001-07-18 06:37:14 +00:00
Jeff Teunissen
ed0d1d8ba8 *** empty log message *** 2001-07-18 05:09:37 +00:00
Bill Currie
02e021a958 get the progs /loader/ name and prototype sorted out properly 2001-07-18 02:21:57 +00:00
Bill Currie
f2731a7314 add cse opts 2001-07-18 02:08:32 +00:00
Bill Currie
c298d4919c actually do some fixups, but it segs atm :/ 2001-07-18 00:26:14 +00:00
Bill Currie
36af2c6078 check for missing defs (and use the new quakefs subversion mechanism) 2001-07-17 22:15:41 +00:00
Bill Currie
ffd459c931 allow for total subversion of the fs code by utilities (or crazy users).
About the only thing that remains in effect is gzip support (not even paks
are searched).
2001-07-17 22:10:20 +00:00
Jeff Teunissen
3e1bbd47df Add a TODO file for qfcc 2001-07-17 21:51:10 +00:00
Bill Currie
3488946bb5 slightly more interesting output while I procrastinate doing the hard bits 2001-07-17 20:33:17 +00:00
Bill Currie
c50793b54a beginnings of a progs re-deffer tool to take care of stupid qc compilers that
strip def names.
2001-07-17 20:05:57 +00:00
Jeff Teunissen
bb7cf1b448 Grr. Make the list archives use [gak] GeoCrawler. 2001-07-17 17:47:53 +00:00
Bill Currie
159bc6147c create an "input line" object for the console so Con_ProcessInput can be used
in verious contexts
2001-07-17 16:46:51 +00:00
Bill Currie
bab80a0648 move the special keys out of the way of ascii codes (unless they represent
ascii codes (eg, K_ENTER)) and remove the magic number for the number of keys.
2001-07-17 15:51:56 +00:00
Jeff Teunissen
af366764de C preprocessor support for qfcc. Depends on the new parser. --enable-cpp
to activate.
2001-07-17 05:02:34 +00:00
Adam Olsen
e6f846756e console->pC_Init to general->p_Init, ditto for shutdown. I'm assuming
this is what taniwha meant.  Shoulda test-built ;)
2001-07-17 00:21:56 +00:00
Adam Olsen
8c3f799282 Make nq-* -dedicated work. :) 2001-07-16 23:36:43 +00:00
Bill Currie
fcaa687d56 plugin.h:
enable the cd_data_t entry so func and data structures are consistent.
cd.h:
	create cd_data_t (empty)
console.h:
	better understanding of how these things work :)
2001-07-16 23:17:52 +00:00
Bill Currie
a3c6cd8e29 the server console is now a plugin, though it doesn't get compiled yet (it
/does/ compiled, though). Input handling is currently ripped out.
2001-07-16 23:15:27 +00:00
Bill Currie
4c515d1bb6 more "throw it in cvs". doesn't even attempt to compile yet :) 2001-07-16 22:30:11 +00:00
Bill Currie
20fdc9b9e5 add the command line completion code (complete.c) and the client and server
plugins (though they're not built yet). Again, this /does not/ affect anybody
else, or shouldn't, anyway.
2001-07-16 21:39:50 +00:00
Bill Currie
104701a8c5 the beginnings of the console lib (using plugins for the client/server type
consoles). Currently, doesn't affect anybody other than the need to
re-bootstrap.
2001-07-16 20:41:10 +00:00