Bill Currie
c86c5a78bf
finally, the client console is merged
2002-01-16 21:53:42 +00:00
Bill Currie
9dedd21158
start getting the shared console code working
2002-01-16 16:27:56 +00:00
Bill Currie
9d59d953bd
more cleanups
2002-01-12 05:32:21 +00:00
Bill Currie
630aa80dc4
various cleanups including TODOs and FIXMEs and rewrite va to use a dynamic
...
buffer.
2002-01-12 04:34:53 +00:00
Bill Currie
a619739bab
fix the server console for static builds (hmm, non-curses only?)
2001-12-02 20:11:21 +00:00
Bill Currie
f0c03f8331
minor cleanups of Sys_ConsoleInput. Cleaning it up properly will take more
...
work, but this removes most of the redundant instantces. nq-sdl (or -sgl)
-dedicated won't have console input, nor will dedicated servers that don't
load a console plugin.
2001-11-18 22:08:24 +00:00
Bill Currie
d168a3daee
this should remove the requirement for gmake on bsd systems
2001-11-12 16:23:41 +00:00
Bill Currie
ae8c255eb0
re-anable the sorting. I guess snax was testing other things and forgot about
...
it.
2001-11-06 21:37:33 +00:00
Brian Koropoff
ccd665e80c
This commit removes maplist.c and replaces it with filelist.c, which
...
contains general functions for creating lists of a type of file and
provides the commands maplist, skinlist, skyboxlist, and demolist.
2001-11-06 07:14:29 +00:00
Bill Currie
15b381909e
move maplist from quakefs.c to console/maplist.c. Unfortunatly, until the
...
client console plugin is usable, this means the clients link maplist.o
directly.
2001-11-05 22:24:16 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Chris Ison
15bdd4ad67
disabled -lm checking for cygwin and mingw32 and added plugin_LDFLAGS and plugin_LIBADD for win32 builds
2001-10-09 21:36:57 +00:00
Bill Currie
36508058ea
QFPLUGIN now does the __declspec stuff and all plugins now use it on their
...
plgin info function. doesn't actually /work/ yet :(
2001-10-08 05:54:46 +00:00
Bill Currie
f2cc8d9640
fix a seg when the buffer wraps
2001-10-03 21:24:52 +00:00
Adam Olsen
362e4eefc9
- make the fallback console use stdin
...
- don't draw scores overlay if the screen is less than 244 wide.
2001-10-02 03:24:36 +00:00
Bill Currie
a4714175dd
update the screen directly when printing rather than using C_DrawOutput.
...
Resizing still seems to work updates are much faster.
2001-10-01 16:09:06 +00:00
Bill Currie
77cf9439d0
getting closer to a properly resizing console
2001-10-01 06:49:59 +00:00
Bill Currie
53529ae940
output window now updates when resizing, but it doesn't /quit/ work properly
...
(issue with starting line).
2001-09-30 05:59:33 +00:00
Bill Currie
138a4a1c14
rename console_t to old_console_t in preparation for a better version and
...
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Bill Currie
f0244bece2
update the status bar on resize
2001-09-28 23:10:15 +00:00
Bill Currie
8e27422c72
partial fixes for mingw cross builds. still have issues with ar :(
2001-09-28 16:03:45 +00:00
Jeff Teunissen
d63243380f
Aaaaaaand, it's done!
...
Special note: I hope to never do this again. :)
2001-09-28 10:31:20 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Bill Currie
ac58ecb10b
windows get resized/moved properly now and the input line gets redrawn when
...
the terminal resizes. Still need to work on the status bar and output window
2001-09-26 18:08:30 +00:00
Bill Currie
cb4f7eb808
various input line improvements
2001-09-26 16:31:36 +00:00
Bill Currie
ca78b9ecd8
minor improvements in cursor location handling
2001-09-26 06:09:45 +00:00
Bill Currie
e9e2bbf1c1
various fixes, most notably using windows instead of subwindows. This stops
...
the invalid memory accesses within ncurses when resizing.
2001-09-26 05:45:47 +00:00
Bill Currie
7b4e39053b
update local info about the screen size
2001-09-25 23:33:37 +00:00
Chris Ison
0efd28abcc
trying to get bootstrap to work in cygwin
2001-09-25 23:04:13 +00:00
Bill Currie
5195c065c6
do the resize signally properly
2001-09-25 20:35:37 +00:00
Bill Currie
df330f33fd
expernimental code to get window resizing working
2001-09-25 20:16:24 +00:00
Bill Currie
ad4f29c6a8
clean up the buffer size calcs a bit
2001-09-25 16:32:00 +00:00
Bill Currie
3909176957
use the dynamic buffer for both curses and stdout
2001-09-25 16:19:26 +00:00
Bill Currie
9ffe53178c
fix a char translation bug in the curses console and make the non-curses
...
console actually translate chars
2001-09-25 16:13:41 +00:00
Adam Olsen
a159e852e6
- add some comments to libs/console/inputline.c
...
- rename pr_deadbeef to pr_deadbeef_ents
- add pr_deadbeef_locals, which does uninited locals. (crashes from
it are undeniably buggy code, unlike pr_deadeef_ents)
- add a missing break to packetlog printing's switch
- add sv_kickfake, which kicks people for attempting to fake messages,
or replaces the ^Ms with # if disabled.
2001-09-23 00:36:21 +00:00
Adam Olsen
8c89f65a98
- compile fix for building without curses
2001-09-21 17:28:35 +00:00
Bill Currie
49a85718f8
total nukage of Con_*Printf calls from libs (except for video). Sys_*Printf
...
(Sys_DPrintf is new) is now used exclusively for all lib printing. Con_Init
sets the sys printf recirection to Con_Print (which has been revamped
appropriatly) and the server sets it to SV_Print (which was SV_Printf and
the new SV_Printf calls /it/). This should fix the rcon print redirection
issues.
2001-09-21 04:22:46 +00:00
Adam Olsen
f59c2a2a0b
- build fix for without curses
...
- add a "zombie" line to edictcount, which is the number of ents that
are "free" but not long enough to be reused.
2001-09-20 19:34:02 +00:00
Adam Olsen
ca51e3be02
- cleanup of up/down key handling, as per suggestions from james
...
- add a sv_console_plugin cvar (guess what it does)
2001-09-20 15:14:44 +00:00
Adam Olsen
7195fe8ac7
- fix for ^@ in the history
...
- little cleanup
2001-09-20 08:12:28 +00:00
Adam Olsen
388c102a57
- fix buffer size reallocation
...
- fix history crash
2001-09-20 07:34:27 +00:00
Adam Olsen
0977b555f3
- build fix for without curses (untested, but should fix the problem I
...
had when I last tried)
- fix sv_filter_automask so it's not inverted (doh, again!)
- cleanups of ip filter prints
2001-09-20 06:51:25 +00:00
Bill Currie
bdf45386f0
some minor work getting the client side of libQFconsole working, but nowhere
...
near complete.
2001-09-19 03:39:04 +00:00
Bill Currie
52648b21e3
sv_use_curses 0 to disable curses, and fix the know issues with using the
...
old console
2001-09-16 06:08:09 +00:00
Bill Currie
aade80a8d7
/finally/, libQFconsole is being used (qw-server only so far). Still has
...
some minor nits with ncurses and probably has some isues without ncurses
(quit didn't seem to work when I tried).
2001-09-16 05:41:28 +00:00
Ragnvald Maartmann-Moe IV
dc947ce8f5
Whitespace.
2001-09-10 12:56:23 +00:00
Bill Currie
008d80df67
s/IMT_DEFAULT/IMT_0/g for the constant and move the name-enum entry for
...
IMT_DEFAULT to the bottom of the list so that IMT_0 gets written as such
rather than IMT_DEFAULT.
Also, clean up nq's EF_* dlight creation a bit (haven't touched
EF_MUZZLEFLASH: undecided on what to do).
2001-09-05 21:22:55 +00:00
Bill Currie
e469b934ea
get alsa0_9 working with latest cvs, we need to dlopen the plugin with
...
RTDL_GLOBAL. To use RTDL_GLOBAL, we need to make as much static as possible
and PluginInfo needs a unique name (%s_%s_PluginInfo, type, name).
2001-08-31 00:05:58 +00:00
Ragnvald Maartmann-Moe IV
c6266aba36
sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet.
2001-08-25 02:47:11 +00:00
Adam Olsen
cad42cbc78
Put the sound renderer in it's proper place: as a full-fledged plugin.
...
Bugs expected. Please report them :)
2001-08-23 04:01:46 +00:00