]> de.git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
13 years agoattempted fix for teleports
divverent [Sun, 2 May 2010 14:09:34 +0000 (14:09 +0000)]
attempted fix for teleports

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoBetter following limits for the new code. Added new cvars to darkplaces.txt
divverent [Sun, 2 May 2010 14:09:29 +0000 (14:09 +0000)]
Better following limits for the new code. Added new cvars to darkplaces.txt

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agohopefully fix issues with mouse motion (shivering) and warpzones
divverent [Sun, 2 May 2010 14:09:17 +0000 (14:09 +0000)]
hopefully fix issues with mouse motion (shivering) and warpzones

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoAdd the highpass cvars to darkplaces.txt
divverent [Sun, 2 May 2010 14:09:09 +0000 (14:09 +0000)]
Add the highpass cvars to darkplaces.txt

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agosimplify and clean up the gun model effects code a bit
divverent [Sun, 2 May 2010 14:09:01 +0000 (14:09 +0000)]
simplify and clean up the gun model effects code a bit

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoVery minor renaming
divverent [Sun, 2 May 2010 14:08:57 +0000 (14:08 +0000)]
Very minor renaming

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoUse cl.realframetime properly again
divverent [Sun, 2 May 2010 14:08:51 +0000 (14:08 +0000)]
Use cl.realframetime properly again

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoActually, why not persist gunorg and gunangles and work with them directly, rather...
divverent [Sun, 2 May 2010 14:08:35 +0000 (14:08 +0000)]
Actually, why not persist gunorg and gunangles and work with them directly, rather than using intermediary vectors and replacing with them?

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoMinor optimizations
divverent [Sun, 2 May 2010 14:08:30 +0000 (14:08 +0000)]
Minor optimizations

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoWeapon following: Subtract player velocity from gun origin rather than making the...
divverent [Sun, 2 May 2010 14:08:23 +0000 (14:08 +0000)]
Weapon following: Subtract player velocity from gun origin rather than making the gun follow the player. Reduces a huge code to a few lines and works much better. How could I not realize this until now? :P

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoUse averaging for calculating the leaning speed. Most of the credits go to FruitieX...
divverent [Sun, 2 May 2010 14:08:01 +0000 (14:08 +0000)]
Use averaging for calculating the leaning speed. Most of the credits go to FruitieX for this code.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoMake leaning even faster (more discrete). Fix typos from previous commit.
divverent [Sun, 2 May 2010 14:07:45 +0000 (14:07 +0000)]
Make leaning even faster (more discrete). Fix typos from previous commit.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoTweak limits, to make this more like in Half-Life 2 :)
divverent [Sun, 2 May 2010 14:07:39 +0000 (14:07 +0000)]
Tweak limits, to make this more like in Half-Life 2 :)

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoFaster speeds and tighter limits by default
divverent [Sun, 2 May 2010 14:07:30 +0000 (14:07 +0000)]
Faster speeds and tighter limits by default

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoFix slowmo speed
divverent [Sun, 2 May 2010 14:07:13 +0000 (14:07 +0000)]
Fix slowmo speed

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoMinor comment arrangements
divverent [Sun, 2 May 2010 14:07:02 +0000 (14:07 +0000)]
Minor comment arrangements

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agotry to fix the gun origin for view bobbing
divverent [Sun, 2 May 2010 14:06:49 +0000 (14:06 +0000)]
try to fix the gun origin for view bobbing

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoRevert "More arrangements"
divverent [Sun, 2 May 2010 14:06:38 +0000 (14:06 +0000)]
Revert "More arrangements"

This reverts commit 06694fee2275d36160c2948be3fd1f224842d800.

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoMore arrangements
divverent [Sun, 2 May 2010 14:06:22 +0000 (14:06 +0000)]
More arrangements

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoFix some comments
divverent [Sun, 2 May 2010 14:06:14 +0000 (14:06 +0000)]
Fix some comments

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agofix a typo in the last commit
divverent [Sun, 2 May 2010 14:06:08 +0000 (14:06 +0000)]
fix a typo in the last commit

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agomove the new globals into the cl struct
divverent [Sun, 2 May 2010 14:06:02 +0000 (14:06 +0000)]
move the new globals into the cl struct

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agosome fixes to Taoki's code regarding axis-independence
divverent [Sun, 2 May 2010 14:05:53 +0000 (14:05 +0000)]
some fixes to Taoki's code regarding axis-independence

From: Rudolf Polzer <divverent@alientrap.org>

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

13 years agoFinal checking and cleanup on my end. Imo this should be ready for testing.
divverent [Sun, 2 May 2010 14:05:43 +0000 (14:05 +0000)]
Final checking and cleanup on my end. Imo this should be ready for testing.

I'm not very good with C and this is my first code for Darkplaces. Therefore my coding may not be that great, so if anyone with more experience could check and optimize this I would be grateful. Please message me on IRC for anything regarding this patch (Taoki).

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoCvars for part 2. Added safety checks and fixed gunmodel bobbing.
divverent [Sun, 2 May 2010 14:05:33 +0000 (14:05 +0000)]
Cvars for part 2. Added safety checks and fixed gunmodel bobbing.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoLimits for part 2.
divverent [Sun, 2 May 2010 14:05:27 +0000 (14:05 +0000)]
Limits for part 2.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoPart 2 of the viewmodel effects. Gunmodel now "follows" the player, causing it to...
divverent [Sun, 2 May 2010 14:05:16 +0000 (14:05 +0000)]
Part 2 of the viewmodel effects. Gunmodel now "follows" the player, causing it to also push back when you're walking forward and get pulled when you're walking back. To be limited and cvared like the first part.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoAdd cl.movevars_timescale into the mix so this works correctly with slowmo. Previous...
divverent [Sun, 2 May 2010 14:04:58 +0000 (14:04 +0000)]
Add cl.movevars_timescale into the mix so this works correctly with slowmo. Previous commit stays (if the leaning speed is too high, slowmo is too fast and framerate is too low, the effect is temporarily disabled).

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoDisable when cl.realframetime * speed_cvar go over 1, otherwise angles go crazy and...
divverent [Sun, 2 May 2010 14:04:50 +0000 (14:04 +0000)]
Disable when cl.realframetime * speed_cvar go over 1, otherwise angles go crazy and the gun spins at very low FPS. By default this only affects very low framerates, unless setting the speed to high values. Can't think of a better way to avoid the braking angles, but imo this is alright.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoBase animation on cl.frametime
divverent [Sun, 2 May 2010 14:04:40 +0000 (14:04 +0000)]
Base animation on cl.frametime

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoTODO 3 done. Cvared everything and added better defaults. Still not ready yet.
divverent [Sun, 2 May 2010 14:04:31 +0000 (14:04 +0000)]
TODO 3 done. Cvared everything and added better defaults. Still not ready yet.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoTODO 2 done. View model rotation is now limited. Will do the cvars tomorrow.
divverent [Sun, 2 May 2010 14:04:22 +0000 (14:04 +0000)]
TODO 2 done. View model rotation is now limited. Will do the cvars tomorrow.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoRemove reference comment
divverent [Sun, 2 May 2010 14:04:15 +0000 (14:04 +0000)]
Remove reference comment

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoTODO 1 done. Gun no longer spins when when passing the 0 <-> 360 border (I miss such...
divverent [Sun, 2 May 2010 14:03:49 +0000 (14:03 +0000)]
TODO 1 done. Gun no longer spins when when passing the 0 <-> 360 border (I miss such obvious maths :P)

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agoGun model leaning effect when looking around (eg. the faster you look up the more...
divverent [Sun, 2 May 2010 14:03:31 +0000 (14:03 +0000)]
Gun model leaning effect when looking around (eg. the faster you look up the more your weapon model lowers itself). Things that need to be done before this is ready:

TODO 1: Fix bug where model does a 360* turn when YAW jumps around the 0 - 360 rotation border.
TODO 2: Implement limits (weapon model must not lean past a certain limit)
TODO 3: Cvar everything once the first TODOs are ready.

Sister project (can be separate and done some other time): Push / pull the weapon model based on the direction you are running in.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

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

13 years agouse 1 + uservec2.x
divverent [Sun, 2 May 2010 12:34:15 +0000 (12:34 +0000)]
use 1 + uservec2.x

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agothis supposedly is faster on older cards (or with badly optimizing drivers)
divverent [Sun, 2 May 2010 12:34:12 +0000 (12:34 +0000)]
this supposedly is faster on older cards (or with badly optimizing drivers)

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agoremoving the comments
divverent [Sun, 2 May 2010 12:34:08 +0000 (12:34 +0000)]
removing the comments

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agousing float for sobel value
divverent [Sun, 2 May 2010 12:34:05 +0000 (12:34 +0000)]
using float for sobel value

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agoget rid of a warning in the shader
divverent [Sun, 2 May 2010 12:34:01 +0000 (12:34 +0000)]
get rid of a warning in the shader

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agouservec2.x is now the scene, .y the sobel strength, .z the threshold for sobel
divverent [Sun, 2 May 2010 12:33:58 +0000 (12:33 +0000)]
uservec2.x is now the scene, .y the sobel strength, .z the threshold for sobel

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agouservec2 now combines the possibly-blurred scene and the sobel output
divverent [Sun, 2 May 2010 12:33:54 +0000 (12:33 +0000)]
uservec2 now combines the possibly-blurred scene and the sobel output

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agofirst draft of sobel operator, use r_glsl_postprocess_uservec1 with an x value > 100
divverent [Sun, 2 May 2010 12:33:51 +0000 (12:33 +0000)]
first draft of sobel operator, use r_glsl_postprocess_uservec1 with an x value > 100

From: Wolfgang (Blub) Bumiller <blub@speed.at>

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

13 years agounset command
divverent [Sun, 2 May 2010 12:32:18 +0000 (12:32 +0000)]
unset command

From: Blub <blub@donotreply>

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

13 years agoDP_SV_DISCARDABLEDEMO
divverent [Sun, 2 May 2010 12:22:31 +0000 (12:22 +0000)]
DP_SV_DISCARDABLEDEMO

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

13 years agoAdd QC/cfg facilities to control deletion of automatically recorded demos
divverent [Sun, 2 May 2010 12:16:28 +0000 (12:16 +0000)]
Add QC/cfg facilities to control deletion of automatically recorded demos

This patch adds two new cvars, cl_autodemo_delete and
sv_autodemo_perclient_discardable, as well as an entity field for use
by game code, .float discardabledemo.  See the cvar descriptions for
more details.

From: Jānis Rūcis <parasti@gmail.com>

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

13 years agosame modification to the darkplaces-dedicated project
divverent [Sat, 1 May 2010 17:22:09 +0000 (17:22 +0000)]
same modification to the darkplaces-dedicated project

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

13 years agoupdated darkplaces.dev project (new files added)
divverent [Sat, 1 May 2010 17:10:00 +0000 (17:10 +0000)]
updated darkplaces.dev project (new files added)

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

13 years agooverhauled vertex formats, now supports 100% interleaved arrays
havoc [Sat, 1 May 2010 16:48:33 +0000 (16:48 +0000)]
overhauled vertex formats, now supports 100% interleaved arrays
rendering mode, reworked vertexbuffer management to be a more robust
system, added fully vertex buffered rendering options
(gl_vbo_dynamicvertex, gl_vbo_dynamicindex) which are off by default
(they seem to hurt fps in tests here)
centralized handling of "generic" mesh rendering (fixed function stuff)

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

13 years agofix stain alpha
divverent [Sat, 1 May 2010 12:21:29 +0000 (12:21 +0000)]
fix stain alpha

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

14 years agoTwo more options for videos - vertical align (if video is scaled) and stipple effect...
vortex [Wed, 28 Apr 2010 20:19:55 +0000 (20:19 +0000)]
Two more options for videos - vertical align (if video is scaled) and stipple effect (static one, no annoying scrolling), it looks nice with some low res videos. Do not render 3D view when video is played.

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

14 years agoa bit of loading screen bar customization: new cvars scr_loadingscreen_barcolor,...
vortex [Mon, 26 Apr 2010 22:33:36 +0000 (22:33 +0000)]
a bit of loading screen bar customization: new cvars scr_loadingscreen_barcolor, scr_loadingscreen_barheight

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

14 years agofix a warning
vortex [Mon, 26 Apr 2010 19:29:19 +0000 (19:29 +0000)]
fix a warning

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

14 years agoin MSYS, the WINDIR env variable is uppercase, so let's change the check to that...
divverent [Sun, 25 Apr 2010 18:24:54 +0000 (18:24 +0000)]
in MSYS, the WINDIR env variable is uppercase, so let's change the check to that. In case anyone complains, I'll add the lowercase version too again.

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

14 years agomode "developer -1" that behaves like old "developer 0" (also suppresses logging...
divverent [Sat, 24 Apr 2010 20:42:51 +0000 (20:42 +0000)]
mode "developer -1" that behaves like old "developer 0" (also suppresses logging and buffering the messages)

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

14 years agofix another bug in subtitles parsing (badly parsed negative length)
vortex [Sat, 24 Apr 2010 18:30:51 +0000 (18:30 +0000)]
fix another bug in subtitles parsing (badly parsed negative length)

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

14 years agosubtitles: fix a bug with last subtitle now showing sometimes
vortex [Sat, 24 Apr 2010 16:45:22 +0000 (16:45 +0000)]
subtitles: fix a bug with last subtitle now showing sometimes

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

14 years agosimple video subtitles support, defined in external text files, added a couple of...
vortex [Sat, 24 Apr 2010 15:22:01 +0000 (15:22 +0000)]
simple video subtitles support, defined in external text files, added a couple of cvars controlling subtitles (cl_video_*). Added video scaling (video will not be drawn fullscreen but less size and centered) and brightness cvar. Added videoplaying() builtin for menuvm and csqc. Changed isdemo() function to be shared between menuvm and csqc (since it is same). Subtitles uses NOTIFY font.

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

14 years agofix VorteX's modification of darkplaces.vcproj that made it build
havoc [Sat, 24 Apr 2010 08:36:45 +0000 (08:36 +0000)]
fix VorteX's modification of darkplaces.vcproj that made it build
../omnicide.exe instead of darkplaces.exe as it is supposed to

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

14 years agofix IQM format to use relative base pose
eihrul [Wed, 21 Apr 2010 08:01:20 +0000 (08:01 +0000)]
fix IQM format to use relative base pose

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

14 years agoallow saving multiplayer games from the menu, rather than refusing
havoc [Sun, 18 Apr 2010 06:35:20 +0000 (06:35 +0000)]
allow saving multiplayer games from the menu, rather than refusing

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

14 years agofix CRLF on darkplaces.txt
divverent [Sat, 17 Apr 2010 19:08:46 +0000 (19:08 +0000)]
fix CRLF on darkplaces.txt

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

14 years agoadd a .gitattributes file to define CRLF rules
divverent [Sat, 17 Apr 2010 19:08:20 +0000 (19:08 +0000)]
add a .gitattributes file to define CRLF rules

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

14 years agofix serious bug in DP_SV_CLIENTCAMERA that made it break in multiplayer
havoc [Fri, 16 Apr 2010 21:42:15 +0000 (21:42 +0000)]
fix serious bug in DP_SV_CLIENTCAMERA that made it break in multiplayer
added DP_SV_CLIENTCAMERA extension name

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

14 years agouri_escape: remove * from the set of allowed chars. It now can be used to escape...
divverent [Fri, 16 Apr 2010 08:18:27 +0000 (08:18 +0000)]
uri_escape: remove * from the set of allowed chars. It now can be used to escape file names for use by Windows. Note that you still need to add a prefix, as Windows does not like file names starting with a dot.

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

14 years agounused IQM scaling
eihrul [Thu, 15 Apr 2010 21:46:01 +0000 (21:46 +0000)]
unused IQM scaling

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

14 years agoS_GetEntChallelPosition -> S_GetEntChannelPosition
vortex [Thu, 15 Apr 2010 11:13:22 +0000 (11:13 +0000)]
S_GetEntChallelPosition -> S_GetEntChannelPosition

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

14 years agoadd stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now
vortex [Thu, 15 Apr 2010 10:53:00 +0000 (10:53 +0000)]
add stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now

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

14 years agoblock key events while in the event handler called from loading screens - might fix...
divverent [Thu, 15 Apr 2010 10:09:45 +0000 (10:09 +0000)]
block key events while in the event handler called from loading screens - might fix crashes in some cases

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

14 years agogetsoundtime: cant query CHAN_AUTO, so print warning
vortex [Wed, 14 Apr 2010 18:45:19 +0000 (18:45 +0000)]
getsoundtime: cant query CHAN_AUTO, so print warning

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

14 years agoDP_SND_GETSOUNDTIME extension (query sound progress on entities and length of sound...
vortex [Wed, 14 Apr 2010 18:40:16 +0000 (18:40 +0000)]
DP_SND_GETSOUNDTIME extension (query sound progress on entities and length of sound files)

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

14 years agoDP_CSQC_SETPAUSE (clientside pause that only works in local games, similar to pause...
vortex [Wed, 14 Apr 2010 15:04:28 +0000 (15:04 +0000)]
DP_CSQC_SETPAUSE (clientside pause that only works in local games, similar to pause set when console is active or main menu is popped up), does not stop sounds

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

14 years agobeta version of DP_CSQC_QUERYRENDERENTITY, explanation here: http://ftp.razorwind...
vortex [Mon, 12 Apr 2010 16:39:17 +0000 (16:39 +0000)]
beta version of DP_CSQC_QUERYRENDERENTITY, explanation here: http://ftp.razorwind.ru/DP_CSQC_QUERYRENDERENTITY.txt

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

14 years agoIQM loading animation frames fix
eihrul [Mon, 12 Apr 2010 07:38:54 +0000 (07:38 +0000)]
IQM loading animation frames fix

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

14 years agofix some warnings
havoc [Sun, 11 Apr 2010 20:52:35 +0000 (20:52 +0000)]
fix some warnings

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

14 years agopatch from Ozkan Sezer for compatibility with mingw64 (changed #include
havoc [Fri, 9 Apr 2010 18:59:41 +0000 (18:59 +0000)]
patch from Ozkan Sezer for compatibility with mingw64 (changed #include
order)

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

14 years agoPut the Thanks block in the readme at the end, where it belonged. My bad for adding...
divverent [Thu, 8 Apr 2010 06:39:33 +0000 (06:39 +0000)]
Put the Thanks block in the readme at the end, where it belonged. My bad for adding something after it some months (or years?) ago.

This commit has sharp edges. Also,

diff -u a/r10072.txt b/r10072.txt
--- a/r10072.txt 2010-04-08 08:35:55.619618796 +0200
+++ b/r10072.txt 2010-04-08 08:37:38.417107779 +0200
@@ -1,5 +1,5 @@
 Fix a premature optimization in Mod_CollisionBIH_TraceLine, which broke tZork's test case.

-As Bjarne Stroustrup said, "Premature optimization is the root of all evil."
+As Donald Ervin Knuth said, "Premature optimization is the root of all evil."

 BIH collision might actually WORK now.

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

14 years agoFix a premature optimization in Mod_CollisionBIH_TraceLine, which broke tZork's test...
divverent [Thu, 8 Apr 2010 06:19:54 +0000 (06:19 +0000)]
Fix a premature optimization in Mod_CollisionBIH_TraceLine, which broke tZork's test case.

As Bjarne Stroustrup said, "Premature optimization is the root of all evil."

BIH collision might actually WORK now.

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

14 years agomake IQM loading import animation sequences rather than individual frames (thus not...
eihrul [Wed, 7 Apr 2010 23:44:10 +0000 (23:44 +0000)]
make IQM loading import animation sequences rather than individual frames (thus not requiring framegroups anymore)

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

14 years agoadditional <start_position> parm to "cd play" and "cd loop", could be useful with...
vortex [Wed, 7 Apr 2010 19:16:19 +0000 (19:16 +0000)]
additional <start_position> parm to "cd play" and "cd loop", could be useful with DP_QC_GETTIME_CDTRACK

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

14 years ago1. network sv_gameplayfix_gravityunaffectedbyticrate to the client, and predict properly
divverent [Mon, 5 Apr 2010 13:47:58 +0000 (13:47 +0000)]
1. network sv_gameplayfix_gravityunaffectedbyticrate to the client, and predict properly
2. new cvar sv_gameplayfix_nogravityonground (also supported by cl_movement)

When that cvar is activated, walking on downward slopes is a little bumpy.

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

14 years agouse multiple prints for ProQuake compatibility in status commands
havoc [Sun, 4 Apr 2010 23:28:13 +0000 (23:28 +0000)]
use multiple prints for ProQuake compatibility in status commands
(default layout only)

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

14 years agouse 3 spaces before IP address in status output, not 2, must be proquake
havoc [Sun, 4 Apr 2010 23:20:56 +0000 (23:20 +0000)]
use 3 spaces before IP address in status output, not 2, must be proquake
compatible

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

14 years agochange representation of string offsets for allocated strings and engine
havoc [Sun, 4 Apr 2010 23:14:40 +0000 (23:14 +0000)]
change representation of string offsets for allocated strings and engine
buffers to use 0x4000000 as base offset instead of using negative
values, to reduce possibility of && and || operators (which do float
compares to 0 in the vm) breaking on string variables

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

14 years agolooks like there was a missing return in VM_M_getserverliststat
havoc [Sun, 4 Apr 2010 01:52:46 +0000 (01:52 +0000)]
looks like there was a missing return in VM_M_getserverliststat

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

14 years agodisable sv_gameplayfix_consistentplayerprethink by default because it
havoc [Sat, 3 Apr 2010 22:40:43 +0000 (22:40 +0000)]
disable sv_gameplayfix_consistentplayerprethink by default because it
breaks id1 multiplayer (important!)

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

14 years agoAPPEND forced args, not PREPEND, as earlier arguments win in most DP options.
divverent [Mon, 29 Mar 2010 15:27:13 +0000 (15:27 +0000)]
APPEND forced args, not PREPEND, as earlier arguments win in most DP options.

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

14 years agocustom branding:
divverent [Mon, 29 Mar 2010 07:43:07 +0000 (07:43 +0000)]
custom branding:
like:
-nexuiz -customgamename Offendix -customgamedirname1 offendix -customgamedirname2 "" -customgamescreenshotname offendix -customgameuserdirname offendix
in an attached-to-the-executable darkplaces.opt

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

14 years agofix 6ch channel layout in SDL on Linux (it no longer uses SND_CHANNELLAYOUT_ALSA)
divverent [Sat, 27 Mar 2010 13:08:42 +0000 (13:08 +0000)]
fix 6ch channel layout in SDL on Linux (it no longer uses SND_CHANNELLAYOUT_ALSA)

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

14 years agonew %v conversion in sprintf (uses %g conversions to build a vector)
divverent [Fri, 26 Mar 2010 11:42:05 +0000 (11:42 +0000)]
new %v conversion in sprintf (uses %g conversions to build a vector)

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

14 years agouse the safer %.9g format for storing floats e.g. in savegame or prvm_edict command...
divverent [Fri, 26 Mar 2010 11:42:01 +0000 (11:42 +0000)]
use the safer %.9g format for storing floats e.g. in savegame or prvm_edict command (which is read back in properly)

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

14 years agohost_maxwait cvar to possibly work around timing trouble regarding broken nanosleep etc
divverent [Fri, 26 Mar 2010 11:41:58 +0000 (11:41 +0000)]
host_maxwait cvar to possibly work around timing trouble regarding broken nanosleep etc

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

14 years agomake model decompiling more robus regarding anim names (if name is pain1_4, treat...
divverent [Thu, 18 Mar 2010 19:20:33 +0000 (19:20 +0000)]
make model decompiling more robus regarding anim names (if name is pain1_4, treat this as pain1 frame 4, not pain frame 1_4)

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

14 years agomake q3 shader settings work on dedicated servers (dpmeshcollisions for
havoc [Thu, 18 Mar 2010 03:45:40 +0000 (03:45 +0000)]
make q3 shader settings work on dedicated servers (dpmeshcollisions for
example)

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

14 years agosv_curl_maxspeed: maximum speed for the curl downloads recommended by this server...
divverent [Sun, 14 Mar 2010 19:20:30 +0000 (19:20 +0000)]
sv_curl_maxspeed: maximum speed for the curl downloads recommended by this server (incompatible with clients not having this commit, so do not use yet)

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

14 years agofix how plural of alias works
divverent [Sun, 14 Mar 2010 18:08:39 +0000 (18:08 +0000)]
fix how plural of alias works
wrong: sg. aliases, pl. aliasess
right: sg. alias, pl. aliases

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

14 years agomodeldecompile: also write a framegroups file if possible
divverent [Sat, 13 Mar 2010 18:27:09 +0000 (18:27 +0000)]
modeldecompile: also write a framegroups file if possible

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

14 years agomade IQM framerate a float
eihrul [Sat, 13 Mar 2010 18:08:41 +0000 (18:08 +0000)]
made IQM framerate a float

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

14 years agorandomized loadingscreen pic (cvar: scr_loadingscreen_count, when 2 or above, randomi...
divverent [Sat, 13 Mar 2010 16:31:58 +0000 (16:31 +0000)]
randomized loadingscreen pic (cvar: scr_loadingscreen_count, when 2 or above, randomized gfx/loading{,2-n} pic is used, not recommended for general use as it costs GPU memory)

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

14 years agofixes for entity caching when r_shadows == 1
eihrul [Tue, 9 Mar 2010 02:58:06 +0000 (02:58 +0000)]
fixes for entity caching when r_shadows == 1

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