]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
divverent [Wed, 25 Feb 2009 14:13:02 +0000 (14:13 +0000)]
fix v_color_enable with v_glslgamma
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8760
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 25 Feb 2009 14:09:34 +0000 (14:09 +0000)]
never prefer an entity trace over a world trace if the trace fraction is 1 (not hit).
Fixes bug with SOLID_BSP entities sometimes being collided against "as box".
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8759
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Feb 2009 10:28:47 +0000 (10:28 +0000)]
ZQ_PAUSE extension patch from GreEn`mArine
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8757
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 23 Feb 2009 07:20:38 +0000 (07:20 +0000)]
C++ compile fixes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8756
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 21 Feb 2009 20:18:26 +0000 (20:18 +0000)]
cl_capturevideo_nameformat
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8755
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 21 Feb 2009 19:13:28 +0000 (19:13 +0000)]
add some casts for g++
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8754
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 21 Feb 2009 19:08:10 +0000 (19:08 +0000)]
clarify that the new matrixlib functions only are supposed to work for rotations and translations (transformation must be length invariant)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8753
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 21 Feb 2009 18:22:19 +0000 (18:22 +0000)]
fix ie
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8752
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Feb 2009 18:13:06 +0000 (18:13 +0000)]
some color tag cleanups by terencehill
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8751
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 Feb 2009 18:07:40 +0000 (18:07 +0000)]
calculate plane dist in collision code so that it will be valid
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8750
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 Feb 2009 17:50:03 +0000 (17:50 +0000)]
report a proper trace_plane_normal for trace_startsolid cases, this
allows QC physics code to nudge objects out of eachother using the
shortest vector, only valid if trace_fraction is 1 (works best for
stationary overlap tests)
properly transform trace_plane_dist rather than returning 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8749
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 Feb 2009 17:45:53 +0000 (17:45 +0000)]
fix a compile error on dedicated server in MSVC2008
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8748
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Feb 2009 13:20:14 +0000 (13:20 +0000)]
made cl_capturevideo_ogg 1 by default and saved.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8747
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 14:48:34 +0000 (14:48 +0000)]
change vorbis default quality to 3 (before: 1), matches oggenc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8746
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 11:35:05 +0000 (11:35 +0000)]
fix multichannel vorbis channel mappings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8745
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 10:11:16 +0000 (10:11 +0000)]
correctly swap the channels for vorbis audio encoding
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8744
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 08:16:22 +0000 (08:16 +0000)]
also fix ti.keyframe_auto_p
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8743
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 08:14:59 +0000 (08:14 +0000)]
rename cl_capturevideo_ogg_theora_keyframe_frequency to cl_capturevideo_ogg_theora_keyframe_maxinterval
rename cl_capturevideo_ogg_theora_keyframe_mindistance to cl_capturevideo_ogg_theora_keyframe_mininterval (and subtract one)
this makes the two cvars have the same "units"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8742
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 07:57:55 +0000 (07:57 +0000)]
make DP_PRELOAD_DEPENDENCIES=1: add theora to the dependencies (for Debian packaging)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8741
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Feb 2009 05:33:26 +0000 (05:33 +0000)]
libogg sucks. Really does. Work around one of its shortcomings by storing the page to be interleaved in our OWN buffer, as libogg appears to overwrite it when calling some OTHER function in it.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8740
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Feb 2009 22:31:39 +0000 (22:31 +0000)]
fix bug introduced by div0 that made entities belonging to world play at
world origin
added special case for removed entities - channel entity is changed to
world when this is detected
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8739
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 22:19:23 +0000 (22:19 +0000)]
fix typo causing an endless loop
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8738
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 22:10:47 +0000 (22:10 +0000)]
hopefully fix pointsound in csqc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8737
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 21:18:33 +0000 (21:18 +0000)]
avoid writing a duplicate last frame at the end
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8736
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 20:44:54 +0000 (20:44 +0000)]
fix the stupid interleaving method
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8735
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Feb 2009 20:28:48 +0000 (20:28 +0000)]
revert r8707 changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8734
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Feb 2009 20:15:35 +0000 (20:15 +0000)]
disable use of stdint.h on MSVC2003 and earlier
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8733
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 20:08:31 +0000 (20:08 +0000)]
also include <stdint.h> to get uint32_t on mingw
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8732
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 20:06:56 +0000 (20:06 +0000)]
a debug printf I forgot to comment out
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8731
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 20:06:05 +0000 (20:06 +0000)]
now, for mingw, use the uint32_t names instead of the u_int32_t ones
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8730
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Feb 2009 20:05:20 +0000 (20:05 +0000)]
fix compile errors on MSVC2003 and earlier
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8729
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 19:42:02 +0000 (19:42 +0000)]
bring back the old stupid interleaving, and leave this open for maybe someone from xiph to fix (stream badly interleaved, oggz-validate complains, other stuff appears to work)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8728
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 15:09:18 +0000 (15:09 +0000)]
try interleaving exactly like example_encode.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8727
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 14:29:13 +0000 (14:29 +0000)]
increase default theora quality from 16 to 32; this about matches the compression ratio of MPEG2 on a DVD, and looks quite good
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8726
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 14:05:10 +0000 (14:05 +0000)]
capturevideo refactoring, making AVI also "just a module" for it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8725
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 11:54:05 +0000 (11:54 +0000)]
Add some cvars for vorbis/theora video encoding; their defaults match the defaults of the example_encoder program in libtheora for now. Needs testing to find actually good values.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8724
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 10:16:51 +0000 (10:16 +0000)]
forgot these two files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8723
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Feb 2009 10:14:55 +0000 (10:14 +0000)]
Experimental theora capturevideo code.
Still contains known memory leaks, and no configurability at all.
Try out using scr_capturevideo_ogg 1 and then capturing a video.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8722
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 17 Feb 2009 20:36:58 +0000 (20:36 +0000)]
capturevideo: prefill incomplete header fields a bit more defensively: 0xFFFFFFFF, not 0, for total frames
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8721
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Feb 2009 18:40:49 +0000 (18:40 +0000)]
fix bugs with missing shader replacements casting shadows
fix bugs with surfaceparm nodraw casting shadows
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8720
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 17 Feb 2009 14:38:11 +0000 (14:38 +0000)]
fix typo in some powers of two
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8719
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 17 Feb 2009 13:59:46 +0000 (13:59 +0000)]
add Q3A's EF_TELEPORT_BIT (toggle it when teleporting; interpolation gets skipped for a frame after doing so)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8718
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 17 Feb 2009 09:26:40 +0000 (09:26 +0000)]
DP_QC_GETTAGINFO_BONEPROPERTIES
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8716
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 Feb 2009 19:40:24 +0000 (19:40 +0000)]
fix a compile error when using C++ mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8715
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 16 Feb 2009 18:09:53 +0000 (18:09 +0000)]
skip interpolation if tagentity changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8714
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 Feb 2009 04:48:30 +0000 (04:48 +0000)]
fix some mingw64 warnings (I hope)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8713
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 Feb 2009 04:45:04 +0000 (04:45 +0000)]
added cvar sv_gameplayfix_gravityunaffectedbyticrate - off by default
but seems to work
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8712
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 Feb 2009 04:20:35 +0000 (04:20 +0000)]
implemented zpass shadowing, not used yet
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8711
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Feb 2009 22:25:28 +0000 (22:25 +0000)]
somehow this file was not committed in the last one
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8710
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Feb 2009 21:52:55 +0000 (21:52 +0000)]
don't prepend textures/ on halflife wad loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8709
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Feb 2009 21:50:23 +0000 (21:50 +0000)]
use nlerp for bone rotations in skeletal model rendering, and also
preserve (non-uniform) scaling while doing so
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8708
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Feb 2009 21:49:27 +0000 (21:49 +0000)]
simplified tag info code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8707
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Feb 2009 21:45:55 +0000 (21:45 +0000)]
added shadertime field in csqc
added shadertime support in renderer
added shadertime support in client (defaults to last time model changed)
this means shader animMap commands are now time-synced to entity spawn
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8706
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 Feb 2009 19:45:42 +0000 (19:45 +0000)]
laying the groundwork for zpass shadow volume support (slightly faster
rendering)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8705
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 Feb 2009 06:35:31 +0000 (06:35 +0000)]
added TEXF_FORCELINEAR to many special effect textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8704
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 Feb 2009 06:25:05 +0000 (06:25 +0000)]
early steps toward support for persistent caching of dlight shadows
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8703
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 Feb 2009 05:35:34 +0000 (05:35 +0000)]
implemented occlusion query support on corona rendering, this enables
coronas to fade according to the percentage of occluded pixels around
the light origin, giving a more realistic corona behavior
some minor cleanup on shadow volume construction code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8702
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 11 Feb 2009 14:27:23 +0000 (14:27 +0000)]
fix memory corruption when using trailparticles with an effect that has a dlight
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8701
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 10 Feb 2009 13:23:48 +0000 (13:23 +0000)]
remove two debug prints
Working way to encode from darkplaces using mencoder without writing a huge dpvideo...avi:
mkfifo ~/.nexuiz/data/video/dpvideo001.avi
perl -e 'while(read STDIN, my $var,
1048576 ) { print $var; }' < ~/.nexuiz/data/video/dpvideo001.avi | mencoder -o outfile.avi - .....options......
while running DarkPlaces with cl_capturevideo from another shell
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8700
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 10 Feb 2009 13:13:50 +0000 (13:13 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8699
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 10 Feb 2009 13:11:02 +0000 (13:11 +0000)]
improved handling of non-seekable AVIs; also: do less seeking when capturing now.
However, still ffmpeg and mplayer fail to read it. No idea why.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8698
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 10 Feb 2009 11:22:47 +0000 (11:22 +0000)]
make AVI writing a bit more robust; if seeking back fails, the block it wanted to write won't be written. MAYBE this allows streaming the AVI to ffmpeg?
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8697
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 9 Feb 2009 13:04:39 +0000 (13:04 +0000)]
CSQC traceline/tracebox: don't set hitnetworkplayers when MOVE_NOMONSTERS or MOVE_WORLDONLY are specified; don't set hitnetworkbrushmodels when MOVE_WORLDONLY is specified
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8696
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 7 Feb 2009 08:52:07 +0000 (08:52 +0000)]
bugfix for showtopspeed
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8695
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 6 Feb 2009 14:48:41 +0000 (14:48 +0000)]
fix a possible bug with zym model animation (this looks like a typo, and fixing it makes the shotgun anim in nexuiz appear more consistent)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8694
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 6 Feb 2009 07:09:42 +0000 (07:09 +0000)]
[
2566720 ] showtopspeed v3
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8693
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 2 Feb 2009 00:52:34 +0000 (00:52 +0000)]
At O.Sezer's recommendation filematch.c has been changed to use
FindFirstFile and friends instead of _findfirst and friends.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8692
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 2 Feb 2009 00:34:29 +0000 (00:34 +0000)]
disabled main in sys_win.c at O.Sezer's recommendation (vid_wgl.c
provides WinMain in the same build target - making this pointless)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8691
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 2 Feb 2009 00:25:06 +0000 (00:25 +0000)]
changed CC=gcc to CC?=gcc at O.Sezer's recommendation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8690
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 1 Feb 2009 08:35:49 +0000 (08:35 +0000)]
fix two typos in vid_wgl code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8689
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 31 Jan 2009 11:12:13 +0000 (11:12 +0000)]
more fullscreen cleanup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8688
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 31 Jan 2009 10:34:32 +0000 (10:34 +0000)]
cleanup of fullscreen code; do not use VidMode when NetWM fullscreen is active (to prevent problems with screen scrolling); TODO make DP render at a lower res and scale up when NetWM fullscreen is in use
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8687
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 14:04:37 +0000 (14:04 +0000)]
damn, revert the accidental change to makefile.inc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8686
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 13:55:38 +0000 (13:55 +0000)]
fix a type
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8685
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 12:41:41 +0000 (12:41 +0000)]
make DP compile with C++ again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8684
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 11:26:12 +0000 (11:26 +0000)]
oops, fixing syntax
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8683
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 11:24:24 +0000 (11:24 +0000)]
some fixes for NetWM fullscreen
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8682
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 28 Jan 2009 08:26:37 +0000 (08:26 +0000)]
try to improve netwm fullscreen mode
should now restore the video mode and iconify itself when unfocused, and set the game video mode when restored
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8681
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 28 Jan 2009 05:24:10 +0000 (05:24 +0000)]
fix another warning reported by O.Sezer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8680
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 28 Jan 2009 04:51:13 +0000 (04:51 +0000)]
fix for a typo from O.Sezer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8679
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 27 Jan 2009 22:11:55 +0000 (22:11 +0000)]
handle FocusIn and FocusOut in NetWM fullscreen mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8678
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 27 Jan 2009 22:09:24 +0000 (22:09 +0000)]
fix my last fullscreen change
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8677
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 27 Jan 2009 21:47:55 +0000 (21:47 +0000)]
attempt to fix csqc entity networking by not sending empty entity frames if no csqc entity was sent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8676
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 27 Jan 2009 15:19:44 +0000 (15:19 +0000)]
beginning of vid_netwmfullscreen; does not work yet (apparently, the fullscreen window gets no focus)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8675
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 26 Jan 2009 05:17:20 +0000 (05:17 +0000)]
remove an unused variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8674
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 25 Jan 2009 18:48:07 +0000 (18:48 +0000)]
fix typos on sizing collision patches
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8673
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 25 Jan 2009 18:15:48 +0000 (18:15 +0000)]
actually use the cross product of two DIFFERENT vectors...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8672
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 25 Jan 2009 17:57:37 +0000 (17:57 +0000)]
fix stupid degenerate triangle check, I don't have a clue what I was
thinking when I wrote it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8671
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 24 Jan 2009 17:39:29 +0000 (17:39 +0000)]
fix modelyawradius calculation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8670
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 23 Jan 2009 19:29:16 +0000 (19:29 +0000)]
cvarlist, buf_cvarlist: support wildcards if present (if not present, it's treated as a prefix)
fix two places where cvar names were treated case insensitively, while they usually are case sensitive (e.g. when hashed with crc32)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8667
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 23 Jan 2009 19:17:17 +0000 (19:17 +0000)]
fix typo in Set/SetA
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8666
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 23 Jan 2009 10:45:03 +0000 (10:45 +0000)]
do the skipping here too
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8665
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 23 Jan 2009 10:32:27 +0000 (10:32 +0000)]
add an argument to filter out a cvar prefix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8664
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 23 Jan 2009 09:34:48 +0000 (09:34 +0000)]
+"DP_QC_CVAR_DESCRIPTION "
+"DP_QC_STRINGBUFFERS_CVARLIST "
allowing menu QC (and other code) to list all cvars, and retrieve their descriptions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8663
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 22 Jan 2009 08:20:15 +0000 (08:20 +0000)]
DP_SV_ONENTITYPREPOSTSPAWNFUNCTION - hooks before and after spawning an entity from a map/ent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8662
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 20 Jan 2009 19:21:34 +0000 (19:21 +0000)]
fix bug with menu_mouse_absolute 1 in Nexuiz
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8661
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 20 Jan 2009 18:58:27 +0000 (18:58 +0000)]
fixed a serious bug in initialization of frac[][]
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8660
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 20 Jan 2009 18:47:41 +0000 (18:47 +0000)]
fix bugs with q1bsp/hlbsp rotating submodels, caused by CLIP brushes not
creating surfaces (thus vertex-based calculation of modelradius failed),
and some really stupid bugs with using min where it should have been max
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8659
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 19 Jan 2009 21:14:27 +0000 (21:14 +0000)]
fix a number of char types that should be int, to make them immune to
unsigned char vs signed char disputes on different operating systems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8658
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 18 Jan 2009 19:10:25 +0000 (19:10 +0000)]
GAME_NEXUIZ: skip player entities in hitnetworkplayers if they have -666 (spectator) or -616 (nonsolid player) frags
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8657
d7cf8633 -e32d-0410-b094-
e92efae38249