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
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
2732797574
fix the undefined symbol error
2001-07-18 22:18:36 +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
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
02e021a958
get the progs /loader/ name and prototype sorted out properly
2001-07-18 02:21:57 +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
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
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
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
Bill Currie
0576dec1e2
split up PR_LoadProgs a bit
2001-07-16 07:13:10 +00:00
Bill Currie
1c9e1b176f
fear the mighty const correct patch
2001-07-15 07:04:17 +00:00
Bill Currie
3ab9ecd828
add this so it doesn't get lost. needs work.
2001-07-15 03:01:34 +00:00
Bill Currie
0cbb0bf396
add pr_source_path to specify where to look for the source files
2001-07-15 02:57:36 +00:00
Bill Currie
2771e6385c
oops, used the wrong function to look up .debug_file
2001-07-15 02:05:29 +00:00
Adam Olsen
ac46e5b49d
oops, sys_dump_core instead of sys_dumpcore
2001-07-15 01:45:03 +00:00
Bill Currie
66c8f00dc7
print out source line numbers when available
2001-07-14 23:53:59 +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
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
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
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
62a4b86001
d'oh
2001-07-06 00:17:09 +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
Bill Currie
6f022f5d9f
well, that was interesting: turns out mingw provides mprotect and
...
getpagesize :/
2001-07-05 18:47:19 +00:00
Bill Currie
c38ca8e2f1
qfplist.h:
...
remove include of glob.h. not needed and causes win32 build to fail
plugin.c:
include compat.h and cast the return of GetProcAddress
gl_funcs.c:
fix parse error and type mismatch
qfgl_ext.c:
half re-write QFGL_ExtensionAddress to use QFGL_ProcAddress
vid_wgl.c:
fix for the new gl linking
2001-07-05 17:28:19 +00:00
Bill Currie
2e5b3b4a83
damn
2001-07-05 06:31:05 +00:00
Bill Currie
0862c8facd
I'ld love to know how that got though my testing :/
2001-07-05 06:29:53 +00:00
Bill Currie
e5e289e994
this brings back knghtbrd's Sys_Printf redirection, but in such a way that
...
Sys_Printf still has the format attribute. To redirect Sys_Printf, declare the
redrecting function as void (const char *, va_list) and call Sys_SetPrintf
with this function as its parameter.
2001-07-05 04:59:43 +00:00
Bill Currie
b4ac2446a1
Put knghtbrd's sys cleanup changes back in, but with Sys_MakeCodeWriteable
...
in sys/util.c rather than limbo (the crux of the problem that caused the
previous reversal). I'll look into his Sys_Printf changes next.
2001-07-05 03:28:40 +00:00
Bill Currie
e659c2a44f
revert kntbrds recent sys changes as they break sw static builds
2001-07-05 00:12:43 +00:00
Bill Currie
ce3eddb89c
move the node number validation out of RecursiveHullCheck and into the bsp
...
loader
2001-07-04 16:28:54 +00:00
Joseph Carter
eb71edb5d4
taniwha, please have a look at this to make sure I'm doing it the "right"
...
way.. Sys_Printf is now Sys_StdPrintf for now. Sys_Printf is a function
pointer and will end up replacing Con_Printf as well. Names will change
to something intelligent when I'm done. Win32 is not yet touched, but I
haven't forgotten it.
The reason for this is the assumption that Con_Printf and Sys_Printf do
not overlap. The new server console WILL change that, requiring that we
change how we handle both functions. The plan: Default to using stubs
and swap them for full-featured functions on Console init which do all
the things we expect. Will also do a stderr version later.
2001-07-02 18:11:34 +00:00
Joseph Carter
fb8d04eca2
Fix -sgl's glFlush
2001-07-01 00:11:24 +00:00
Joseph Carter
515f449a39
Sun-specific code is dead. Sun boxes should work fine with -x11 and -glx
...
as it is. Left snd_sun, which looks useful for something.
2001-06-29 08:01:12 +00:00
Joseph Carter
11257134c0
dos is dead, really. This has never worked, and would need a full rewrite
...
from scratch before it would anyway. That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00