]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years agoFixed project file for Dev-C++, from Kazashi
molivier [Wed, 15 Sep 2004 16:06:51 +0000 (16:06 +0000)]
Fixed project file for Dev-C++, from Kazashi

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

19 years agofix up another quoted commandline issue (this one being in commandline reconstruction...
havoc [Tue, 14 Sep 2004 23:03:30 +0000 (23:03 +0000)]
fix up another quoted commandline issue (this one being in commandline reconstruction for the cmdline cvar, not used for anything important)

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

19 years agofixed totally mixed up vis culling (as a result of botched bmodel vis handling -...
havoc [Tue, 14 Sep 2004 22:57:23 +0000 (22:57 +0000)]
fixed totally mixed up vis culling (as a result of botched bmodel vis handling - oops)

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

19 years agoPROTOCOL_DARKPLACES5
havoc [Tue, 14 Sep 2004 22:41:10 +0000 (22:41 +0000)]
PROTOCOL_DARKPLACES5

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

19 years ago344 - minor things
havoc [Tue, 14 Sep 2004 22:15:19 +0000 (22:15 +0000)]
344 - minor things

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

19 years agosocklen_t is "int" in the Winsocks API
molivier [Tue, 14 Sep 2004 06:19:00 +0000 (06:19 +0000)]
socklen_t is "int" in the Winsocks API

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

19 years agonow saves r_shadow cvars that are available in the graphics options menu
havoc [Tue, 14 Sep 2004 01:36:23 +0000 (01:36 +0000)]
now saves r_shadow cvars that are available in the graphics options menu
separated R_Shadow_NewWorldLight into R_Shadow_NewWorldLight to allocate light and R_Shadow_UpdateWorldLight to assign properties, so that lights can be updated in place rather than reallocating them (mainly saves on hassles with r_debuglight testing while editing lights, which were being renumbered by every edit)
R_Shadow_UpdateWorldLight now tolerates radius 0, color 0 0 0, and snaps angles to the 0-360 range

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

19 years ago341 - some hud items added
havoc [Mon, 13 Sep 2004 21:39:27 +0000 (21:39 +0000)]
341 - some hud items added

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

19 years ago337
tomaz [Sun, 12 Sep 2004 22:20:43 +0000 (22:20 +0000)]
337

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

19 years agoAdded support for 16 joystick buttons.
tomaz [Sun, 12 Sep 2004 18:11:24 +0000 (18:11 +0000)]
Added support for 16 joystick buttons.

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

19 years agoMerged CL_RocketTrail2 into CL_RocketTrail.
tomaz [Sun, 12 Sep 2004 17:04:31 +0000 (17:04 +0000)]
Merged CL_RocketTrail2 into CL_RocketTrail.

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

19 years agoFixed positioning of light editing display, it's was not following the console properly.
tomaz [Sun, 12 Sep 2004 16:18:06 +0000 (16:18 +0000)]
Fixed positioning of light editing display, it's was not following the console properly.

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

19 years agoMade cl_beams_relative only affect view-attached beams.
tomaz [Sun, 12 Sep 2004 16:16:12 +0000 (16:16 +0000)]
Made cl_beams_relative only affect view-attached beams.

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

19 years ago343
tomaz [Sat, 11 Sep 2004 22:02:50 +0000 (22:02 +0000)]
343

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

19 years agoAdded vid_vsync cvar and also to put it in the video options menu.
tomaz [Sat, 11 Sep 2004 22:02:20 +0000 (22:02 +0000)]
Added vid_vsync cvar and also to put it in the video options menu.

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

19 years agoFixed a bug in the commandline parser when giving it more than one + command.
tomaz [Sat, 11 Sep 2004 18:31:37 +0000 (18:31 +0000)]
Fixed a bug in the commandline parser when giving it more than one + command.

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

19 years agoFixed a crash in R_EditLights_PasteInfo_f.
tomaz [Sat, 11 Sep 2004 18:11:33 +0000 (18:11 +0000)]
Fixed a crash in R_EditLights_PasteInfo_f.

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

19 years agorewrote Cmd_StuffCmds_f (commandline parser), it now properly handles quoted strings...
havoc [Sat, 11 Sep 2004 15:31:23 +0000 (15:31 +0000)]
rewrote Cmd_StuffCmds_f (commandline parser), it now properly handles quoted strings, + and - inside a word, and numbers beginning with + or -

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

19 years agoapparently M_ToggleMenu_f is not what to call... Call_MR_ToggleMenu_f is
havoc [Sat, 11 Sep 2004 00:57:59 +0000 (00:57 +0000)]
apparently M_ToggleMenu_f is not what to call...  Call_MR_ToggleMenu_f is

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

19 years agofix undefined function warning
havoc [Sat, 11 Sep 2004 00:54:00 +0000 (00:54 +0000)]
fix undefined function warning

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

19 years agomake CL_NextDemo put up menu if there's no demo to play (this makes startdemos comman...
havoc [Sat, 11 Sep 2004 00:47:20 +0000 (00:47 +0000)]
make CL_NextDemo put up menu if there's no demo to play (this makes startdemos command put up menu if there are no demos, better than staring at console)

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

19 years agofix very unreliable jumping (it was doing a stepdown back onto the floor instantly...
havoc [Sat, 11 Sep 2004 00:46:26 +0000 (00:46 +0000)]
fix very unreliable jumping (it was doing a stepdown back onto the floor instantly if framerate was too high or slowmo too low)

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

19 years agoanother attempt to fix quoted strings in windows commandline, but more so a cleanup
havoc [Sat, 11 Sep 2004 00:45:46 +0000 (00:45 +0000)]
another attempt to fix quoted strings in windows commandline, but more so a cleanup

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

19 years ago345
tomaz [Sat, 11 Sep 2004 00:42:41 +0000 (00:42 +0000)]
345

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