Commit Graph

476 Commits

Author SHA1 Message Date
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
Ragnvald Maartmann-Moe IV 158717a56a Add skyboxlist support to nq. 2001-11-07 06:56:05 +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
Ragnvald Maartmann-Moe IV d1c115da05 Whitespace. 2001-10-30 19:58:01 +00:00
Bill Currie 85c9e0ab1e more externs cleaned up 2001-10-29 17:46:03 +00:00
Bill Currie 78a3e398d5 * taniwha gets medieval on extern 2001-10-28 04:23:37 +00:00
Adam Olsen 3bba5398ba - audit malloc usage. now everything checks the return value :) 2001-10-24 22:50:06 +00:00
Adam Olsen dd19f7b500 - convert svc_deltapacketentities
- add a Host_NetError that dumps a packet log and disconnects, and use
  it instead of Host_EndGame in most cases
- fix a couple multiply-defined vars
2001-10-24 15:23:02 +00:00
Bill Currie b5341f0d13 we now compile and link with -fno-common. this cleans up the multiple,
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Chris Ison 6fd5239e52 added winsock init/cleanup 2001-10-21 21:18:31 +00:00
Bill Currie 78a5b3a381 final missed console.h 2001-10-18 17:08:54 +00:00
Bill Currie 6ea400fb30 d'oh, forgot to compile test :P 2001-10-18 17:03:50 +00:00
Bill Currie 00bfc128a0 more printf elimination 2001-10-18 16:49:40 +00:00
Adam Olsen 18036b63d9 - change MSG_ReadString to return const char * and return a pointer
directly into the packet data.
- change a bunch of char *'s to const char *'s for the above.  Only
  thing that had trouble was the cl_nofake handler, which I changed to
  use a local buffer.
- add MSG_ReadStaticString which acts like the old MSG_ReadString,
  specifically that it uses a static buffer and tollerates
  unterminated strings.
- add a Q_strnlen function, and make strnlen use it if strnlen is
  undefined.
- Add a net_svc.h and net_svc.c which will preparse svc messages into
  structs, for easier handling.  Currently only soundlist and
  modellist are done.
2001-10-18 04:44:58 +00:00
Bill Currie ece4e5c6ef MSG_ReadChar -> MSG_ReadByte 2001-10-18 03:43:20 +00:00
Bill Currie 2d068c0745 massive windows.h and WIN32 cleanup. 2001-10-16 21:40:45 +00:00
Bill Currie cb6391e594 fix a typo that causes parallel makes to break on libqfnet 2001-10-15 16:21:51 +00:00
Bill Currie b4bacb3c27 final bit of cleanup for now. save the nehahra bits from nq's TODO in docs
and kill the TODO
2001-10-11 05:21:07 +00:00
Bill Currie 483c56b7a5 put the .lsm file in the top level 2001-10-11 05:10:46 +00:00
Bill Currie 967098080d hey, even more cleanup 2001-10-11 05:06:21 +00:00
Bill Currie a1b7850e47 damn escapee code. this fixes the nq timedemo loop bug 2001-10-11 03:36:05 +00:00
Bill Currie fe8e3eaf56 and nq too, but it doesn't work well 2001-10-10 23:16:18 +00:00
Bill Currie 70d4510b28 compile fixes for real osen ;) 2001-10-09 16:05:31 +00:00
Bill Currie 7a7892258e automake 1.4 does /not/ like whitespace before a variable definition 2001-10-09 15:44:34 +00:00
Bill Currie 5b8aca001b diff snr-- 2001-10-07 18:45:23 +00:00
Chris Ison 2f8efd7360 changes to get mingw32 sw clients to compile under cygwin 2001-10-07 12:45:47 +00:00
Bill Currie ef0e0a167d nukage obsoletage 2001-10-06 05:32:35 +00:00
Bill Currie 791232e6d3 whitespace and {}s 2001-10-06 03:05:33 +00:00
Ragnvald Maartmann-Moe IV 43ab73fd81 Make cvs blissfully unaware of nq-server. 2001-10-05 19:43:29 +00:00
Bill Currie a220f5d87d isDedicted fixes 2001-10-05 19:21:23 +00:00
Bill Currie b2d8d0f598 nq-server seems to work now (mostly). got some issues with things like
"+map start" on the command line being ignored.
2001-10-05 16:08:07 +00:00
Bill Currie cd9832d95f hey, nq-server works until you connect :) 2001-10-03 22:25:24 +00:00
Bill Currie 82338f9695 shutdown the console 2001-10-03 21:37:20 +00:00
Bill Currie 1929797cc9 get nq-server so it runs. part of this involved renaming cl_warncmd to
cmd_warncmd
2001-10-03 21:25:43 +00:00
Bill Currie c5bb4e903c d'oh, I thought I learnt that lesson in libs/video/renderer/sw :/ 2001-10-03 20:04:17 +00:00
Bill Currie bbc83c30ca hey, it segs, but who cares? so does nq-glx -dedicated :P 2001-10-03 19:52:03 +00:00
Bill Currie a1d2cf3532 duplicate file name cleanup and make dist works 2001-10-03 17:50:36 +00:00
Bill Currie 630e064150 -dedicated fixes 2001-10-03 17:25:21 +00:00
Ragnvald Maartmann-Moe IV 450dd9f504 5.2 time and fps in demo output, for both nq and qw. 2001-10-02 19:43:25 +00:00
Bill Currie 55b2a41b02 fix the capitolisation of nq_server_SOURCES 2001-10-01 21:56:12 +00:00
Bill Currie f505e8630c fixes for rh 7.1 2001-09-30 23:24:53 +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 cca3e4c203 fix a coupld d'ohs for pr_checkextensions 2001-09-28 21:39:13 +00:00
Bill Currie f1454ae93c include console.h 2001-09-28 16:53:11 +00:00
Bill Currie c78edb3a36 Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch 2001-09-28 07:51:15 +00:00
Bill Currie b1f4a778f9 the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
Jeff Teunissen 3dbf6cba31 This fixes NQ. 2001-09-28 05:37:46 +00:00
Bill Currie 180fe60c10 empty file 2001-09-28 04:40:37 +00:00