]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
16 years agoadded cl_netimmediatebuttons cvar which causes additional input packets
havoc [Sun, 9 Mar 2008 01:09:35 +0000 (01:09 +0000)]
added cl_netimmediatebuttons cvar which causes additional input packets
(beyond cl_netfps) when buttons or impulse change, giving better timing
accuracy when it counts (pressing fire)

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

16 years agoslight improvement to sound latency math (moved it after new sound data
havoc [Sun, 9 Mar 2008 01:08:42 +0000 (01:08 +0000)]
slight improvement to sound latency math (moved it after new sound data
is added)

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

16 years agoadded showsound cvar which displays number of sounds actively being
havoc [Sat, 8 Mar 2008 22:41:35 +0000 (22:41 +0000)]
added showsound cvar which displays number of sounds actively being
mixed, and total sound sources, and latency

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

16 years agoadded WAV_BUFFERTIME setting of 0.125 (used to be 0.5)
havoc [Sat, 8 Mar 2008 22:40:01 +0000 (22:40 +0000)]
added WAV_BUFFERTIME setting of 0.125 (used to be 0.5)
reduced WAV_BUFFERS from 64 to 16

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

16 years agotry using waveOutGetPosition instead of block counting (revert or #ifdef this if...
divverent [Sat, 8 Mar 2008 21:24:27 +0000 (21:24 +0000)]
try using waveOutGetPosition instead of block counting (revert or #ifdef this if it breaks anything)

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

16 years agofix MMSYSERRR_STILLPLAYING handling to not increment snd_sent
havoc [Sat, 8 Mar 2008 20:24:58 +0000 (20:24 +0000)]
fix MMSYSERRR_STILLPLAYING handling to not increment snd_sent

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

16 years agoonly go ahead if WAVERR_STILLPLAYING is encountered, other errors are fatal to the...
divverent [Sat, 8 Mar 2008 20:12:48 +0000 (20:12 +0000)]
only go ahead if WAVERR_STILLPLAYING is encountered, other errors are fatal to the sound system again.
TODO: handle WAVERR_STILLPLAYING in a better way (like, clearing the buffer?)

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

16 years agomade waveOutWrite overrun a non-fatal (if spammy) warning, and only with
havoc [Sat, 8 Mar 2008 19:58:15 +0000 (19:58 +0000)]
made waveOutWrite overrun a non-fatal (if spammy) warning, and only with
developer 1000

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

16 years agofix crash when q1bsp submodels are checked with PointSuperContents
havoc [Sat, 8 Mar 2008 18:57:54 +0000 (18:57 +0000)]
fix crash when q1bsp submodels are checked with PointSuperContents
(oops)

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

16 years agoanother attempt at fixing the Mac OSX rotating hud problem
havoc [Sat, 8 Mar 2008 16:55:46 +0000 (16:55 +0000)]
another attempt at fixing the Mac OSX rotating hud problem

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

16 years agodisable threaded mixing in coreaudio backend (still threaded callback
havoc [Sat, 8 Mar 2008 03:58:11 +0000 (03:58 +0000)]
disable threaded mixing in coreaudio backend (still threaded callback
method since coreaudio always uses that) - why does it crash?

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

16 years agoincreased maxtempentities from 512 to 4096, this affects how many csqc
havoc [Sat, 8 Mar 2008 03:44:55 +0000 (03:44 +0000)]
increased maxtempentities from 512 to 4096, this affects how many csqc
entities can be renderable at once (need to make this grow instead)

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

16 years agoadded a -I option on Mac OSX SDL builds to include the relevant Headers
havoc [Thu, 6 Mar 2008 19:44:56 +0000 (19:44 +0000)]
added a -I option on Mac OSX SDL builds to include the relevant Headers
directory, added a reference to this in the relevant LIBS variables
(because SDLMain.m needs the includes as well)

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

16 years agofix bug that makes lava bridge in e1m6 kill you (as if you're in the
havoc [Thu, 6 Mar 2008 14:34:17 +0000 (14:34 +0000)]
fix bug that makes lava bridge in e1m6 kill you (as if you're in the
lava it came out of), thanks to Lardarse for reporting this

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

16 years agoup the default cl_netfps to 72, which is higher than vsync for most
havoc [Mon, 3 Mar 2008 22:35:10 +0000 (22:35 +0000)]
up the default cl_netfps to 72, which is higher than vsync for most
people

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

16 years agoremoved cl_netinputpacketsperserverpacket (now uses
havoc [Mon, 3 Mar 2008 13:55:53 +0000 (13:55 +0000)]
removed cl_netinputpacketsperserverpacket (now uses
cl_netinputpacketspersecond again)
removed cl_netinputpacketspersecond_qw (now uses the main one)
renamed cl_netinputpacketspersecond to cl_netfps
renamed cl_netinputpacketlosstolerance to cl_netrepeatinput
changed default cl_netfps to 60 (from 20)

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

16 years agofix support for zip archives made by the standard Mac OSX archiver
havoc [Mon, 3 Mar 2008 13:25:38 +0000 (13:25 +0000)]
fix support for zip archives made by the standard Mac OSX archiver
(ignore bit 3 in the general flags - the fields ARE valid in the central
 directory, just not in the stream data)

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

16 years agoRemove FS_FIX_PATHS again and disable model rendering in the menu until someone can...
black [Sun, 2 Mar 2008 22:31:03 +0000 (22:31 +0000)]
Remove FS_FIX_PATHS again and disable model rendering in the menu until someone can do it correctly (both were hacks).

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

16 years agofix really stupid typo in coreaudio init (!= was supposed to be ==)
havoc [Sun, 2 Mar 2008 19:45:38 +0000 (19:45 +0000)]
fix really stupid typo in coreaudio init (!= was supposed to be ==)

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

16 years agofix missing particles when you join a server late in the game
havoc [Sun, 2 Mar 2008 16:32:15 +0000 (16:32 +0000)]
fix missing particles when you join a server late in the game

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

16 years agounconst something
divverent [Sun, 2 Mar 2008 16:32:04 +0000 (16:32 +0000)]
unconst something

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

16 years agoimproved CL_ParticleTrail's check for unknown effect numbers
havoc [Sun, 2 Mar 2008 16:03:47 +0000 (16:03 +0000)]
improved CL_ParticleTrail's check for unknown effect numbers

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

16 years agoadded a dprint for unknown effect numbers
havoc [Sun, 2 Mar 2008 15:28:42 +0000 (15:28 +0000)]
added a dprint for unknown effect numbers

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

16 years agoadded svc_trailparticles, svc_pointparticles, and svc_pointparticles1 to
havoc [Sun, 2 Mar 2008 15:23:25 +0000 (15:23 +0000)]
added svc_trailparticles, svc_pointparticles, and svc_pointparticles1 to
the list of svc_ code names for cl_shownet 2 prints

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

16 years agoadded support for snd_blocked (related to the snd_mutewhenidle cvar) in
havoc [Sun, 2 Mar 2008 13:45:58 +0000 (13:45 +0000)]
added support for snd_blocked (related to the snd_mutewhenidle cvar) in
threaded mixers

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

16 years agothreaded audio mixing for OSX
havoc [Sun, 2 Mar 2008 12:28:33 +0000 (12:28 +0000)]
threaded audio mixing for OSX

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

16 years agoadded a parameter to S_StopChannel to trigger a mutex lock, this fixes
havoc [Sun, 2 Mar 2008 12:06:55 +0000 (12:06 +0000)]
added a parameter to S_StopChannel to trigger a mutex lock, this fixes
crashes in the SDL audio callback when S_StopChannel clears fields while
they are being used in the mixer (this mostly crashed on level changes),
the mutex lock itself is done simply by calling SndSys_LockRenderBuffer

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

16 years agowhitespace
havoc [Sun, 2 Mar 2008 12:01:07 +0000 (12:01 +0000)]
whitespace

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

16 years agowhitespace
havoc [Sun, 2 Mar 2008 11:58:50 +0000 (11:58 +0000)]
whitespace

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

16 years agofix ev_field parser for savegames
havoc [Sat, 1 Mar 2008 13:24:42 +0000 (13:24 +0000)]
fix ev_field parser for savegames

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

16 years agoreenable stripping of release binaries
havoc [Sat, 1 Mar 2008 09:43:09 +0000 (09:43 +0000)]
reenable stripping of release binaries

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

16 years agofixed GL_CheckExtension to not even bother checking for an extension if
havoc [Sat, 1 Mar 2008 08:03:23 +0000 (08:03 +0000)]
fixed GL_CheckExtension to not even bother checking for an extension if
the name does not begin with GL_ or WGL_ or similar things

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

16 years agoinit gl_extensions and gl_platformextensions to "" before fetching
havoc [Sat, 1 Mar 2008 07:13:28 +0000 (07:13 +0000)]
init gl_extensions and gl_platformextensions to "" before fetching
wglfuncs

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

16 years agodon't bother doing two-pass window setup unless vid_samples is greater
havoc [Sat, 1 Mar 2008 06:54:30 +0000 (06:54 +0000)]
don't bother doing two-pass window setup unless vid_samples is greater
than 1

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

16 years agoclear some variables when VID_Shutdown is called (the other 3 vid
havoc [Sat, 1 Mar 2008 06:45:32 +0000 (06:45 +0000)]
clear some variables when VID_Shutdown is called (the other 3 vid
modules already did this)

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

16 years agomake sure that gl_extensions and gl_platformextensions are not NULL
havoc [Sat, 1 Mar 2008 06:34:17 +0000 (06:34 +0000)]
make sure that gl_extensions and gl_platformextensions are not NULL

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

16 years agono longer stripping darkplaces release executables, because debugging
havoc [Sat, 1 Mar 2008 05:40:04 +0000 (05:40 +0000)]
no longer stripping darkplaces release executables, because debugging
symbols are too useful for crash reports

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

16 years agofix two-layer quake sky in r_glsl 1 mode (was blending the alpha layer wrongly)
havoc [Sat, 1 Mar 2008 04:54:54 +0000 (04:54 +0000)]
fix two-layer quake sky in r_glsl 1 mode (was blending the alpha layer wrongly)

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

16 years agodefault gl_texturecompression_q3bspdeluxemaps to 0
havoc [Fri, 29 Feb 2008 15:17:39 +0000 (15:17 +0000)]
default gl_texturecompression_q3bspdeluxemaps to 0

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

16 years agouse a better cast on a parameter in a ToAscii call, might fix a warning,
havoc [Fri, 29 Feb 2008 10:37:26 +0000 (10:37 +0000)]
use a better cast on a parameter in a ToAscii call, might fix a warning,
probably not

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

16 years agofix warnings on qglGetString calls
havoc [Fri, 29 Feb 2008 10:31:06 +0000 (10:31 +0000)]
fix warnings on qglGetString calls

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

16 years agoa fix from Black for prevseparator, hopefully the only bug
havoc [Fri, 29 Feb 2008 09:58:15 +0000 (09:58 +0000)]
a fix from Black for prevseparator, hopefully the only bug

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

16 years agoRestored FS_Search patch.
black [Fri, 29 Feb 2008 09:23:05 +0000 (09:23 +0000)]
Restored FS_Search patch.

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

16 years agoReverted Black's filematch changes for now, because they were still broken and we...
divverent [Thu, 28 Feb 2008 21:38:08 +0000 (21:38 +0000)]
Reverted Black's filematch changes for now, because they were still broken and we need to release, and I don't see how to fix it. Issue: "ls *.cfg" doesn't show the cfgs from the file system, just from the pk3s (e.g. it missed config.cfg), and on Windows it even showed something even weirder: "*.cfgconfig.cfg".

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

16 years agofix a bug in FS_ChangeGameDirs (it was doing a CL_Disconnect - can't do
havoc [Thu, 28 Feb 2008 10:35:29 +0000 (10:35 +0000)]
fix a bug in FS_ChangeGameDirs (it was doing a CL_Disconnect - can't do
that because when connecting to a QW server it disconnects)

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

16 years agoreworked min/avg/max fps report in timedemo, now works again
havoc [Thu, 28 Feb 2008 10:01:04 +0000 (10:01 +0000)]
reworked min/avg/max fps report in timedemo, now works again

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

16 years agofixed a problem with snd_renderbuffer->endframe being updated in the
havoc [Thu, 28 Feb 2008 03:35:17 +0000 (03:35 +0000)]
fixed a problem with snd_renderbuffer->endframe being updated in the
wrong place, causing windows waveOut audio to fail

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

16 years agoI must have been smoking cannabis when I wrote this (a pity I dont smoke cannabis...
black [Wed, 27 Feb 2008 22:59:43 +0000 (22:59 +0000)]
I must have been smoking cannabis when I wrote this (a pity I dont smoke cannabis). Fix CSQC_Ent_Spawn handling.

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

16 years agoDon't try to render something when height or width are zero.
black [Wed, 27 Feb 2008 22:11:08 +0000 (22:11 +0000)]
Don't try to render something when height or width are zero.

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

16 years agoMake the "no such builtin" message more descriptive
divverent [Wed, 27 Feb 2008 19:04:49 +0000 (19:04 +0000)]
Make the "no such builtin" message more descriptive

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

16 years ago|sort
divverent [Wed, 27 Feb 2008 16:49:00 +0000 (16:49 +0000)]
|sort

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

16 years agoDP_QC_NUM_FOR_EDICT extension implemented by Blub
havoc [Wed, 27 Feb 2008 16:34:09 +0000 (16:34 +0000)]
DP_QC_NUM_FOR_EDICT extension implemented by Blub

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

16 years agoslight change in location of a piece of code, should have no effect
havoc [Wed, 27 Feb 2008 16:05:58 +0000 (16:05 +0000)]
slight change in location of a piece of code, should have no effect
(this makes it closer to the way it was)

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

16 years agofix a typo (but it was harmless)
havoc [Wed, 27 Feb 2008 16:04:46 +0000 (16:04 +0000)]
fix a typo (but it was harmless)

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

16 years agoimplemented threaded audio mixing for SDL client (required some
havoc [Wed, 27 Feb 2008 15:22:17 +0000 (15:22 +0000)]
implemented threaded audio mixing for SDL client (required some
minor clean up of S_PaintAndSubmit and the functions it called, the
buffer painting management makes a lot more sense now)
fixed bug with looping sounds mixing sound to the wrong part of the
buffer after looping (uses a pointer instead of paintbuffer now)

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

16 years agooops... double builtins suck
divverent [Wed, 27 Feb 2008 14:01:55 +0000 (14:01 +0000)]
oops... double builtins suck

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

16 years agooops... use upper case hex, as that matches URI::Escape module (HTTP allows both)
divverent [Wed, 27 Feb 2008 13:54:22 +0000 (13:54 +0000)]
oops... use upper case hex, as that matches URI::Escape module (HTTP allows both)

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

16 years agoDP_QC_URI_ESCAPE
divverent [Wed, 27 Feb 2008 13:51:57 +0000 (13:51 +0000)]
DP_QC_URI_ESCAPE

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

16 years agoone last try to beat the OSX texture scrolling bug (set activetexture
havoc [Wed, 27 Feb 2008 11:52:29 +0000 (11:52 +0000)]
one last try to beat the OSX texture scrolling bug (set activetexture
and clientactivetexture - even though only the former is needed, and do
so before switching the matrixmode to texture)

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

16 years agofix bug in wav loader that messed up loopstart, now looping sounds in
havoc [Wed, 27 Feb 2008 11:35:48 +0000 (11:35 +0000)]
fix bug in wav loader that messed up loopstart, now looping sounds in
quake work properly

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

16 years agofix toggle command's error message for cvars that are not found (thanks
havoc [Wed, 27 Feb 2008 08:43:29 +0000 (08:43 +0000)]
fix toggle command's error message for cvars that are not found (thanks
to metlslime for reporting this)

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

16 years agodisable adaptive mixahead when soundtimehack is non-zero (recording,
havoc [Wed, 27 Feb 2008 05:57:26 +0000 (05:57 +0000)]
disable adaptive mixahead when soundtimehack is non-zero (recording,
etc)

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

16 years agoimplemented adaptive mixahead at low framerates (ones too low for the
havoc [Wed, 27 Feb 2008 05:47:57 +0000 (05:47 +0000)]
implemented adaptive mixahead at low framerates (ones too low for the
current _snd_mixahead value)

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

16 years agoaudited PixelFormat setup code and made it request appropriate bit
havoc [Tue, 26 Feb 2008 12:28:33 +0000 (12:28 +0000)]
audited PixelFormat setup code and made it request appropriate bit
depths

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

16 years agoChange GLX visual acquisition to also try without sample buffers if samples == 1...
res [Tue, 26 Feb 2008 11:27:24 +0000 (11:27 +0000)]
Change GLX visual acquisition to also try without sample buffers if samples == 1 - some Mesa drivers don't provide visuals with any sample buffer

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

16 years agodisabled cull face on lightning beams
havoc [Tue, 26 Feb 2008 09:56:01 +0000 (09:56 +0000)]
disabled cull face on lightning beams

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

16 years agomade r_showbboxes disable cull face
havoc [Tue, 26 Feb 2008 09:55:47 +0000 (09:55 +0000)]
made r_showbboxes disable cull face

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

16 years agooops... too many colors in xpm
divverent [Mon, 25 Feb 2008 17:06:33 +0000 (17:06 +0000)]
oops... too many colors in xpm

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

16 years agoremove misleading print from FS "My Games" code
divverent [Mon, 25 Feb 2008 15:09:03 +0000 (15:09 +0000)]
remove misleading print from FS "My Games" code

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

16 years agoMove rt* states and the ambient value into r_refdef_scene. Menu now uses fullbright...
black [Mon, 25 Feb 2008 13:07:10 +0000 (13:07 +0000)]
Move rt* states and the ambient value into r_refdef_scene. Menu now uses fullbright rendering as default.

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

16 years agofix fields.server reference in surface attribute code
havoc [Mon, 25 Feb 2008 10:29:30 +0000 (10:29 +0000)]
fix fields.server reference in surface attribute code

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

16 years ago475
havoc [Mon, 25 Feb 2008 07:49:34 +0000 (07:49 +0000)]
475

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

16 years agofix bug with r_novis 1 not enabling r_wateralpha support on unvised maps
havoc [Mon, 25 Feb 2008 07:49:10 +0000 (07:49 +0000)]
fix bug with r_novis 1 not enabling r_wateralpha support on unvised maps

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

16 years agofix bug with rtlights not being imported from the map sometimes (caused
havoc [Mon, 25 Feb 2008 07:48:46 +0000 (07:48 +0000)]
fix bug with rtlights not being imported from the map sometimes (caused
by previous level having a lot of lights, exposing a bug in
Mem_ExpandableArray_IndexRange)

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

16 years agopatch from Blub that fixes csqc polygon rendering
havoc [Mon, 25 Feb 2008 00:24:12 +0000 (00:24 +0000)]
patch from Blub that fixes csqc polygon rendering

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

16 years agolibjpeg writing: turn off chroma subsampling. Really improves how strong colors look...
divverent [Sat, 23 Feb 2008 21:44:51 +0000 (21:44 +0000)]
libjpeg writing: turn off chroma subsampling. Really improves how strong colors look on screenshots (like, red healthpack models or text no longer appear blurred)

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

16 years agoRevert revisions 7946 and 7767. R_Upload now doesn't pass NULL data pointers on to...
black [Sat, 23 Feb 2008 10:27:46 +0000 (10:27 +0000)]
Revert revisions 7946 and 7767. R_Upload now doesn't pass NULL data pointers on to GL (specs and drivers don't like it).

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

16 years agodon't link dxguid.lib or dinput.lib anymore, since they're now unused
havoc [Fri, 22 Feb 2008 22:43:06 +0000 (22:43 +0000)]
don't link dxguid.lib or dinput.lib anymore, since they're now unused

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

16 years agoset csqc world.mins and world.maxs (reworked World_SetSize to make this
havoc [Fri, 22 Feb 2008 05:30:33 +0000 (05:30 +0000)]
set csqc world.mins and world.maxs (reworked World_SetSize to make this
easier)
moved the qc SV_Shutdown in Host_ShutdownServer to before clients are
kicked off
added qc SV_Shutdown call in SV_SpawnServer (before the progs reset)
fixed a bug with failed changelevel (which was unloading world)

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

16 years agopatch from Blub that fixes DrawQ_Line with GLSL mode
havoc [Thu, 21 Feb 2008 22:31:34 +0000 (22:31 +0000)]
patch from Blub that fixes DrawQ_Line with GLSL mode

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

16 years agofix severe bug in my previous screensaver-disable patch that caused all
havoc [Thu, 21 Feb 2008 11:50:57 +0000 (11:50 +0000)]
fix severe bug in my previous screensaver-disable patch that caused all
window widgets to be ignored (minimize, close, etc)

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

16 years agoanother todo item for csqc spec changes
havoc [Thu, 21 Feb 2008 11:40:53 +0000 (11:40 +0000)]
another todo item for csqc spec changes

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

16 years agoadded #ifdef SUPPORTDIRECTX checks around all the dinput and dsound code
havoc [Thu, 21 Feb 2008 10:21:41 +0000 (10:21 +0000)]
added #ifdef SUPPORTDIRECTX checks around all the dinput and dsound code
- this means that dinput and dsound is not removed but is disabled,
  making it easier to compile with Dev-C++ and stock MSVS, this may have
bad consequences (some people swear by -dinput, and dsound was used by
default unless -wavonly was specified, so this is a behavior change)

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

16 years agogo back to using main - apparently some platforms don't use SDL_main
havoc [Thu, 21 Feb 2008 09:36:14 +0000 (09:36 +0000)]
go back to using main - apparently some platforms don't use SDL_main

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

16 years agomade missing gamedir errors non-fatal warnings
havoc [Thu, 21 Feb 2008 09:25:11 +0000 (09:25 +0000)]
made missing gamedir errors non-fatal warnings

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

16 years agoadded Dev-C++ project for SDL client
havoc [Thu, 21 Feb 2008 07:49:06 +0000 (07:49 +0000)]
added Dev-C++ project for SDL client

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

16 years agochanged main to SDL_main for simplicity reasons
havoc [Thu, 21 Feb 2008 07:48:46 +0000 (07:48 +0000)]
changed main to SDL_main for simplicity reasons

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

16 years agoadded DP_QC_EDICT_NUM extension to list
havoc [Thu, 21 Feb 2008 06:18:11 +0000 (06:18 +0000)]
added DP_QC_EDICT_NUM extension to list

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

16 years agofix addstat type parameter, swapped 8 and 2
havoc [Thu, 21 Feb 2008 06:03:27 +0000 (06:03 +0000)]
fix addstat type parameter, swapped 8 and 2

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

16 years agofix bug in csqc getplayerkey reported by Blub
havoc [Thu, 21 Feb 2008 04:16:49 +0000 (04:16 +0000)]
fix bug in csqc getplayerkey reported by Blub

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

16 years agofix warning
divverent [Wed, 20 Feb 2008 06:04:12 +0000 (06:04 +0000)]
fix warning

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

16 years agochanged hostname for tchr's master from excalibur.nvg.ntnu.no to
havoc [Tue, 19 Feb 2008 23:01:27 +0000 (23:01 +0000)]
changed hostname for tchr's master from excalibur.nvg.ntnu.no to
dpmaster.tchr.no

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

16 years agoremoved tag override support in .skin files - because Quake3 actually
havoc [Mon, 18 Feb 2008 19:15:33 +0000 (19:15 +0000)]
removed tag override support in .skin files - because Quake3 actually
doesn't do that (it doesn't use the tag names in .skin at all)

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

16 years agoFix a parameter switch typo in the linux code.
black [Fri, 15 Feb 2008 19:31:27 +0000 (19:31 +0000)]
Fix a parameter switch typo in the linux code.

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

16 years agoNew attempt to change listdirectory.
black [Fri, 15 Feb 2008 15:03:06 +0000 (15:03 +0000)]
New attempt to change listdirectory.
FS_Search now also correctly processes wildcards everywhere (models/players/*/*.skin works now).

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

16 years agosplit Mod_GetMesh_Vertices into 3 AnimateVertices functions, chosen by
havoc [Fri, 15 Feb 2008 10:07:37 +0000 (10:07 +0000)]
split Mod_GetMesh_Vertices into 3 AnimateVertices functions, chosen by
model loaders, this should improve compile times a bit in MSVS

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

16 years agofix a typo
havoc [Thu, 14 Feb 2008 23:03:24 +0000 (23:03 +0000)]
fix a typo

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

16 years agoalways call Sleep(0) at the end of each frame on Windows, I hope this
havoc [Thu, 14 Feb 2008 23:03:11 +0000 (23:03 +0000)]
always call Sleep(0) at the end of each frame on Windows, I hope this
fixes problems with Logitech input drivers freezing the game for 50+
milliseconds every 3 seconds or so, and has no harm to framerate in
testing

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

16 years agoremove cl_alwayssleep, it only does what we want on Windows
havoc [Thu, 14 Feb 2008 23:01:28 +0000 (23:01 +0000)]
remove cl_alwayssleep, it only does what we want on Windows

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

16 years agoremove an unnecessary check in Sys_Sleep
havoc [Thu, 14 Feb 2008 23:01:01 +0000 (23:01 +0000)]
remove an unnecessary check in Sys_Sleep

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