]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Mon, 10 Jul 2006 07:56:26 +0000 (07:56 +0000)]
added detection of 4 more surfaceparms to hush warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6511
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 10 Jul 2006 07:35:06 +0000 (07:35 +0000)]
changed how ping report hiding operates, so that it only hides one ping report for each ping command issued by the scoreboard
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6510
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 10 Jul 2006 06:58:17 +0000 (06:58 +0000)]
fix bug where realtime was used instead of cl.time in player times on scoreboard
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6509
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 9 Jul 2006 09:54:52 +0000 (09:54 +0000)]
added bestweapon command
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6508
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 9 Jul 2006 08:34:39 +0000 (08:34 +0000)]
added ping and status command output parsing in the client, currently this is used to get pings in the scoreboard on Quake servers (and of course older DP servers), the server sends a pingplreport command after the human-readable ping report so that the packet loss display works (but only if the server supports this), changed client to send ping command instead of pings (at least until the next protocol version increase) and the client will not print ping report messages while the scoreboard is displayed. the status command parsing is not actually used at this time but could be the basis of iplog support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6507
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 9 Jul 2006 08:28:43 +0000 (08:28 +0000)]
cleaned up cl_netinputpacketspersecond code a little for more readability (no change in behavior)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6506
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 8 Jul 2006 09:34:54 +0000 (09:34 +0000)]
hide ping and packetloss displays if the values are both 0 (bots and local player for instance)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6505
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 8 Jul 2006 09:24:58 +0000 (09:24 +0000)]
added ping and packet loss display to scoreboard, and pings/pingplreport commands to make it work without changing protocol and without breaking demo compatibility either, this can work on any server that supports the pings command and replies with pingplreport
revised scoreboard layout and added column titles above it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6504
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sat, 8 Jul 2006 08:59:55 +0000 (08:59 +0000)]
Added 3D sound support to the Win32 backend (DirectSound and MMSYSTEM), i.e. to the WGL version
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6503
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Jul 2006 04:19:55 +0000 (04:19 +0000)]
changed most COM_ParseToken calls to COM_ParseTokenConsole, this fixed the kills listing in the savegame menu
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6502
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Jul 2006 04:19:05 +0000 (04:19 +0000)]
whitespace on blank lines removed
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6501
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 4 Jul 2006 07:03:18 +0000 (07:03 +0000)]
fixed transfusion data check (the mainmenu item numbering starts at 1, not 0)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6499
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 3 Jul 2006 19:46:07 +0000 (19:46 +0000)]
Cleaned the ugly code I committed for DP_FS_BASEDIR support (the environment variable is now only defined when needed)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6498
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Jul 2006 07:31:55 +0000 (07:31 +0000)]
fix issue with DP_FS_BASEDIR on Mac
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6496
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Jul 2006 01:31:21 +0000 (01:31 +0000)]
made nexuiz missing data fallback menu apply to all games when their main menu image is missing (the Open Console and Quit options are more useful than a bunch of checker squares)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6495
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Jul 2006 00:56:42 +0000 (00:56 +0000)]
force a gamma update if v_hwgamma value changes between 1 and 2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6494
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Jul 2006 00:11:03 +0000 (00:11 +0000)]
added v_hwgamma 2 (forced gamma, ignores driver returning failure) for testing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6493
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Jul 2006 00:02:30 +0000 (00:02 +0000)]
clean up of FL_ONGROUND checks in MOVE_TOSS/FLY/FLYMISSILE/BOUNCE/BOUNCEMISSILE/STEP code, this fixes items and monsters sometimes being left floating in the air after a trap door opens or when riding a func_train (most notably in the lava room of r1m5 of mission pack 2)
added sv_gameplayfix_upwardvelocityclearsongroundflag cvar to allow the upward velocity gameplay fix to be disabled if desired
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6492
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 2 Jul 2006 22:50:20 +0000 (22:50 +0000)]
fixed DP_FS_BASEDIR passing to gcc by adding single quotes around the entire contents of the -D parameter
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6491
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Fri, 30 Jun 2006 22:45:58 +0000 (22:45 +0000)]
Patch from div0 to fix autosprite
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6490
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Wed, 28 Jun 2006 08:30:26 +0000 (08:30 +0000)]
Patch from div0 to fix skyboxes in downloaded maps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6489
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Wed, 28 Jun 2006 08:11:31 +0000 (08:11 +0000)]
Fixed a bug in Matrix4x4_CopyTranslateOnly... which is never called. Oh well.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6488
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 25 Jun 2006 17:42:37 +0000 (17:42 +0000)]
Removed the extra definitions of hton[sl] and ntoh[sl] since apparently they are not necessary on any platform DP supports
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6487
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 25 Jun 2006 17:35:17 +0000 (17:35 +0000)]
You can now set a different default base directory at compile time, by defining DP_FS_BASEDIR to the new value (ex: make DP_FS_BASEDIR=/usr/local/games/quake release)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6486
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 25 Jun 2006 17:00:07 +0000 (17:00 +0000)]
Decreased the OSS buffer size, and cleaned some code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6485
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Fri, 23 Jun 2006 19:51:29 +0000 (19:51 +0000)]
The name of the SDL config program used by the makefiles is now configurable thanks to the SDL_CONFIG variable (ex: make SDL_CONFIG=sdl11-config sdl-release). Its default value is "sdl-config"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6484
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 23 Jun 2006 06:31:32 +0000 (06:31 +0000)]
fix gamma 'flicker' bug caused by gamma_forcenextframe being repeatedly set when gamma fails
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6483
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 22 Jun 2006 05:58:02 +0000 (05:58 +0000)]
fix some stupid bugs in gamma update code (why didn't I remove the forcenextframe variable?)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6482
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Tue, 20 Jun 2006 19:38:20 +0000 (19:38 +0000)]
Made S_ChooseCheaperFormat() a bit smarter
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6481
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 15 Jun 2006 06:13:08 +0000 (06:13 +0000)]
Fixed OGG Vorbis code when using OGGs with a sound frequency smaller than the sound output frequency (the code was wrongly using the OGG sound format instead of the output sound format to compute the streaming buffer size). Thanks to Dresk for reporting this problem
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6480
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Jun 2006 16:22:11 +0000 (16:22 +0000)]
reduce runaway loop counter limit from 1 billion to 10 million, as 1 billion takes a while
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6479
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Jun 2006 13:48:27 +0000 (13:48 +0000)]
added a section on replacement content, and some other edits
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6478
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 13 Jun 2006 16:25:55 +0000 (16:25 +0000)]
made FromString reject empty strings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6477
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 13 Jun 2006 13:09:23 +0000 (13:09 +0000)]
changed r_gls_deluxemapping 2 to not attempt to do fake deluxemapping on vertex lit surfaces
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6476
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 13 Jun 2006 09:15:36 +0000 (09:15 +0000)]
patch from div0 to make universal-binary builds of darkplaces possible on Mac OS X
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6475
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Jun 2006 21:25:29 +0000 (21:25 +0000)]
modified VID_RestoreSystemGamma to force a gamma update on next frame (if it turned off hardware gamma temporarily)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6474
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Jun 2006 21:24:48 +0000 (21:24 +0000)]
don't set vid_activewindow to false in Map/Unmap events, just in FocusIn/FocusOut
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6473
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Jun 2006 20:24:27 +0000 (20:24 +0000)]
check if master server address string is empty when sending heartbeats and master queries
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6472
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Jun 2006 12:43:47 +0000 (12:43 +0000)]
updated GLSL shader to match the one in Nexuiz 2.0, this fixes reliefmapping/offsetmapping on models, and improves performance on NVIDIA by using more half-precision math
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6471
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Mon, 12 Jun 2006 03:38:04 +0000 (03:38 +0000)]
Added libcurl.[ch] to MSVC project files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6470
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 23:24:18 +0000 (23:24 +0000)]
added HDR bloom feature, not very different from bloom but looks better, runs a bit slower
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6469
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 15:35:41 +0000 (15:35 +0000)]
don't allow $ expansion or sendcvar on rcon_password (added CVAR_PRIVATE flag for this purpose)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6468
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 15:35:08 +0000 (15:35 +0000)]
don't draw notify lines while r_letterbox is on
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6467
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 11 Jun 2006 14:13:09 +0000 (14:13 +0000)]
Fixed audio capture when the sound engine wasn't restarted right before the capture (thanks to FrikaC for reporting the bug)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6466
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 13:50:25 +0000 (13:50 +0000)]
removed crosshair_static cvar (now only the hud crosshair remains)
merged r_crosshairs.c into sbar.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6465
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 13:23:40 +0000 (13:23 +0000)]
removed team colored crosshair feature, removed crosshair brightness cvar, renamed crosshair_alpha to crosshair_color_alpha
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6464
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 13:18:01 +0000 (13:18 +0000)]
removed crosshair_flashspeed and crosshair_flashrange cvars (flashing is now gone)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6463
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 13:12:07 +0000 (13:12 +0000)]
changed the default crosshair textures to use greyscale instead of alpha fading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6462
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 13:03:45 +0000 (13:03 +0000)]
added crosshair_useteamcolor, crosshair_color_red, crosshair_color_green, and crosshair_color_blue cvars
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6461
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Jun 2006 12:46:07 +0000 (12:46 +0000)]
fixed 'slow gravity' bug when cl_movement players are not replying to all server frames
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6460
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 11 Jun 2006 09:30:59 +0000 (09:30 +0000)]
Fixed the 5.1 speaker layout when using SDL on Win32 (thanks to Willis for the report)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6459
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sat, 10 Jun 2006 18:22:20 +0000 (18:22 +0000)]
Added snd_channellayout to configure the speaker layout dynamically (0: auto, 1: standard, 2: ALSA)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6458
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sat, 10 Jun 2006 14:23:26 +0000 (14:23 +0000)]
When we're recording a demo, we must not stop rendering sound even when the application becomes inactive
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6457
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sat, 10 Jun 2006 14:00:25 +0000 (14:00 +0000)]
Removed some debug printings, and made some others requiring developer >= 100. Reset the soundcard after opening in the OSS module.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6456
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 10 Jun 2006 12:19:57 +0000 (12:19 +0000)]
disabled the broken cl_autodemo feature until Sajt fixes it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6455
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 17:30:56 +0000 (17:30 +0000)]
changed cvar default setup code such that cvar default strings are locked after executing default.cfg the first time (that is to say, their current values are copied into their default strings at this point), this fixes unsaved cvar problems in nexuiz caused by the default string being out of date on cvars that were modified by default.cfg
changed Reset To Defaults option in menu to use a newly added cvar_resettodefaults_all command before execing default.cfg to reset the binds
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6454
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 13:50:50 +0000 (13:50 +0000)]
trust the q3bsp NODRAW flag rather than the shader
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6453
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 09:49:36 +0000 (09:49 +0000)]
don't allocate a mempool or texture pool if a model file is not found (prevents buildup of 'progs/beam.mdl' memory/texture pools if it is not found)
audited 'if mod->loaded' checks to be more sure about unloading models even if they failed to load
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6451
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 07:50:42 +0000 (07:50 +0000)]
fixed another C99 lazy variable declaration bug in div0's physics patch
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6450
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 07:35:41 +0000 (07:35 +0000)]
another curl message patch from div0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6449
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 07:34:12 +0000 (07:34 +0000)]
libcurl.2.dylib is apparently compatible for our purposes and neatly adds Mac OS X Panther support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6448
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 07:30:17 +0000 (07:30 +0000)]
fix typo that caused crashes in detection of model animation in models with only one frame
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6447
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 07:04:40 +0000 (07:04 +0000)]
another patch from div0 to curl messages
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6446
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 06:50:19 +0000 (06:50 +0000)]
fix for continuously spewed curl error messages
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6445
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 05:28:07 +0000 (05:28 +0000)]
oops, forgot these
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6444
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 02:03:34 +0000 (02:03 +0000)]
web download patch from div0, this adds the "curl" console command, and the ability for servers to send a set of conditional curl commands which will download pk3 archives if specific files are missing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6443
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Jun 2006 01:56:11 +0000 (01:56 +0000)]
nexuiz prediction patch from div0, this adds two new cl_movement_airaccel_* cvars which change air control physics
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6442
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 8 Jun 2006 21:39:20 +0000 (21:39 +0000)]
The BSD audio module had the same bug as the OSS module (incorrectly reporting "audio can't keep up")
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6441
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Jun 2006 12:35:10 +0000 (12:35 +0000)]
fixed r_drawportals
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6440
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Jun 2006 11:16:52 +0000 (11:16 +0000)]
fixed collision bug on q3 light cones and other non-solid brushes that are not axial, now uses only the brush's supercontents value, not its surface textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6439
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Jun 2006 11:00:21 +0000 (11:00 +0000)]
no longer converts vertex-morph model formats to float arrays, instead keeping their geometry in the original formats from disk, this saves 1.2MB of memory in e1m2 and might slightly improve load times, it also preserves vertex normals to get rid of shading artifacts on texcoord seams
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6438
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Jun 2006 10:57:55 +0000 (10:57 +0000)]
added more image search paths so that md2 model skins load properly again, and to reduce problems for tenebrae model packs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6437
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 08:49:56 +0000 (08:49 +0000)]
don't crash if a quake button entity is on its alternate frames but doesn't actually have any to show
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6435
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 08:33:57 +0000 (08:33 +0000)]
don't crash if key bindings functions are called with bogus keynums
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6434
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 08:33:21 +0000 (08:33 +0000)]
fix a < 256 check that should have been < MAX_LIGHTSTYLES
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6433
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:34:11 +0000 (06:34 +0000)]
ignore GL_EXT_texture3D extension if it reports a bogus GL_MAX_3D_TEXTURE_SIZE
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6432
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:30:49 +0000 (06:30 +0000)]
extra check for gl_texture3d
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6431
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:28:30 +0000 (06:28 +0000)]
fix typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6430
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:20:18 +0000 (06:20 +0000)]
fix maps/ check to use 5 characters, not 4
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6429
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:19:54 +0000 (06:19 +0000)]
prevent Image_MipReduce from getting stuck in an infinite loop on 3D textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6428
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:03:29 +0000 (06:03 +0000)]
added stack trace printout to VM_remove warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6427
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:02:59 +0000 (06:02 +0000)]
don't save cvars that are at their default value
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6426
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 06:02:37 +0000 (06:02 +0000)]
fixed an unregistered cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6425
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 04:52:25 +0000 (04:52 +0000)]
disabled loading of csprogs.dat if developer is less than 100
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6424
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 7 Jun 2006 04:11:45 +0000 (04:11 +0000)]
added DP_GFX_EXTERNALTEXTURES_PERMAP extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6423
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 6 Jun 2006 11:12:52 +0000 (11:12 +0000)]
commented out S_StartSound <whatever> not precached message because it happens constantly if the file could not be found
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6422
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Tue, 6 Jun 2006 06:21:47 +0000 (06:21 +0000)]
Attempt to fix speaker layout for 5.1 and 7.1 sound, on Windows and Mac OS X; the sound engine now builds its speaker layout based on the OS and the snd_swapstereo cvar. Plus a minor fix for the OSS sound module (was incorrectly reporting "audio can't keep up")
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6421
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Tue, 6 Jun 2006 06:14:34 +0000 (06:14 +0000)]
Use our usual defines for detecting the OS type
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6420
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 4 Jun 2006 22:58:52 +0000 (22:58 +0000)]
Fixed the "nosound" cvar. Thanks to Willis for having reported this bug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6416
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 4 Jun 2006 10:57:24 +0000 (10:57 +0000)]
- the Linux sound modules (ALSA and OSS) are now write-based, instead of
mmap-based. It should fix the problems with inboard sound cards
- added 3 cvars controlling the sound output format: snd_speed,
snd_channels, and snd_width (default values: 48000, 2, and 2
respectively). They're saved in the config file.
- the checks for command line options and environment variables
modifying the sound output format are now common to all modules. The
command line options supported are: -sndmono, -sndstereo, -sndquad,
-sndspeed, and -sndbits. The environment variables supported are:
QUAKE_SOUND_CHANNELS, QUAKE_SOUND_SPEED, and QUAKE_SOUND_SAMPLEBITS.
- added a (still dumb) function to figure out a better sound format when
the initialization of the sound card failed
- sound modules can now suggest a sound format if the initialization of
the sound card failed
- you can now do a "snd_restart" while having modified snd_width and/or
snd_channel. Doing a snd_restart with a modified snd_speed isn't yet
supported, it will fall back to the previous speed
- The WGL video module was blocking the sound output when the
application window lost the focus. Now, this code is shared and the AGL,
GLX and SDL video modules implement such a mecanism
- A lot of minor fixes, changes, factorizations and rewrites all over
the sound engine code and its modules
- added CeilPowerOf2() in the math library
- fixed BSDmakefile for NetBSD
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6415
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 4 Jun 2006 07:29:19 +0000 (07:29 +0000)]
cl_bobmodel is now a saved cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6414
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 1 Jun 2006 06:59:30 +0000 (06:59 +0000)]
removed TE_VORESPIKE, no idea how it came into existence and it was never used
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6410
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 30 May 2006 20:53:57 +0000 (20:53 +0000)]
don't allow runaway loops caused by Con_Print during notify/console drawing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6409
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 30 May 2006 10:42:21 +0000 (10:42 +0000)]
fixed several crashes in video capture code when files fail to open
eliminated cl_capturevideo_sound cvar (now always on)
made sound capture non-realtime, by syncing sound mixer to capture frame while capture is active, this sounds horrible while recording but produces perfectly synced sound output to the .wav file
now numbers dpvideo files when saving, each one a higher number than the previous (the next number to use is saved to config), this allows capturing many short video clips without stopping to process the files
what this means: cl_capturevideo is now much more useful than before.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6408
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 30 May 2006 10:37:19 +0000 (10:37 +0000)]
fix unintended use of alpha test on 2d graphics (hud/menu/etc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6407
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 29 May 2006 11:59:46 +0000 (11:59 +0000)]
Updated Dev-C++ project files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6406
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 29 May 2006 05:54:07 +0000 (05:54 +0000)]
changed color control menu correction value to 0.5 (medium grey on linear color monitors)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6405
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 29 May 2006 05:51:24 +0000 (05:51 +0000)]
fixed repeated gamma ramp setting attempts in case of failure (again)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6404
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 28 May 2006 21:19:45 +0000 (21:19 +0000)]
fix bug that caused constant gamma ramp setting in windows in cases of failure
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6403
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 28 May 2006 20:43:18 +0000 (20:43 +0000)]
disable canjump check until it's fixed
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6402
d7cf8633 -e32d-0410-b094-
e92efae38249