]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
21 years agomore hackish cleanups of PVS stuff, now decompresses the PVS data at load and this...
havoc [Wed, 13 Aug 2003 02:17:16 +0000 (02:17 +0000)]
more hackish cleanups of PVS stuff, now decompresses the PVS data at load and this got rid of the last of the calls to LeafPVS (now checks the pvs in the leaf directly)

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

21 years ago*** empty log message ***
havoc [Wed, 13 Aug 2003 02:16:04 +0000 (02:16 +0000)]
*** empty log message ***

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

21 years agoI hope this fixes a md3 tag bug, but don't know
havoc [Wed, 13 Aug 2003 02:08:11 +0000 (02:08 +0000)]
I hope this fixes a md3 tag bug, but don't know

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

21 years agomoved SV_FatPVS to model code
havoc [Mon, 11 Aug 2003 12:20:51 +0000 (12:20 +0000)]
moved SV_FatPVS to model code

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

21 years agomoved RecursiveLightPoint code to model_brush.c (model->brush.LightPoint), removing...
havoc [Sun, 10 Aug 2003 20:03:05 +0000 (20:03 +0000)]
moved RecursiveLightPoint code to model_brush.c (model->brush.LightPoint), removing it from r_light.c and sv_light.c (now no longer needed)
made LightPoint able to return quake3 lightgrid data (diffuse color and direction in addition to ambient)

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

21 years ago*** empty log message ***
havoc [Sun, 10 Aug 2003 19:58:45 +0000 (19:58 +0000)]
*** empty log message ***

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

21 years agoQ3BSP collisions implemented (although not for patches, which aren't supported anyway...
havoc [Sun, 10 Aug 2003 13:50:00 +0000 (13:50 +0000)]
Q3BSP collisions implemented (although not for patches, which aren't supported anyway, yet, and this is definitely not tested yet)

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

21 years agopatch supplied by Toddd
havoc [Sat, 9 Aug 2003 17:57:02 +0000 (17:57 +0000)]
patch supplied by Toddd
changed GAME_BATTLEMECH quit messages
now knows about deathmatch and rambo modes in GAME_BATTLEMECH

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

21 years agochange GAME_BATTLEMECH gamedir to "base" (patch supplied by Toddd)
havoc [Sat, 9 Aug 2003 17:54:27 +0000 (17:54 +0000)]
change GAME_BATTLEMECH gamedir to "base" (patch supplied by Toddd)

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

21 years agoredesigned blood effects (now looks like droplets until they hit a surface)
havoc [Sat, 9 Aug 2003 17:01:04 +0000 (17:01 +0000)]
redesigned blood effects (now looks like droplets until they hit a surface)
added decals for bullet impacts, explosions, plasma, etc
added cl_particles_quality cvar (cranks up the number of particles, reducing their alpha, making softer effects)
removed cl_particles_blood_size and cl_particles_smoke_size cvars

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

21 years agofixed loadgame bug with edict references to later edicts (d was pointing at the old...
havoc [Sat, 9 Aug 2003 16:56:06 +0000 (16:56 +0000)]
fixed loadgame bug with edict references to later edicts (d was pointing at the old address, redesigned how it works to fix this)

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

21 years ago*** empty log message ***
havoc [Fri, 8 Aug 2003 22:23:49 +0000 (22:23 +0000)]
*** empty log message ***

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

21 years agofixed compile errors
havoc [Fri, 8 Aug 2003 22:22:30 +0000 (22:22 +0000)]
fixed compile errors

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

21 years agosample implementation of QC replacement physics (already available on website, but...
havoc [Fri, 8 Aug 2003 22:19:01 +0000 (22:19 +0000)]
sample implementation of QC replacement physics (already available on website, but it might as well become a maintainable thing in cvs)

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

21 years agoreverted noclip movement to quake behavior (commented out the free movement call...
havoc [Fri, 8 Aug 2003 22:06:08 +0000 (22:06 +0000)]
reverted noclip movement to quake behavior (commented out the free movement call) to fix Cannon Fodder Quake ( http://www.qexpo.com/booths.php?id=5 )
ported sv_user.qc to C (C -> QC -> C again) because it greatly reduces the amount of code and makes it a bit more maintainable

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

21 years agomultiplayer-only games (Transfusion and so on) now start playing demos as usual,...
havoc [Thu, 7 Aug 2003 11:01:38 +0000 (11:01 +0000)]
multiplayer-only games (Transfusion and so on) now start playing demos as usual, rather than starting a server at startup (unless dedicated or -listen is used)

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

21 years agofix a warning
havoc [Thu, 7 Aug 2003 10:56:24 +0000 (10:56 +0000)]
fix a warning

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

21 years agosimulated packet loss (cl_fakepacketloss_receive, cl_fakepacketloss_send, sv_fakepack...
havoc [Thu, 7 Aug 2003 10:44:20 +0000 (10:44 +0000)]
simulated packet loss (cl_fakepacketloss_receive, cl_fakepacketloss_send, sv_fakepacketloss_receive, sv_fakepacketloss_send) and ping (cl_fakelocalping_min, cl_fakelocalping_max) for network testing (or to handicap oneself in a local game)

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

21 years ago*** empty log message ***
havoc [Thu, 7 Aug 2003 10:41:28 +0000 (10:41 +0000)]
*** empty log message ***

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

21 years agosigh, one more thing I forgot to commit :(
havoc [Thu, 7 Aug 2003 10:38:26 +0000 (10:38 +0000)]
sigh, one more thing I forgot to commit :(

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

21 years agoworking code is better than broken code
havoc [Wed, 6 Aug 2003 16:33:26 +0000 (16:33 +0000)]
working code is better than broken code
code that compiles is good too...
(fix bugs/unfinished code in the DPPROTOCOL_VERSION4 commit)

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

21 years agoupgraded network protocol to DPPROTOCOL_VERSION4 - this means partial entity updates...
havoc [Wed, 6 Aug 2003 13:16:48 +0000 (13:16 +0000)]
upgraded network protocol to DPPROTOCOL_VERSION4 - this means partial entity updates are now supported (limited bandwidth entity updates), although the "rate" cvar stuff has not been implemented yet...  it also means entirely dynamic resizing of arrays in the server's entity database per client, so memory usage goes *WAY* down (used to be 256mb for 64 players, no matter what map/mod, now entirely adaptive as the game goes)
svs.clients gone, replaced with svs.connectedclients (similar idea except this is an array of pointers, and they are NULL for any unconnected client slots), this means entirely dynamic memory usage depending on number of clients (at least in the server; the client still needs fixing), this also means "maxplayers" is now a cvar (sv_maxplayers internally), not a command
some fixes/cleanups/tweaks (like proper setup of default maxplayers and deathmatch cvar in multiplayer-only games incase someone starts a map from console right away without using the menus)

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

21 years ago*** empty log message ***
havoc [Wed, 6 Aug 2003 13:11:33 +0000 (13:11 +0000)]
*** empty log message ***

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

21 years agooptimized polygon collision code a bit (optimized node side comparison)
havoc [Wed, 6 Aug 2003 10:22:10 +0000 (10:22 +0000)]
optimized polygon collision code a bit (optimized node side comparison)

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

21 years agoadded MOVE_WORLDONLY movement type
havoc [Sun, 3 Aug 2003 13:20:27 +0000 (13:20 +0000)]
added MOVE_WORLDONLY movement type
now does vis traces using MOVE_WORLDONLY to get a significant speed boost (back to the way it was before) and hopefully prevent any problems with transparent solid bmodels blocking visibility of
entities

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

21 years ago*** empty log message ***
havoc [Sun, 3 Aug 2003 13:05:22 +0000 (13:05 +0000)]
*** empty log message ***

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

21 years agofix skin loading on mdl (and probably md2) models by not setting numskins unless...
havoc [Sun, 3 Aug 2003 13:04:04 +0000 (13:04 +0000)]
fix skin loading on mdl (and probably md2) models by not setting numskins unless skin file override is happening

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

21 years agocorrected a few LittleLongs to LittleFloat in md3 loading (EEP those were bad)
havoc [Thu, 31 Jul 2003 00:26:34 +0000 (00:26 +0000)]
corrected a few LittleLongs to LittleFloat in md3 loading (EEP those were bad)
.skin loading is now able to parse the quake3 format, and uses "common/nodraw" or "textures/common/nodraw" for the invisible parts, this also meant supporting replacement tag names in the .skin files...  so that's implemented as well (quite difficult)
COM_ParseToken upgraded to be able to parse .skin files (now identifies more single character tokens, and can return newlines if desired - this required patching lots of code to pass false to it)
added beginnings of support for DPPROTOCOL_VERSION4 in client (I.E. does nothing right now because the server speaks DPPROTOCOL_VERSION3)

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

21 years ago*** empty log message ***
havoc [Thu, 31 Jul 2003 00:25:40 +0000 (00:25 +0000)]
*** empty log message ***

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

21 years agosimplified dlight fading code
havoc [Thu, 31 Jul 2003 00:16:05 +0000 (00:16 +0000)]
simplified dlight fading code

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

21 years agoadded code for protocol 4, not hooked up or tested
havoc [Mon, 28 Jul 2003 23:47:05 +0000 (23:47 +0000)]
added code for protocol 4, not hooked up or tested

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

21 years ago*** empty log message ***
havoc [Mon, 28 Jul 2003 23:46:11 +0000 (23:46 +0000)]
*** empty log message ***

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

21 years agoI hope this fixes tags on md3 models, but I don't have any idea...
havoc [Mon, 28 Jul 2003 11:45:56 +0000 (11:45 +0000)]
I hope this fixes tags on md3 models, but I don't have any idea...

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

21 years agofix setattachment (it was setting tag_index to i, should have been i + 1), also added...
havoc [Mon, 28 Jul 2003 11:02:26 +0000 (11:02 +0000)]
fix setattachment (it was setting tag_index to i, should have been i + 1), also added some developer warnings if it fails

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

21 years agodisable -Werror because it makes a mess of releases if anyone has warnings (like...
havoc [Sun, 27 Jul 2003 05:23:35 +0000 (05:23 +0000)]
disable -Werror because it makes a mess of releases if anyone has warnings (like a certain release I made a few days ago...  and then got 5 or so 'it doesn't compile' reports from Linux users :)

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

21 years agoremove an unused variable (and kill the one incorrect use of it)
havoc [Sun, 27 Jul 2003 05:20:17 +0000 (05:20 +0000)]
remove an unused variable (and kill the one incorrect use of it)

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

21 years agoadded MAX_PACKETFRAGMENT to limit size of reliable packets, and also try to keep...
havoc [Sun, 27 Jul 2003 05:13:27 +0000 (05:13 +0000)]
added MAX_PACKETFRAGMENT to limit size of reliable packets, and also try to keep effects from pushing it over the limit either, this means the only possible way to push it over the limit is entity updates, and if exceeding the limit the packets might be lost, possibly dropping the player...  but at least everything else should work now.

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

21 years ago*** empty log message ***
havoc [Sun, 27 Jul 2003 04:52:19 +0000 (04:52 +0000)]
*** empty log message ***

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

21 years agomissing )
havoc [Sat, 26 Jul 2003 10:52:35 +0000 (10:52 +0000)]
missing )

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

21 years agochanged .skin loading behavior to compare mesh name, not shader name, this matches...
havoc [Sat, 26 Jul 2003 09:34:23 +0000 (09:34 +0000)]
changed .skin loading behavior to compare mesh name, not shader name, this matches quake3 behavior
now shows r_notexture if a texture is missing on md2/md3 and missing .skin replacements

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

21 years agoreport if skins are missing in SkinFiles system
havoc [Sat, 26 Jul 2003 08:28:43 +0000 (08:28 +0000)]
report if skins are missing in SkinFiles system

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

21 years ago*** empty log message ***
havoc [Sat, 26 Jul 2003 00:18:35 +0000 (00:18 +0000)]
*** empty log message ***

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

21 years ago*** empty log message ***
havoc [Sat, 26 Jul 2003 00:09:41 +0000 (00:09 +0000)]
*** empty log message ***

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

21 years ago*** empty log message ***
havoc [Sat, 26 Jul 2003 00:08:21 +0000 (00:08 +0000)]
*** empty log message ***

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

21 years ago*** empty log message ***
havoc [Fri, 25 Jul 2003 22:35:59 +0000 (22:35 +0000)]
*** empty log message ***

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

21 years agomarked a couple done, and sorted
havoc [Fri, 25 Jul 2003 09:23:03 +0000 (09:23 +0000)]
marked a couple done, and sorted

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

21 years agoadded DP_GFX_SKINFILES and DP_GFX_QUAKE3MODELTAGS extensions
havoc [Fri, 25 Jul 2003 09:19:31 +0000 (09:19 +0000)]
added DP_GFX_SKINFILES and DP_GFX_QUAKE3MODELTAGS extensions

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

21 years agosupport for %s_%i.skin files on alias models (I.E. progs/test.mdl_0.skin), which...
havoc [Fri, 25 Jul 2003 08:56:56 +0000 (08:56 +0000)]
support for %s_%i.skin files on alias models (I.E. progs/test.mdl_0.skin), which contain "replace" commands, followed by the name of the mesh skin to replace ("default" for mdl/md2), and the replacement name, any skins that are not replaced are set to not draw (this means of course that a model can have extra pieces that become invisible in some skins)

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

21 years agoremoved gl.h from the list
havoc [Thu, 24 Jul 2003 21:45:53 +0000 (21:45 +0000)]
removed gl.h from the list
added note that the dx includes can be found in q1source.zip on the id ftp

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

21 years agowsipx.h is not needed anymore, removed from the list
havoc [Thu, 24 Jul 2003 21:43:23 +0000 (21:43 +0000)]
wsipx.h is not needed anymore, removed from the list

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

21 years agoa correction about mingw makefile
havoc [Thu, 24 Jul 2003 21:14:06 +0000 (21:14 +0000)]
a correction about mingw makefile

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

21 years agoadded Battlemech (thanks to Todd for submitting the patch, though I replaced his...
havoc [Thu, 24 Jul 2003 20:08:50 +0000 (20:08 +0000)]
added Battlemech (thanks to Todd for submitting the patch, though I replaced his quit messages)

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

21 years agomd3 tag attachments (implemented but untested), also the capability to attach any...
havoc [Thu, 24 Jul 2003 19:30:54 +0000 (19:30 +0000)]
md3 tag attachments (implemented but untested), also the capability to attach any entity to any other entity without tags (I.E. Q2 vwep models should work if attached to tag "")
redesigned large portions of entity networking (client and server) to deal with the hierarchical entity associations, viewmodel handling (client and server), view handling (client)
this may have fixed some unknown bugs regarding viewmodels and such (I hope so, it's cleaner, although more complicated)

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

21 years agocleaned up quit message system, now GAME_GOODVSBAD2's quit messages work and it's...
havoc [Thu, 24 Jul 2003 18:45:20 +0000 (18:45 +0000)]
cleaned up quit message system, now GAME_GOODVSBAD2's quit messages work and it's easy to add other games, also added back quake messages for quake/hipnotic/rogue modes

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

21 years agoa little more explanation of shadow edge code
havoc [Thu, 24 Jul 2003 07:20:18 +0000 (07:20 +0000)]
a little more explanation of shadow edge code

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

21 years agoquite possibly the smallest ever commit - deleting an obsolete comment
havoc [Thu, 24 Jul 2003 06:12:03 +0000 (06:12 +0000)]
quite possibly the smallest ever commit - deleting an obsolete comment

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

21 years agoKill an unused increment.
warp [Tue, 22 Jul 2003 22:02:47 +0000 (22:02 +0000)]
Kill an unused increment.

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

21 years agonow loads md3 tags
havoc [Tue, 22 Jul 2003 20:02:16 +0000 (20:02 +0000)]
now loads md3 tags

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

21 years agofixed TE_BLOOD2 (by making it go away, it was not used by anyone, now an empty slot...
havoc [Tue, 22 Jul 2003 19:23:37 +0000 (19:23 +0000)]
fixed TE_BLOOD2 (by making it go away, it was not used by anyone, now an empty slot named TE_UNUSED1)

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

21 years agocollision code cleanups (model->brush.TraceBox is now used for everything except...
havoc [Tue, 22 Jul 2003 18:50:38 +0000 (18:50 +0000)]
collision code cleanups (model->brush.TraceBox is now used for everything except of course bbox collisions which use Collision_ClipTrace_Box)

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

21 years agoget rid of bobbing when dead
havoc [Tue, 22 Jul 2003 18:45:55 +0000 (18:45 +0000)]
get rid of bobbing when dead

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

21 years agoadded VectorLerp
havoc [Tue, 22 Jul 2003 18:44:34 +0000 (18:44 +0000)]
added VectorLerp

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

21 years agoadded Q2 and Q3 contents flags
havoc [Tue, 22 Jul 2003 18:42:43 +0000 (18:42 +0000)]
added Q2 and Q3 contents flags

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

21 years agoviewmodels should not emit dlights (they spawn around 0 0 0), thanks to Tomaz for...
havoc [Tue, 22 Jul 2003 18:12:51 +0000 (18:12 +0000)]
viewmodels should not emit dlights (they spawn around 0 0 0), thanks to Tomaz for reporting this

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

21 years agogl_flashblend 1 now disables model dlighting like it was supposed to (thanks to Tomaz...
havoc [Tue, 22 Jul 2003 18:08:08 +0000 (18:08 +0000)]
gl_flashblend 1 now disables model dlighting like it was supposed to (thanks to Tomaz for reporting this)

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

21 years agofix major editing mistake in Mod_LoadSkinFrame (it was using basepixels_width/height...
havoc [Tue, 22 Jul 2003 17:22:21 +0000 (17:22 +0000)]
fix major editing mistake in Mod_LoadSkinFrame (it was using basepixels_width/height for nmappixels), thanks to Tomaz for finding this bug

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

21 years agoadd a couple Mem_CheckSentinelsGlobal calls to loadimagepixels when developer_memoryd...
havoc [Tue, 22 Jul 2003 16:35:40 +0000 (16:35 +0000)]
add a couple Mem_CheckSentinelsGlobal calls to loadimagepixels when developer_memorydebug is on (I really can't imagine these ever being needed, but might as well check)

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

21 years agouse proper string for conn->address when accepting a new client (otherwise it could...
havoc [Tue, 22 Jul 2003 16:31:39 +0000 (16:31 +0000)]
use proper string for conn->address when accepting a new client (otherwise it could easily be so bogus as to trash the netconn structure)
thanks very much to Tomaz for tracking down this major bug

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

21 years agoexpose the developer_memory and developer_memorydebug cvars for use in other modules
havoc [Tue, 22 Jul 2003 16:28:27 +0000 (16:28 +0000)]
expose the developer_memory and developer_memorydebug cvars for use in other modules

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

21 years agotwo more dpzoo items
havoc [Tue, 22 Jul 2003 00:46:50 +0000 (00:46 +0000)]
two more dpzoo items

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

21 years agothanks to Tomaz for pestering me about the fact his last project files didn't get...
havoc [Tue, 22 Jul 2003 00:41:57 +0000 (00:41 +0000)]
thanks to Tomaz for pestering me about the fact his last project files didn't get committed somehow (I KNOW I did commit it!  but it didn't stick somehow)

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

21 years agomore changes
havoc [Mon, 21 Jul 2003 22:36:38 +0000 (22:36 +0000)]
more changes

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

21 years agosome more battlemech related todo items
havoc [Mon, 21 Jul 2003 22:24:03 +0000 (22:24 +0000)]
some more battlemech related todo items

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

21 years agoadded a battlemech bug report
havoc [Mon, 21 Jul 2003 21:26:10 +0000 (21:26 +0000)]
added a battlemech bug report

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

21 years ago*** empty log message ***
havoc [Mon, 21 Jul 2003 20:48:44 +0000 (20:48 +0000)]
*** empty log message ***

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

21 years agofix an error in a last minute change (was using maxcontentlength in Write, which...
havoc [Mon, 21 Jul 2003 04:15:18 +0000 (04:15 +0000)]
fix an error in a last minute change (was using maxcontentlength in Write, which takes contentlength)

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

21 years agoskip over NULL sockets in cl_sockets and sv_sockets lists
havoc [Mon, 21 Jul 2003 04:04:31 +0000 (04:04 +0000)]
skip over NULL sockets in cl_sockets and sv_sockets lists

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

21 years agopatch up some major cracks in the armor of the functions (they now don't like being...
havoc [Mon, 21 Jul 2003 04:03:12 +0000 (04:03 +0000)]
patch up some major cracks in the armor of the functions (they now don't like being passed NULL for anything)

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

21 years agomarked gl_texturemode bug as done (apparently I fixed it at some point long ago and...
havoc [Sun, 20 Jul 2003 23:21:40 +0000 (23:21 +0000)]
marked gl_texturemode bug as done (apparently I fixed it at some point long ago and forgot about fixing it), thanks to Vic for noticing this

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

21 years agoadded SV_PointContents
havoc [Sat, 19 Jul 2003 17:53:04 +0000 (17:53 +0000)]
added SV_PointContents
moved PointContents and FindNonSolidLocation function pointers into brush from brushq1
added TraceBox function pointer to brush (but no implementations of it yet)

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

21 years ago*** empty log message ***
havoc [Sat, 19 Jul 2003 17:51:39 +0000 (17:51 +0000)]
*** empty log message ***

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

21 years agothanks to Tomaz for updating the project files
havoc [Fri, 18 Jul 2003 21:20:03 +0000 (21:20 +0000)]
thanks to Tomaz for updating the project files

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

21 years ago*** empty log message ***
havoc [Fri, 18 Jul 2003 19:42:08 +0000 (19:42 +0000)]
*** empty log message ***

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

21 years agofinally I decided to commit my todo list, for whoever wants to contribute to the...
havoc [Fri, 18 Jul 2003 18:40:01 +0000 (18:40 +0000)]
finally I decided to commit my todo list, for whoever wants to contribute to the effort of finishing items on it
NOTE: I sort this periodically, so if any items are out of order they will be sorted later

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

21 years agonow loads q3 bsp (but can't render it or collide with it, so don't try it)
havoc [Fri, 18 Jul 2003 17:24:44 +0000 (17:24 +0000)]
now loads q3 bsp (but can't render it or collide with it, so don't try it)

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

21 years agomoved all type-specific model fields to respective structures (alias, sprite, brush)
havoc [Thu, 17 Jul 2003 14:57:05 +0000 (14:57 +0000)]
moved all type-specific model fields to respective structures (alias, sprite, brush)
renamed model_t brush to brushq1, and created brush, brushq2, brushq3, currently brush only has entities, all else is type specific
wrote the beginnings of a q3 bsp loader (and of course the headers)
added functions CL_PointContents and CL_FindNonSolidLocation to simplify queries of world model (and make it more maintainable when q3bsp support is finished)
added r_shadow_glossintensity cvar (default 1) for glossmap textures
added r_shadow_gloss2intensity cvar (default 0.25) for forced gloss

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

21 years agoturn down optimizations to -O2 because some versions of gcc are buggy on higher settings
havoc [Tue, 15 Jul 2003 09:09:24 +0000 (09:09 +0000)]
turn down optimizations to -O2 because some versions of gcc are buggy on higher settings

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

21 years agoincrease number of digits for memlist reports
havoc [Tue, 15 Jul 2003 09:07:27 +0000 (09:07 +0000)]
increase number of digits for memlist reports

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

21 years agojpeg screenshot support in cl_avidemo recording
havoc [Tue, 15 Jul 2003 09:06:38 +0000 (09:06 +0000)]
jpeg screenshot support in cl_avidemo recording

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

21 years agoadded r_lightning.c to move the lightning beam rendering code out of cl_main.c
havoc [Mon, 14 Jul 2003 15:46:58 +0000 (15:46 +0000)]
added r_lightning.c to move the lightning beam rendering code out of cl_main.c
shrunk entity_t struct a bit (by removing some stuff from persistent which had similar/identical values in render)
restructured/refactored some of entity relinking (now all relinking happens in cl_main.c where it belongs, moved viewmodel stuff out of view code)
restructured how viewmodels are handled
streamlined/cleanedup/refactored V_CalcRefdef (and merged in V_UpdateBlends and V_AddIdle and V_CalcBob)

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

21 years agonow reports resamplesfx calls that don't involve resampling (of course only if develo...
havoc [Mon, 14 Jul 2003 15:38:23 +0000 (15:38 +0000)]
now reports resamplesfx calls that don't involve resampling (of course only if developer is on)
now reports if memory allocation failed for a sound during loading

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

21 years agoFix the event mask so that the gamma is reset when DP loses the focus or
rain [Mon, 14 Jul 2003 08:23:51 +0000 (08:23 +0000)]
Fix the event mask so that the gamma is reset when DP loses the focus or
the pointer leaves the window.

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

21 years agonow defaults to 20% brightness conback because I got the first of many reports of...
havoc [Mon, 14 Jul 2003 08:21:52 +0000 (08:21 +0000)]
now defaults to 20% brightness conback because I got the first of many reports of 'broken console'

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

21 years agoadded scr_conbrightness cvar
havoc [Mon, 14 Jul 2003 07:48:16 +0000 (07:48 +0000)]
added scr_conbrightness cvar
added scr_conspeed, scr_conalpha, and scr_conbrightness cvars to options menu
moved definitions and externs of scr_conspeed, scr_conalpha, and scr_conbrightness cvars to cl_screen.c/screen.h

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

21 years agofix loading of skins that end in ".tga" or similar (now strips image extensions off...
havoc [Mon, 14 Jul 2003 07:46:44 +0000 (07:46 +0000)]
fix loading of skins that end in ".tga" or similar (now strips image extensions off the shader name before loading the textures)

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

21 years agoadded some (untested) terrain code for whomever cares
havoc [Sun, 13 Jul 2003 17:54:42 +0000 (17:54 +0000)]
added some (untested) terrain code for whomever cares

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

21 years agocompare coop.value instead of coop.integer
havoc [Sun, 13 Jul 2003 17:53:50 +0000 (17:53 +0000)]
compare coop.value instead of coop.integer
(no difference in any mod I know of, but...)

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

21 years agoadded a very important part of GAME_GOODVSBAD2 support (it was not in the gamelist...
havoc [Sun, 13 Jul 2003 17:49:10 +0000 (17:49 +0000)]
added a very important part of GAME_GOODVSBAD2 support (it was not in the gamelist array and thus its levels were not listed)

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

21 years agoGL_EXT_texture_filter_anisotropic support (thanks zinx!)
havoc [Sun, 13 Jul 2003 10:22:32 +0000 (10:22 +0000)]
GL_EXT_texture_filter_anisotropic support (thanks zinx!)

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

21 years agoslight simplification of fog layer in alias skins
havoc [Sun, 13 Jul 2003 04:20:50 +0000 (04:20 +0000)]
slight simplification of fog layer in alias skins

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