Commit graph

461 commits

Author SHA1 Message Date
Bill Currie
140f806d40 more Draw_{Character,String,nString} optimisations 2002-01-10 07:48:41 +00:00
Chris Ison
f01cc24267 minor bug fixes to Draw_nString changes and Draw_Character tidy up, ie: typos and miss understanding 2002-01-09 23:51:32 +00:00
Chris Ison
6073ff8d58 added Draw_nString for displaying a non \0 terminated string 2002-01-09 21:20:22 +00:00
Bill Currie
461f63c7ff fix the black player skins 2002-01-03 06:26:57 +00:00
Bill Currie
013f503738 start getting const-correct on vec3_t params 2002-01-03 05:29:38 +00:00
Bill Currie
571df6d684 change window caption to include "Disconnected" when not connected 2002-01-02 23:01:05 +00:00
Bill Currie
3f4aa1dc6c this should fix the crashing on win32 2001-12-20 19:19:58 +00:00
Bill Currie
9b4e21a914 minor prototype cleanups 2001-12-14 00:06:58 +00:00
Ragnvald Maartmann-Moe IV
2db08923e8 MSG_(Read|Write)(Coord|Angle|CoordAngle)V. Cleanups, and preparation for use of vector ops in msg.c. 2001-12-12 21:56:09 +00:00
Ragnvald Maartmann-Moe IV
f66b7a93e5 Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment). 2001-12-11 22:37:30 +00:00
Seth Galbraith
8a47406dcd allow server to control player angles as in Hack and Slash mod\nclient's player model stands up straight\nmouse and joystick work properly in chase_active 2 and 3 modes 2001-12-11 20:49:10 +00:00
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