]>
git.xonotic.org Git - xonotic/darkplaces.git/log
divverent [Sat, 6 Dec 2008 21:08:15 +0000 (21:08 +0000)]
undo the last fix, and instead make a new fix that does not make dark stuff bright.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8572
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 20:59:33 +0000 (20:59 +0000)]
fix typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8571
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 20:54:56 +0000 (20:54 +0000)]
fix a NULL
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8570
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 20:17:40 +0000 (20:17 +0000)]
brighten up the averaged texture value by factor 2 to make it look right
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8569
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 20:12:41 +0000 (20:12 +0000)]
support r_ambient in "eeepc mode"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8568
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 20:06:53 +0000 (20:06 +0000)]
r_showsurfaces 3 "eeepc mode": support blend funcs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8567
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 13:58:48 +0000 (13:58 +0000)]
improved r_showsurfaces 3. Should be PLAYABLE!!!1 now.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8566
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Dec 2008 13:02:02 +0000 (13:02 +0000)]
experimental new mode "r_showsurfaces 3": shows faces in average texture color
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8565
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 3 Dec 2008 13:12:31 +0000 (13:12 +0000)]
Q3BSP: only generate the shadow mesh if on a client. Skip that part on the dedicated server. Reduces load time of redstarrepublic4.bsp from 21.6s to 12.3s on a dedicated server.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8564
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 3 Dec 2008 00:38:24 +0000 (00:38 +0000)]
fix a signedness warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8563
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 3 Dec 2008 00:34:17 +0000 (00:34 +0000)]
fix for a crash in certain q1bsp maps with very large polygons when
cl_stainmaps is on, thanks to Andreas Dehmel for this fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8562
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 28 Nov 2008 16:48:36 +0000 (16:48 +0000)]
move texture compression disabling and picmip into LookupQ3Shader, based on the default flags that are used for shaderless textures. Reason: playermodels by leileilol used Q3 shaders, which made them exempt from picmip if r_picmipworld is used.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8561
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 28 Nov 2008 15:15:53 +0000 (15:15 +0000)]
effectinfo: add "stretchfactor"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8560
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 27 Nov 2008 16:30:44 +0000 (16:30 +0000)]
UGLY HACK: intercept curl commands when playing back demos to immediately load all required pk3 files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8559
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 20 Nov 2008 08:09:29 +0000 (08:09 +0000)]
added some flag clearing in csqc render entity setup to make sure that
the shadow/light/noselfshadow flags are set correctly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8557
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 11 Nov 2008 20:40:57 +0000 (20:40 +0000)]
grab mouse when in controls menu, so that mouse clicks can be captured
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8556
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 10 Nov 2008 14:02:19 +0000 (14:02 +0000)]
r_shadows 2: cast shadows always DOWN, ignore level lighting
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8555
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 10 Nov 2008 13:58:11 +0000 (13:58 +0000)]
r_shadows: use the parent entity's light direction for shadowing attached entities. Prevents tearing apart the weapon from its holder.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8554
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 10 Nov 2008 11:18:36 +0000 (11:18 +0000)]
glx: support vid_stick_mouse (to always warp to the center, as opposed to only warp if half the screen size is crossed)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8553
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 9 Nov 2008 19:05:57 +0000 (19:05 +0000)]
sorry for this debug print
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8552
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 9 Nov 2008 11:50:44 +0000 (11:50 +0000)]
add code to vid_glx to turn off mouse acceleration; also support vid_wgl's option -noforcemparms in X11 to turn off that new code
makes vid_dgamouse 0 a viable workaround for the ubuntu evdev problems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8551
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 8 Nov 2008 16:33:20 +0000 (16:33 +0000)]
get rid of skinframe loading spam on dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8550
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 6 Nov 2008 14:20:01 +0000 (14:20 +0000)]
fix bug in cs_*project with v_flipped
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8549
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 6 Nov 2008 12:55:19 +0000 (12:55 +0000)]
changed default edgefriction to 1 to match QW physics, so you don't lose
speed when running off a ledge
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8548
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 5 Nov 2008 16:35:24 +0000 (16:35 +0000)]
remove warning about signed/unsigned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8547
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 4 Nov 2008 19:16:07 +0000 (19:16 +0000)]
fix some format string errors, and return value of read() ignored warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8546
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 4 Nov 2008 10:45:10 +0000 (10:45 +0000)]
ALSA: check return values to be < 0, not != 0. Fixes problem with pulseaudio (ALSA apparently decided to start returning, here, +1 for success). See https://bugs.helixcommunity.org/show_bug.cgi?id=7375&link=0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8545
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 1 Nov 2008 17:44:32 +0000 (17:44 +0000)]
csqc packet log code (for entityframedatabase 5 only, i.e. DP5 and higher)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8544
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 1 Nov 2008 17:07:24 +0000 (17:07 +0000)]
add a note to the makefile that -ffast-math and -funsafe-math-optimizations must not be used with darkplaces (until further notice)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8543
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 1 Nov 2008 15:57:49 +0000 (15:57 +0000)]
fix broken demos with csqc code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8542
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 31 Oct 2008 10:07:43 +0000 (10:07 +0000)]
if in menu, make con_closeontoggleconsole.integer also enable the toggleconsole key
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8541
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 26 Oct 2008 16:10:40 +0000 (16:10 +0000)]
fix two warnings with statically linked-in libmodplug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8540
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 25 Oct 2008 10:37:40 +0000 (10:37 +0000)]
mod_q3bsp_nolightmaps: do not load lightmaps, use the bad q3map2-written vertex lighting instead (you have been warned). Mostly useful for maps with HUUUUGE lightmaps on low-end systems.
modplug: turn up the volume, if the installed libmodplug allows it.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8539
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 23 Oct 2008 10:49:39 +0000 (10:49 +0000)]
check texnum > 0 rather than >= 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8538
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 23 Oct 2008 10:47:59 +0000 (10:47 +0000)]
check GLTEXF_UPLOAD flag before deleting a texnum that may never have
been allocated
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8537
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 23 Oct 2008 10:44:31 +0000 (10:44 +0000)]
changed default texnum value from -1 to 0 in rtexture_t, this is only a
safety measure against any possible feeding of -1 to drivers that crash
when given an invalid texnum
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8536
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 20 Oct 2008 13:20:06 +0000 (13:20 +0000)]
q3map2 is too stupid to calculate proper surface normals when q3map_nonplanar is used (the lightmap and deluxemap coords correspond to virtually random coordinates on that luxel, and NOT to its center, because recursive triangle subdivision is used to map the luxels to coordinates on the draw surfaces), which also causes deluxemaps to be wrong because light contributions from the wrong side of the surface are added up. To prevent divisions by zero or strong exaggerations, a max() nudge is done here at expense of some additional fps. This is ONLY needed for deluxemaps, tangentspace deluxemap avoid this problem by design.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8535
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 20 Oct 2008 02:07:00 +0000 (02:07 +0000)]
don't pass a texnum of -1 to glDeleteTextures during shutdown, this has
been crashing ATI drivers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8534
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 18 Oct 2008 15:48:43 +0000 (15:48 +0000)]
cvar mod_alias_supporttagscale to be able to turn off scaling of attached entities by the attachment tag matrix (fixes problems with zmodel generated zyms)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8532
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 16 Oct 2008 02:40:43 +0000 (02:40 +0000)]
minor correction to some WriteByte calls that should be WriteChar in
te_spark and te_blood builtins - these worked fine already, but were not
the correct function to use
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8531
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 15 Oct 2008 14:49:20 +0000 (14:49 +0000)]
fix an obvious crash in PNG loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8530
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 14 Oct 2008 19:30:02 +0000 (19:30 +0000)]
modified lhrandom (and hence the QC random builtin) to never return the
max value, reducing crashes in some mods and being more consistent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8529
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 11 Oct 2008 15:06:28 +0000 (15:06 +0000)]
add DRAWFLAG_SCREEN (which basically is like invert-modulate-invert, equivalent to GIMP's "screen" layer operation, no idea how photoshop calls it)
Just like modulate always darkens, screen always brightens.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8528
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 9 Oct 2008 11:47:54 +0000 (11:47 +0000)]
fix map loading causing faces to not be rendered
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8527
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Oct 2008 17:26:35 +0000 (17:26 +0000)]
fix warnings in my last change
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8526
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Oct 2008 16:09:34 +0000 (16:09 +0000)]
add entity size profiling (currently spams the console with sizes of entity updates if developer_networkentities is >= 2, may later change it to collect statistics based on classname)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8525
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Oct 2008 06:43:35 +0000 (06:43 +0000)]
resend csqc entities COMPLETELY if they became inactive and later active again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8524
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 5 Oct 2008 20:08:16 +0000 (20:08 +0000)]
fix engine crash when a polygon was left over and had a texture reference when switching maps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8523
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 4 Oct 2008 17:42:22 +0000 (17:42 +0000)]
disabled GL_ARB_texture_non_power_of_two on Mac OS X because all the
drivers claim to support it, but it's often unaccelerated or crashes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8522
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 4 Oct 2008 17:38:02 +0000 (17:38 +0000)]
implemented Quake-compatible savegame saving (writes 64 or more styles)
enhanced savegame format with a large comment block at the end
containing the true lightstyle data (not padded with m lines), and model
and sound precaches, this should fix the famous Quake bug of reloading a
savegame with a different version of a mod, or a mod that randomly
precaches different monsters or similar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8521
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Oct 2008 14:01:05 +0000 (14:01 +0000)]
use skinframes for R_BeginPolygon; helps with csqc 3D polygon rendering (e.g. mipmapping becomes possible, and no longer conflicts in the GL_CLAMP state between different kinds to draw stuff)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8520
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 2 Oct 2008 09:48:23 +0000 (09:48 +0000)]
added width and height parameters to CSQC_UpdateView (a feature from
EXT_CSQC_1 in FTEQW)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8519
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 2 Oct 2008 09:43:52 +0000 (09:43 +0000)]
fix setview VF_VIEWPORT and variants to use screen coords rather than
draw coords, this matches FTEQW
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8518
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 2 Oct 2008 09:14:53 +0000 (09:14 +0000)]
fix cs_project and cs_unproject builtins, they were completely ignoring
the view rectangle and not centered
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8517
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 30 Sep 2008 14:05:01 +0000 (14:05 +0000)]
undo q3map2's directional light attenuation before deluxemapping. Now deluxemapping and non-deluxemapping have the same perceived brightness. May reduce fps in deluxemapping mode.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8516
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 27 Sep 2008 10:06:54 +0000 (10:06 +0000)]
fix a tiny leak
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8515
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 27 Sep 2008 09:17:19 +0000 (09:17 +0000)]
prefer INTERNAL lightmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8511
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 22 Sep 2008 05:50:55 +0000 (05:50 +0000)]
new menu QC builtin string netaddress_resolve(string ip, float port). Not sure if the others QCs should get it too.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8509
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 21 Sep 2008 10:54:57 +0000 (10:54 +0000)]
seta net_slist_favorites
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8508
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Sep 2008 12:10:26 +0000 (12:10 +0000)]
remove some unneeded code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8507
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 16 Sep 2008 13:36:21 +0000 (13:36 +0000)]
patch from esteel making the findkeysforcommand builtin available in
csqc (formerly only available in menu qc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8506
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 13 Sep 2008 09:15:36 +0000 (09:15 +0000)]
fix lightmap loading from TGAs; fix display of QC-initiated downloads
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8505
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 13 Sep 2008 06:50:30 +0000 (06:50 +0000)]
experimental (not yet tested) support for q3map2 -lightmapsize written external higher-resolution lightmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8504
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 12 Sep 2008 08:18:19 +0000 (08:18 +0000)]
curl: reject file:// URLs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8503
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 12 Sep 2008 08:14:24 +0000 (08:14 +0000)]
add extension DP_QC_URI_GET (downloads HTTP/whatever URLs to QC strings using a callback)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8502
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 12 Sep 2008 07:24:19 +0000 (07:24 +0000)]
new tcmod: "tcmod page <width> <height> <time>", as poor man's animmap alternative (stores all frames in ONE image in a <width>x<height> grid, and switches to the next frame every <time> seconds)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8501
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 12 Sep 2008 06:57:29 +0000 (06:57 +0000)]
added curl function: Curl_Begin_ToMemory; will later use this to load stuff into memory with HTTP
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8500
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 11 Sep 2008 06:32:22 +0000 (06:32 +0000)]
support Q3BSP version 47 loading (format now written by q3map2 :( )
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8499
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 11 Sep 2008 06:15:38 +0000 (06:15 +0000)]
add r_shadow_glossexact to toggle between old and new gloss code; the difference in glossexponent is compensated for.
To get the look like before this commit, multiply r_shadow_glossexponent by 4 and keep r_shadow_glossexact on 1.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8498
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 10 Sep 2008 09:57:24 +0000 (09:57 +0000)]
Solaris compile fixes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8497
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 10 Sep 2008 07:42:36 +0000 (07:42 +0000)]
add a missing normalize, fixing gloss issues
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8496
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 10 Sep 2008 06:50:53 +0000 (06:50 +0000)]
add a half-baked "commandmode" (currently it has, like messagemode, no history, no line editing)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8495
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 10 Sep 2008 06:09:36 +0000 (06:09 +0000)]
bound by 0.1 again (this bounding had its reason) AND by sv_clmovement_waitforinput * sys_ticrate
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8494
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 10 Sep 2008 06:04:19 +0000 (06:04 +0000)]
fix speedhack issue with low cl_netfps / packet loss on servers with sv_clmovement_waitforinput * sys_ticrate < 0.1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8493
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 6 Sep 2008 20:57:32 +0000 (20:57 +0000)]
sv_status_privacy", "0", "do not show IP addresses in 'status' replies to clients
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8492
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 4 Sep 2008 09:28:23 +0000 (09:28 +0000)]
fix the mathlib corner case vectoangles2('0 0 -1', '...')
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8491
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 4 Sep 2008 06:12:34 +0000 (06:12 +0000)]
482
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8490
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 4 Sep 2008 06:06:07 +0000 (06:06 +0000)]
fix id1 demos to not show deathmatch overlay (they incorrectly contain
gametype deathmatch)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8489
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 4 Sep 2008 05:56:33 +0000 (05:56 +0000)]
fix crashes on Win64 builds caused by stack overflow in R_DrawRTLight
(reported by Willis)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8488
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 4 Sep 2008 05:51:51 +0000 (05:51 +0000)]
split FS_Open into FS_OpenRealFile and FS_OpenVirtualFile (read-only),
this allows the savegame menu to only display savegames from the current
save directory (not other directories in the virtual filesystem)
added b (binary) flag to a few FS_OpenRealFile calls, and removed from a
few others (so that logs and QuakeC-written files use OS line endings)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8487
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 4 Sep 2008 05:46:40 +0000 (05:46 +0000)]
use ?= operator for CPUOPTIMIZATIONS
added an experimental CPUOPTIMIZATIONS comment as a suggestion
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8486
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 2 Sep 2008 09:10:32 +0000 (09:10 +0000)]
makefile: show usage note when someone is using the bin-release or the darkplaces-glx targets directly (to override this, pass LEVEL=1 or LEVEL=2 as make arguments)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8485
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 28 Aug 2008 10:30:38 +0000 (10:30 +0000)]
Fixed threaded mode in the CoreAudio sound module
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8484
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 28 Aug 2008 10:12:48 +0000 (10:12 +0000)]
Fixed a typo that caused snd_coreaudio.c to be compiled at link time, without the usual compilation flags and warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8483
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 28 Aug 2008 09:50:37 +0000 (09:50 +0000)]
changed default values for gl_texturecompression_2d and normalmaps and
q3bsp lightmaps to 0 (off), bringing the defaults in line with Nexuiz
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8482
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 28 Aug 2008 09:38:27 +0000 (09:38 +0000)]
reworked specular lighting to use real reflection math instead of the
averaged-directions approximation that was used before
no longer normalizes deluxemap samples, this may help with some "bright
edge near shadow" interpolation issues
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8481
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Aug 2008 18:24:36 +0000 (18:24 +0000)]
reworked mdl .skin file loading a bit to fix problems with not loading
.mdl_1.skin onward
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8480
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Aug 2008 15:07:15 +0000 (15:07 +0000)]
fix support for time command in effectinfo.txt - it was not being passed
on to the CL_NewParticle calls
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8479
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 19:50:08 +0000 (19:50 +0000)]
rcon: use multiple reply packets to fit any size (where "any" means "as big as the OS's socket buffer, about 32k on Linux)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8478
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 19:15:27 +0000 (19:15 +0000)]
no, my PC can't take 1024 bytes buffer size in SDL (clicks in background). Increased to 2048.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8477
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 15:21:42 +0000 (15:21 +0000)]
fix NOCLAMP
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8476
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 15:03:26 +0000 (15:03 +0000)]
new flag CACHEPICFLAG_NOCLAMP; use it for R_PolygonBegin polygons
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8475
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 14:57:06 +0000 (14:57 +0000)]
add missing R_Mesh_ResetTextureState call (to fix CSQC polygon rendering)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8474
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 10:58:46 +0000 (10:58 +0000)]
SDL: reduce the sound buffer size (too much lag otherwise)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8473
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 10:44:50 +0000 (10:44 +0000)]
fix Sajt's errors (in Visual Studio, I assume) in a better way - by changing the variable types, not casting. Also, only record one instance of the same csprogs into the demo.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8472
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 10:19:23 +0000 (10:19 +0000)]
also consider vid_mouse cvar when key_dest is key_menu
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8471
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 10:09:15 +0000 (10:09 +0000)]
remove redundant repeat ignoring
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8470
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Aug 2008 10:07:57 +0000 (10:07 +0000)]
handle F key binds correctly (up event shall not go to CSQC)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8469
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Sun, 24 Aug 2008 04:08:43 +0000 (04:08 +0000)]
fix some errors and warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8468
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 23 Aug 2008 07:30:19 +0000 (07:30 +0000)]
jpeg: handle errors properly (with longjmp)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8467
d7cf8633 -e32d-0410-b094-
e92efae38249