15 years agoreworked input timing a bit more, now cl_movement 1 mode syncs client packets to...
havoc [Thu, 16 Feb 2006 10:28:15 +0000 (10:28 +0000)]
reworked input timing a bit more, now cl_movement 1 mode syncs client packets to the incoming server packets (because the server does not trust the client's timing, only the history of server frames sent to the client, and thus the client has to sync exactly to the server timing to work)
moved CL_SendCmd() call into CL_ReadFromServer right after CL_ReadDemoMessage(), this fixes the prediction jitters that recently appeared with the cl_netinputpacketspersecond feature, however it might add a slight delay in local games (I haven't noticed a delay however)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5990 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoremove an unused extern for sys_ticrate, and added a comment warning about improper...
havoc [Thu, 16 Feb 2006 07:24:09 +0000 (07:24 +0000)]
remove an unused extern for sys_ticrate, and added a comment warning about improper rate limiting if sys_ticrate is 0 (but it should never be 0 on a real server)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5989 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed bug that allowed accidental speed cheating with cl_movement 1 mode (move->time...
havoc [Thu, 16 Feb 2006 07:20:28 +0000 (07:20 +0000)]
fixed bug that allowed accidental speed cheating with cl_movement 1 mode (move->time was being cleared by ApplyClientMove, so when ReadClientMove calculated how much to move since the last move, it always thought the last move was at time == 0, and then it clamped this delta to 0.1 or less, which prevented it from being completely ridiculous, but still horrible)
added kicking of speed cheaters (if they echo a timestamp that has not yet been issued by the server, they're clearly lying)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5988 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded a small how to install guide and a link to the Linux Quake Howto
havoc [Wed, 15 Feb 2006 22:29:50 +0000 (22:29 +0000)]
added a small how to install guide and a link to the Linux Quake Howto

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5987 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoalso accumulate impulses when receiving multiple packets per server frame
havoc [Wed, 15 Feb 2006 06:04:51 +0000 (06:04 +0000)]
also accumulate impulses when receiving multiple packets per server frame

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5986 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged client input packets to be sent at a fixed 50fps (configurable by cvar) rathe...
havoc [Wed, 15 Feb 2006 03:14:42 +0000 (03:14 +0000)]
changed client input packets to be sent at a fixed 50fps (configurable by cvar) rather than in response to each server packet

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5985 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoimproved server handling of multiple packets per client physics frame (as would be...
havoc [Wed, 15 Feb 2006 03:09:37 +0000 (03:09 +0000)]
improved server handling of multiple packets per client physics frame (as would be the case if the client sends more frames per second than the server sends to it)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5984 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix very stupid bug that caused entities to sometimes not be removed (priority was...
havoc [Wed, 15 Feb 2006 02:54:14 +0000 (02:54 +0000)]
fix very stupid bug that caused entities to sometimes not be removed (priority was not being updated when deltabits were added back to an entity, so the priority remained at the no-update-necessary level despite the fact it should be sent again)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5983 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix a typo in vid_conwidth declaration
havoc [Tue, 14 Feb 2006 23:39:23 +0000 (23:39 +0000)]
fix a typo in vid_conwidth declaration

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5982 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded nexuiz-agl executable name so that mac nexuiz builds work
havoc [Mon, 13 Feb 2006 18:35:43 +0000 (18:35 +0000)]
added nexuiz-agl executable name so that mac nexuiz builds work

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5981 d7cf8633-e32d-0410-b094-e92efae38249

15 years agomodified Host_ServerFrame to run multiple server frames again, but with a time limit...
havoc [Mon, 13 Feb 2006 00:23:46 +0000 (00:23 +0000)]
modified Host_ServerFrame to run multiple server frames again, but with a time limit of 0.05 seconds spent on server frames per call

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5980 d7cf8633-e32d-0410-b094-e92efae38249

15 years agonow make clean cleans up the nexuiz executables also
havoc [Sun, 12 Feb 2006 21:03:32 +0000 (21:03 +0000)]
now make clean cleans up the nexuiz executables also

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5979 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged vorbis.dll and friends to use lib prefix (libvorbis.dll)
havoc [Sun, 12 Feb 2006 20:59:15 +0000 (20:59 +0000)]
changed vorbis.dll and friends to use lib prefix (libvorbis.dll)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5978 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded nexuiz icon and make rules to make use of it, and now the icon is included...
havoc [Sun, 12 Feb 2006 20:26:02 +0000 (20:26 +0000)]
added nexuiz icon and make rules to make use of it, and now the icon is included in dedicated and sdl builds (not just native client builds)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5977 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed changelevel networking bug (now ignores clc_ackframe messages from clients...
havoc [Sun, 12 Feb 2006 19:44:39 +0000 (19:44 +0000)]
fixed changelevel networking bug (now ignores clc_ackframe messages from clients who are not spawned, this prevents leftover entity acks from previous level from messing up netcode)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5976 d7cf8633-e32d-0410-b094-e92efae38249

15 years agomoved sendsignon = true back to where it was, as it is directly related to the messag...
havoc [Sun, 12 Feb 2006 19:43:45 +0000 (19:43 +0000)]
moved sendsignon = true back to where it was, as it is directly related to the message writing above it

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5975 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix uninitialized specularscale in R_Shadow_RenderSurfacesLighting
havoc [Sun, 12 Feb 2006 18:22:42 +0000 (18:22 +0000)]
fix uninitialized specularscale in R_Shadow_RenderSurfacesLighting

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5974 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix uninitialized variables in InfoString_GetValue and InfoString_SetValue
havoc [Sun, 12 Feb 2006 18:22:09 +0000 (18:22 +0000)]
fix uninitialized variables in InfoString_GetValue and InfoString_SetValue

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5973 d7cf8633-e32d-0410-b094-e92efae38249

15 years agorenamed NetConn_UpdateServerStuff to NetConn_UpdateSockets and made it non-static...
havoc [Sun, 12 Feb 2006 18:21:16 +0000 (18:21 +0000)]
renamed NetConn_UpdateServerStuff to NetConn_UpdateSockets and made it non-static, now called in CL_EstablishConnection so +connect on commandline works again

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5972 d7cf8633-e32d-0410-b094-e92efae38249

15 years agorollback recent network compression changes, it really does have to be reset on level...
havoc [Sun, 12 Feb 2006 05:35:37 +0000 (05:35 +0000)]
rollback recent network compression changes, it really does have to be reset on level change because the client expects it to be, another solution must be found

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5970 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed glsl colormapping brightness bug when using colormod
havoc [Sun, 12 Feb 2006 05:28:19 +0000 (05:28 +0000)]
fixed glsl colormapping brightness bug when using colormod

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5969 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoa fix for the previous fix (don't reset host_client->latestframenum on level change)
havoc [Sun, 12 Feb 2006 05:12:37 +0000 (05:12 +0000)]
a fix for the previous fix (don't reset host_client->latestframenum on level change)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5968 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoGAME_NEXUIZ scoreboard team color names patch from KadaverJack
havoc [Sun, 12 Feb 2006 03:28:52 +0000 (03:28 +0000)]
GAME_NEXUIZ scoreboard team color names patch from KadaverJack

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5967 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix problems with changelevel causing network compression to stop working (bug introd...
havoc [Sun, 12 Feb 2006 02:55:42 +0000 (02:55 +0000)]
fix problems with changelevel causing network compression to stop working (bug introduced when SV_SendReconnect was rewritten quite some time ago), this was happening because the compression database was being freed on level change and reallocated, and thus producing older entity frame numbers that the client refused

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5966 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoremoved EntityFrame5_ResetDatabase because it was only used in EntityFrame5_AllocDatabase
havoc [Sun, 12 Feb 2006 00:35:46 +0000 (00:35 +0000)]
removed EntityFrame5_ResetDatabase because it was only used in EntityFrame5_AllocDatabase

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5964 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix a crash in SV_ConnectClient on bots
havoc [Sat, 11 Feb 2006 22:49:59 +0000 (22:49 +0000)]
fix a crash in SV_ConnectClient on bots

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5963 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoremoved crash parameter from Host_ShudownServer, eliminated NetConn_SendToAll and...
havoc [Sat, 11 Feb 2006 04:24:19 +0000 (04:24 +0000)]
removed crash parameter from Host_ShudownServer, eliminated NetConn_SendToAll and SV_SendReconnect

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5962 d7cf8633-e32d-0410-b094-e92efae38249

15 years agominor cleanup of keepalive
havoc [Sat, 11 Feb 2006 04:21:51 +0000 (04:21 +0000)]
minor cleanup of keepalive

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5961 d7cf8633-e32d-0410-b094-e92efae38249

15 years agomigrated cls.message and client->message buffers into netconn_t struct
havoc [Sat, 11 Feb 2006 02:33:30 +0000 (02:33 +0000)]
migrated cls.message and client->message buffers into netconn_t struct

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5960 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded a comment by MAX_LIGHTSTYLES about savegames
havoc [Fri, 10 Feb 2006 18:44:19 +0000 (18:44 +0000)]
added a comment by MAX_LIGHTSTYLES about savegames

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5959 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded diffuse texture alpha support to GLSL shader (dot3 and vertex still need updating)
havoc [Thu, 9 Feb 2006 13:52:17 +0000 (13:52 +0000)]
added diffuse texture alpha support to GLSL shader (dot3 and vertex still need updating)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5958 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed bugs concerning rtlighting of transparent entities
havoc [Wed, 8 Feb 2006 16:49:07 +0000 (16:49 +0000)]
fixed bugs concerning rtlighting of transparent entities

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5957 d7cf8633-e32d-0410-b094-e92efae38249

15 years agotwo more 4x3 modes
havoc [Wed, 8 Feb 2006 16:13:59 +0000 (16:13 +0000)]
two more 4x3 modes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5956 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged two MAX_LIGHTSTYLE references to cl_max_lightstyle
havoc [Tue, 7 Feb 2006 15:39:51 +0000 (15:39 +0000)]
changed two MAX_LIGHTSTYLE references to cl_max_lightstyle

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5951 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed loadgame to support stock quake savegames (which have 64 lightstyles, darkplace...
havoc [Tue, 7 Feb 2006 15:36:56 +0000 (15:36 +0000)]
fixed loadgame to support stock quake savegames (which have 64 lightstyles, darkplaces savegames have 256)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5950 d7cf8633-e32d-0410-b094-e92efae38249

15 years agomade MAX_LIGHTSTYLES error into a warning and it now checks cl_max_lightstyle instead
havoc [Tue, 7 Feb 2006 15:08:16 +0000 (15:08 +0000)]
made MAX_LIGHTSTYLES error into a warning and it now checks cl_max_lightstyle instead

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5949 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded externs for more of the cl_max_ variables
havoc [Tue, 7 Feb 2006 15:07:40 +0000 (15:07 +0000)]
added externs for more of the cl_max_ variables

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5948 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoFix it the right way (and also remove another bug this way).
black [Sun, 5 Feb 2006 13:44:27 +0000 (13:44 +0000)]
Fix it the right way (and also remove another bug this way).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5944 d7cf8633-e32d-0410-b094-e92efae38249

15 years agocrash fix for use of $*/$0-9 when not in an alias, patch from KadaverJack
havoc [Sun, 5 Feb 2006 05:17:54 +0000 (05:17 +0000)]
crash fix for use of $*/$0-9 when not in an alias, patch from KadaverJack

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5943 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded 1280x800 resolution (2560x1600 already existed)
havoc [Sat, 4 Feb 2006 14:09:38 +0000 (14:09 +0000)]
added 1280x800 resolution (2560x1600 already existed)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5941 d7cf8633-e32d-0410-b094-e92efae38249

15 years agotwo int casts that were missing, reported by Willis
havoc [Fri, 3 Feb 2006 05:14:24 +0000 (05:14 +0000)]
two int casts that were missing, reported by Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5940 d7cf8633-e32d-0410-b094-e92efae38249

15 years agovertex lighting path now does pants/shirt rendering faster than before
havoc [Thu, 2 Feb 2006 14:57:04 +0000 (14:57 +0000)]
vertex lighting path now does pants/shirt rendering faster than before
doubled brightness of vertex lighting path to make it look roughly like the other paths (unsure why it was darker however)
optimized lighting code setup a bit (less silly conditional returns)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5939 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix a bug in the GLSL colormapping setup (was feeding a tinted pants/shirt color...
havoc [Thu, 2 Feb 2006 13:52:00 +0000 (13:52 +0000)]
fix a bug in the GLSL colormapping setup (was feeding a tinted pants/shirt color, should feed the raw colormap colors, because the shader is doing a multiply by light color on all of this)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5938 d7cf8633-e32d-0410-b094-e92efae38249

15 years agosplit R_Shadow_RenderSurfacesLighting_Light_Dot3 into 3 subfunctions for different...
havoc [Thu, 2 Feb 2006 13:44:20 +0000 (13:44 +0000)]
split R_Shadow_RenderSurfacesLighting_Light_Dot3 into 3 subfunctions for different kinds of pass, and used these to do pants and shirt a little faster

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5937 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded pants/shirt layer rendering to GLSL shader, rather than calling it three times...
havoc [Thu, 2 Feb 2006 13:13:36 +0000 (13:13 +0000)]
added pants/shirt layer rendering to GLSL shader, rather than calling it three times like before (which was very slow)
migrated GLSL light shader permutation selection (and correspondingly all parameter setup) into R_Shadow_RenderSurfacesLighting_Light_GLSL, this causes more setup overhead but allows specific optimization of non-colormapping and non-specular surfaces so this should be a speed gain overall

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5936 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix crash in Cvar_CompleteCvarPrint
havoc [Wed, 1 Feb 2006 15:51:37 +0000 (15:51 +0000)]
fix crash in Cvar_CompleteCvarPrint
added description printing to cvarlist

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5935 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged renderer to check ent->colormap_pantscolor and ent->colormap_shirtcolor inste...
havoc [Wed, 1 Feb 2006 15:11:46 +0000 (15:11 +0000)]
changed renderer to check ent->colormap_pantscolor and ent->colormap_shirtcolor instead of ent->colormap to detect whether to use colormapping on a model, this should reduce chance of bugs in lighting code
also optimized the R_Shadow_RenderSurfacesLighting function a bit to have separate handling of colormapped and non-colormapped surfaces (probably a small speed gain, and reduces chance of bugs in lighting code)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5934 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded description string to all cvars and commands
havoc [Wed, 1 Feb 2006 13:21:06 +0000 (13:21 +0000)]
added description string to all cvars and commands
modified tab completion to print description by each cvar, instead of just printing names
refactored tab completion code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5933 d7cf8633-e32d-0410-b094-e92efae38249

15 years agodisable hardware gamma if XF86VidModeGetGammaRampSize reports a size other than 256...
havoc [Mon, 30 Jan 2006 13:34:01 +0000 (13:34 +0000)]
disable hardware gamma if XF86VidModeGetGammaRampSize reports a size other than 256, for instance 1024 on Quadro

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5927 d7cf8633-e32d-0410-b094-e92efae38249

15 years agosound direction fix (negated yaw angle), submitted by div0
havoc [Mon, 30 Jan 2006 13:03:47 +0000 (13:03 +0000)]
sound direction fix (negated yaw angle), submitted by div0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5926 d7cf8633-e32d-0410-b094-e92efae38249

15 years agopatch from div0 to add -sndmono and -sndstereo options to sdl sound code
havoc [Mon, 30 Jan 2006 13:01:34 +0000 (13:01 +0000)]
patch from div0 to add -sndmono and -sndstereo options to sdl sound code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5925 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix for segfault in map name completion, submitted by div0
havoc [Mon, 30 Jan 2006 12:59:27 +0000 (12:59 +0000)]
fix for segfault in map name completion, submitted by div0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5924 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix a typo, and apparently this isn't the cause of the nexuiz CTF bug
havoc [Mon, 23 Jan 2006 21:34:22 +0000 (21:34 +0000)]
fix a typo, and apparently this isn't the cause of the nexuiz CTF bug

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5923 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofixed SOLID_NOT relink touching triggers bug (which was causing CTF flags to be repea...
havoc [Mon, 23 Jan 2006 21:14:04 +0000 (21:14 +0000)]
fixed SOLID_NOT relink touching triggers bug (which was causing CTF flags to be repeatedly captured in Nexuiz)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5922 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoUpdated DSP files from Willis
molivier [Sat, 21 Jan 2006 10:19:00 +0000 (10:19 +0000)]
Updated DSP files from Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5921 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoA few casts and variable type changes to get rid of warnings on Win64. By Willis
molivier [Sat, 21 Jan 2006 09:59:11 +0000 (09:59 +0000)]
A few casts and variable type changes to get rid of warnings on Win64. By Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5920 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoMoved a couple of extern declarations outside of the body of their functions (fixes...
molivier [Sat, 21 Jan 2006 09:40:54 +0000 (09:40 +0000)]
Moved a couple of extern declarations outside of the body of their functions (fixes compilation on MSVC6). By Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5919 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoAdded the proper libPNG DLL name for Win64, by Willis
molivier [Sat, 21 Jan 2006 09:13:48 +0000 (09:13 +0000)]
Added the proper libPNG DLL name for Win64, by Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5918 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoFix for Win64, by Willis
molivier [Sat, 21 Jan 2006 09:10:39 +0000 (09:10 +0000)]
Fix for Win64, by Willis

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5917 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoFixed drawmask for non-csqc mods. Thanks to Willis for spotting this bug
molivier [Sat, 21 Jan 2006 08:50:36 +0000 (08:50 +0000)]
Fixed drawmask for non-csqc mods. Thanks to Willis for spotting this bug

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5916 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged newmouseparms to 0 0 0, in hopes of avoiding the winxp mouse acceleration bug
havoc [Tue, 17 Jan 2006 20:48:39 +0000 (20:48 +0000)]
changed newmouseparms to 0 0 0, in hopes of avoiding the winxp mouse acceleration bug

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5915 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged mac libpng12.dylib to libpng12.0.dylib
havoc [Mon, 16 Jan 2006 22:51:43 +0000 (22:51 +0000)]
changed mac libpng12.dylib to libpng12.0.dylib

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5914 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded S_FindName function to make dedicated server compile again
havoc [Mon, 16 Jan 2006 19:11:34 +0000 (19:11 +0000)]
added S_FindName function to make dedicated server compile again

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5913 d7cf8633-e32d-0410-b094-e92efae38249

15 years agodisable EXT_CSQC extension name for now
havoc [Mon, 16 Jan 2006 03:53:36 +0000 (03:53 +0000)]
disable EXT_CSQC extension name for now

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5911 d7cf8633-e32d-0410-b094-e92efae38249

15 years agocsqc patch from [515], seems to work with [515]'s dpcsqc test mod, needs a lot of...
havoc [Mon, 16 Jan 2006 03:52:42 +0000 (03:52 +0000)]
csqc patch from [515], seems to work with [515]'s dpcsqc test mod, needs a lot of code cleanup/merging, and VF_FOV stuff is currently ignored

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5910 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged line endings from DOS to unix
havoc [Sun, 15 Jan 2006 21:02:25 +0000 (21:02 +0000)]
changed line endings from DOS to unix

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5909 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded png support patch from [515] (had to rewrite most of it though)
havoc [Sun, 15 Jan 2006 20:20:51 +0000 (20:20 +0000)]
added png support patch from [515] (had to rewrite most of it though)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5908 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded 1440x900 and 720x450 resolutions
havoc [Sun, 15 Jan 2006 16:51:37 +0000 (16:51 +0000)]
added 1440x900 and 720x450 resolutions

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5907 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded DP_EF_DOUBLESIDED extension to list
havoc [Sat, 14 Jan 2006 17:45:35 +0000 (17:45 +0000)]
added DP_EF_DOUBLESIDED extension to list

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5906 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded DP_SV_CUSTOMIZEENTITYFORCLIENT extension based on a patch from [515]
havoc [Sat, 14 Jan 2006 17:40:50 +0000 (17:40 +0000)]
added DP_SV_CUSTOMIZEENTITYFORCLIENT extension based on a patch from [515]

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5903 d7cf8633-e32d-0410-b094-e92efae38249

15 years agocorrected a typo in a comment
havoc [Thu, 12 Jan 2006 15:19:22 +0000 (15:19 +0000)]
corrected a typo in a comment

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5902 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded console editing enhancements patch from [515], except the part for special...
havoc [Thu, 12 Jan 2006 15:17:12 +0000 (15:17 +0000)]
added console editing enhancements patch from [515], except the part for special quake characters was omitted (as the engine should not assume the quake font is being used)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5901 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded DrawQ_Line/DrawQ_Lines/DrawQ_LineWidth patch from [515], note: buggy, needs...
havoc [Wed, 11 Jan 2006 23:15:12 +0000 (23:15 +0000)]
added DrawQ_Line/DrawQ_Lines/DrawQ_LineWidth patch from [515], note: buggy, needs cleanup

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5900 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded con_textsize patch from [515]
havoc [Wed, 11 Jan 2006 22:24:05 +0000 (22:24 +0000)]
added con_textsize patch from [515]

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5899 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded r_replacemaptexture and r_listmaptextures commands patch from [515]
havoc [Wed, 11 Jan 2006 18:53:22 +0000 (18:53 +0000)]
added r_replacemaptexture and r_listmaptextures commands patch from [515]

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5898 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded tab-completion of map/changelevel command + maps command patch from [515],...
havoc [Wed, 11 Jan 2006 16:17:29 +0000 (16:17 +0000)]
added tab-completion of map/changelevel command + maps command patch from [515], which prints map names, titles, and format (Q1/Q2/Q3/HL/MC/??)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5897 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded sendcvar patch from [515]
havoc [Wed, 11 Jan 2006 14:41:42 +0000 (14:41 +0000)]
added sendcvar patch from [515]

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5896 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded a warning comment about dmodel_t not matching the on-disk q1bsp format because...
havoc [Tue, 10 Jan 2006 21:16:49 +0000 (21:16 +0000)]
added a warning comment about dmodel_t not matching the on-disk q1bsp format because of Sajt's MCBSP code (this does no harm because the reading code does not utilize dmodel_t in reading those structs, but it is a potential land mine to people looking at the header to study the format)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5895 d7cf8633-e32d-0410-b094-e92efae38249

15 years agocorrect q2dheader_t and q3dheader_t to have the correct lump array sizes
havoc [Tue, 10 Jan 2006 21:14:06 +0000 (21:14 +0000)]
correct q2dheader_t and q3dheader_t to have the correct lump array sizes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5894 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded rain splash code written by [515], and made the splash sparks a bit wider so...
havoc [Tue, 10 Jan 2006 14:52:21 +0000 (14:52 +0000)]
added rain splash code written by [515], and made the splash sparks a bit wider so that they are noticable

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5893 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded EF_DOUBLESIDED (and internally RENDER_NOCULLFACE)
havoc [Tue, 10 Jan 2006 14:35:45 +0000 (14:35 +0000)]

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5892 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded button9-16
havoc [Tue, 10 Jan 2006 14:11:51 +0000 (14:11 +0000)]
added button9-16

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5891 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoredesigned the heart of SV_GetTagMatrix, it now makes sense
havoc [Sun, 8 Jan 2006 20:10:01 +0000 (20:10 +0000)]
redesigned the heart of SV_GetTagMatrix, it now makes sense

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5889 d7cf8633-e32d-0410-b094-e92efae38249

15 years agofix sp2 frame positioning
havoc [Sun, 1 Jan 2006 15:10:01 +0000 (15:10 +0000)]
fix sp2 frame positioning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5887 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged mouse button numbering to have MWHEELUP/MWHEELDOWN and then 4 5...
havoc [Sun, 1 Jan 2006 13:21:55 +0000 (13:21 +0000)]
changed mouse button numbering to have MWHEELUP/MWHEELDOWN and then 4 5...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5886 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded developer_entityparsing cvar to aid in debugging entitystring parsing issues...
havoc [Sun, 1 Jan 2006 13:15:27 +0000 (13:15 +0000)]
added developer_entityparsing cvar to aid in debugging entitystring parsing issues (which always seem to turn out to be map bugs, but it's useful to know what the bug in the map is)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5885 d7cf8633-e32d-0410-b094-e92efae38249

15 years agohide GLSL compile warnings when developer is 0
havoc [Sun, 1 Jan 2006 13:12:31 +0000 (13:12 +0000)]
hide GLSL compile warnings when developer is 0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5884 d7cf8633-e32d-0410-b094-e92efae38249

15 years agomake compile again, stupid typos
havoc [Sun, 1 Jan 2006 07:51:57 +0000 (07:51 +0000)]
make compile again, stupid typos

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5883 d7cf8633-e32d-0410-b094-e92efae38249

15 years agocorrected some function names in error messages
havoc [Sun, 1 Jan 2006 07:46:47 +0000 (07:46 +0000)]
corrected some function names in error messages

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5882 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoadded vertex bounds checking in Mod_Q1BSP_LoadEdges
havoc [Sun, 1 Jan 2006 07:46:13 +0000 (07:46 +0000)]
added vertex bounds checking in Mod_Q1BSP_LoadEdges

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5881 d7cf8633-e32d-0410-b094-e92efae38249

15 years agodisabled running of multiple server frames per host frame, because it does not handle...
havoc [Fri, 30 Dec 2005 11:14:05 +0000 (11:14 +0000)]
disabled running of multiple server frames per host frame, because it does not handle overload gracefully (instead it makes the framerate significantly worse if the server frame is the bottleneck)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5880 d7cf8633-e32d-0410-b094-e92efae38249

15 years agorefactored gettaginfo in an attempt to improve readability, and fixed scaling bug
havoc [Fri, 30 Dec 2005 08:27:40 +0000 (08:27 +0000)]
refactored gettaginfo in an attempt to improve readability, and fixed scaling bug

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5879 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoeliminated special case for gamma 1.0 as it was making worse gamma ramps than the...
havoc [Thu, 29 Dec 2005 08:43:50 +0000 (08:43 +0000)]
eliminated special case for gamma 1.0 as it was making worse gamma ramps than the general case, and tweaked the code a bit to round to nearest so it should hit exactly 65535

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5874 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoRemoved unused files
molivier [Wed, 28 Dec 2005 14:56:02 +0000 (14:56 +0000)]
Removed unused files

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5873 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoAdded support for refresh rate, vsync, and hardware gamma to Mac OS X native video...
molivier [Wed, 28 Dec 2005 13:26:28 +0000 (13:26 +0000)]
Added support for refresh rate, vsync, and hardware gamma to Mac OS X native video module. Still working on the hardware gamma though, it looks a bit broken (colors are weird with gamma = 1)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5872 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoreworked rtlighting code to handle transparent water lighting and transparent model...
havoc [Tue, 27 Dec 2005 10:10:55 +0000 (10:10 +0000)]
reworked rtlighting code to handle transparent water lighting and transparent model lighting (doesn't properly handle alpha textures though)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5871 d7cf8633-e32d-0410-b094-e92efae38249

15 years agochanged basedir and gamedir handling slightly to eliminate the need for "./" paths
havoc [Tue, 27 Dec 2005 09:56:31 +0000 (09:56 +0000)]
changed basedir and gamedir handling slightly to eliminate the need for "./" paths

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5870 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoFixed CoreAudio sound module
molivier [Tue, 27 Dec 2005 07:53:53 +0000 (07:53 +0000)]
Fixed CoreAudio sound module

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5869 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoesteel's patch used C99 lazy variable declaration, fixed
havoc [Tue, 27 Dec 2005 04:54:40 +0000 (04:54 +0000)]
esteel's patch used C99 lazy variable declaration, fixed

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5868 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoremove an unused variable
havoc [Tue, 27 Dec 2005 04:12:47 +0000 (04:12 +0000)]
remove an unused variable

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5867 d7cf8633-e32d-0410-b094-e92efae38249