]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
20 years ago315
havoc [Sat, 9 Oct 2004 18:30:00 +0000 (18:30 +0000)]
315

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

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

20 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

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

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

20 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

20 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

20 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

20 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

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

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

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

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

20 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

20 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

20 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

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

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

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

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

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

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

20 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

20 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

20 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

20 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

20 years agoremoved a few fields from q3msurface_t
havoc [Thu, 30 Sep 2004 10:05:01 +0000 (10:05 +0000)]
removed a few fields from q3msurface_t
added a facelist to each q3mtexture_t so that the renderer can build a list of faces of the same texture without any face->texture comparisons
rewrote R_Q3BSP_DrawSky and R_Q3BSP_Draw, this improved a nexuiz timedemo with no rtlights by 116%

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

20 years agorecalculate model->brushq3.num_leafs during loading because some broken q3map/q3map2...
havoc [Wed, 29 Sep 2004 10:50:28 +0000 (10:50 +0000)]
recalculate model->brushq3.num_leafs during loading because some broken q3map/q3map2 compiler versions actually count submodels as leafs in the bsp file

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

20 years agoupdated darkplaces icon with 6 sizes of 32bit (XP icon) and 4 sizes of 8bit (non...
havoc [Tue, 28 Sep 2004 09:15:04 +0000 (09:15 +0000)]
updated darkplaces icon with 6 sizes of 32bit (XP icon) and 4 sizes of 8bit (non-XP icon), thanks de-we

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

20 years ago324
havoc [Tue, 28 Sep 2004 06:59:21 +0000 (06:59 +0000)]
324

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

20 years agoimplemented DP_EF_NODEPTHTEST extension
havoc [Tue, 28 Sep 2004 06:38:45 +0000 (06:38 +0000)]
implemented DP_EF_NODEPTHTEST extension

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

20 years agouse a less bizarre method of byte swapping q1bsp/q3bsp headers
havoc [Tue, 28 Sep 2004 05:34:59 +0000 (05:34 +0000)]
use a less bizarre method of byte swapping q1bsp/q3bsp headers

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

20 years ago325
tomaz [Mon, 27 Sep 2004 22:03:22 +0000 (22:03 +0000)]
325

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

20 years ago326
tomaz [Mon, 27 Sep 2004 22:00:16 +0000 (22:00 +0000)]
326

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

20 years ago327
havoc [Mon, 27 Sep 2004 13:41:21 +0000 (13:41 +0000)]
327

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

20 years agoupgraded particle font texture to 512x512 and changed the blood texture, and made...
havoc [Mon, 27 Sep 2004 13:39:27 +0000 (13:39 +0000)]
upgraded particle font texture to 512x512 and changed the blood texture, and made blood splats larger (to make use of the more detailed texture)

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

20 years agofixed r_shadow_realtime_world_lightmaps cvar control to be a slider, it was a checkbox
havoc [Mon, 27 Sep 2004 11:31:52 +0000 (11:31 +0000)]
fixed r_shadow_realtime_world_lightmaps cvar control to be a slider, it was a checkbox

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

20 years ago325
havoc [Mon, 27 Sep 2004 07:09:58 +0000 (07:09 +0000)]
325

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

20 years ago326
tomaz [Mon, 27 Sep 2004 06:12:30 +0000 (06:12 +0000)]
326

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

20 years ago327 and reformatted notify list to sort by name first
havoc [Mon, 27 Sep 2004 01:29:47 +0000 (01:29 +0000)]
327 and reformatted notify list to sort by name first

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

20 years ago329
tomaz [Sun, 26 Sep 2004 23:10:06 +0000 (23:10 +0000)]
329

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

20 years agofix recently added notifies to say who to notify
havoc [Sun, 26 Sep 2004 14:02:21 +0000 (14:02 +0000)]
fix recently added notifies to say who to notify

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

20 years ago336
havoc [Sun, 26 Sep 2004 13:47:27 +0000 (13:47 +0000)]
336

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

20 years agostatic entities now light and shadow properly
havoc [Sun, 26 Sep 2004 13:42:22 +0000 (13:42 +0000)]
static entities now light and shadow properly

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

20 years agominor cleanup - merged R_UpdateWorld into other places
havoc [Sun, 26 Sep 2004 13:23:06 +0000 (13:23 +0000)]
minor cleanup - merged R_UpdateWorld into other places

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

20 years agor_fullbright 1 now works properly with r_shadow_realtime_world 1 (why anyone would...
havoc [Sun, 26 Sep 2004 13:11:04 +0000 (13:11 +0000)]
r_fullbright 1 now works properly with r_shadow_realtime_world 1 (why anyone would want to do this? no idea)

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

20 years agoadded r_rtworld, r_rtworldshadows, r_rtdlight, r_rtdlightshadows, and r_lightmapinten...
havoc [Sun, 26 Sep 2004 12:46:40 +0000 (12:46 +0000)]
added r_rtworld, r_rtworldshadows, r_rtdlight, r_rtdlightshadows, and r_lightmapintensity cvars to greatly clean up the handling of the various rtlight/normal rendering modes
ifixed lighting problems on transparent alias models in r_shadow_realtime_world mode with r_shadow_realtime_world_lightmaps < 1 (note: still does not use the rtlights entities, just bsp model light queries like lightmap mode uses)
cleaned up handling regarding RENDER_LIGHT, RENDER_SHADOW, EF_ADDITIVE, alpha, r_fullbright, RENDER_EXTERIORMODEL, and model->flags (now the EF_ADDITIVE and EF_FULLBRIGHT flags were moved to model->flags2)
tag children now inherit RENDER_EXTERIORMODEL from their parent so you can simply attach an external weapon model to the player model and it will appear/disappear according to chase_active appropriately

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

20 years agoremoved some very stale dead code
havoc [Sun, 26 Sep 2004 12:14:37 +0000 (12:14 +0000)]
removed some very stale dead code

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

20 years agoFixed some errors in the vid_vsync code.
tomaz [Sun, 26 Sep 2004 11:25:11 +0000 (11:25 +0000)]
Fixed some errors in the vid_vsync code.

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

20 years agoremove unused variable generatenormals
havoc [Sun, 26 Sep 2004 04:06:45 +0000 (04:06 +0000)]
remove unused variable generatenormals

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

20 years agofix R_Shadow_UpdateWorldLight (used by editing commands) to set cubemap even if it...
havoc [Sun, 26 Sep 2004 02:23:11 +0000 (02:23 +0000)]
fix R_Shadow_UpdateWorldLight (used by editing commands) to set cubemap even if it's an empty string, otherwise it's impossible to remove a cubemap on a light

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

20 years agoadded a Mod_BuildNormals function to accelerate vertex lighting which doesn't need...
havoc [Thu, 23 Sep 2004 01:44:33 +0000 (01:44 +0000)]
added a Mod_BuildNormals function to accelerate vertex lighting which doesn't need texture vectors
moved vertex blending function from gl_models.c to model_alias.c and renamed accordingly
model loader now compiles frame zero into raw arrays because most models are not animated, this speeds up non-animated models, and anything else idling on frame 0, this eliminates vertex processing in many cases

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

20 years agomade quakec stuffed quake1 protocol entities work alongside newer protocols, to attem...
havoc [Tue, 21 Sep 2004 09:34:06 +0000 (09:34 +0000)]
made quakec stuffed quake1 protocol entities work alongside newer protocols, to attempt to fix the ending of Scourge of Armagon (still not working properly yet, camera is not taking the angles except in PROTOCOL_QUAKE mode)
also fixed separator positioning in Com_HexDumpToConsole (used for packet dumps)

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

20 years agothis should fix a stupid bug with PROTOCOL_DARKPLACES4 clc_ackentities (client wasn...
havoc [Tue, 21 Sep 2004 09:18:30 +0000 (09:18 +0000)]
this should fix a stupid bug with PROTOCOL_DARKPLACES4 clc_ackentities (client wasn't using the right framenum variable)

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

20 years agocorrected name of NXQ_GFX_LETTERBOX (it was misnamed PXQ_GFX_LETTERBOX, my mistake...
havoc [Tue, 21 Sep 2004 07:03:49 +0000 (07:03 +0000)]
corrected name of NXQ_GFX_LETTERBOX (it was misnamed PXQ_GFX_LETTERBOX, my mistake, sorry)

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

20 years ago340
havoc [Tue, 21 Sep 2004 03:14:39 +0000 (03:14 +0000)]
340

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

20 years ago341
havoc [Mon, 20 Sep 2004 21:42:34 +0000 (21:42 +0000)]
341

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

20 years agoadded PXQ_GFX_LETTERBOX extension
havoc [Mon, 20 Sep 2004 05:51:21 +0000 (05:51 +0000)]
added PXQ_GFX_LETTERBOX extension

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

20 years agochanged net_master's to ghdigital.com and dpmaster.deathmask.net (names instead of...
havoc [Mon, 20 Sep 2004 04:45:51 +0000 (04:45 +0000)]
changed net_master's to ghdigital.com and dpmaster.deathmask.net (names instead of IPs)

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

20 years ago339
tomaz [Sat, 18 Sep 2004 21:25:11 +0000 (21:25 +0000)]
339

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

20 years ago340
havoc [Sat, 18 Sep 2004 20:46:33 +0000 (20:46 +0000)]
340

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

20 years ago341
tomaz [Sat, 18 Sep 2004 17:53:08 +0000 (17:53 +0000)]
341

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

20 years ago343 (+1 -2)
havoc [Sat, 18 Sep 2004 17:48:12 +0000 (17:48 +0000)]
343 (+1 -2)

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

20 years agorevert to saving normal cvar commands instead of seta, for compatibility with other...
havoc [Sat, 18 Sep 2004 17:44:12 +0000 (17:44 +0000)]
revert to saving normal cvar commands instead of seta, for compatibility with other quake engines

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

20 years agoAdded confirm question to "Reset to Defaults" option.
tomaz [Sat, 18 Sep 2004 17:30:55 +0000 (17:30 +0000)]
Added confirm question to "Reset to Defaults" option.

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

20 years ago344
tomaz [Fri, 17 Sep 2004 22:16:58 +0000 (22:16 +0000)]
344

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

20 years agoFixed a missing \n
tomaz [Fri, 17 Sep 2004 22:16:00 +0000 (22:16 +0000)]
Fixed a missing \n

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

20 years ago344
tomaz [Fri, 17 Sep 2004 22:00:45 +0000 (22:00 +0000)]
344

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

20 years agoRenamed mod_brush to mod_brushq1.
tomaz [Fri, 17 Sep 2004 21:56:13 +0000 (21:56 +0000)]
Renamed mod_brush to mod_brushq1.

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

20 years ago344
tomaz [Fri, 17 Sep 2004 21:53:11 +0000 (21:53 +0000)]
344

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

20 years agoClears stainmaps on map restart/change based on cl_stainmapsclearonload cvar. Also...
tomaz [Fri, 17 Sep 2004 21:51:20 +0000 (21:51 +0000)]
Clears stainmaps on map restart/change based on cl_stainmapsclearonload cvar. Also added to effects menu.

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

20 years ago344
havoc [Fri, 17 Sep 2004 21:27:58 +0000 (21:27 +0000)]
344

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

20 years agoadded set (create/set a cvar) and seta (create/set a saved cvar) commands, now config...
havoc [Fri, 17 Sep 2004 21:25:04 +0000 (21:25 +0000)]
added set (create/set a cvar) and seta (create/set a saved cvar) commands, now config saving uses seta, and this allows mods to add their own cvars in default.cfg easily
cleaned up some of the command/cvar startup sequence, the menu commands and cvars were being registered AFTER config loading and video init, now they're registered before like they should be
cleaned up some cvar code and added developer printing of the more important cvar calls

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

20 years agomissing \n on one dprint in ValidateState
havoc [Fri, 17 Sep 2004 21:19:13 +0000 (21:19 +0000)]
missing \n on one dprint in ValidateState

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

20 years agoFixed str_cvar.
black [Fri, 17 Sep 2004 18:41:51 +0000 (18:41 +0000)]
Fixed str_cvar.

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

20 years agoanother round angles to int bug (this time in PF_vectoyaw)
havoc [Fri, 17 Sep 2004 01:13:06 +0000 (01:13 +0000)]
another round angles to int bug (this time in PF_vectoyaw)

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

20 years agofix stupid quake precision problem with PF_vectoangles (it rounded pitch to integer!)
havoc [Fri, 17 Sep 2004 01:03:03 +0000 (01:03 +0000)]
fix stupid quake precision problem with PF_vectoangles (it rounded pitch to integer!)

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

20 years agouse double precision for coord and angle conversions... might help with jerky camera...
havoc [Fri, 17 Sep 2004 00:33:05 +0000 (00:33 +0000)]
use double precision for coord and angle conversions...  might help with jerky camera in some mods?

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

20 years agofix parser bug that read scale into alpha in PROTOCOL_DARKPLACES5
havoc [Fri, 17 Sep 2004 00:32:25 +0000 (00:32 +0000)]
fix parser bug that read scale into alpha in PROTOCOL_DARKPLACES5

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

20 years ago*** empty log message ***
havoc [Thu, 16 Sep 2004 20:41:06 +0000 (20:41 +0000)]
*** empty log message ***

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

20 years ago344
havoc [Thu, 16 Sep 2004 20:20:40 +0000 (20:20 +0000)]
344

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

20 years agooptimized Mod_BuildBumpVectors slightly
havoc [Thu, 16 Sep 2004 20:00:11 +0000 (20:00 +0000)]
optimized Mod_BuildBumpVectors slightly

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