]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
14 years agonew cvar r_draw2d to turn off all 2D drawing (except for console, r_speeds and showfps)
divverent [Thu, 1 Jul 2010 18:37:11 +0000 (18:37 +0000)]
new cvar r_draw2d to turn off all 2D drawing (except for console, r_speeds and showfps)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10259 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9a6cc5c4aa4cfcc90d86050f91d684704698c872

14 years agoa third console picture layer. NOW we should be able to do about anything remotely...
divverent [Thu, 1 Jul 2010 18:37:16 +0000 (18:37 +0000)]
a third console picture layer. NOW we should be able to do about anything remotely sensible with console backgrounds.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10260 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=45fd34eca407fe78f563575d0c0ecbb7827a1711

14 years agomenuqc += +VM_getkeybind, // #342 string(float keynum) getkeybind (EXT_CSQC)
divverent [Wed, 30 Jun 2010 15:05:44 +0000 (15:05 +0000)]
menuqc += +VM_getkeybind, // #342 string(float keynum) getkeybind (EXT_CSQC)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10258 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9e2930c2fa043bbc2fe78735984fe6cc4d174534

14 years agofix a cvar name typo
divverent [Tue, 29 Jun 2010 14:47:18 +0000 (14:47 +0000)]
fix a cvar name typo

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10257 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2f8e9d0c3abae57bb2112ba24290a93f282adccd

14 years agonew cvars:
divverent [Tue, 29 Jun 2010 14:46:47 +0000 (14:46 +0000)]
new cvars:

scr_conalpha2factor (relative alpha for gfx/conback2)
scr_conscroll_x (like tcmod scroll on console background)
scr_conscroll_y
scr_conscroll2_x (like tcmod scroll on second console background)
scr_conscroll2_y

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10256 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=67203ae490ac287981d04a4cec7dc11c9ff0169a

14 years agofix getsurfaceneartexture() returning no useful data
divverent [Tue, 29 Jun 2010 07:08:53 +0000 (07:08 +0000)]
fix getsurfaceneartexture() returning no useful data

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10255 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=394eb5f4bdb9bdca18a8a1ef5d7c85fd906ad72e

14 years agospeed up decal creation in newdecalsystem by using BIH for finding the affected triangles
divverent [Tue, 29 Jun 2010 06:34:05 +0000 (06:34 +0000)]
speed up decal creation in newdecalsystem by using BIH for finding the affected triangles

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10254 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=09f884dd87cbb5b3da9e261d8c0841cdb9365c5b

14 years agofix a warning
havoc [Fri, 25 Jun 2010 14:05:05 +0000 (14:05 +0000)]
fix a warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10252 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0f0b19b509e71e991001841570e71cf5ef243470

14 years agoadd surfaceindex to bih_leaf_t and initialize it
havoc [Fri, 25 Jun 2010 14:03:32 +0000 (14:03 +0000)]
add surfaceindex to bih_leaf_t and initialize it

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10251 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=be40cd674833750c00c605009615f1d809a86c2a

14 years agoadded BIH_GetTriangleListForBox function
havoc [Fri, 25 Jun 2010 11:53:41 +0000 (11:53 +0000)]
added BIH_GetTriangleListForBox function

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10250 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=3af0b7fb7378c916612c11f76e5880164497a0d1

14 years agoallow immediate stains in the new particle system to be turned off
divverent [Thu, 24 Jun 2010 15:04:59 +0000 (15:04 +0000)]
allow immediate stains in the new particle system to be turned off

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10249 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6b919253a3e257dad4ec0ecc6e0e035f020ceda8

14 years agoTEXF_CLAMP cubemap textures to fix seams (hack alert)
divverent [Thu, 24 Jun 2010 12:30:14 +0000 (12:30 +0000)]
TEXF_CLAMP cubemap textures to fix seams (hack alert)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10248 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=5c395daed9fe41e01408b148f6f0c3ae90a1497f

14 years agocameras: invert the correct coordinate to fix up texcoords
divverent [Thu, 24 Jun 2010 12:30:09 +0000 (12:30 +0000)]
cameras: invert the correct coordinate to fix up texcoords

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10247 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=fd7fb6ed9cbba204fa722f8a684784889f463991

14 years agor_font_disable_freetype 0: don't replace the char by the cursor on console, but overd...
divverent [Wed, 23 Jun 2010 11:39:12 +0000 (11:39 +0000)]
r_font_disable_freetype 0: don't replace the char by the cursor on console, but overdraw with a cursor image instead

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10246 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0a3dbf7285225d43adf479d30bf44b34be072110

14 years agofix a minor typo causing a slight misprediction
divverent [Wed, 23 Jun 2010 11:39:08 +0000 (11:39 +0000)]
fix a minor typo causing a slight misprediction

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10245 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b93af3d74800726ac8703d04659e2adec9734671

14 years agocvsignore no longer used for ages, but we can make it into a .gitignore file
divverent [Tue, 22 Jun 2010 15:25:09 +0000 (15:25 +0000)]
cvsignore no longer used for ages, but we can make it into a .gitignore file

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10244 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=facd004d02128eacaa31f28ed9fc539245547eed

14 years agoDDS picmip support (similar to JPEG one)
divverent [Mon, 21 Jun 2010 11:22:07 +0000 (11:22 +0000)]
DDS picmip support (similar to JPEG one)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10243 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2db250bb0c08162bf6bd0913441b7f11f81475c0

14 years agojpeg: perform picmip levels 1, 2, 3 accelerated by telling libjpeg to decode at small...
divverent [Mon, 21 Jun 2010 11:21:48 +0000 (11:21 +0000)]
jpeg: perform picmip levels 1, 2, 3 accelerated by telling libjpeg to decode at smaller resolution

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10242 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=bf54dd6e7fb965287073b669235a7b30c7f96923

14 years agoCatch bad pointers when loading corrupt TGAs
divverent [Sun, 20 Jun 2010 15:26:32 +0000 (15:26 +0000)]
Catch bad pointers when loading corrupt TGAs

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10240 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=19f4a480fcbe200d55f810915e0629e40e892ad6

14 years agofix a bug in userwavefuncs, they now work 100% fine in div0-stable branch (without...
divverent [Sun, 20 Jun 2010 17:01:19 +0000 (17:01 +0000)]
fix a bug in userwavefuncs, they now work 100% fine in div0-stable branch (without DX vertex formats) and work fine here for animated models only

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10241 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=08fe8ce65e271cc86190ba2c0617d00bc3c2847b

14 years agoallow to freely place the chat panel when con_chatrect is 1 (squashed commit of fruit...
divverent [Sat, 19 Jun 2010 19:01:17 +0000 (19:01 +0000)]
allow to freely place the chat panel when con_chatrect is 1 (squashed commit of fruitiex/newpanelhud branch without cl_blockinput stuff)

From: FruitieX <rasse@rasse-lappy.localdomain>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10239 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=cf61d25cac09e3ba0ce9d2a4bc9e97b7d2a631d0

14 years agosupport user install of SDL framework
divverent [Thu, 17 Jun 2010 21:39:12 +0000 (21:39 +0000)]
support user install of SDL framework

From: Merlijn Hofstra <merlijnhofstra@mh.local>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10237 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=38946a1538b4072a131382a48716a4463194390f

14 years agouser (csqc) controllable wavefuncs
divverent [Thu, 17 Jun 2010 21:39:09 +0000 (21:39 +0000)]
user (csqc) controllable wavefuncs

From: Rudolf Polzer <divverent@alientrap.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10236 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=311b10bf7c30a704b06423e603b8264e95cdb442

14 years agonew cvars:
divverent [Tue, 15 Jun 2010 09:55:17 +0000 (09:55 +0000)]
new cvars:
gl_picmip_world, gl_picmip_sprites, gl_picmip_other: offsets relative to gl_picmip for different kinds of textures (i.e. world stuff renders at gl_picmip + gl_picmip_world)
r_picmipworld, r_picmipsprites are kind of obsolete with this, but stay supported (setting them to 0 is essentially equivalent to setting gl_picmip_foo to -9999)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10235 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=4346809b10ed76664d514ef4f24b888abf9d9fdb

14 years agoRevert "support user install of SDL framework"
Rudolf Polzer [Thu, 17 Jun 2010 21:25:06 +0000 (23:25 +0200)]
Revert "support user install of SDL framework"

This reverts commit afe7e6c2d7e0e24c93bc21de7a8031b8f7ec31d0.

(Nothing personal, but this has to go into svn trunk, not into this branch... my bad)

14 years agofix pqrcon rcon_password bug introduced in r9420 (was not
havoc [Wed, 9 Jun 2010 21:05:14 +0000 (21:05 +0000)]
fix pqrcon rcon_password bug introduced in r9420 (was not
nul-terminating a string)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10233 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f538c7b87b0da3af31b454f3e83aa1f32f32c1dd

14 years agoit is libpng14.14.dylib on OSX
divverent [Sun, 13 Jun 2010 18:26:25 +0000 (18:26 +0000)]
it is libpng14.14.dylib on OSX

From: Merlijn Hofstra <merlijnhofstra@mh.local>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10234 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=7f4e1fa7eb935945f8d86b87f10e3fe921adb3a2

14 years agoVM_sprintf(): make %i treat the input as QC integer, as opposed to float. %d of cours...
divverent [Wed, 9 Jun 2010 09:58:16 +0000 (09:58 +0000)]
VM_sprintf(): make %i treat the input as QC integer, as opposed to float. %d of course continues to expect a QC float.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10232 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=4d61e95a5205a37ed58f0145ca6cbdadd4d517b9

14 years agooops, should use 1.4.0 in the libpng14 version string to be sure
divverent [Sun, 6 Jun 2010 18:22:16 +0000 (18:22 +0000)]
oops, should use 1.4.0 in the libpng14 version string to be sure

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10231 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=50d8d204d06d81edaf3066973a8ed2d18b643491

14 years agolibpng14's .so name is libpng14.so.14, not .0 as usual
divverent [Sun, 6 Jun 2010 18:21:23 +0000 (18:21 +0000)]
libpng14's .so name is libpng14.so.14, not .0 as usual

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10230 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=98567a812fda612bb59d0781f8cf4d31d5264355

14 years agoexperimental libpng14 support
divverent [Sun, 6 Jun 2010 18:11:12 +0000 (18:11 +0000)]
experimental libpng14 support

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10229 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f0314987446917df899bfb296bc5b0bdd9ccf8e7

14 years agopng: no longer use png_set_gray_1_2_4_to_8? (N/A in libpng14, and redundant anyway...
divverent [Sun, 6 Jun 2010 17:50:13 +0000 (17:50 +0000)]
png: no longer use png_set_gray_1_2_4_to_8? (N/A in libpng14, and redundant anyway as png_set_expand does the same)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10228 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=65c522c982b0d384d72cdb915a0497945f764a05

14 years agosupport for q3map2's custinfoparms.txt in Mod_LoadQ3Shaders, so now you can create...
vortex [Sun, 6 Jun 2010 16:33:45 +0000 (16:33 +0000)]
support for q3map2's custinfoparms.txt in Mod_LoadQ3Shaders, so now you can create custom surfaceparms that works with BIH.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10227 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=cfa39fe98ca9b6ffb70434980802cafb4ace63d6

14 years agoif a dotranslate_ variable exists, ALWAYS assume the opt-in way of translating
divverent [Sat, 5 Jun 2010 16:55:35 +0000 (16:55 +0000)]
if a dotranslate_ variable exists, ALWAYS assume the opt-in way of translating

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10226 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=046924d1bf29b8ff4d6ea6657a9e6277ab5c4828

14 years agosupport user install of SDL framework
Merlijn Hofstra [Sun, 6 Jun 2010 13:52:46 +0000 (15:52 +0200)]
support user install of SDL framework

14 years agosv_airspeedlimit_nonqw: a soft speedlimit for games using sv_airaccel_qw
divverent [Fri, 4 Jun 2010 21:55:25 +0000 (21:55 +0000)]
sv_airspeedlimit_nonqw: a soft speedlimit for games using sv_airaccel_qw

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10225 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e7b94ee742d220019c15cc5720215b75cf3fb24c

14 years agoiqmbounds loading fix
eihrul [Tue, 1 Jun 2010 19:54:39 +0000 (19:54 +0000)]
iqmbounds loading fix

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10224 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ef555ae606d879ba26a27153fc71fdda98317a56

14 years agosanity checking of most header offsets/sizes in IQM
eihrul [Tue, 1 Jun 2010 19:52:53 +0000 (19:52 +0000)]
sanity checking of most header offsets/sizes in IQM

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10223 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2a0fe591abb661757d30036c33bbb50f85849acb

14 years agofix defaultfont scale bug (which makes it invisible)
vortex [Tue, 1 Jun 2010 19:24:45 +0000 (19:24 +0000)]
fix defaultfont scale bug (which makes it invisible)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10222 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b05148d85987f1a5d31ee319926c896a4a95c0d3

14 years agoraise MAX_STATICENTITIES for a new map goldenboy is making
havoc [Fri, 28 May 2010 09:35:33 +0000 (09:35 +0000)]
raise MAX_STATICENTITIES for a new map goldenboy is making

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10221 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0002fd924cc7129181a5757a3a2702a9af4def4e

14 years agofix some sentinel related error messages
divverent [Thu, 27 May 2010 20:13:30 +0000 (20:13 +0000)]
fix some sentinel related error messages

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10220 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=69e62bbc654b778518af1e2872f14e5b00d7cdbe

14 years agoMerge remote branch 'origin/mirceakitsune/gunmodel_effects'
divverent [Wed, 26 May 2010 21:54:45 +0000 (21:54 +0000)]
Merge remote branch 'origin/mirceakitsune/gunmodel_effects'

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10219 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0eb435e2105218df21252d8bd3dded4a649b382c

14 years agofix a bug with font scale/voffset not surviving r_restart by moving this settings...
vortex [Mon, 24 May 2010 18:20:25 +0000 (18:20 +0000)]
fix a bug with font scale/voffset not surviving r_restart by moving this settings to dp_font->settings. Added "scale" and "voffset" custom switches to loadfont console command.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10218 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e9e658105ffd3f155b6f874fd79cbef340629748

14 years agoMod_Alias_GetTagIndexForName returns an 1-based index, not 0-based, so fix skel_find_...
divverent [Mon, 24 May 2010 07:43:45 +0000 (07:43 +0000)]
Mod_Alias_GetTagIndexForName returns an 1-based index, not 0-based, so fix skel_find_bone for that

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10217 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6587c432a999ab2a1e0bbdac77b555dc711a3939

14 years agotry fix a warning
vortex [Sun, 23 May 2010 12:11:33 +0000 (12:11 +0000)]
try fix a warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10216 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=aacc356f7442208c775971b3abb71cea0b749b2d

14 years agoremove a superfluous and possibly harmful block in cl_input.qc
divverent [Sun, 23 May 2010 11:53:42 +0000 (11:53 +0000)]
remove a superfluous and possibly harmful block in cl_input.qc

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10215 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=53733530ea84c8bf61961462dd8d67c497e6459c

14 years agoDP_GFX_FONTS: add 2 additional parms to loadfont() - char scale and vertical offset...
vortex [Sat, 22 May 2010 23:52:10 +0000 (23:52 +0000)]
DP_GFX_FONTS: add 2 additional parms to loadfont() - char scale and vertical offset, scale are identical to .width file "scale" parm (per-character center-oriented scale that doesn't change line height), vertical offset are added to each char during render, it's a multiplier to character height.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10214 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6e72d351e642c980bf8dd007fdb2617c8932fbb5

14 years agobugfix recent font additions
vortex [Sat, 22 May 2010 22:50:34 +0000 (22:50 +0000)]
bugfix recent font additions

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10213 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e01b6fe3d09bf6f4f57729cb5d0c3460ac426839

14 years agodocumented DP_GFX_FONTS/DP_GFX_FONTS_FREETYPE/DP_UTF8
vortex [Sat, 22 May 2010 22:22:17 +0000 (22:22 +0000)]
documented DP_GFX_FONTS/DP_GFX_FONTS_FREETYPE/DP_UTF8

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10212 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=7da0522da5cf96bbb95c23cdefe1a90de801691f

14 years agoformed DP_GFX_FONTS/DP_GFX_FONTS_FREETYPE/DP_UTF8 extensions, add loadfont()/findfont...
vortex [Sat, 22 May 2010 22:18:08 +0000 (22:18 +0000)]
formed DP_GFX_FONTS/DP_GFX_FONTS_FREETYPE/DP_UTF8 extensions, add loadfont()/findfont() builtins. Font structure is now expandable (grows by 8), so new fonts could be added at no limits, just use new names for loadfont. When loading font, check for given file path before add extensions, this make "loadfont user1 myfont.ttf 10" work correctly.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10211 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c2673128f60447e2884d89455ebbcaffbc4f6bb3

14 years agosv_airstrafeaccel_qw cvar for tuning CPMA-style physics
divverent [Sat, 22 May 2010 18:41:10 +0000 (18:41 +0000)]
sv_airstrafeaccel_qw cvar for tuning CPMA-style physics

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10210 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=728e717bdc878f4ef2fb4311619b232949fb16aa

14 years ago+Added Urre's game, "Strap-on-bomb Car"
motorsep [Sat, 22 May 2010 15:18:44 +0000 (15:18 +0000)]
+Added Urre's game, "Strap-on-bomb Car"

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10209 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=1424b2fc6cba5da0ac58dd94c683821dbab4835d

14 years agofix a wrong mempool use in Mod_Alias_AnimateVertices that crashed on dedicated server...
divverent [Fri, 21 May 2010 21:12:08 +0000 (21:12 +0000)]
fix a wrong mempool use in Mod_Alias_AnimateVertices that crashed on dedicated server due to r_main_mempool not existing there

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10208 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e69b63d410e8f60da39c370027fc5daea820a7a8

14 years agofix a typo in default deluxemap setup
divverent [Fri, 21 May 2010 11:57:57 +0000 (11:57 +0000)]
fix a typo in default deluxemap setup

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10207 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ce0b0f29d2fda06126651b78fb04a5741a1f6f75

14 years agoMake another replacement
divverent [Fri, 21 May 2010 05:41:38 +0000 (05:41 +0000)]
Make another replacement

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10206 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ab49cf6b50de0dd9160c4325198bdf1253372373

14 years agoOops, forgot something
divverent [Fri, 21 May 2010 05:41:27 +0000 (05:41 +0000)]
Oops, forgot something

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10205 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=76e4c7368717520b5182d72f596bdbfd97a3860b

14 years agoAttempt to fix issues with spectating / demos
divverent [Fri, 21 May 2010 05:41:25 +0000 (05:41 +0000)]
Attempt to fix issues with spectating / demos

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10204 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ed91aae0a72e1e9a51b45910c2b9dc6dc383ca0b

14 years agofix warning
divverent [Wed, 19 May 2010 06:23:22 +0000 (06:23 +0000)]
fix warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10203 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=a915475ec3441cb67ac0d91abf2c18ba4a7a565e

14 years agofix stairsmoothing annoyance through warpzones
divverent [Wed, 19 May 2010 06:10:33 +0000 (06:10 +0000)]
fix stairsmoothing annoyance through warpzones

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10202 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f08238685a7cddc0363dc446866ce20ea2575f38

14 years agoremove some Blood Omnicide related hacks, fixed video stippling on ATI (always draw...
vortex [Tue, 18 May 2010 19:06:45 +0000 (19:06 +0000)]
remove some Blood Omnicide related hacks, fixed video stippling on ATI (always draw black pic behind)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10201 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f55a2becba4b17fbd7335f20d64063d4dd437043

14 years agoautocvars: update to current value after loading a savegame, to always fulfill the...
divverent [Tue, 18 May 2010 18:46:29 +0000 (18:46 +0000)]
autocvars: update to current value after loading a savegame, to always fulfill the invariant "autocvar = cvar value"

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10200 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=3f4d89c11594f247887a62a78877a36f85fdd2ee

14 years agofix a double free problem in jpeg.c
divverent [Tue, 18 May 2010 10:03:09 +0000 (10:03 +0000)]
fix a double free problem in jpeg.c

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10199 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f59bcc296e498a2b3851eed449c4de9df178e553

14 years agostart of "dpdefs", QC files that define all current DP features
divverent [Tue, 18 May 2010 09:54:35 +0000 (09:54 +0000)]
start of "dpdefs", QC files that define all current DP features

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10198 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=44eca4096e55c7625b8f8e377806aa7f8365b96b

14 years agomade cprogs.dat builtin #303 (setproperty) accept 1 parm, in this case it will return...
vortex [Sun, 16 May 2010 21:05:13 +0000 (21:05 +0000)]
made cprogs.dat builtin #303 (setproperty) accept 1 parm, in this case it will return a value of property stored in engine struct instead of setting it. Pretty useful with several viewports code + 2d drawing. Curently the only property that can't be returned is VF_VIEWPORT (will give a warning) as it stored in 2 vectors (VF_MIN and VF_SIZE). To use new feature define 2 more builtins:
float(float property) getproperty = #303;
vector(float property) getpropertyvec = #303;

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10197 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=515c01976be481f5d06169f193a7527fd567e83c

14 years agoreally fix multiple effectinfo.txt file loading
havoc [Tue, 11 May 2010 21:40:35 +0000 (21:40 +0000)]
really fix multiple effectinfo.txt file loading

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10194 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9c8d7d8f9191f8e7f31b8a737d1a7dd1e04a6813

14 years agoattempt at better defaults for gunmodel effects; try to make jumping look more natural
divverent [Sat, 15 May 2010 18:33:54 +0000 (18:33 +0000)]
attempt at better defaults for gunmodel effects; try to make jumping look more natural

From: FruitieX <rasse@rasse-lappy.localdomain>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10196 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9f3a1752aad83c746b5a7bd554d4c7553fd92de4

14 years agoDP_CSQC_BOXPARTICLES
divverent [Wed, 12 May 2010 07:59:29 +0000 (07:59 +0000)]
DP_CSQC_BOXPARTICLES
allow particles to be tinted, and trails to be modded in their spacing by the particle count factor

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10195 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f69dd60228f9846eb768b71790a00a2262cba028

14 years agofix loading of q1bsp sky replacement textures to also check
havoc [Tue, 11 May 2010 21:06:21 +0000 (21:06 +0000)]
fix loading of q1bsp sky replacement textures to also check
textures/mapname/sky4 and such

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10193 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=76e2cc47045f535d5b71d1afa3ff4789f964ebd3

14 years agotwo more obvious bugs in worldnamenoextension
divverent [Tue, 11 May 2010 15:51:15 +0000 (15:51 +0000)]
two more obvious bugs in worldnamenoextension

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10192 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=59521431b3fab534a48931527bc6e6a3053a8bd1

14 years agoproperly strip the / from worldbasename
divverent [Tue, 11 May 2010 15:47:26 +0000 (15:47 +0000)]
properly strip the / from worldbasename

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10191 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=3ca7c53a5e44ff93c8c483581e89e4d3d17cbf80

14 years agoappend maps/mapname_effectinfo.txt as intended
havoc [Tue, 11 May 2010 09:35:29 +0000 (09:35 +0000)]
append maps/mapname_effectinfo.txt as intended

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10190 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=369153300a877f32ec3c0e4ea112cf2ac5bb20bf

14 years agosomehow I missed this edit in the other maps/ checks
havoc [Tue, 11 May 2010 09:35:09 +0000 (09:35 +0000)]
somehow I missed this edit in the other maps/ checks

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10189 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=064213f25fd7d96bf1608bdbdb1e604ff0efd9f5

14 years agoparticles: apply rotation so that in the initial display frame of the particle, the...
divverent [Tue, 11 May 2010 09:11:48 +0000 (09:11 +0000)]
particles: apply rotation so that in the initial display frame of the particle, the start rotation min/max are shown

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10188 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=1a36ccfb94ba6000ab545b4f1c934fc6a6cc9344

14 years agoanoth'error bites the dust
divverent [Mon, 10 May 2010 06:57:49 +0000 (06:57 +0000)]
anoth'error bites the dust

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10187 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9d4a938aa6754bd45770b240fb5820772ecbe8e5

14 years agofix compile error
divverent [Mon, 10 May 2010 06:54:13 +0000 (06:54 +0000)]
fix compile error

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10186 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=810077aff6c99517dbd4e112d1f5f184745d1a33

14 years agofixed bug with effectinfo.txt loading so that it now loads the proper
havoc [Mon, 10 May 2010 06:29:56 +0000 (06:29 +0000)]
fixed bug with effectinfo.txt loading so that it now loads the proper
name for the map
added cl.worldmessage, cl.worldname, cl.worldbasename,
cl.worldnamenoextension strings (and sv. versions) as well as cvars

audited all use of these variables in the engine for consistent behavior
basename generation for maps now strips only maps/ prefix (allowing
subdirectory paths to be preserved)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10185 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ef9fefb7ab57b0bfe6c159b75ea905db519c7cdd

14 years agostringbuffers: allow "" strings, keep disallowing NULL strings.
divverent [Sun, 9 May 2010 13:21:40 +0000 (13:21 +0000)]
stringbuffers: allow "" strings, keep disallowing NULL strings.

Now, bufstr_set'ing an item to string_null will yield string_null on bufstr_get,
and bufstr_set'ing an item to "" will yield "" on bufstr_get.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10184 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9399e2dd28d4db4dde5fc1f03af9cbf2c3aad3ac

14 years agofix segfault on empty slots in a stringbuffer on buf_sort
divverent [Sun, 9 May 2010 13:08:56 +0000 (13:08 +0000)]
fix segfault on empty slots in a stringbuffer on buf_sort

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10183 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f2f99c891d575a2982667ef1af876a4e72ca02e3

14 years agoadd a missing include
divverent [Sun, 9 May 2010 10:34:50 +0000 (10:34 +0000)]
add a missing include

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10181 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=447d530cf6c1bce63662cd1d0705e9636cb1cdb1

14 years agoscreenshot: get rid of the 3*w*h+18 TGA buffer; instead however always capture as...
divverent [Sun, 9 May 2010 10:28:26 +0000 (10:28 +0000)]
screenshot: get rid of the 3*w*h+18 TGA buffer; instead however always capture as BGRA from the GPU;
also cvar: r_drawworld (when 0, turns off world drawing), and scr_screenshot_alpha (try to save alpha channel with screenshot).
Together, with this one can make nice alpha transparent screenshots of player models.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10180 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c3edd749ac26c6322eafa8303e592df3c32ffd25

14 years agoWritePicture: also support png input images :P
divverent [Sat, 8 May 2010 12:37:48 +0000 (12:37 +0000)]
WritePicture: also support png input images :P

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10176 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e0f3baa334fd30a181cd1eacf39dc26e8841b4e9

14 years agomakefile: we need to link to image loading libs in the dedicated server too
divverent [Sat, 8 May 2010 12:37:44 +0000 (12:37 +0000)]
makefile: we need to link to image loading libs in the dedicated server too

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10175 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2457d2e4f3e37ddb6665a1368136735dfeb8dafd

14 years agonew cvar: mastervolume (controlling both volume and bgmvolume)
divverent [Thu, 6 May 2010 06:45:32 +0000 (06:45 +0000)]
new cvar: mastervolume (controlling both volume and bgmvolume)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10173 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=32510c922fbcaad22056befd2018ea9066c1f138

14 years agoadd r_editlights_lock command which will lock selection on current selected light...
vortex [Wed, 5 May 2010 18:55:49 +0000 (18:55 +0000)]
add r_editlights_lock command which will lock selection on current selected light (or unlock if already locked)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10172 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=80234e3d370436fe1a9a06ac93404362349f72c8

14 years agodemo deleting: switch the meaning of the values 2 and 3 in cl_autodemo_delete, so...
divverent [Tue, 4 May 2010 11:08:40 +0000 (11:08 +0000)]
demo deleting: switch the meaning of the values 2 and 3 in cl_autodemo_delete, so & 1 would check if the CURRENT demo is to be deleted, and & 2 would check if any future demos are to be deleted

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10171 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=16719bad0f7f92ae5a6def481c99f9be969820ca

14 years agocall m_hide() on loadgame/map/changelevel/restart if keydest is menu one (menu or...
vortex [Sun, 2 May 2010 19:43:54 +0000 (19:43 +0000)]
call m_hide() on loadgame/map/changelevel/restart if keydest is menu one (menu or menu_grabbed), since we are going to force it to key_game (which if not forcing to m_hide leads to menu drawn but not reacting to key events).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10167 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d654a049fd0b331a4fd7b65e3c06ae087ebe77e6

14 years agoproperly declare the aircontrol power cvar
divverent [Tue, 4 May 2010 07:31:52 +0000 (07:31 +0000)]
properly declare the aircontrol power cvar

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10170 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6a7e53f4afc8ba4aeadd8bdd10a2167aceca77ab

14 years agofix the EndIncreaseEdicts handlers as edicts beyond num_edicts are not initialized yet
divverent [Tue, 4 May 2010 05:14:45 +0000 (05:14 +0000)]
fix the EndIncreaseEdicts handlers as edicts beyond num_edicts are not initialized yet

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10169 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9edb82a5ebb4cbf2645fa154815df3baa3e59535

14 years agosv_aircontrol_power - customizing the response curve of CPMA style air control
divverent [Mon, 3 May 2010 19:43:20 +0000 (19:43 +0000)]
sv_aircontrol_power - customizing the response curve of CPMA style air control

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10168 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=4bef4ef2d5b49bb0954597c4bd7f04a952518bea

14 years agoadded -noconfig commandline option for benchmarking purposes
havoc [Sun, 2 May 2010 17:33:00 +0000 (17:33 +0000)]
added -noconfig commandline option for benchmarking purposes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10165 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=dd749c0663a6e55f2513c4f31fc72c8eaead41d3

14 years agofor now, turn off gun lean and follow effects by default
divverent [Sun, 2 May 2010 14:11:12 +0000 (14:11 +0000)]
for now, turn off gun lean and follow effects by default

From: Rudolf Polzer <divverent@alientrap.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10162 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=15fb2410cafd9ba53b7b227fe8a7ed24c7f04b12

14 years agoRevert "gunangles[ROLL] = cl.viewangles[ROLL] rather than 0, because the view may...
divverent [Sun, 2 May 2010 14:10:40 +0000 (14:10 +0000)]
Revert "gunangles[ROLL] = cl.viewangles[ROLL] rather than 0, because the view may roll sometimes.", as this contains the difference in roll angle, not the roll angle itself

This reverts commit 7ef836e6b9fb5a58e0c10978efbb83a5430b5905.

From: Rudolf Polzer <divverent@alientrap.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10161 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=3b9f3021e40a36ba7dd9512cf19249736d1e3998

14 years agofix most of the guneffect issues with warpzones
divverent [Sun, 2 May 2010 14:10:12 +0000 (14:10 +0000)]
fix most of the guneffect issues with warpzones

From: Rudolf Polzer <divverent@alientrap.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10160 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b7cf56844dcdfc23ce38ba9b3c7b5342b2fd84a3

14 years agogunangles[ROLL] = cl.viewangles[ROLL] rather than 0, because the view may roll sometimes.
divverent [Sun, 2 May 2010 14:09:57 +0000 (14:09 +0000)]
gunangles[ROLL] = cl.viewangles[ROLL] rather than 0, because the view may roll sometimes.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10159 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b3e2f98b76b520acf73c8b27b108cc973da8c815

14 years agoUse only one pair of toggle cvars.
divverent [Sun, 2 May 2010 14:09:46 +0000 (14:09 +0000)]
Use only one pair of toggle cvars.

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10158 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=088011f0d4bec90d4c73de4d94f22531c4d45206

14 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
::stable-branch::merge=45329bdb67e6117291abc09cbedeb64bf1a06238

14 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
::stable-branch::merge=cc27af0a62aaa14f37203c7863ea80faa8c9b777

14 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
::stable-branch::merge=eb1cf185b836afce7c31b8e187c90e9d4647ae5d

14 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
::stable-branch::merge=b2079b40ba19bfb326909f439ab3bfda14465865

14 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
::stable-branch::merge=4e6c3fa55117e7004ef9ada041fd1eed4b08800f