Commit graph

450 commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV
fd32562f56 Oops, missed a file. 2001-12-09 14:33:24 +00:00
Ragnvald Maartmann-Moe IV
d4a8224d9b Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup. 2001-12-09 14:05:30 +00:00
Bill Currie
a619739bab fix the server console for static builds (hmm, non-curses only?) 2001-12-02 20:11:21 +00:00
Ragnvald Maartmann-Moe IV
fc8d9417cb Remove commented out code. 2001-11-30 22:32:17 +00:00
Ragnvald Maartmann-Moe IV
f4af73cd00 Commit serplord's camera bugfix. 2001-11-30 22:30:23 +00:00
Bill Currie
95fe4d07b1 more PARANOID nukage 2001-11-29 07:04:31 +00:00
Bill Currie
9ccd42428d this seems to give a 0.48% boost to bigass (220.45 to 221.52, null-renderer) 2001-11-28 00:19:27 +00:00
Bill Currie
1d410a3a1f Move the CL_NewTranslation from the entity linking code into the protocol
updates (where it belongs). This gives a 1% boost to bigass1.
2001-11-27 22:44:12 +00:00
Bill Currie
f7c90759af clean out the non-renderer fields from entity_t. not yet a noticable gain
but more work needs to be done on the linking code in the client. However,
there /does/ seem to be a slight gain with possibly less variance.
2001-11-27 21:42:49 +00:00
Bill Currie
c4646b9685 take care of \r*\n line endings 2001-11-26 23:23:29 +00:00
Ragnvald Maartmann-Moe IV
4d406337b6 Move gl_fires into gl, where it belongs.
Also some small cleanups in particles.
Brighten grenade smoke a tiny bit, so it's not so invisible in the typically dark quake areas.
And some minor cleanups to water rendering.
2001-11-24 08:21:07 +00:00
Bill Currie
e97a4b7ce7 I think this will get the nq networking going 2001-11-24 08:19:34 +00:00
Bill Currie
4eebbb8ae6 take the hull/line fixes to the server internals and re-merge world.c for
nq and qw. This fixes the corner sticking for everything.
2001-11-23 18:58:23 +00:00
Bill Currie
0be2a31f2e lots of code cleanup. Merge Mod_LoadAllSkins, merge the sw32 model loading
code into the sw model loading code, remove all refs to r_pixbytes from the
sw renderer (it was never anything but 1), kill libQFmodels_sw32, remove
all the 16 bit code from the 8 bit sw renderer.
2001-11-21 19:13:53 +00:00
Chris Ison
3e34fc83e4 -3dfx re-enabled 2001-11-21 02:36:48 +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
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
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