Commit Graph

1008 Commits

Author SHA1 Message Date
Adam Olsen ac46e5b49d oops, sys_dump_core instead of sys_dumpcore 2001-07-15 01:45:03 +00:00
Adam Olsen 08cb34e0e0 Diff noise reduction. Stop me if I break it :) 2001-07-15 00:21:48 +00:00
Adam Olsen fb0fe95e7e Diff noise reduction 2001-07-15 00:03:11 +00:00
Bill Currie 66c8f00dc7 print out source line numbers when available 2001-07-14 23:53:59 +00:00
Bill Currie 6e06ecc461 debug testing 2001-07-14 23:52:56 +00:00
Bill Currie f4976e8133 more const correctness 2001-07-14 23:50:18 +00:00
Bill Currie d0d32b6a1a I've really got to start testing with gcc 3.0 2001-07-14 04:12:48 +00:00
Adam Olsen cb133ddf93 Add support for core dumping to X11 targets. set sys_dump_core to 1, and
ulimit -c to a sufficiently high value.  (I get ~20 meg cores)
2001-07-14 03:15:14 +00:00
Bill Currie 2818d720c2 move the full info opcocde table from qfcc to gamecode (<KURGON>There can be
only one!</KURGON>:) and use the table in PR_PrintStatement. This means that
qfcc now links against libQFgamecode as well as libQFutil
2001-07-14 02:34:16 +00:00
Bill Currie ae9ee57666 change the type of opcode->type to etype_t, clean up the resulting mess, and
rename all of the opcodes to (eg) mul.f instead of MUL_F
2001-07-14 01:52:05 +00:00
Bill Currie 6c91ee29f0 fix a missed debug test 2001-07-14 01:47:45 +00:00
Bill Currie 7acbb3a0ea helps if I remember this :/ 2001-07-14 01:16:07 +00:00
Bill Currie 64e50e1ebd Basic debug info generation, just line numbers and local defs for each
function.
2001-07-14 01:15:40 +00:00
Adam Olsen 484f5494b8 Add my strlen and charcount functions as quakec builtins. strlen
returns the total string length, and charcount returns the number of
times the given character appears.
2001-07-13 22:58:31 +00:00
Adam Olsen dcaa0b205f Make coop play possible in qw. Create a progs variable called 'current_skill'
and you'll get the nq edict pruning behavior.
2001-07-13 22:47:11 +00:00
Bill Currie eae97539c2 beginnings of debug info for progs 2001-07-13 06:08:50 +00:00
Bill Currie 7fce7e53ff more test (need to find a way to do automated tests, I think) 2001-07-12 23:11:40 +00:00
Bill Currie 8bbef35197 fix `a = b = b + c;' (probably d + c, too). Caused by forgetting to emit
an assignment for `a ='.
2001-07-12 18:56:43 +00:00
Bill Currie 7a06a2254a rename the Con_Printf in sv_send.c to SV_Printf and change all the calls to
Con_Printf in the server code to SV_Printf.
nuke Con_DPrintf from sv_send.c
2001-07-11 23:11:29 +00:00
Bill Currie 654448a6cd check for pdcurses as well (for mingw: first port I found:) and correct the
check for curses.
2001-07-11 23:09:10 +00:00
Bill Currie 7ca4383790 move a Key function out of console and into keys.
replace a Con_Print call with Con_Printf ("%s", ...) (I want to make Con_Print
private)
2001-07-11 19:17:58 +00:00
Bill Currie 4cf5648fcc no longer need /that/ hack as SV_Frame does it now 2001-07-11 03:19:18 +00:00
Bill Currie eb66aa03ee sv_console.c:
/finally/, the input line works to my satisfaction
sv_main.c:
	call Con_ProcessInput to get the cursor in the right position on the
	screen (yeah, horrible kludge until someone figures out a nice console
	api)
2001-07-11 03:11:53 +00:00
Bill Currie 038e2c9287 the input line is almost perfect: just some problems with the scroll
indicators
2001-07-11 00:19:39 +00:00
Bill Currie 5642ac87cb cursor keys now work (per window keypad mode, hmm) 2001-07-10 23:03:13 +00:00
Bill Currie f9f31ad4b3 ncurses console for the server. input handling is currently a nasty bit of
code duplication, but it seems to work nicely (except for cursor movement
keys) and even gives tab completion to the server :)
2001-07-10 22:36:22 +00:00
Bill Currie ecff96258f cmd.[ch]:
api change: Cmd_Args () now takes a parameter inidcating which arg to
	start at for grabbing the un-parsed command line
qw/source/sv_ccmds.c:
	implement kk's tell command and user name matching (though # is used for
	the wildcard and it's still case sensitive)
everything else:
	adjust for the new Cmd_Args protype
2001-07-10 18:25:54 +00:00
Bill Currie 9aeef3f3d6 rename qfont_table to sys_char_map and make it global (and constant) 2001-07-10 15:59:25 +00:00
Bill Currie 001f178e86 rcon and say improvements from kkqwsv
server.h:
	add rcon_from_user
sv_ccmds.c:
	add SV_ConSay_Info_f (sayinfo) for quiet info messages and revamp the
	rest of SV_ConSay_f accordingly. Also include deactivated commands for
	cuff, mute, tell and ban (coming soon).
sv_main.c:
	revamp the rcon system to support both `root' rcon and admin rcon and
	provide better logging. admin_password is the cvar holding the password
	for admin access (used the same way as rcon_password)
2001-07-09 23:33:35 +00:00
Bill Currie 0242c0352d break the endian neutral file io out from qendian.c so qfcc can remain
independent of libz
2001-07-09 20:56:05 +00:00
Bill Currie 8000c86e35 /much/ better type mismatch error reporting
eg:
./main.qc:55: type mismatch: float == entity
2001-07-09 18:17:04 +00:00
Bill Currie 43ba9affaa remove the gcc 2.96 test 2001-07-09 17:12:09 +00:00
Bill Currie 17b6e171fd make sure gcc likes the optimisation options. Unfortunatly, if even one causes
a problem, all will be lost, but at least qf will compile.
2001-07-09 16:56:01 +00:00
Bill Currie c60d333610 sbar.c:
whitespace
sv_main.c:
	fix a silly mis-cast that caused the runes to not be displayed in the client
2001-07-09 03:17:53 +00:00
Bill Currie f6575ca262 more testing 2001-07-07 02:38:40 +00:00
Bill Currie 41e07f08a4 oops, re-using freed memory is a nono :/ 2001-07-06 20:04:05 +00:00
Bill Currie bb084d5f14 fix the case when the expansion is both an exact match and a sub-string 2001-07-06 19:47:44 +00:00
Bill Currie e3c38e7774 rework tab completion a bit so that it expands as much as possible 2001-07-06 19:43:01 +00:00
Bill Currie 124dff1bd6 rework alias creation/deletion. Aliases are now sorted (like cvars and
commands), and the alias name length limit has been removed.
2001-07-06 17:45:32 +00:00
Bill Currie 6cda415f06 slight api change: Hash_Del now returns a pointer to the element deleted, or
null if the element was not found, rather than 0 and -1 respectively.
2001-07-06 17:43:47 +00:00
Bill Currie 03c0216dde force_centerview is back 2001-07-06 17:42:04 +00:00
Bill Currie 0fddfe4931 just typing map will give the current map name. In nq, doesn't work too well
during a demo (doesn't die, just gives "map is ", or likely the last map
actually played on).
2001-07-06 17:38:17 +00:00
Bill Currie 1db6225ae7 make - - - - -2 work 2001-07-06 04:54:08 +00:00
Bill Currie 4673d701c9 fix the conflicts caused by -ve constants 2001-07-06 04:29:12 +00:00
Jeff Teunissen 35f5118803 warning/error message cleanups. Well, at least *I* think they make more
sense. :)
2001-07-06 02:43:39 +00:00
Bill Currie 62a4b86001 d'oh 2001-07-06 00:17:09 +00:00
Jeff Teunissen 605df6ebb6 Change the bashism $() back to `` 2001-07-05 21:15:08 +00:00
Bill Currie 245d81420d make sound blocking cvar controlled (in_snd_block, default off, archived) and
pause the cd as well.
2001-07-05 20:35:42 +00:00
Bill Currie 016563e77f found the snd_pcm_playback_pause function for 0.5 2001-07-05 20:24:41 +00:00
Bill Currie fc09d2b00f port Bruce Momjian's patches from newtree with a less incestuous
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.

WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.

How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00