xonotic/darkplaces.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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 dpdeathmask.net (names instead of IPs)

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agofixed unterminated character constant in my last fix
havoc [Fri, 10 Sep 2004 18:20:06 +0000 (18:20 +0000)]
fixed unterminated character constant in my last fix

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

15 years agofix quoted string parsing
havoc [Fri, 10 Sep 2004 18:19:05 +0000 (18:19 +0000)]
fix quoted string parsing

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

15 years agosocklen_t is missing on windows... use size_t there, I hope this is right (winxp64...
havoc [Thu, 9 Sep 2004 19:20:30 +0000 (19:20 +0000)]
socklen_t is missing on windows...  use size_t there, I hope this is right (winxp64 testing needed)

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

15 years agotwo bugs... back to 350
havoc [Thu, 9 Sep 2004 11:21:44 +0000 (11:21 +0000)]
two bugs... back to 350

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

15 years ago347
tomaz [Thu, 9 Sep 2004 06:12:00 +0000 (06:12 +0000)]
347

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

15 years ago350 !!!
tomaz [Wed, 8 Sep 2004 06:03:41 +0000 (06:03 +0000)]
350 !!!

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

15 years ago351
tomaz [Tue, 7 Sep 2004 23:30:36 +0000 (23:30 +0000)]
351

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

15 years ago352
tomaz [Tue, 7 Sep 2004 23:03:09 +0000 (23:03 +0000)]
352

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

15 years ago356
tomaz [Tue, 7 Sep 2004 18:23:35 +0000 (18:23 +0000)]
356

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

15 years agoAdded r_editlights_copyinfo and r_editlights_pasteinfo commands to clone the properti...
tomaz [Tue, 7 Sep 2004 18:19:35 +0000 (18:19 +0000)]
Added r_editlights_copyinfo and r_editlights_pasteinfo commands to clone the properties of a light, all except for origin.
Also added a check for r_editlights.integer in R_Shadow_EditLights_EditAll_f to avoid to spam the console with warnings.

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

15 years agoReverting the DP_MOVETYPEWALK_NONCLIENTS commit.
tomaz [Tue, 7 Sep 2004 17:48:04 +0000 (17:48 +0000)]
Reverting the DP_MOVETYPEWALK_NONCLIENTS commit.
How about if we actually remove todo items that are already done?

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

15 years agoAdded an extension to indicate that MOVETYPE_WALK works on non-clients.
tomaz [Tue, 7 Sep 2004 17:42:57 +0000 (17:42 +0000)]
Added an extension to indicate that MOVETYPE_WALK works on non-clients.

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

15 years agofixed STANDALONETEST so it works again
havoc [Tue, 7 Sep 2004 17:13:58 +0000 (17:13 +0000)]
fixed STANDALONETEST so it works again

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

15 years agoMade hl map loading halve the lightmap samples, to fit hl's 0-1 range into quake...
tomaz [Tue, 7 Sep 2004 17:00:44 +0000 (17:00 +0000)]
Made hl map loading halve the lightmap samples, to fit hl's 0-1 range into quake's 0-2 range.

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

15 years ago358
tomaz [Mon, 6 Sep 2004 21:19:36 +0000 (21:19 +0000)]
358

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

15 years agoFixed fgets (before it has been ignoring the line that contained the EOF char).
black [Mon, 6 Sep 2004 10:36:28 +0000 (10:36 +0000)]
Fixed fgets (before it has been ignoring the line that contained the EOF char).

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

15 years agoAdding Sys_GetClipboardData to the SDL driver.
black [Mon, 6 Sep 2004 08:06:40 +0000 (08:06 +0000)]
Adding Sys_GetClipboardData to the SDL driver.

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

15 years ago359
tomaz [Sun, 5 Sep 2004 11:25:21 +0000 (11:25 +0000)]
359

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

15 years agoAdded two cvars (sbar_alpha_bg and sbar_alpha_fg) to replace sbar_alpha, one controls...
tomaz [Sun, 5 Sep 2004 11:18:49 +0000 (11:18 +0000)]
Added two cvars (sbar_alpha_bg and sbar_alpha_fg) to replace sbar_alpha, one controls background as 0-1, and one controls everything else as 0-1

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

15 years ago360
tomaz [Sun, 5 Sep 2004 03:32:21 +0000 (03:32 +0000)]
360

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

15 years ago363 - added an item about replacing sbar_alpha with two cvars
havoc [Sat, 4 Sep 2004 14:29:52 +0000 (14:29 +0000)]
363 - added an item about replacing sbar_alpha with two cvars

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

15 years agomore tolerance to deviations in calculated plane distances compared to the stored...
havoc [Sat, 4 Sep 2004 13:16:00 +0000 (13:16 +0000)]
more tolerance to deviations in calculated plane distances compared to the stored planes

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

15 years ago362
tomaz [Sat, 4 Sep 2004 09:58:27 +0000 (09:58 +0000)]
362

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

15 years ago363 after some cleaning
havoc [Sat, 4 Sep 2004 09:52:39 +0000 (09:52 +0000)]
363 after some cleaning

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

15 years agoDpmaster has address mapping now
molivier [Fri, 3 Sep 2004 15:19:18 +0000 (15:19 +0000)]
Dpmaster has address mapping now

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

15 years ago365
havoc [Fri, 3 Sep 2004 14:21:31 +0000 (14:21 +0000)]
365

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

15 years agozym models are now loaded into the same structs as alias models in memory, this reduc...
havoc [Fri, 3 Sep 2004 14:14:44 +0000 (14:14 +0000)]
zym models are now loaded into the same structs as alias models in memory, this reduces code a lot and gives the full feature set (rtlights/skins)
zym models are now optimized when loading to eliminate duplicate vertex data (one of their more significant design flaws)
mdl/md2/md3 models no longer have stored svector/tvector/normal arrays, instead generating them on demand like skeletal models (this is slower but saves a *lot* of memory)
zym collisions are not implemented (yet)
zym bones are not reported as tags (yet)

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

15 years agoconverted portal building over to use polygon functions instead of winding
havoc [Fri, 3 Sep 2004 11:03:47 +0000 (11:03 +0000)]
converted portal building over to use polygon functions instead of winding

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

15 years agofixed r_drawportals - the meshqueue was not begun yet
havoc [Fri, 3 Sep 2004 11:02:28 +0000 (11:02 +0000)]
fixed r_drawportals - the meshqueue was not begun yet

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

15 years agofixed bugs with collision brush building, and added a great deal more error checking...
havoc [Fri, 3 Sep 2004 10:32:29 +0000 (10:32 +0000)]
fixed bugs with collision brush building, and added a great deal more error checking on them

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

15 years agoadded -novorbis commandline option to allow disabling ogg vorbis support even if...
havoc [Fri, 3 Sep 2004 06:26:27 +0000 (06:26 +0000)]
added -novorbis commandline option to allow disabling ogg vorbis support even if the library is present

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

15 years agouse main varray_vertex3f2 array (forgot this in previous commit)
havoc [Fri, 3 Sep 2004 02:36:56 +0000 (02:36 +0000)]
use main varray_vertex3f2 array (forgot this in previous commit)

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

15 years agoadded varray_svector3f, varray_tvector3f, and varray_normal3f arrays
havoc [Fri, 3 Sep 2004 02:24:30 +0000 (02:24 +0000)]
added varray_svector3f, varray_tvector3f, and varray_normal3f arrays

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

15 years agoadded cl_particles_explosions_bubbles/sparks/smoke/shell cvars, got rid of cl_explosi...
havoc [Fri, 3 Sep 2004 01:40:43 +0000 (01:40 +0000)]
added cl_particles_explosions_bubbles/sparks/smoke/shell cvars, got rid of cl_explosions cvar (it is equivilant to the shell cvar) and updated menu

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

15 years agofixed number of displayed scores in the minideathmatchoverlay in GAME_TRANSFUSION
havoc [Fri, 3 Sep 2004 01:39:42 +0000 (01:39 +0000)]
fixed number of displayed scores in the minideathmatchoverlay in GAME_TRANSFUSION

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

15 years agonow uses de-we's darkplaces icon in mingw builds, and has proper file info on the...
havoc [Thu, 2 Sep 2004 13:46:30 +0000 (13:46 +0000)]
now uses de-we's darkplaces icon in mingw builds, and has proper file info on the exe's properties dialog

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

15 years agobeing glued to the floor while swimming = bad
havoc [Thu, 2 Sep 2004 13:16:31 +0000 (13:16 +0000)]
being glued to the floor while swimming = bad

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

15 years agoadded DP_QC_FINDFLAGS and DP_QC_FINDCHAINFLAGS extensions
havoc [Wed, 1 Sep 2004 08:05:05 +0000 (08:05 +0000)]
added DP_QC_FINDFLAGS and DP_QC_FINDCHAINFLAGS extensions

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

15 years ago368
havoc [Wed, 1 Sep 2004 07:38:54 +0000 (07:38 +0000)]
368

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

15 years agocl.viewzoomold/new are now reset in CL_ClearState
havoc [Wed, 1 Sep 2004 07:37:36 +0000 (07:37 +0000)]
cl.viewzoomold/new are now reset in CL_ClearState

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