16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoenabled SDL sound and CD
havoc [Sun, 10 Oct 2004 18:51:32 +0000 (18:51 +0000)]
enabled SDL sound and CD

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

16 years agofixed a signed/unsigned warning
havoc [Sun, 10 Oct 2004 18:51:05 +0000 (18:51 +0000)]
fixed a signed/unsigned warning

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

16 years agomade MapKey static since it's not used anywhere else
havoc [Sun, 10 Oct 2004 18:50:38 +0000 (18:50 +0000)]
made MapKey static since it's not used anywhere else

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

16 years agoremove quotes on say commands at the server end (like it used to, this is done a...
havoc [Sun, 10 Oct 2004 03:08:00 +0000 (03:08 +0000)]
remove quotes on say commands at the server end (like it used to, this is done a little cleaner though)

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

16 years ago315
havoc [Sat, 9 Oct 2004 18:30:00 +0000 (18:30 +0000)]

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

16 years agoadded SV_EntitiesInBox function to find entities within a box, merging the box testin...
havoc [Sat, 9 Oct 2004 02:03:39 +0000 (02:03 +0000)]
added SV_EntitiesInBox function to find entities within a box, merging the box testing in the trigger/trace code, and also greatly optimized PF_findradius using this function

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

16 years agofixed reconnect command which was being ignored by the client (forgot that it doesn...
havoc [Sat, 9 Oct 2004 01:56:14 +0000 (01:56 +0000)]
fixed reconnect command which was being ignored by the client (forgot that it doesn't know what came from the client console and what came from the server, so disabling it in the client console was a bad idea)

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

16 years agoadded "QC function <name> is missing" warnings to more PR_ExecuteProgram calls
havoc [Fri, 8 Oct 2004 20:15:00 +0000 (20:15 +0000)]
added "QC function <name> is missing" warnings to more PR_ExecuteProgram calls

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

16 years agosimplified r_rt* variable setup a little bit
havoc [Fri, 8 Oct 2004 20:12:16 +0000 (20:12 +0000)]
simplified r_rt* variable setup a little bit

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

16 years agogot rid of cl_nodelta cvar (it has never been useful, and rarely worked)
havoc [Fri, 8 Oct 2004 20:11:04 +0000 (20:11 +0000)]
got rid of cl_nodelta cvar (it has never been useful, and rarely worked)
got rid of ackframenum -1 handling
removed ackframenum from entityframe4 and entityframe5 databases as they didn't use it for anything anyway (it is used only temporarily inside the AckFrame functions)

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

16 years agofixed constant resetting of animation interpolation on entities that just spawned...
havoc [Fri, 8 Oct 2004 19:39:47 +0000 (19:39 +0000)]
fixed constant resetting of animation interpolation on entities that just spawned (fixes framegroup animation problems on non-static entities that don't change much)
changed movement interpolation to better handle every-other-frame updates which tend to happen with rate limiting

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

16 years agofix automatic addition of "color" field to be a vector
havoc [Fri, 8 Oct 2004 16:15:47 +0000 (16:15 +0000)]
fix automatic addition of "color" field to be a vector

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

16 years agocleaned up Host_Say to not process the message (MUCH simpler and I didn't trust that...
havoc [Fri, 8 Oct 2004 04:31:06 +0000 (04:31 +0000)]
cleaned up Host_Say to not process the message (MUCH simpler and I didn't trust that code anyway), fixed crash with fromServer messages (it was not checking teamonly, save is not a valid edict)

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

16 years agofix color problem with glow_trail (the blue trail bug)
havoc [Thu, 7 Oct 2004 18:55:13 +0000 (18:55 +0000)]
fix color problem with glow_trail (the blue trail bug)

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

16 years ago306
havoc [Thu, 7 Oct 2004 02:17:51 +0000 (02:17 +0000)]

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

16 years agofixed lingering entities in quake protocol (off by one error in the entity removal...
havoc [Thu, 7 Oct 2004 00:48:19 +0000 (00:48 +0000)]
fixed lingering entities in quake protocol (off by one error in the entity removal loop)

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

16 years agoadded cl_beams_* cvars to effects options menu
havoc [Thu, 7 Oct 2004 00:42:14 +0000 (00:42 +0000)]
added cl_beams_* cvars to effects options menu

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

16 years agonow should be able to connect to another server without leaving the current server...
havoc [Wed, 6 Oct 2004 19:39:01 +0000 (19:39 +0000)]
now should be able to connect to another server without leaving the current server until the connection is accepted

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

16 years agonow begins loading plaque at all the appropriate places, which also means an end...
havoc [Wed, 6 Oct 2004 19:31:09 +0000 (19:31 +0000)]
now begins loading plaque at all the appropriate places, which also means an end to sound during loading

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

16 years agofix nehahra movie support (forgot to handle its protocol number in MSG_ReadCoord)
havoc [Wed, 6 Oct 2004 17:10:44 +0000 (17:10 +0000)]
fix nehahra movie support (forgot to handle its protocol number in MSG_ReadCoord)

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

16 years agosprites now work with EF_NODEPTHTEST
havoc [Wed, 6 Oct 2004 00:26:37 +0000 (00:26 +0000)]
sprites now work with EF_NODEPTHTEST

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

16 years agoonly enable watershader on fullbright water
havoc [Tue, 5 Oct 2004 17:52:06 +0000 (17:52 +0000)]
only enable watershader on fullbright water

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

16 years agonow compiles on x86_64 successfully (still a crash regarding progs strings to fix...
havoc [Tue, 5 Oct 2004 17:44:16 +0000 (17:44 +0000)]
now compiles on x86_64 successfully (still a crash regarding progs strings to fix later)

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

16 years agoadded commandline options section
havoc [Tue, 5 Oct 2004 15:22:58 +0000 (15:22 +0000)]
added commandline options section

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

16 years agorevised commandline option comments for better categorization when sorted
havoc [Tue, 5 Oct 2004 15:22:17 +0000 (15:22 +0000)]
revised commandline option comments for better categorization when sorted

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

16 years agoadded COMMANDLINEOPTION comments for every commandline option, these will be listed...
havoc [Tue, 5 Oct 2004 14:08:15 +0000 (14:08 +0000)]
added COMMANDLINEOPTION comments for every commandline option, these will be listed in the readme

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

16 years agofix colormap checking in ValidateState, it was throwing out RENDER_COLORMAPPED colorm...
havoc [Mon, 4 Oct 2004 21:28:58 +0000 (21:28 +0000)]
fix colormap checking in ValidateState, it was throwing out RENDER_COLORMAPPED colormaps (which are not client numbers)

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

16 years agofix skybox in hlbsp not rendering
havoc [Mon, 4 Oct 2004 21:28:13 +0000 (21:28 +0000)]
fix skybox in hlbsp not rendering

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

16 years agoMSG_ReadAngle functions now return -180 to +180 range instead of 0-360 range which...
havoc [Mon, 4 Oct 2004 21:13:49 +0000 (21:13 +0000)]
MSG_ReadAngle functions now return -180 to +180 range instead of 0-360 range which should fix glitches with player model pitch when looking down

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

16 years ago305
havoc [Mon, 4 Oct 2004 20:44:53 +0000 (20:44 +0000)]

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

16 years agofix negative frags showing up as 65535 and such
havoc [Mon, 4 Oct 2004 18:50:30 +0000 (18:50 +0000)]
fix negative frags showing up as 65535 and such

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

16 years ago304
havoc [Mon, 4 Oct 2004 16:43:24 +0000 (16:43 +0000)]

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

16 years agofix a very stupid way of addressing memory which is not 64bit compatible in the mipte...
havoc [Mon, 4 Oct 2004 14:15:13 +0000 (14:15 +0000)]
fix a very stupid way of addressing memory which is not 64bit compatible in the miptex reader

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

16 years agoNUM_FOR_EDICT now casts to int so that it never returns a 64bit integer on 64bit...
havoc [Mon, 4 Oct 2004 14:04:05 +0000 (14:04 +0000)]
NUM_FOR_EDICT now casts to int so that it never returns a 64bit integer on 64bit compiles which sometimes end up getting passed to printf with the wrong format...

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

16 years agoAllocated the log queue earlier in Log_Init since Cvar_* functions now print develope...
molivier [Mon, 4 Oct 2004 06:58:57 +0000 (06:58 +0000)]
Allocated the log queue earlier in Log_Init since Cvar_* functions now print developer information

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

16 years agoMoved the clamping of volumes higher in the mixing code, so that 16 bit sounds are...
molivier [Mon, 4 Oct 2004 06:56:58 +0000 (06:56 +0000)]
Moved the clamping of volumes higher in the mixing code, so that 16 bit sounds are clamped too

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

16 years ago304
havoc [Sun, 3 Oct 2004 19:15:44 +0000 (19:15 +0000)]

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

16 years ago298
tomaz [Sun, 3 Oct 2004 19:08:15 +0000 (19:08 +0000)]

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

16 years agoremove support for GL_NV_vertex_array_range as it's obsolete and unused
havoc [Sun, 3 Oct 2004 10:27:50 +0000 (10:27 +0000)]
remove support for GL_NV_vertex_array_range as it's obsolete and unused

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

16 years agoadded -novideosync disable for WGL swap control
havoc [Sun, 3 Oct 2004 10:17:31 +0000 (10:17 +0000)]
added -novideosync disable for WGL swap control

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

16 years agofix cvar_string to check if the cvar exists
havoc [Sat, 2 Oct 2004 21:09:34 +0000 (21:09 +0000)]
fix cvar_string to check if the cvar exists

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

16 years ago298
havoc [Fri, 1 Oct 2004 14:07:59 +0000 (14:07 +0000)]

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

16 years ago299
havoc [Fri, 1 Oct 2004 14:05:47 +0000 (14:05 +0000)]

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

16 years ago323
havoc [Fri, 1 Oct 2004 10:43:24 +0000 (10:43 +0000)]

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

16 years agosave shorter rtlights lines when cubemap/corona/angles are not used, saves a bit...
havoc [Fri, 1 Oct 2004 08:39:08 +0000 (08:39 +0000)]
save shorter rtlights lines when cubemap/corona/angles are not used, saves a bit of space

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

16 years agofix an accidentally removed variable, and move a couple unused variables into the...
havoc [Fri, 1 Oct 2004 07:54:54 +0000 (07:54 +0000)]
fix an accidentally removed variable, and move a couple unused variables into the #else block they're used in

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

16 years agomade shadowvolume building about 40% faster by not using projectdistance
havoc [Thu, 30 Sep 2004 17:23:58 +0000 (17:23 +0000)]
made shadowvolume building about 40% faster by not using projectdistance

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

16 years agosped up nexuiz rtlights benchmark by 4% by optimizing box cull on models to skip...
havoc [Thu, 30 Sep 2004 16:38:54 +0000 (16:38 +0000)]
sped up nexuiz rtlights benchmark by 4% by optimizing box cull on models to skip triangle box cull when surface box is entirely inside light box
restructured R_Shadow_ConstructShadowVolume loops a bit to make for less stalls, this seems to have only netted a 0.5% speed gain or so

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