Commit graph

468 commits

Author SHA1 Message Date
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
Ragnvald Maartmann-Moe IV
2941c07b0a Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects. 2001-09-27 00:43:46 +00:00
Jeff Teunissen
e110f6da83 -3dfx is gone, pending someone to work on it again. Most of the stuff it
did specially will be folded into -glx.
2001-09-25 23:58:23 +00:00
Chris Ison
0efd28abcc trying to get bootstrap to work in cygwin 2001-09-25 23:04:13 +00:00
Jeff Teunissen
875a0eab1b simplify, be paranoid 2001-09-25 21:55:31 +00:00
Jeff Teunissen
9a1e0aba59 Better fix. 2001-09-25 21:46:23 +00:00
Jeff Teunissen
662a752f9b Makefile updates. Not so ugly any more, and might even work in Windows. 2001-09-25 21:38:05 +00:00
Bill Currie
36de3c147e move Sys_Quit and Sys_Error totally into libQFutil. They will call a list
of pre-registered (Sys_RegisterShutdown) function before actually exiting
the program. This should take care of the pain when an ncurses server
crashes.
2001-09-24 21:00:23 +00:00
Adam Olsen
f5135b7542 - and THAT particular bug fix is going into nq too 2001-09-24 19:41:42 +00:00