]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
19 years agoAfter the swarm of angry mail I received from owners of manufacturerly-diverse proces...
sajt [Sat, 10 Sep 2005 22:00:21 +0000 (22:00 +0000)]
After the swarm of angry mail I received from owners of manufacturerly-diverse processors, I finally gave in.

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

19 years agoRemoved the evil evil prototype
sajt [Sat, 10 Sep 2005 21:38:50 +0000 (21:38 +0000)]
Removed the evil evil prototype

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

19 years agoremoved a lot of texture_t fields that were used by the old renderer
havoc [Sat, 10 Sep 2005 12:12:34 +0000 (12:12 +0000)]
removed a lot of texture_t fields that were used by the old renderer

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

19 years agoremoved old surface renderer
havoc [Sat, 10 Sep 2005 11:33:11 +0000 (11:33 +0000)]
removed old surface renderer

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

19 years agoThe MCBSP header has been fixed but it will still crash your NASA lunar module landin...
sajt [Sat, 10 Sep 2005 10:30:05 +0000 (10:30 +0000)]
The MCBSP header has been fixed but it will still crash your NASA lunar module landing mainframe

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

19 years agoRename dhullinfo_t to hullinfo_t, fix byte->qbyte. More fixes later! Don't complain...
sajt [Sat, 10 Sep 2005 10:07:25 +0000 (10:07 +0000)]
Rename dhullinfo_t to hullinfo_t, fix byte->qbyte. More fixes later! Don't complain if this crashes your Sun supercomputer!

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

19 years agoMCBSP version 2 loading in the engine.. Some very ugly code (will be rewritten)....
sajt [Sat, 10 Sep 2005 06:49:57 +0000 (06:49 +0000)]
MCBSP version 2 loading in the engine.. Some very ugly code (will be rewritten). Also, I haven't thought of how bboxes will round to hull sizes yet, so don't even bother trying to use the format yet. Also, someone might want to add a dhullinfo_t instance in the model struct or something, so the rounding functions would be able to access the hull sizes. I'm not sure how that will all work yet.

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

19 years agonew surface renderer, builds a layer list in R_UpdateTextureInfo, currently requires...
havoc [Fri, 9 Sep 2005 13:57:56 +0000 (13:57 +0000)]
new surface renderer, builds a layer list in R_UpdateTextureInfo, currently requires r_test to be 1 to use it, will be removing old surface renderer (still available) soon

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

19 years agofix a bug that made the world render colormapped (no effect but a speed loss)
havoc [Fri, 9 Sep 2005 12:37:25 +0000 (12:37 +0000)]
fix a bug that made the world render colormapped (no effect but a speed loss)

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

19 years agoMac OS X OpenGL and input module, using Carbon and AGL. Still in development, but...
molivier [Fri, 9 Sep 2005 08:32:50 +0000 (08:32 +0000)]
Mac OS X OpenGL and input module, using Carbon and AGL. Still in development, but stable enough for a player to use. Notable problems and missing features: no hardware gamma support, no desktop menus, mouse movement scaling NOT disabled (please, if someone knows how to do that with Carbon, let me know), and the fact that it has only be tested on one computer so far (my iBook G4)...

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

19 years agoremoved detail texturing (it only worked in q1bsp and hlbsp maps, did not work proper...
havoc [Thu, 8 Sep 2005 11:49:00 +0000 (11:49 +0000)]
removed detail texturing (it only worked in q1bsp and hlbsp maps, did not work properly with rtlights, was liked by some people and disliked by many more, and consumed some memory)

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

19 years agoremoved distortion textures formerly used by GF3 water shader, this frees up 128K...
havoc [Thu, 8 Sep 2005 09:12:16 +0000 (09:12 +0000)]
removed distortion textures formerly used by GF3 water shader, this frees up 128K of texture memory

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

19 years agoremoved GF3 water shader (entirely), it probably won't be coming back
havoc [Thu, 8 Sep 2005 09:08:45 +0000 (09:08 +0000)]
removed GF3 water shader (entirely), it probably won't be coming back

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

19 years agomoved waterscrollmatrix handling into texture->currentexmatrix to simplify texture...
havoc [Thu, 8 Sep 2005 04:15:17 +0000 (04:15 +0000)]
moved waterscrollmatrix handling into texture->currentexmatrix to simplify texture matrix shaders like water, and added support in R_Shadow_RenderLighting functions

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

19 years agochanged Mod_Q3BSP_LoadEffects to allow brushindex -1 (for effects applied to the...
havoc [Wed, 7 Sep 2005 17:41:03 +0000 (17:41 +0000)]
changed Mod_Q3BSP_LoadEffects to allow brushindex -1 (for effects applied to the whole map), and made it use a warning instead of an error for invalid brushindex

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

19 years agomigrated surface list iteration into the RenderLighting paths for more efficient...
havoc [Wed, 7 Sep 2005 16:07:47 +0000 (16:07 +0000)]
migrated surface list iteration into the RenderLighting paths for more efficient handling of surfaces, this increased GLSL performance, and vertex lighting performance (rewrote most of it), dot3 path is still quite slow however

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

19 years agofix a few very small mistakes by Black and Elric: precompiler directives (#define...
havoc [Wed, 7 Sep 2005 16:05:54 +0000 (16:05 +0000)]
fix a few very small mistakes by Black and Elric: precompiler directives (#define) can not have whitespace before them, but can have whitespace after the #

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

19 years agofix a crash in Cmd_ExecuteAlias when $* is used with no parameters
havoc [Wed, 7 Sep 2005 09:58:37 +0000 (09:58 +0000)]
fix a crash in Cmd_ExecuteAlias when $* is used with no parameters

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

19 years agoAdded CoreAudio (Mac OS X) sound driver. Changed / fixed a couple of Mac OS X related...
molivier [Wed, 7 Sep 2005 09:58:15 +0000 (09:58 +0000)]
Added CoreAudio (Mac OS X) sound driver. Changed / fixed a couple of Mac OS X related lines in the makefiles. The sound format is now printed at sound module startup.

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

19 years agosplit model->DrawShadowVolume into CompileShadowVolume and DrawShadowVolume to simpli...
havoc [Wed, 7 Sep 2005 09:56:23 +0000 (09:56 +0000)]
split model->DrawShadowVolume into CompileShadowVolume and DrawShadowVolume to simplify things
moved ShadowMesh creation from R_RTLight_Compile to R_Q1BSP_CompileShadowVolume
split R_Shadow_RenderLighting into several functions for different paths to (very slightly) improve readability
fixed a bug introduced by recent specularscale optimizations (it wasn't being passed to RenderLighting)

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

19 years agoFixed the SDL video driver on Mac OS X (crash when restarting). Thanks to BigMac...
molivier [Wed, 7 Sep 2005 09:54:30 +0000 (09:54 +0000)]
Fixed the SDL video driver on Mac OS X (crash when restarting). Thanks to BigMac for the patch

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

19 years agoremoved r_shadow_realtime_world_compilelight cvar and all code relating to it (no...
havoc [Wed, 7 Sep 2005 08:47:55 +0000 (08:47 +0000)]
removed r_shadow_realtime_world_compilelight cvar and all code relating to it (no longer compiles lighting geometry), this is necessary for proper handling of water and animated textures

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

19 years agomigrated a lot of error handling out of R_Shadow_RenderLighting and into the loading...
havoc [Wed, 7 Sep 2005 08:40:12 +0000 (08:40 +0000)]
migrated a lot of error handling out of R_Shadow_RenderLighting and into the loading code or DrawLight code, this makes r_shadow_realtime_world_compilelight
0 faster than it was, still not quite as fast as compilelight 1 however

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

19 years agoDot crosshair is now a tad bigger (and centred properly)
sajt [Wed, 7 Sep 2005 02:43:41 +0000 (02:43 +0000)]
Dot crosshair is now a tad bigger (and centred properly)

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

19 years ago396 again
sajt [Tue, 6 Sep 2005 11:28:25 +0000 (11:28 +0000)]
396 again
A few items look like they should be fixed by now: line #'s 47, 51, 208, ... (only looked through a few of them)

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

19 years agoNew MCBSP format, used for my mod. It differs from bsp 29 in that it stores coloured...
sajt [Tue, 6 Sep 2005 11:17:35 +0000 (11:17 +0000)]
New MCBSP format, used for my mod. It differs from bsp 29 in that it stores coloured lighting data in the bsp file itself, it has a different set of hulls, and a differently formatted header (I used a few hacks to pull that off without adding a new header struct... maybe be changed later).

Anyway, do NOT use this format yet! The format is WIP and backward compatibility will not be kept!

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

19 years agonow has two precision error workaround cases rather than one, lifts have been success...
havoc [Tue, 6 Sep 2005 06:51:19 +0000 (06:51 +0000)]
now has two precision error workaround cases rather than one, lifts have been successfully tested at 1 million frames per second
slight cleaning of some variable declarations

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

19 years agodon't remove onground flag when riding a pusher, this fixes the e3m2 silver key not...
havoc [Tue, 6 Sep 2005 06:10:51 +0000 (06:10 +0000)]
don't remove onground flag when riding a pusher, this fixes the e3m2 silver key not falling with the platform it is riding

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

19 years agoremoved (int) casts added by Sajt's last commit, as they are probably a slowdown...
havoc [Tue, 6 Sep 2005 05:33:53 +0000 (05:33 +0000)]
removed (int) casts added by Sajt's last commit, as they are probably a slowdown in most cases

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

19 years agoThe broken pushers are PARTLY fixed. They will now stop when in contact with an entit...
sajt [Tue, 6 Sep 2005 02:17:40 +0000 (02:17 +0000)]
The broken pushers are PARTLY fixed. They will now stop when in contact with an entity and call their blocked() QC function. However they appear to have a tiny portion stuck in the player, so the developer console will still be spammed with 'player is stuck.' messages, and the player can still jump while a crusher is on his head.

Note to smart people: I'm not sure what to stick in movetype for the SV_ClipMoveToEntity calls, so I put 0 since it's not important. Maybe that should be changed to the appropriate value for the sake of Good(tm).

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

19 years agofix a bug that called player thinks during a level change, this bug may have even...
havoc [Fri, 2 Sep 2005 11:20:51 +0000 (11:20 +0000)]
fix a bug that called player thinks during a level change, this bug may have even been in stock quake

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

19 years agofix a memory leak in one error case in LoadTGA and clean up things a little
havoc [Fri, 2 Sep 2005 11:10:10 +0000 (11:10 +0000)]
fix a memory leak in one error case in LoadTGA and clean up things a little

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

19 years agoNo longer gives fail message when skybox loads properly, and no longer gives two...
sajt [Thu, 1 Sep 2005 01:59:04 +0000 (01:59 +0000)]
No longer gives fail message when skybox loads properly, and no longer gives two fail messages when skybox doesn't load properly

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

19 years agoinitialize red to false (fixes an uninitialized variable warning which appears to...
havoc [Wed, 31 Aug 2005 14:05:59 +0000 (14:05 +0000)]
initialize red to false (fixes an uninitialized variable warning which appears to be a genuine bug)

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

19 years agochange GAME_ZYMOTIC default data dir to basezym
havoc [Wed, 31 Aug 2005 09:21:25 +0000 (09:21 +0000)]
change GAME_ZYMOTIC default data dir to basezym

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

19 years agoAnother MSVC error fixed
sajt [Tue, 30 Aug 2005 09:40:02 +0000 (09:40 +0000)]
Another MSVC error fixed

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

19 years agomodified Mod_ValidateElements to fix broken elements rather than crashing later
havoc [Tue, 30 Aug 2005 08:53:01 +0000 (08:53 +0000)]
modified Mod_ValidateElements to fix broken elements rather than crashing later

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

19 years agomake compile on MSVC
havoc [Tue, 30 Aug 2005 07:34:33 +0000 (07:34 +0000)]
make compile on MSVC

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

19 years agoadded PSK model support (UnrealTournament 2003/2004 ActorX format)
havoc [Tue, 30 Aug 2005 04:12:43 +0000 (04:12 +0000)]
added PSK model support (UnrealTournament 2003/2004 ActorX format)

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

19 years agorollback that shadowmesh fix, I was thinking about it incorrectly
havoc [Mon, 29 Aug 2005 05:48:32 +0000 (05:48 +0000)]
rollback that shadowmesh fix, I was thinking about it incorrectly

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

19 years agoforgot one part of the shadowmesh fix
havoc [Mon, 29 Aug 2005 05:44:23 +0000 (05:44 +0000)]
forgot one part of the shadowmesh fix

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

19 years agofix the quake logo shadow in e1m5 (ALL surfaces were producing shadow volumes, includ...
havoc [Mon, 29 Aug 2005 05:43:41 +0000 (05:43 +0000)]
fix the quake logo shadow in e1m5 (ALL surfaces were producing shadow volumes, including sky and liquids)

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

19 years agosome cleaning of the model headers, and added bufferend parameter to all model loaders
havoc [Sun, 28 Aug 2005 20:41:12 +0000 (20:41 +0000)]
some cleaning of the model headers, and added bufferend parameter to all model loaders

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

19 years agoadded .dpm model support
havoc [Sun, 28 Aug 2005 07:23:51 +0000 (07:23 +0000)]
added .dpm model support
moved Mod_ZYMOTICMODEL_Load function prototype from model_zymotic.h to model_alias.h (where the others already are)
removed an unnecessary call to Mod_BuildTriangleNeighbors in Mod_ZYMOTICMODEL_Load (it was being called twice)

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

19 years agoAdded multiplayer maps to -did2 mode
tomaz [Sun, 28 Aug 2005 01:26:15 +0000 (01:26 +0000)]
Added multiplayer maps to -did2 mode

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

19 years agoAdded -did2 mode ( Defeat In Detail 2 )
tomaz [Sun, 28 Aug 2005 01:21:42 +0000 (01:21 +0000)]
Added -did2 mode ( Defeat In Detail 2 )

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

19 years agochanged scr_screenshot_jpeg default to 1 (note this does not affect any existing...
havoc [Thu, 25 Aug 2005 05:20:09 +0000 (05:20 +0000)]
changed scr_screenshot_jpeg default to 1 (note this does not affect any existing installations which already have it saved to config as 1)

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

19 years agoGet client velocity from cl.velocity rather than cl.movement_velocity for bob, this...
sajt [Thu, 25 Aug 2005 02:07:05 +0000 (02:07 +0000)]
Get client velocity from cl.velocity rather than cl.movement_velocity for bob, this makes demos use the bob too

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

19 years agoApparently this shuts 'assignment in conditional' warnings up
sajt [Wed, 24 Aug 2005 22:16:55 +0000 (22:16 +0000)]
Apparently this shuts 'assignment in conditional' warnings up

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

19 years agofix a stupid bug in shader parsing (it was ignoring passes when not transparent)
havoc [Wed, 24 Aug 2005 18:51:16 +0000 (18:51 +0000)]
fix a stupid bug in shader parsing (it was ignoring passes when not transparent)

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

19 years ago396
sajt [Wed, 24 Aug 2005 11:46:12 +0000 (11:46 +0000)]
396

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

19 years agoAdded 99% functional weaponmodel bobbing code. It even tries to stop bobbing when...
sajt [Wed, 24 Aug 2005 11:45:37 +0000 (11:45 +0000)]
Added 99% functional weaponmodel bobbing code. It even tries to stop bobbing when you're not on the ground, and smoothly transitions between bobbing and not bobbing. The only problem is it seems to jolt whenever you pass through a message trigger or pick up an item or do anything unexceptional like that. Was it a bad idea to trust cl.onground?

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

19 years ago395
sajt [Wed, 24 Aug 2005 09:53:11 +0000 (09:53 +0000)]
395

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

19 years agonothing to see here, move along...
havoc [Wed, 24 Aug 2005 06:17:12 +0000 (06:17 +0000)]
nothing to see here, move along...

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

19 years agosome cleanup of R_DrawTextureSurfaceList
havoc [Wed, 24 Aug 2005 05:59:41 +0000 (05:59 +0000)]
some cleanup of R_DrawTextureSurfaceList
changed model->brushq3.data_lightmaps checks to model->type == mod_brushq3, to fix rtlighting issues in unlit q3bsp maps (which were rendering fullbright even in rtworld mode)

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

19 years agoUrre admits he was inebriated and his judgment hencely impaired when he suggested...
sajt [Tue, 23 Aug 2005 22:13:06 +0000 (22:13 +0000)]
Urre admits he was inebriated and his judgment hencely impaired when he suggested this

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

19 years agoRemoved gl_combine from the menu and let the menu select the dot crosshair
sajt [Tue, 23 Aug 2005 22:02:33 +0000 (22:02 +0000)]
Removed gl_combine from the menu and let the menu select the dot crosshair

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

19 years agoWhen below 1 fps, the fps counter instead counts spf (seconds per frame). Note that...
sajt [Tue, 23 Aug 2005 21:45:11 +0000 (21:45 +0000)]
When below 1 fps, the fps counter instead counts spf (seconds per frame). Note that it's pretty hard to get into the spfs (so far I've only gotten it the moment after adding 30 rtlights at the same time when there were already 300 in the same spot)

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

19 years agoAdded showbrand cvar, possible values 1-8. Draws the image gfx/brand on an edge or...
sajt [Tue, 23 Aug 2005 21:09:21 +0000 (21:09 +0000)]
Added showbrand cvar, possible values 1-8. Draws the image gfx/brand on an edge or corner of the screen, based on the value of showbrand. 1 is bottom-left, 2 is bottom-middle, etc.

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

19 years agoq3bsp loader no longer generates a fake lightgrid when one is missing, this saves...
havoc [Tue, 23 Aug 2005 20:50:14 +0000 (20:50 +0000)]
q3bsp loader no longer generates a fake lightgrid when one is missing, this saves a lot of memory in unlit maps

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

19 years agoI forgot to mention that I also fixed some other asymmetric crosshairs (3 and 4)
sajt [Tue, 23 Aug 2005 09:03:26 +0000 (09:03 +0000)]
I forgot to mention that I also fixed some other asymmetric crosshairs (3 and 4)

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

19 years agoAdded dot crosshair (crosshair 6)
sajt [Tue, 23 Aug 2005 08:51:48 +0000 (08:51 +0000)]
Added dot crosshair (crosshair 6)

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

19 years agoAdded a builtin for te_flamejet
sajt [Tue, 23 Aug 2005 07:06:23 +0000 (07:06 +0000)]
Added a builtin for te_flamejet

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

19 years agoAdded sv_maxairspeed cvar (default 30). This was already mirrored by cl_movement_max...
sajt [Tue, 23 Aug 2005 06:43:24 +0000 (06:43 +0000)]
Added sv_maxairspeed cvar (default 30). This was already mirrored  by cl_movement_maxairspeed.

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

19 years agoForgot a little portion of the comment :-(
sajt [Tue, 23 Aug 2005 05:50:55 +0000 (05:50 +0000)]
Forgot a little portion of the comment :-(

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

19 years agoAdded DP_SV_WRITEUNTERMINATEDSTRING extension
sajt [Tue, 23 Aug 2005 05:39:12 +0000 (05:39 +0000)]
Added DP_SV_WRITEUNTERMINATEDSTRING extension

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

19 years agoUpdated todo
sajt [Tue, 23 Aug 2005 04:07:29 +0000 (04:07 +0000)]
Updated todo

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

19 years ago*** empty log message ***
havoc [Tue, 23 Aug 2005 03:02:56 +0000 (03:02 +0000)]
*** empty log message ***

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

19 years agoAdded the RTLD_GLOBAL flag to the dlopen call, since some systems seem to require...
molivier [Sun, 21 Aug 2005 07:54:56 +0000 (07:54 +0000)]
Added the RTLD_GLOBAL flag to the dlopen call, since some systems seem to require that for some DLLs to work correctly. Thanks to Andreas Dehmel for the patch

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

19 years agoRemoved an unused variable
molivier [Sun, 21 Aug 2005 07:51:31 +0000 (07:51 +0000)]
Removed an unused variable

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

19 years agomade some things static
havoc [Sat, 20 Aug 2005 21:57:28 +0000 (21:57 +0000)]
made some things static

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

19 years agoadded DP_SV_PRECACHEANYTIME extension
havoc [Sat, 20 Aug 2005 19:00:02 +0000 (19:00 +0000)]
added DP_SV_PRECACHEANYTIME extension

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

19 years agofix double bright models bug (LightPoint returns 2x color, and RSurf_SetColorPointer...
havoc [Fri, 19 Aug 2005 01:42:43 +0000 (01:42 +0000)]
fix double bright models bug (LightPoint returns 2x color, and RSurf_SetColorPointer is called expecting 1x color)

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

19 years agodon't try to send entities with a NAN origin (this is strangely crashing the PVS...
havoc [Fri, 19 Aug 2005 00:21:25 +0000 (00:21 +0000)]
don't try to send entities with a NAN origin (this is strangely crashing the PVS check in q1bsp maps, hitting a bad node)

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

19 years agoadded r_smoothnormals_areaweighting cvar (default 1, suggested by Black as a better...
havoc [Thu, 18 Aug 2005 18:48:30 +0000 (18:48 +0000)]
added r_smoothnormals_areaweighting cvar (default 1, suggested by Black as a better method, faster and shading looks a little more distinct on nexuiz player models)

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

19 years agochanged tolerances for renderable light intensities to make Stribbs happier
havoc [Thu, 18 Aug 2005 15:34:37 +0000 (15:34 +0000)]
changed tolerances for renderable light intensities to make Stribbs happier

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

19 years ago-Increased MAX_LIGHTSTYLES to 256.
black [Thu, 18 Aug 2005 13:45:16 +0000 (13:45 +0000)]
-Increased MAX_LIGHTSTYLES to 256.
-Changed BuildNormals to use area-weighting/averaging instead of normal averaging.

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

19 years agoFixed a bug in the r_shadow light entity parser which caused it to not read in
black [Wed, 17 Aug 2005 12:43:01 +0000 (12:43 +0000)]
Fixed a bug in the r_shadow light entity parser which caused it to not read in
the pflags, skin and effects key/value pairs in q3 maps.
Added a check to PF_lightstyle for style >= 64.
Fixed a bug in the cursor drawing of the editrtlights mode (it was reading from a
uninitialized vector if you flew out of the map).

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

19 years agoadded a default case (Sys_Error) to CL_RocketTrail as recommended by [515]
havoc [Mon, 15 Aug 2005 14:02:43 +0000 (14:02 +0000)]
added a default case (Sys_Error) to CL_RocketTrail as recommended by [515]

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

19 years agocl_lastquakeentity and cl_isquakeentity are now reset properly when loading a new...
molivier [Mon, 15 Aug 2005 10:40:19 +0000 (10:40 +0000)]
cl_lastquakeentity and cl_isquakeentity are now reset properly when loading a new map (fix the crash with coopmod)

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

19 years agoadded more developer_memorydebug sentinel checks, and made developer_memorydebug...
havoc [Mon, 15 Aug 2005 07:02:51 +0000 (07:02 +0000)]
added more developer_memorydebug sentinel checks, and made developer_memorydebug do not-allocated checks in a few cases that were not checked before
modified Mem_IsAllocated to be able to take a NULL pool pointer to scan all pools for the allocation

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

19 years agoFixups for Solaris port.
eviltypeguy [Sun, 14 Aug 2005 23:33:30 +0000 (23:33 +0000)]
Fixups for Solaris port.

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

19 years agofix a crash in q1bsp model stats printing in developer mode
havoc [Sun, 14 Aug 2005 22:54:15 +0000 (22:54 +0000)]
fix a crash in q1bsp model stats printing in developer mode

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

19 years agofix stupid typo in Cvar_RegisterVariable call
havoc [Sun, 14 Aug 2005 19:44:21 +0000 (19:44 +0000)]
fix stupid typo in Cvar_RegisterVariable call

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

19 years agorenamed cl_deathtilt to v_deathtilt to match FTE, fuhquake and ezquake engines
havoc [Sun, 14 Aug 2005 18:31:15 +0000 (18:31 +0000)]
renamed cl_deathtilt to v_deathtilt to match FTE, fuhquake and ezquake engines

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

19 years agoadded cl_deathnoviewmodel, cl_deathscoreboard and cl_deathtilt cvars so that games...
havoc [Sun, 14 Aug 2005 16:36:55 +0000 (16:36 +0000)]
added cl_deathnoviewmodel, cl_deathscoreboard and cl_deathtilt cvars so that games can decide whether they want these behaviors

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

19 years agoadded a comment in push code
havoc [Sun, 14 Aug 2005 16:36:09 +0000 (16:36 +0000)]
added a comment in push code

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

19 years agoAdded colored string support to centerprint.
black [Sat, 13 Aug 2005 20:56:23 +0000 (20:56 +0000)]
Added colored string support to centerprint.
Fixed the menu from dying a recursive death if PRVM_Crash crashes inside
of the error handling function.

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

19 years agofix a terrible mistake: don't send \n at the end of the client variables during signon
havoc [Wed, 10 Aug 2005 10:25:46 +0000 (10:25 +0000)]
fix a terrible mistake: don't send \n at the end of the client variables during signon

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

19 years agomade Cmd_ForwardToServer code far more readable and prevented forwarding an empty...
havoc [Wed, 10 Aug 2005 10:23:26 +0000 (10:23 +0000)]
made Cmd_ForwardToServer code far more readable and prevented forwarding an empty string using cmd by itself

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

19 years agoFixed alias parsing and added support for $* which pastes all formal parameters.
black [Wed, 10 Aug 2005 10:03:38 +0000 (10:03 +0000)]
Fixed alias parsing and added support for $* which pastes all formal parameters.

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

19 years agorenamed r_shadow_geforcefxlowquality to r_shadow_usehalffloat and added gl_support_ha...
havoc [Wed, 10 Aug 2005 07:08:57 +0000 (07:08 +0000)]
renamed r_shadow_geforcefxlowquality to r_shadow_usehalffloat and added gl_support_half_float extension checking, (half float is now considered a feature rather than a low quality option, as it is an even bigger speed gain on GF6 than on GFFX and no quality reduction has been observed)

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

19 years agoRemove a call to ResetProg from ShutdownServer, so after a crash you will be able...
black [Mon, 8 Aug 2005 08:16:37 +0000 (08:16 +0000)]
Remove a call to ResetProg from ShutdownServer, so after a crash you will be able to debug the server prog.

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

19 years agoadd DP_ENT_COLORMOD extension to extension lists
havoc [Mon, 8 Aug 2005 07:41:47 +0000 (07:41 +0000)]
add DP_ENT_COLORMOD extension to extension lists
remove NEXUIZ_PLAYERSKIN from extension lists (the dpextensions.qc describes it as part of the NEXUIZ_PLAYERMODEL extension)

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

19 years agofix the commandline option documentation of The Hunted to say -thehunted, not -nether...
havoc [Mon, 8 Aug 2005 07:16:41 +0000 (07:16 +0000)]
fix the commandline option documentation of The Hunted to say -thehunted, not -netherworld (no change in behavior, only documentation)

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

19 years agochange name of VorteX's netherworld mod
havoc [Mon, 8 Aug 2005 07:15:36 +0000 (07:15 +0000)]
change name of VorteX's netherworld mod

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

19 years agofix a signed/unsigned comparison warning
havoc [Tue, 2 Aug 2005 20:11:19 +0000 (20:11 +0000)]
fix a signed/unsigned comparison warning

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

19 years ago-Changed a call to VariableString with FindCvar.
black [Sat, 30 Jul 2005 18:43:24 +0000 (18:43 +0000)]
-Changed a call to VariableString with FindCvar.
-Made changelevel call map if there is no server running (you could call this
a hack).

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

19 years agoMoved the $cvar parser to Cmd_TokenizeString.
black [Tue, 19 Jul 2005 21:04:36 +0000 (21:04 +0000)]
Moved the $cvar parser to Cmd_TokenizeString.

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

19 years ago-Added $parameter parsing to the alias and $cvar parsing to the cmd system.
black [Tue, 19 Jul 2005 20:53:45 +0000 (20:53 +0000)]
-Added $parameter parsing to the alias and $cvar parsing to the cmd system.
E.g.:
alias test "connect $1"
test "127.0.0.1"
set testcvar "127.0.0.1"
connect $testcvar
TODO: Add the extension description and the extension to the extension list.

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