]> de.git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 years agofix sprite transparency bug introduced by the palette changes
havoc [Tue, 27 Dec 2005 02:43:33 +0000 (02:43 +0000)]
fix sprite transparency bug introduced by the palette changes

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

18 years agoreworked transparency in palettes, made palette_complete be strictly opaque, added...
havoc [Tue, 27 Dec 2005 02:29:40 +0000 (02:29 +0000)]
reworked transparency in palettes, made palette_complete be strictly opaque, added palette_transparent (and switched a few things over to it), made palette_font actually be used (and it no longer has a transparent color 255, only color 0 is transparent in the font, correctly matching software quake), this should hopefully fix bugs with models using color 255 in their skin

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

18 years agochanged a palette_complete, palette_alpha reference to NULL, NULL in sprite loading
havoc [Tue, 27 Dec 2005 02:22:56 +0000 (02:22 +0000)]
changed a palette_complete, palette_alpha reference to NULL, NULL in sprite loading

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

18 years agoremoved a duplicate ;
havoc [Tue, 27 Dec 2005 02:18:35 +0000 (02:18 +0000)]
removed a duplicate ;

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

18 years agonexuiz team scoreboard patch from esteel
havoc [Mon, 26 Dec 2005 01:16:44 +0000 (01:16 +0000)]
nexuiz team scoreboard patch from esteel

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

18 years agochanged Venim's dpmaster back to an IP
havoc [Sat, 17 Dec 2005 03:43:57 +0000 (03:43 +0000)]
changed Venim's dpmaster back to an IP

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

18 years agoadded tChr's master server, changed Venim's back to a hostname as it seems to resolve...
havoc [Sat, 17 Dec 2005 02:04:53 +0000 (02:04 +0000)]
added tChr's master server, changed Venim's back to a hostname as it seems to resolve now, and noted admin of each master server

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

18 years agodefault r_useportalculling to 1, I don't know why it was off
havoc [Wed, 14 Dec 2005 13:47:13 +0000 (13:47 +0000)]
default r_useportalculling to 1, I don't know why it was off

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

18 years agoErm, remove the paramcount check from localcmd, so that it actually works
black [Mon, 5 Dec 2005 19:36:32 +0000 (19:36 +0000)]
Erm, remove the paramcount check from localcmd, so that it actually works
with an arbitrary number of params.

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

18 years agovideo modes in menu now also set vid_pixelheight and vid_conwidth/vid_conheight
havoc [Wed, 30 Nov 2005 15:10:07 +0000 (15:10 +0000)]
video modes in menu now also set vid_pixelheight and vid_conwidth/vid_conheight
improved video modes menu, it now has widescreen modes, refresh rate, and more information about the chosen mode
renamed vid_pixelaspect to vid_pixelheight and inverted its behavior (smaller value now means that a pixel is wider than it is tall)
eliminated r_refdef.fov* fields, redesigned to use frustum plane slopes (like glFrustum takes) and calculate fov from height*4/3 rather than width, so widescreen now automatically uses higher fov accordingly, but 4x3 modes are the same as they always were, this also required generating the frustum planes differently in the renderer
changed underwater view warping to use frustum scaling rather than angles, this makes it a little smoother

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

18 years agoimplemented vid_refreshrate cvar to specify display refresh rate in windows
havoc [Wed, 30 Nov 2005 15:03:08 +0000 (15:03 +0000)]
implemented vid_refreshrate cvar to specify display refresh rate in windows
added vid_minwidth/vid_minheight for use by menu, this lets a mod specify minimum acceptable resolution

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

18 years ago409
havoc [Tue, 29 Nov 2005 12:24:24 +0000 (12:24 +0000)]
409

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

18 years agosmoke trails are now half as bright, bullet impact sparks now fly upward a little...
havoc [Tue, 29 Nov 2005 12:14:23 +0000 (12:14 +0000)]
smoke trails are now half as bright, bullet impact sparks now fly upward a little bit at first (looks better when shooting the floor)

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

18 years agoimplemented cl_particles_quake cvar to use quake-style particle effects
havoc [Tue, 29 Nov 2005 11:58:59 +0000 (11:58 +0000)]
implemented cl_particles_quake cvar to use quake-style particle effects

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

18 years agodisabled dlight from scrag and hellknight shots
havoc [Tue, 29 Nov 2005 11:57:19 +0000 (11:57 +0000)]
disabled dlight from scrag and hellknight shots

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

18 years agoremoved headphones stuff, now stereo is side speakers (like headphones was) because...
havoc [Tue, 29 Nov 2005 00:20:03 +0000 (00:20 +0000)]
removed headphones stuff, now stereo is side speakers (like headphones was) because it was too hard to hear things behind you with only front speakers, added mono speaker layout also

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

18 years agofixed keynum_t issue, it was declared as an extern variable (?!?) in the header,...
havoc [Mon, 28 Nov 2005 07:46:39 +0000 (07:46 +0000)]
fixed keynum_t issue, it was declared as an extern variable (?!?) in the header, should have been a typedef

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

18 years agochanged buttonremap arrays to int instead of keynum_t because keynum_t is not being...
havoc [Mon, 28 Nov 2005 07:45:07 +0000 (07:45 +0000)]
changed buttonremap arrays to int instead of keynum_t because keynum_t is not being found for some bizarre reason no matter what I do

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

18 years agomade K_MOUSE4/5 keys separate from K_MWHEELUP/DOWN keys
havoc [Mon, 28 Nov 2005 05:54:20 +0000 (05:54 +0000)]
made K_MOUSE4/5 keys separate from K_MWHEELUP/DOWN keys

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

18 years agofix a typo
havoc [Mon, 28 Nov 2005 04:51:59 +0000 (04:51 +0000)]
fix a typo

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

18 years agoadded scr_screenshot_gamma to menu (I'm sure I did this once before!)
havoc [Mon, 28 Nov 2005 00:59:01 +0000 (00:59 +0000)]
added scr_screenshot_gamma to menu (I'm sure I did this once before!)

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

18 years ago416
havoc [Sun, 27 Nov 2005 08:29:37 +0000 (08:29 +0000)]
416

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

18 years agoeliminated snd_inited and sound_started variables, now uses shm != NULL checks instead
havoc [Sun, 27 Nov 2005 00:24:44 +0000 (00:24 +0000)]
eliminated snd_inited and sound_started variables, now uses shm != NULL checks instead

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

18 years agoadded minor documentation about logging features
havoc [Sun, 27 Nov 2005 00:22:04 +0000 (00:22 +0000)]
added minor documentation about logging features

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

18 years agoremove a piece of breakpoint code I forgot to remove before
havoc [Sat, 26 Nov 2005 22:41:58 +0000 (22:41 +0000)]
remove a piece of breakpoint code I forgot to remove before

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

18 years agofix a typo in r_speeds display that incorrectly displayed dynamic shadow triangles
havoc [Sat, 26 Nov 2005 08:05:32 +0000 (08:05 +0000)]
fix a typo in r_speeds display that incorrectly displayed dynamic shadow triangles

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

18 years agofix a sound conversion bug in mono output
havoc [Fri, 25 Nov 2005 23:03:31 +0000 (23:03 +0000)]
fix a sound conversion bug in mono output

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

18 years agofix a warning
havoc [Fri, 25 Nov 2005 23:00:30 +0000 (23:00 +0000)]
fix a warning

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

18 years agosprites now use skinframe_t instead of their own texture/fogtexture fields
havoc [Fri, 25 Nov 2005 08:23:36 +0000 (08:23 +0000)]
sprites now use skinframe_t instead of their own texture/fogtexture fields
cleaned up hlbsp texture loading slightly, now uses Mod_LoadSkinFrame_Internal

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

18 years agodon't load images when running a dedicated server (they would only be discarded by...
havoc [Fri, 25 Nov 2005 07:29:35 +0000 (07:29 +0000)]
don't load images when running a dedicated server (they would only be discarded by the missing texture manager anyway)

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

18 years agodynamically scale the meshqueue transparency sorting distances to adapt the precision...
havoc [Fri, 25 Nov 2005 07:11:34 +0000 (07:11 +0000)]
dynamically scale the meshqueue transparency sorting distances to adapt the precision to larger/smaller scenes

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

18 years agochanged strzone, stuffcmd, and localcmd to be able to take multiple strings
havoc [Fri, 25 Nov 2005 06:55:40 +0000 (06:55 +0000)]
changed strzone, stuffcmd, and localcmd to be able to take multiple strings

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

18 years agoping command now works from server console
havoc [Fri, 25 Nov 2005 06:14:05 +0000 (06:14 +0000)]
ping command now works from server console

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

18 years agocleaned up edict clearing when connecting or coming back from a level change, this...
havoc [Fri, 25 Nov 2005 05:24:25 +0000 (05:24 +0000)]
cleaned up edict clearing when connecting or coming back from a level change, this fixes the botclient bugs regarding .colormap, but also meant that NetConn_ServerFrame requires SV_VM_Begin/End around it

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

18 years agoadded support for model scaling in bounding box calculations for network culling...
havoc [Fri, 25 Nov 2005 03:24:59 +0000 (03:24 +0000)]
added support for model scaling in bounding box calculations for network culling, so now entities can be made bigger and won't disappear incorrectly

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

18 years agoSOLID_NOT is now linked into the areagrid, which fixed the bugs with corpses not...
havoc [Fri, 25 Nov 2005 01:34:12 +0000 (01:34 +0000)]
SOLID_NOT is now linked into the areagrid, which fixed the bugs with corpses not riding lifts, and also means that findradius will find SOLID_NOT entities more often like the sv_gameplayfix_blowupfallenzombies was intended to
reorganized and optimized the TOSS/FLY/BOUNCE/STEP physics for better handling of sv_gameplayfix_noairborncorpse

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

18 years agochanged serverlist to using color tags instead of shifting the numbers to different...
havoc [Fri, 25 Nov 2005 01:31:18 +0000 (01:31 +0000)]
changed serverlist to using color tags instead of shifting the numbers to different charsets in the quake font

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

18 years agochanged serverlist menu to use color tags instead of shifting the numbers to differen...
havoc [Fri, 25 Nov 2005 01:29:59 +0000 (01:29 +0000)]
changed serverlist menu to use color tags instead of shifting the numbers to different character sets in the quake font

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