divverent/darkplaces.git
15 years agointernal cleanup: split up CL_SparkShower into CL_SparkShower, CL_Smoke, and CL_Bulle...
havoc [Wed, 3 Nov 2004 17:13:37 +0000 (17:13 +0000)]
internal cleanup: split up CL_SparkShower into CL_SparkShower, CL_Smoke, and CL_BulletMark so the effects parser can be a little cleaner, also added gravityscale to CL_SparkShower

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

15 years agoupdated cpu optimization choices
havoc [Wed, 3 Nov 2004 17:09:44 +0000 (17:09 +0000)]
updated cpu optimization choices

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

15 years agocenterprint is no longer limited to 40 characters wide, it can now use up to the...
havoc [Wed, 3 Nov 2004 07:20:55 +0000 (07:20 +0000)]
centerprint is no longer limited to 40 characters wide, it can now use up to the full vid.conwidth

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

15 years ago307
havoc [Sat, 30 Oct 2004 19:25:03 +0000 (19:25 +0000)]
307

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

15 years ago308
havoc [Sat, 30 Oct 2004 17:12:06 +0000 (17:12 +0000)]
308

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

15 years agoadded DP_SV_CLIENTCOLORS and DP_SV_CLIENTNAME extensions (these were already document...
havoc [Sat, 30 Oct 2004 13:50:16 +0000 (13:50 +0000)]
added DP_SV_CLIENTCOLORS and DP_SV_CLIENTNAME extensions (these were already documented and working but not listed)

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

15 years agoadded DP_SV_PING, DP_SV_PUNCHVECTOR, DP_SND_FAKETRACKS, and DP_FS_SEARCH extensions
havoc [Sat, 30 Oct 2004 13:46:22 +0000 (13:46 +0000)]
added DP_SV_PING, DP_SV_PUNCHVECTOR, DP_SND_FAKETRACKS, and DP_FS_SEARCH extensions
corrected builtin table comments for DP_FS_SEARCH functions
removed DP_SV_EXTERIORMODELTOCLIENT extension (no such thing, the extension is named DP_ENT_EXTERIORMODELTOCLIENT)

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

15 years agoadded DP_CON_SET and DP_CON_SETA extensions
havoc [Sat, 30 Oct 2004 12:03:59 +0000 (12:03 +0000)]
added DP_CON_SET and DP_CON_SETA extensions

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

15 years ago-Moved the entity mem init in the entity load functions around a bit to
black [Fri, 29 Oct 2004 14:37:19 +0000 (14:37 +0000)]
-Moved the entity mem init in the entity load functions around a bit to
 make it possible for the menu parser to support full templates.

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

15 years ago-Minor fix in VM_registercvar.
black [Fri, 29 Oct 2004 11:39:35 +0000 (11:39 +0000)]
-Minor fix in VM_registercvar.
-Added \" support to quoted strings in Com_ParseToken.
-Minor change to PRVM_PrintStatus.

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

15 years ago303
molivier [Thu, 28 Oct 2004 06:38:02 +0000 (06:38 +0000)]
303

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

15 years agochanged net_masterextra1 and 2 back to IP addresses (but kept their DNS names as...
havoc [Wed, 27 Oct 2004 18:29:51 +0000 (18:29 +0000)]
changed net_masterextra1 and 2 back to IP addresses (but kept their DNS names as comments), the DNS resolving takes too long, and caching it is non-trivial

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

15 years ago304
havoc [Wed, 27 Oct 2004 18:21:04 +0000 (18:21 +0000)]
304

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

15 years agonow aborts video capture if it falls behind by more than a second (as the sound is...
havoc [Wed, 27 Oct 2004 18:18:05 +0000 (18:18 +0000)]
now aborts video capture if it falls behind by more than a second (as the sound is likely hosed in that case)

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

15 years agogreatly improved video capture speed by generating the files much more directly ...
havoc [Wed, 27 Oct 2004 18:11:36 +0000 (18:11 +0000)]
greatly improved video capture speed by generating the files much more directly (less processing)
added a raw video .rgb output mode (making only one file instead of thousands, for a slight speed gain, assuming you have tools that can read it)
video capture now maintains sound sync by duplicating frames to keep up a consistent video output speed (warning: do not attempt higher speeds than your machine is capable of, it WILL fall behind and get progressively slower very fast)
rewrote much of Host_FilterTime to improve video capture and simplify timing in general
removed host_minfps (now uses sys_ticrate instead)
renamed host_maxfps to cl_maxfps (as it only ever affected the client anyway)
now runs multiple server frames if host is falling behind, based on sys_ticrate (mainly useful to avoid slowing down when client is rendering really slow)

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

15 years agoPure cleaning commit: removed "crc.[ch]" and "gl_warp_sin.h", removed dead functions...
molivier [Wed, 27 Oct 2004 15:50:47 +0000 (15:50 +0000)]
Pure cleaning commit: removed "crc.[ch]" and "gl_warp_sin.h", removed dead functions and dead variables, and moved several header includes out of "quakedef.h"

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

15 years agoUpdated Win32 sound module: the wave output code was partially rewritten since the...
molivier [Tue, 26 Oct 2004 14:48:43 +0000 (14:48 +0000)]
Updated Win32 sound module: the wave output code was partially rewritten since the old version was obviously pretty tied to Quake original output format; removed a few useless variables here and there; and a lot of whitespaces and comment changes, as usual

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

15 years agoget rid of the unused clearnotify and clearconsole variables
havoc [Tue, 26 Oct 2004 08:30:48 +0000 (08:30 +0000)]
get rid of the unused clearnotify and clearconsole variables

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

15 years agofix the "newname changed name to newname" bug
havoc [Tue, 26 Oct 2004 08:22:02 +0000 (08:22 +0000)]
fix the "newname changed name to newname" bug

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

15 years agomoved the map startup for -listen and -dedicated servers from startdemos to just...
havoc [Tue, 26 Oct 2004 07:50:27 +0000 (07:50 +0000)]
moved the map startup for -listen and -dedicated servers from startdemos to just after the config parsing, so that startdemos is no longer required

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

15 years agofixed 3 digit cdtracks loading (it was improperly checking the returned sfx, which...
havoc [Tue, 26 Oct 2004 07:41:31 +0000 (07:41 +0000)]
fixed 3 digit cdtracks loading (it was improperly checking the returned sfx, which is never NULL)

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

15 years agoS_LoadSound now automatically tries both with and without sound/ when loading sounds...
havoc [Tue, 26 Oct 2004 07:37:19 +0000 (07:37 +0000)]
S_LoadSound now automatically tries both with and without sound/ when loading sounds, which allows quake3 maps to work better, since their target_speaker entities include sound/ in the filenames, this also got rid of the stdpath parameter in the S_PrecacheSound/S_FindName/S_LocalSound calls)

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

15 years agocruft removal
havoc [Mon, 25 Oct 2004 16:09:13 +0000 (16:09 +0000)]
cruft removal

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

15 years agonow displays light number (and total number of lights) in r_editlights mode
havoc [Mon, 25 Oct 2004 16:08:55 +0000 (16:08 +0000)]
now displays light number (and total number of lights) in r_editlights mode

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

15 years agoDon't allow sound extra updates until the sounds have been spatialized (fix the noise...
molivier [Mon, 25 Oct 2004 15:55:19 +0000 (15:55 +0000)]
Don't allow sound extra updates until the sounds have been spatialized (fix the noise at startup). A few whitespaces and a couple of minor changes.

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

15 years agofix a signed/unsigned comparison warning
havoc [Mon, 25 Oct 2004 07:35:51 +0000 (07:35 +0000)]
fix a signed/unsigned comparison warning

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

15 years agofix a rare crash when a sound is emitted by an entity with a model whose precache...
havoc [Mon, 25 Oct 2004 07:35:08 +0000 (07:35 +0000)]
fix a rare crash when a sound is emitted by an entity with a model whose precache pointer is NULL, apparently this happens in the Fiend Run Lite demos

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

15 years agodon't warn about missing frames and skins in models that failed to load
havoc [Mon, 25 Oct 2004 07:33:02 +0000 (07:33 +0000)]
don't warn about missing frames and skins in models that failed to load

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

15 years agoFreeBSD support
molivier [Mon, 25 Oct 2004 07:13:18 +0000 (07:13 +0000)]
FreeBSD support

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

15 years ago308
tomaz [Sat, 23 Oct 2004 21:43:38 +0000 (21:43 +0000)]
308

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

15 years agomade traceon/traceoff take effect immediately (forgot to check for pr_trace change...
havoc [Sat, 23 Oct 2004 15:39:48 +0000 (15:39 +0000)]
made traceon/traceoff take effect immediately (forgot to check for pr_trace change where it mattered - after a builtin call)

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

15 years agoadded DP_SV_DROPCLIENT extension
havoc [Sat, 23 Oct 2004 10:41:43 +0000 (10:41 +0000)]
added DP_SV_DROPCLIENT extension

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

15 years agoremoved number field from client_t struct as it seemed to be behaving unreliably...
havoc [Sat, 23 Oct 2004 10:00:38 +0000 (10:00 +0000)]
removed number field from client_t struct as it seemed to be behaving unreliably in SV_DropClient (resulting in changes to the scoreboard entry for client 0, regardless of which client was dropped)

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

15 years agonow defaults to DirectInput in windows, -dinput option changed to -nodinput and readm...
havoc [Sat, 23 Oct 2004 09:46:26 +0000 (09:46 +0000)]
now defaults to DirectInput in windows, -dinput option changed to -nodinput and readme updated accordingly

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

15 years ago-Added the constant MAXTRACKS which is set to 256.
black [Sat, 23 Oct 2004 00:36:48 +0000 (00:36 +0000)]
-Added the constant MAXTRACKS which is set to 256.
 (remap has the type qbyte[256] now)
-CD_Play now also searches for fake tracks with 3 digits.
 (the old 2 digit search is kept for compatibility)

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

15 years ago309
tomaz [Fri, 22 Oct 2004 23:21:29 +0000 (23:21 +0000)]
309

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

15 years ago310
tomaz [Fri, 22 Oct 2004 18:31:46 +0000 (18:31 +0000)]
310

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

15 years agodon't crash on dlights trying to cast shadows from world surfaces when there is no...
havoc [Fri, 22 Oct 2004 10:56:42 +0000 (10:56 +0000)]
don't crash on dlights trying to cast shadows from world surfaces when there is no world model

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

15 years agoUpdated Transfusion map list
molivier [Fri, 22 Oct 2004 08:29:15 +0000 (08:29 +0000)]
Updated Transfusion map list

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

15 years ago- Added Mem_IsAllocated.
black [Thu, 21 Oct 2004 17:44:34 +0000 (17:44 +0000)]
- Added Mem_IsAllocated.
- Decreased the required parameter count of VM_strcat to 1.
- Added a check to VM_strunzone so it wont free already freed strings and
  thus crash the qc (only if developer != 0).

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

15 years agoVorteX fixed the "circle bug" in his SV_GetTagMatrix code
havoc [Thu, 21 Oct 2004 13:30:27 +0000 (13:30 +0000)]
VorteX fixed the "circle bug" in his SV_GetTagMatrix code

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

15 years agoSeveral changes for single player support in Transfusion (based on a patch by Kazashi)
molivier [Thu, 21 Oct 2004 09:04:27 +0000 (09:04 +0000)]
Several changes for single player support in Transfusion (based on a patch by Kazashi)

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

15 years agodon't allow Log_ConPrint to recurse into itself, as can happen with a memory corrupti...
havoc [Thu, 21 Oct 2004 08:45:59 +0000 (08:45 +0000)]
don't allow Log_ConPrint to recurse into itself, as can happen with a memory corruption report -> Log_ConPrint -> memory corruption report -> Log_ConPrint -> ...

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

15 years ago313
havoc [Wed, 20 Oct 2004 13:41:05 +0000 (13:41 +0000)]
313

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

15 years agoif a (supposedly) quake sky texture is not 128x256, upload it just as a solid layer
havoc [Wed, 20 Oct 2004 13:30:42 +0000 (13:30 +0000)]
if a (supposedly) quake sky texture is not 128x256, upload it just as a solid layer

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

15 years agonow loads a .ent file for lights if found
havoc [Wed, 20 Oct 2004 13:29:07 +0000 (13:29 +0000)]
now loads a .ent file for lights if found

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

15 years agoignore first mouse move after mouse grab as it's generally garbage
havoc [Wed, 20 Oct 2004 13:19:48 +0000 (13:19 +0000)]
ignore first mouse move after mouse grab as it's generally garbage

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

15 years agomessagemode/messagemode2 now send the say/say_team command directly instead of passin...
havoc [Wed, 20 Oct 2004 12:58:15 +0000 (12:58 +0000)]
messagemode/messagemode2 now send the say/say_team command directly instead of passing through the client console, so that typing something like ";quit" as a message does not quit the game

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

15 years agofixed r_restart skybox crash (as well as incorrect texture bugs related to this)...
havoc [Wed, 20 Oct 2004 11:58:58 +0000 (11:58 +0000)]
fixed r_restart skybox crash (as well as incorrect texture bugs related to this), and moved alphaskytexture/solidskytexture to q1bsp texture loader, now part of the world model instead of separate

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

15 years agoImage_WriteTGARGBA now writes 8 as the attributes byte (which GIMP seems to need...
havoc [Wed, 20 Oct 2004 07:18:40 +0000 (07:18 +0000)]
Image_WriteTGARGBA now writes 8 as the attributes byte (which GIMP seems to need to recognize the alpha channel)

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

15 years agoremoved a pmodel reference I forgot to remove
havoc [Wed, 20 Oct 2004 04:16:32 +0000 (04:16 +0000)]
removed a pmodel reference I forgot to remove

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

15 years agofix problems with losing colors on connect and leaving ghosts on the scoreboard and...
havoc [Wed, 20 Oct 2004 02:40:59 +0000 (02:40 +0000)]
fix problems with losing colors on connect and leaving ghosts on the scoreboard and other glitches related to edict clearing

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

15 years agoEnlarged particle font from 256x256 to 512x512 and added saving of the font to a...
tomaz [Tue, 19 Oct 2004 11:32:35 +0000 (11:32 +0000)]
Enlarged particle font from 256x256 to 512x512 and added saving of the font to a TGA (#if 0 'd)

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

15 years agoreset nametime at prespawn (before name command is sent by client) and spawn (after...
havoc [Tue, 19 Oct 2004 10:58:50 +0000 (10:58 +0000)]
reset nametime at prespawn (before name command is sent by client) and spawn (after name command is sent by client)

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

15 years agoremove unused variables
havoc [Tue, 19 Oct 2004 09:57:09 +0000 (09:57 +0000)]
remove unused variables

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

15 years agoinstead of sending a scoreboard update in the DropClient code, let it happen at the...
havoc [Tue, 19 Oct 2004 09:54:36 +0000 (09:54 +0000)]
instead of sending a scoreboard update in the DropClient code, let it happen at the next SV_UpdateToReliableMessages

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

15 years agofixed problem with lost scoreboard messages to a client that is still loading
havoc [Tue, 19 Oct 2004 09:53:31 +0000 (09:53 +0000)]
fixed problem with lost scoreboard messages to a client that is still loading

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

15 years agoHost_Shutdown now calls CL_Disconnect and Host_ShutdownServer so that quitting withou...
havoc [Tue, 19 Oct 2004 09:44:14 +0000 (09:44 +0000)]
Host_Shutdown now calls CL_Disconnect and Host_ShutdownServer so that quitting without using the quit command no longer leaves a player connected to the server

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

15 years agocleaned up scoreboard printing loops a bit (they don't need to check if the name...
havoc [Tue, 19 Oct 2004 08:14:33 +0000 (08:14 +0000)]
cleaned up scoreboard printing loops a bit (they don't need to check if the name is empty)
fixed (I think, after much testing) the duplicate names bug in the mini scoreboard by changing a bound to a separate max and min (evidently the loop index was starting < 0)

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

15 years agoadded mention in credits of romi's rtlights pk3 being included in dpmod
havoc [Tue, 19 Oct 2004 00:48:15 +0000 (00:48 +0000)]
added mention in credits of romi's rtlights pk3 being included in dpmod

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

15 years agoFinally removed the Win32 specific code from "snd_main.c". Changed a few comments...
molivier [Mon, 18 Oct 2004 15:18:36 +0000 (15:18 +0000)]
Finally removed the Win32 specific code from "snd_main.c". Changed a few comments and fixed a typo in the process.

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

15 years agoadd support for 32bit color in SDL builds
havoc [Mon, 18 Oct 2004 10:16:26 +0000 (10:16 +0000)]
add support for 32bit color in SDL builds

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

15 years ago-Renamed two builtins of the new VM
black [Sun, 17 Oct 2004 19:48:02 +0000 (19:48 +0000)]
-Renamed two builtins of the new VM
-Fixed the hud weapon selection

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

15 years agosnap curve vertices to solve some finicky collision problems and probably also makes...
havoc [Sun, 17 Oct 2004 11:51:38 +0000 (11:51 +0000)]
snap curve vertices to solve some finicky collision problems and probably also makes things look a little better where two curves meet in some cases

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

15 years agofix an incomplete edit on variable naming
havoc [Sun, 17 Oct 2004 11:48:29 +0000 (11:48 +0000)]
fix an incomplete edit on variable naming

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

15 years agonow using all-new Q3 patch tesselation code, matching Quake3 pretty well
havoc [Sun, 17 Oct 2004 11:40:40 +0000 (11:40 +0000)]
now using all-new Q3 patch tesselation code, matching Quake3 pretty well

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

15 years agoincreased edge hash size from 1024 items to 16384, cutting down on long q3bsp load...
havoc [Sun, 17 Oct 2004 11:19:18 +0000 (11:19 +0000)]
increased edge hash size from 1024 items to 16384, cutting down on long q3bsp load times when generating the shadow mesh

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

15 years agoadded VorteX to thanks list
havoc [Sun, 17 Oct 2004 11:16:42 +0000 (11:16 +0000)]
added VorteX to thanks list

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

15 years agoadded DP_QC_GETTAGINFO extension (thanks VorteX!)
havoc [Sun, 17 Oct 2004 11:15:57 +0000 (11:15 +0000)]
added DP_QC_GETTAGINFO extension (thanks VorteX!)

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

15 years ago314
havoc [Sun, 17 Oct 2004 07:42:29 +0000 (07:42 +0000)]
314

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

15 years agoadded |Rain| and feh to credits
havoc [Sun, 17 Oct 2004 02:24:58 +0000 (02:24 +0000)]
added |Rain| and feh to credits

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

15 years agofixed an unused variable warning
havoc [Sat, 16 Oct 2004 21:47:45 +0000 (21:47 +0000)]
fixed an unused variable warning

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

15 years ago315
havoc [Sat, 16 Oct 2004 21:34:42 +0000 (21:34 +0000)]
315

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

15 years agodon't spew shaders to console on load unless developer is 2 or higher
havoc [Sat, 16 Oct 2004 21:33:04 +0000 (21:33 +0000)]
don't spew shaders to console on load unless developer is 2 or higher

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

15 years agoforgot to remove a debugging test that emitted sparks from autosprite2 shaders
havoc [Sat, 16 Oct 2004 20:28:51 +0000 (20:28 +0000)]
forgot to remove a debugging test that emitted sparks from autosprite2 shaders

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

15 years agohush reconnect command warning about signon 0 because it happens all the time
havoc [Sat, 16 Oct 2004 11:58:31 +0000 (11:58 +0000)]
hush reconnect command warning about signon 0 because it happens all the time

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

15 years agonow parses more of q3 shaders to guess at proper rendering settings for surfaces...
havoc [Sat, 16 Oct 2004 11:29:13 +0000 (11:29 +0000)]
now parses more of q3 shaders to guess at proper rendering settings for surfaces, now implemented are additive blend, deformvertexes autosprite (and autosprite2), nomipmaps, nopicmip, cull twosided/none/disable, surfaceparm nomipmap
now assumes that a q3 texture is not transparent unless it has a shader saying it is (yes shaders are now required to enable transparency in q3bsp)
now loads the texture used in the first pass of the shader if there is no texture of the same name as the shader itself
what this all means: quake3 maps look 99% correct (other than lack of animation and various shader effects)

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

15 years ago-Added static, global baseDC and baseRC variables to avoid having to call
black [Sat, 16 Oct 2004 09:56:56 +0000 (09:56 +0000)]
-Added static, global baseDC and baseRC variables to avoid having to call
 qwglGetCurrent* all the time.

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

15 years agofixed a typo in the numtriangles commit (should have been num_triangles)
havoc [Sat, 16 Oct 2004 07:00:52 +0000 (07:00 +0000)]
fixed a typo in the numtriangles commit (should have been num_triangles)

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

15 years agoskip surfaces with no triangles in Q3BSP rendering code to avoid a R_Mesh_Draw warning
havoc [Sat, 16 Oct 2004 06:58:28 +0000 (06:58 +0000)]
skip surfaces with no triangles in Q3BSP rendering code to avoid a R_Mesh_Draw warning

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

15 years agodon't check visframe on q3bsp surfaces, it's not used
havoc [Sat, 16 Oct 2004 05:52:36 +0000 (05:52 +0000)]
don't check visframe on q3bsp surfaces, it's not used

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

15 years agoexpanded PR_PrintState from 5 statements to 8 statements printed, to give more chance...
havoc [Sat, 16 Oct 2004 04:50:44 +0000 (04:50 +0000)]
expanded PR_PrintState from 5 statements to 8 statements printed, to give more chance of seeing the parameters to a function in warnings/crashes

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

15 years agoadded reporting of what model is unprecached in no precache warning
havoc [Sat, 16 Oct 2004 04:49:07 +0000 (04:49 +0000)]
added reporting of what model is unprecached in no precache warning

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

15 years agoadded MoALTz to thanks list
havoc [Sat, 16 Oct 2004 04:48:18 +0000 (04:48 +0000)]
added MoALTz to thanks list

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

15 years agoforgot to give strlcat a size
havoc [Fri, 15 Oct 2004 23:22:38 +0000 (23:22 +0000)]
forgot to give strlcat a size

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

15 years agoadded a newline to chat messages
havoc [Fri, 15 Oct 2004 23:09:13 +0000 (23:09 +0000)]
added a newline to chat messages

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

15 years agoadded -lSDL to the windows SDL link flags
havoc [Fri, 15 Oct 2004 21:20:26 +0000 (21:20 +0000)]
added -lSDL to the windows SDL link flags

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

15 years ago-Added a more descriptive comment for prvm_edict_t::p
black [Fri, 15 Oct 2004 21:18:02 +0000 (21:18 +0000)]
-Added a more descriptive comment for prvm_edict_t::p
-Added 3 new builtins to the new VM: ftoe, etof, parseentitydata
-Changed the Win32 driver to reuse the GL hDC if possible instead of
 calling GetDC and ReleaseDC every frame.

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

15 years agochanged main() argv parameter to non-const, and casting it to const on assignment...
havoc [Fri, 15 Oct 2004 21:08:25 +0000 (21:08 +0000)]
changed main() argv parameter to non-const, and casting it to const on assignment instead, this should fix an SDL compilation problem

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

15 years agoadded DP_LITSPRITES extension string
havoc [Fri, 15 Oct 2004 20:25:17 +0000 (20:25 +0000)]
added DP_LITSPRITES extension string

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

15 years ago315
havoc [Fri, 15 Oct 2004 07:08:46 +0000 (07:08 +0000)]
315

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

15 years agonow shows status messages in join game menu when a server is typed in manually (it...
havoc [Fri, 15 Oct 2004 07:08:12 +0000 (07:08 +0000)]
now shows status messages in join game menu when a server is typed in manually (it was only showing them in the server list, oops), also added additional status messages

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

15 years agoreduced cl_net* cvars to just cl_netlocalping and cl_netpacketloss and removed sv_net...
havoc [Fri, 15 Oct 2004 06:56:18 +0000 (06:56 +0000)]
reduced cl_net* cvars to just cl_netlocalping and cl_netpacketloss and removed sv_netpacketloss cvars

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

15 years agorevert an optimization to shadow volume generation that saved a little cpu time but...
havoc [Fri, 15 Oct 2004 06:53:41 +0000 (06:53 +0000)]
revert an optimization to shadow volume generation that saved a little cpu time but cost a lot of gpu fillrate, and caused shadows to randomly invert sometimes

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

15 years agothanks much to Moz for fixing the r_stereo_separation code, it now has proper eye...
havoc [Wed, 13 Oct 2004 23:28:50 +0000 (23:28 +0000)]
thanks much to Moz for fixing the r_stereo_separation code, it now has proper eye positioning and looks MUCH better

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

15 years agoFixed a couple of comments, and modified slightly the developer printing in ResampleSfx
molivier [Wed, 13 Oct 2004 13:45:16 +0000 (13:45 +0000)]
Fixed a couple of comments, and modified slightly the developer printing in ResampleSfx

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

15 years agosnd_dma.c -> snd_main.c
molivier [Wed, 13 Oct 2004 13:42:10 +0000 (13:42 +0000)]
snd_dma.c -> snd_main.c

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

15 years agoLots of minor fixes and improvements to the sound engine, plus a few more important...
molivier [Wed, 13 Oct 2004 07:03:57 +0000 (07:03 +0000)]
Lots of minor fixes and improvements to the sound engine, plus a few more important changes:
- moved the internal structures and API into a separate file (snd_main.h)
- added a lock mecanism on SFXs to free them as soon as they're no longer used
- simplified the sound API
- minor fixes and comment changes here and there
- independent sound volume for fake CD tracks
- updated MSVC and Dev-C++ project files accordingly
- removed unused functions
- added a SFX flag to make sure the engine complains at most one time for each missing sound file
- made the SFX list a linked list to remove the hardcoded limit for the number of SFX a client can handle
- changed the way ambient sounds are managed to be more consistent with the new API
- factorized some code
- removed the useless IN_Accumulate in the Win32 specific code
- removed the table for 8bit sound mixing (snd_scaletable)

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

15 years ago-Its now possible to add support for other edict_private structs easily.
black [Tue, 12 Oct 2004 19:08:30 +0000 (19:08 +0000)]
-Its now possible to add support for other edict_private structs easily.
(Note: You have to derive them by composition from the original one -
e.g. struct server_edict_private_s { prvm_edict_private_t base; ... };
or just copy the elements from prvm_edict_private_t into the new struct -
and add them to the anonymous union p in prvm_edict_t.)

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

15 years agoallow invalid skin numbers on entities using tenebrae dlights (falling back to the...
havoc [Tue, 12 Oct 2004 17:27:06 +0000 (17:27 +0000)]
allow invalid skin numbers on entities using tenebrae dlights (falling back to the model's skin 0 for actual rendering, but using the skin number for a dlight cubemap)

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