]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
20 years agowinquake.h is gone, absorbed into the respective files which used it, also cleaned...
havoc [Mon, 2 Feb 2004 14:37:56 +0000 (14:37 +0000)]
winquake.h is gone, absorbed into the respective files which used it, also cleaned out all unneeded winquake.h cruft

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

20 years agothanks to de-we for these great icons (I have not figured out how to use them yet...
havoc [Mon, 2 Feb 2004 14:04:30 +0000 (14:04 +0000)]
thanks to de-we for these great icons (I have not figured out how to use them yet, though)

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

20 years agofixing up rtlight handling a bit (now always runs the dynlight stage which has been...
havoc [Mon, 2 Feb 2004 13:22:40 +0000 (13:22 +0000)]
fixing up rtlight handling a bit (now always runs the dynlight stage which has been renamed rtlights stage in the r_speeds report)

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

20 years agothanks to Mathieu Olivier for these new makefiles
havoc [Mon, 2 Feb 2004 13:09:30 +0000 (13:09 +0000)]
thanks to Mathieu Olivier for these new makefiles

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

20 years agofix a logic bug in EntLight handling (should have been checking r_shadow_realtime_wor...
havoc [Mon, 2 Feb 2004 12:45:11 +0000 (12:45 +0000)]
fix a logic bug in EntLight handling (should have been checking r_shadow_realtime_world not dlight or flashblend)

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

20 years agofixed sv_freezenonclients (now freezes time as well)
havoc [Mon, 2 Feb 2004 04:32:50 +0000 (04:32 +0000)]
fixed sv_freezenonclients (now freezes time as well)

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

20 years agoforgot to init enterfrac2 in the TraceLineBrushFloat code
havoc [Mon, 2 Feb 2004 04:06:30 +0000 (04:06 +0000)]
forgot to init enterfrac2 in the TraceLineBrushFloat code

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

20 years agoadded trace.realfraction field which is now used for comparisons instead of fraction...
havoc [Mon, 2 Feb 2004 03:56:38 +0000 (03:56 +0000)]
added trace.realfraction field which is now used for comparisons instead of fraction, this allows proper detection of the nearest blocker without the glitches previously seen sometimes on brush-brush boundaries (where the expanded side boundary was closer than the floor it was part of)
optimized q3bsp point traces (point, not line)
optimized q3bsp line traces (finally got that code working, and added optimized line-triangle tracing code for curves which is 52% faster)
optimized q3bsp brush traces (or tried to...  seems to be slower unfortunately, more work to do on this in the future)
BrushForBox now sets the mins/maxs of the brush for culling
reduced q3mnode_t structure by 4 bytes (checks plane pointer now instead of a dedicated isnode variable)
cleaned up some collision code a bit
added some TargetQuake workarounds (spew warnings instead of crashing to console) for weird physics settings (like MOVETYPE_PUSH and SOLID_BSP with no model)

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

20 years agoadded sv_freezenonclients cvar, fixed the bug that caused falling damage when standin...
havoc [Mon, 2 Feb 2004 03:36:11 +0000 (03:36 +0000)]
added sv_freezenonclients cvar, fixed the bug that caused falling damage when standing on a sloped floor pushing you into a wall, and cleaned up a few other things a bit

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

20 years agonow always uses glPolygonOffset, and collision brush rendering has been fixed with...
havoc [Mon, 2 Feb 2004 02:43:21 +0000 (02:43 +0000)]
now always uses glPolygonOffset, and collision brush rendering has been fixed with better glPolygonOffset settings (no more flicker), also uses glPolygonOffset on shadow volumes now (but this probably has any effect in any cases I know of)

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

20 years agoadded several BoxPlane comparison functions to find information on corners relative...
havoc [Mon, 2 Feb 2004 02:28:40 +0000 (02:28 +0000)]
added several BoxPlane comparison functions to find information on corners relative to the plane (rather than merely checking which side it is on)

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

20 years agochanged a lot of progs errors to warnings, and it prints QC status for warnings
havoc [Mon, 2 Feb 2004 02:21:52 +0000 (02:21 +0000)]
changed a lot of progs errors to warnings, and it prints QC status for warnings

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

20 years agoreduced default r_lightningbeams_repeatdistance from 1024 to 128
havoc [Sun, 1 Feb 2004 22:40:39 +0000 (22:40 +0000)]
reduced default r_lightningbeams_repeatdistance from 1024 to 128

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

20 years agochanged Sys_Sleep from (void) to (int milliseconds), now wastes a lot less cpu time...
havoc [Sun, 1 Feb 2004 22:30:51 +0000 (22:30 +0000)]
changed Sys_Sleep from (void) to (int milliseconds), now wastes a lot less cpu time while waiting for the next frame

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

20 years agoOnly one player list is displayed now. Moved it a little bit down so if you set con_n...
black [Sun, 1 Feb 2004 12:20:05 +0000 (12:20 +0000)]
Only one player list is displayed now. Moved it a little bit down so if you set con_notify 2, it wont bother you any more.

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

20 years agohandle funky ToAscii values (shift/ctrl/alt sometimes produce ascii values for no...
havoc [Sat, 31 Jan 2004 23:04:13 +0000 (23:04 +0000)]
handle funky ToAscii values (shift/ctrl/alt sometimes produce ascii values for no reason), and also ignore any 0 or 2 character values

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

20 years agoSlight improvement in the way we include the strl{cat,cpy} declarations and implement...
molivier [Tue, 27 Jan 2004 09:08:55 +0000 (09:08 +0000)]
Slight improvement in the way we include the strl{cat,cpy} declarations and implementations into the code.

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

20 years agoDon't allow a higher depth than the desktop when using a windowed mode on Win32....
molivier [Tue, 27 Jan 2004 08:12:54 +0000 (08:12 +0000)]
Don't allow a higher depth than the desktop when using a windowed mode on Win32. It seems X11 already forbids this.

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

20 years agouse sys_ticrate timing on dedicated servers
havoc [Tue, 27 Jan 2004 06:13:40 +0000 (06:13 +0000)]
use sys_ticrate timing on dedicated servers

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

20 years agoimproved handling of video mode failures
havoc [Mon, 26 Jan 2004 08:57:04 +0000 (08:57 +0000)]
improved handling of video mode failures

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

20 years agochanged local server ports to 1 (server) and 2 (client), regardless of cl_port and...
havoc [Sat, 24 Jan 2004 01:00:11 +0000 (01:00 +0000)]
changed local server ports to 1 (server) and 2 (client), regardless of cl_port and port cvars
merged cl_netaddress and sv_netaddress into one net_address cvar

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

20 years agofix a severe bug with the checking of WSAStartup (basically any socket after the...
havoc [Sat, 24 Jan 2004 00:42:26 +0000 (00:42 +0000)]
fix a severe bug with the checking of WSAStartup (basically any socket after the first would fail for no reason)

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

20 years agodisabled opening of ipv6 sockets since that code still isn't finished (this MIGHT...
havoc [Fri, 23 Jan 2004 10:03:13 +0000 (10:03 +0000)]
disabled opening of ipv6 sockets since that code still isn't finished (this MIGHT fix win32 problems, not sure yet), and now prints error messages when socket/bind/ioctl calls fail

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

20 years agowrap angles on rotating pushers because large angle values are bad for precision
havoc [Wed, 21 Jan 2004 09:22:19 +0000 (09:22 +0000)]
wrap angles on rotating pushers because large angle values are bad for precision

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

20 years agoTransfusion update: renamed the mod directory to "basetf" instead of "transfusion...
molivier [Wed, 21 Jan 2004 07:29:42 +0000 (07:29 +0000)]
Transfusion update: renamed the mod directory to "basetf" instead of "transfusion", and added 6 new maps.

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

20 years ago-safe now implies -window and disables all GL extensions that offer a disable option
havoc [Tue, 20 Jan 2004 21:03:38 +0000 (21:03 +0000)]
-safe now implies -window and disables all GL extensions that offer a disable option

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

20 years agoAdded a check in the WAV loading code to make sure the file is a WAV file before...
molivier [Tue, 20 Jan 2004 13:18:49 +0000 (13:18 +0000)]
Added a check in the WAV loading code to make sure the file is a WAV file before proceeding. Thanks to Urre for pointing out this bug.

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

20 years agoignore visofs errors on leaf 0 (solid), thanks to Vic for pointing out the problem...
havoc [Mon, 19 Jan 2004 22:30:46 +0000 (22:30 +0000)]
ignore visofs errors on leaf 0 (solid), thanks to Vic for pointing out the problem in qbsp itself

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

20 years agochanged comment above FS_CreatePath
havoc [Mon, 19 Jan 2004 21:34:59 +0000 (21:34 +0000)]
changed comment above FS_CreatePath

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

20 years ago*** empty log message ***
havoc [Sat, 17 Jan 2004 04:07:32 +0000 (04:07 +0000)]
*** empty log message ***

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

20 years agofixed a crash with r_lerpsprites 0 mode
havoc [Tue, 13 Jan 2004 22:14:48 +0000 (22:14 +0000)]
fixed a crash with r_lerpsprites 0 mode

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

20 years agoFixed findkeysforcommand hopefully.
black [Mon, 12 Jan 2004 18:48:36 +0000 (18:48 +0000)]
Fixed findkeysforcommand hopefully.

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

20 years agoAdded sound support to the NetBSD port. Most of the code comes from the original...
molivier [Mon, 12 Jan 2004 07:38:15 +0000 (07:38 +0000)]
Added sound support to the NetBSD port. Most of the code comes from the original "snd_sun.c" file, by id Software. Some TODO remains, including the support for the "-snd*" options. Hopefully, the BSD specific code in DP works for the 3 majors BSD flavors, though I cannot test it on FreeBSD and OpenBSD anyway (feedback and test welcome if you have a BSD box at your disposal).

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

20 years agoRemoved a few warnings when compiling with MinGW
molivier [Mon, 12 Jan 2004 07:33:11 +0000 (07:33 +0000)]
Removed a few warnings when compiling with MinGW

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

20 years agodon't try to upload distorttextures if the texture shader extension is missing
havoc [Mon, 12 Jan 2004 03:54:29 +0000 (03:54 +0000)]
don't try to upload distorttextures if the texture shader extension is missing

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

20 years agoAdded the findkeysforcommand builtin to the menu qc. It returns an altstring containi...
black [Sun, 11 Jan 2004 17:41:08 +0000 (17:41 +0000)]
Added the findkeysforcommand builtin to the menu qc. It returns an altstring containing the keys which trigger the searched command.

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

20 years agoHopefully finished the core of the new ui.
black [Sun, 11 Jan 2004 17:35:27 +0000 (17:35 +0000)]
Hopefully finished the core of the new ui.

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

20 years agorewrote COM_ParseToken and COM_ParseTokenConsole to make them buffer size safe (thank...
havoc [Wed, 7 Jan 2004 12:09:57 +0000 (12:09 +0000)]
rewrote COM_ParseToken and COM_ParseTokenConsole to make them buffer size safe (thanks to Vic for pointing out this problem), not that a rewrite was strictly necessary but it probably fixed unknown bugs

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

20 years agofix a bad bug in developer printing of out of bounds fraction (crashed Con_Printf...
havoc [Wed, 7 Jan 2004 12:07:14 +0000 (12:07 +0000)]
fix a bad bug in developer printing of out of bounds fraction (crashed Con_Printf by giving it bad parameters)

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

20 years agoINCOMPLETE SDL video support (don't use it!) No input, no multiple video
knghtbrd [Thu, 1 Jan 2004 16:50:10 +0000 (16:50 +0000)]
INCOMPLETE SDL video support (don't use it!)  No input, no multiple video
modes, no proper shutdown.  May not even compile anywher but my mac as of
yet.

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

20 years agoUndo moving cl_available. This really doesn't belong in system-specific
knghtbrd [Thu, 1 Jan 2004 16:45:56 +0000 (16:45 +0000)]
Undo moving cl_available.  This really doesn't belong in system-specific
video code, but it's the only place for that kind of thing unless someone
wants to make the dedicated DarkPlaces binary a lot less bloated.  Not on
my priority list right now.

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

20 years agoadded c_nodes, c_leafs, and c_faces increments in q3bsp rendering to make r_speeds...
havoc [Thu, 1 Jan 2004 12:25:36 +0000 (12:25 +0000)]
added c_nodes, c_leafs, and c_faces increments in q3bsp rendering to make r_speeds more useful

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

20 years agosorry Mathieu, can't use va() in filesystem code, not safe. (this was causing the...
havoc [Thu, 1 Jan 2004 10:25:05 +0000 (10:25 +0000)]
sorry Mathieu, can't use va() in filesystem code, not safe. (this was causing the crosshairs to not work due to heavy reuse of va() buffers)

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

20 years agofix a missing ; from knghtbrd's commit
havoc [Thu, 1 Jan 2004 05:22:21 +0000 (05:22 +0000)]
fix a missing ; from knghtbrd's commit

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

20 years agoMoved an extern to the proper header.
knghtbrd [Thu, 1 Jan 2004 04:39:47 +0000 (04:39 +0000)]
Moved an extern to the proper header.

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

20 years agoMoved cl_available definition to vid_shared.c
knghtbrd [Thu, 1 Jan 2004 04:01:00 +0000 (04:01 +0000)]
Moved cl_available definition to vid_shared.c

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

20 years agonow runs scripts at startup differently - runs scripts twice, once only executing...
havoc [Thu, 1 Jan 2004 02:35:56 +0000 (02:35 +0000)]
now runs scripts at startup differently - runs scripts twice, once only executing cvar and exec, then starts video, then runs scripts again

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

20 years agofixed the complaints about missing sounds (no longer complains after the initial...
havoc [Thu, 1 Jan 2004 02:33:48 +0000 (02:33 +0000)]
fixed the complaints about missing sounds (no longer complains after the initial precache failure)

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

20 years agoMore MacOS X stuff. The correct test for MacOS X in preprocessor seems to
knghtbrd [Wed, 31 Dec 2003 18:03:49 +0000 (18:03 +0000)]
More MacOS X stuff.  The correct test for MacOS X in preprocessor seems to
be defined(__APPLE__) && defined(__MACH__).  MacOS X has strl functions,
so don't bother compiling them.  Also, the correct name and location of
libGL for X11 on a Mac is /usr/X11R6/lib/libGL.1.dylib.  Compiles with one
warning caused by use of dlfcn.h (an emulation of the dynamic ELF object
loader which complains that you really should be using the Mach-O dylib
API instead.)

Compiled with gcc 3.1 (use gcc_select) on MacOS X 10.3 with X11 and the
Xcode Tools installed.  Makefile changes were: null sound/cd, removal of
-lxf86dga from the GLX build, and replacing -ggdb in both places with
plain old -g (someone at Apple needs a LARTing for this...)  SHOULD work
with 10.2 provided that you have developer tools, X11 with devel stuff,
and the dlfcn emulation package from fink.  I can't promise meaningful
support for anything but Panther, sorry.

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

20 years agomake sure client ports are opened before trying to connect to anything
havoc [Wed, 31 Dec 2003 08:32:54 +0000 (08:32 +0000)]
make sure client ports are opened before trying to connect to anything

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

20 years agodon't even try to support XF86DGA stuff on Mac
havoc [Wed, 31 Dec 2003 07:37:22 +0000 (07:37 +0000)]
don't even try to support XF86DGA stuff on Mac

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

20 years agofix a thinko in big endian support (forgot to use defined() in a #elif)
havoc [Wed, 31 Dec 2003 07:18:07 +0000 (07:18 +0000)]
fix a thinko in big endian support (forgot to use defined() in a #elif)

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

20 years agoFactorized the file searching algorithm in the FS code. Sorted packaged files list...
molivier [Tue, 30 Dec 2003 13:00:48 +0000 (13:00 +0000)]
Factorized the file searching algorithm in the FS code. Sorted packaged files list at load time to allow the use of a binary search. Overall, I think you can expect a file search time divided by a factor between 1.5 to 3 depending on your mod and packages layout. Time lost in the file search code on my P233MMX: vanilla Quake (4121 searches while loading the 1st demo): 2.7 sec -> 1.6 sec, Transfusion mod (9752 searches while loading BB1): 18.0 sec -> 7.6 sec

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

20 years agoupdated sv_masterextra1 to point to the newer master server address
havoc [Mon, 29 Dec 2003 23:47:55 +0000 (23:47 +0000)]
updated sv_masterextra1 to point to the newer master server address

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

20 years agochanged nexuiz hud to display a different (more minimal) sbar pic when viewsize is 110
havoc [Mon, 29 Dec 2003 05:43:47 +0000 (05:43 +0000)]
changed nexuiz hud to display a different (more minimal) sbar pic when viewsize is 110

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

20 years agoadded GAME_SOM (and its hud), and shuffled some hud code around to make things a...
havoc [Mon, 29 Dec 2003 01:57:38 +0000 (01:57 +0000)]
added GAME_SOM (and its hud), and shuffled some hud code around to make things a little cleaner

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

20 years agofixed bug with falling (not on ground) MOVETYPE_STEP entities not touching triggers
havoc [Sun, 28 Dec 2003 06:21:36 +0000 (06:21 +0000)]
fixed bug with falling (not on ground) MOVETYPE_STEP entities not touching triggers

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

20 years agomade TryUnstick failure a DPrintf (like TryUnstick success is)
havoc [Sun, 28 Dec 2003 05:14:29 +0000 (05:14 +0000)]
made TryUnstick failure a DPrintf (like TryUnstick success is)

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

20 years agoadded ogg.o to WGL exe build
havoc [Sun, 28 Dec 2003 02:14:15 +0000 (02:14 +0000)]
added ogg.o to WGL exe build

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

20 years agofix a thinko on clip.trace.ent = sv.edicts (it should only be set if startsolid or...
havoc [Sun, 28 Dec 2003 02:08:10 +0000 (02:08 +0000)]
fix a thinko on clip.trace.ent = sv.edicts (it should only be set if startsolid or fraction < 1)

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

20 years agofixed fiends jumping through player bug, huge thanks to Tomaz for days of help tracki...
havoc [Sun, 28 Dec 2003 01:05:40 +0000 (01:05 +0000)]
fixed fiends jumping through player bug, huge thanks to Tomaz for days of help tracking down this longstanding bug! (it supported rotated collisions with bbox entities - not good!)
refined the COLLISIONPARANOID checks (now centralized in SV_Move)

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

20 years agoimproved support for q3map2 lights (added fade and scale keys supported by rtcw and...
havoc [Sun, 28 Dec 2003 00:58:38 +0000 (00:58 +0000)]
improved support for q3map2 lights (added fade and scale keys supported by rtcw and sof2 respectively)

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

20 years agoSimple Ogg Vorbis support (no streaming: the file is fully decompressed in memory...
molivier [Sat, 27 Dec 2003 21:15:16 +0000 (21:15 +0000)]
Simple Ogg Vorbis support (no streaming: the file is fully decompressed in memory, you just save disk space). DP will try to load the VorbisFile library at startup and will enable Ogg Vorbis support if it succeeds, so you need the Ogg Vorbis official DLLs. Win32 binaries works, but the Linux binaries are still untested for the moment - they compile successfully though.

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

20 years agomade an annoying cbox message that I had forgotten to disable, into a COLLISIONPARANO...
havoc [Fri, 26 Dec 2003 17:28:18 +0000 (17:28 +0000)]
made an annoying cbox message that I had forgotten to disable, into a COLLISIONPARANOID >= 3 line

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

20 years agofix a bug with using the wrong trace end variable in the COLLISIONPARANOID print
havoc [Wed, 24 Dec 2003 21:24:49 +0000 (21:24 +0000)]
fix a bug with using the wrong trace end variable in the COLLISIONPARANOID print

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

20 years agopatched up some compiler warnings in incomplete code
havoc [Wed, 24 Dec 2003 21:22:43 +0000 (21:22 +0000)]
patched up some compiler warnings in incomplete code

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

20 years agoadded a bunch more COLLISIONPARANOID code trying to track down a physics bug with...
havoc [Wed, 24 Dec 2003 21:07:41 +0000 (21:07 +0000)]
added a bunch more COLLISIONPARANOID code trying to track down a physics bug with fiends jumping through players, this defaults off (see end of collision.h)

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

20 years agoadded "sv_saveentfile" command to allow easy dumping of .ent files from maps so they...
havoc [Wed, 24 Dec 2003 21:05:17 +0000 (21:05 +0000)]
added "sv_saveentfile" command to allow easy dumping of .ent files from maps so they can then be edited in a text editor

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

20 years agofixed cloud layers in quake sky loading
havoc [Wed, 24 Dec 2003 18:16:58 +0000 (18:16 +0000)]
fixed cloud layers in quake sky loading

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

20 years agoFast commit before Im off for 10 days. Please correct/undo my commit if it breaks...
black [Tue, 23 Dec 2003 12:12:03 +0000 (12:12 +0000)]
Fast commit before Im off for 10 days. Please correct/undo my commit if it breaks something, I havent had time to test everything perfectly but Im hoping that everything works. Merry Christmas everybody !

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

20 years agoAdded the cvar sbar_alpha.
black [Sat, 20 Dec 2003 18:32:47 +0000 (18:32 +0000)]
Added the cvar sbar_alpha.

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

20 years agoPR_SetString and PRVM_SetString now point to pr_strings - resp. prog->strings if...
black [Sat, 20 Dec 2003 18:21:18 +0000 (18:21 +0000)]
PR_SetString and PRVM_SetString now point to pr_strings - resp. prog->strings if a NULL string is passed.

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

20 years agoAdded the console commands edictset and prvm_edictset.
black [Fri, 19 Dec 2003 17:54:22 +0000 (17:54 +0000)]
Added the console commands edictset and prvm_edictset.

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

20 years agoFixed the crash that occured when the commandline got "too long".
black [Fri, 19 Dec 2003 16:46:48 +0000 (16:46 +0000)]
Fixed the crash that occured when the commandline got "too long".

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

20 years agoRemoved a potential buffer overflow and factorized some code
molivier [Thu, 18 Dec 2003 08:59:54 +0000 (08:59 +0000)]
Removed a potential buffer overflow and factorized some code

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

20 years agominor, minor change to Host_Init - the loading plaque is now displayed before the...
black [Wed, 17 Dec 2003 13:16:47 +0000 (13:16 +0000)]
minor, minor change to Host_Init - the loading plaque is now displayed before the menu is initialized

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

20 years agofixed a bug with high framerate (or low speed) rotating bmodels failing to push when...
havoc [Wed, 17 Dec 2003 09:50:20 +0000 (09:50 +0000)]
fixed a bug with high framerate (or low speed) rotating bmodels failing to push when blocked

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

20 years agoFixed AK version of the FS code, it should now behave as expected, without much dupli...
molivier [Wed, 17 Dec 2003 07:58:33 +0000 (07:58 +0000)]
Fixed AK version of the FS code, it should now behave as expected, without much duplicated code. Factorized "dir" and "ls" console commands code.

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

20 years agofix a filesystem directory listing bug in FS_Search
havoc [Tue, 16 Dec 2003 15:59:21 +0000 (15:59 +0000)]
fix a filesystem directory listing bug in FS_Search

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

20 years agorewrote FS_Search, hopefully it will work better now, and it now matches directories...
havoc [Tue, 16 Dec 2003 15:26:28 +0000 (15:26 +0000)]
rewrote FS_Search, hopefully it will work better now, and it now matches directories inside paks (in other words: listing sound/* will tell you about sound/plats and sound/whatever.wav, this is mainly to be consistent with filesystem directories), it is also no longer two-pass (although simple the two-pass approach was dangerous if the two listings came out different), and it now sorts the listing
rewrote much of matchpattern, now handles path separators specially, and uses a much better approach to handling the * wildcard (no longer looks for the following character, simply tries multiple matchpattern calls until it hits a path separator or gets a match)

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

20 years agoAdded the togglemenu command for both menus and the chr builtin command (menu qc)
black [Tue, 16 Dec 2003 12:43:50 +0000 (12:43 +0000)]
Added the togglemenu command for both menus and the chr builtin command (menu qc)

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

20 years agoadded cvar_string extension at the request of Paul Timofeyev
havoc [Tue, 16 Dec 2003 11:08:07 +0000 (11:08 +0000)]
added cvar_string extension at the request of Paul Timofeyev

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

20 years agoAudio CD support for NetBSD; it also compiles on OpenBSD, but I can't test it for...
molivier [Mon, 15 Dec 2003 07:48:43 +0000 (07:48 +0000)]
Audio CD support for NetBSD; it also compiles on OpenBSD, but I can't test it for now. Plus some diff noise reduction and a minor bug fix in cd_linux.c (the case when the user changes track without using the "cd" command should now be handled correctly)

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

20 years agoRemoved redundant definitions in cd_linux.c
molivier [Fri, 12 Dec 2003 15:01:14 +0000 (15:01 +0000)]
Removed redundant definitions in cd_linux.c

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

20 years agomade sure EF_FULLBRIGHT works on everything (bmodels were broken)
havoc [Fri, 12 Dec 2003 00:28:56 +0000 (00:28 +0000)]
made sure EF_FULLBRIGHT works on everything (bmodels were broken)

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

20 years agoBorland C++ makefile is *so* outdated that I can't even imagine someone is still...
molivier [Thu, 11 Dec 2003 14:17:34 +0000 (14:17 +0000)]
Borland C++ makefile is *so* outdated that I can't even imagine someone is still using it

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

20 years agoOops... I forgot to add this file to the previous commit
molivier [Thu, 11 Dec 2003 13:57:59 +0000 (13:57 +0000)]
Oops... I forgot to add this file to the previous commit

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

20 years agoFactorized audio CD code
molivier [Thu, 11 Dec 2003 13:52:46 +0000 (13:52 +0000)]
Factorized audio CD code

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

20 years agoOpenBSD support wasn't very far away...
molivier [Wed, 10 Dec 2003 08:05:25 +0000 (08:05 +0000)]
OpenBSD support wasn't very far away...

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

20 years agofixed the wall slide stuttering bug (the one that has been annoying me for months...
havoc [Tue, 9 Dec 2003 13:17:46 +0000 (13:17 +0000)]
fixed the wall slide stuttering bug (the one that has been annoying me for months), it turned out to be a float precision issue with cliphull selection, and this also fixed the movetogoal bug (monsters not noticing they hit a wall) and also the scrags-flying-through-wall/ceilings bug

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

20 years agoEarly support for NetBSD (the dedicated binary works and the GLX binary compiles)
molivier [Tue, 9 Dec 2003 08:05:43 +0000 (08:05 +0000)]
Early support for NetBSD (the dedicated binary works and the GLX binary compiles)

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

20 years agoFixed scr_screenshot_jpeg_quality slider in options menu
molivier [Tue, 9 Dec 2003 07:54:59 +0000 (07:54 +0000)]
Fixed scr_screenshot_jpeg_quality slider in options menu

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

20 years agotodo item done: sounds spawn even if out of hearing range (because the player might...
havoc [Mon, 8 Dec 2003 08:03:24 +0000 (08:03 +0000)]
todo item done: sounds spawn even if out of hearing range (because the player might teleport to them)

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

20 years agofixed gcc and linux related compilation problems from Black's recent commit
havoc [Mon, 8 Dec 2003 07:58:28 +0000 (07:58 +0000)]
fixed gcc and linux related compilation problems from Black's recent commit

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

20 years agofix the weapon alpha with invisibility in transfusion
havoc [Mon, 8 Dec 2003 07:11:31 +0000 (07:11 +0000)]
fix the weapon alpha with invisibility in transfusion

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

20 years ago*** empty log message ***
havoc [Mon, 8 Dec 2003 05:05:22 +0000 (05:05 +0000)]
*** empty log message ***

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

20 years agoadded a comment above particle() function to describe its parameters
havoc [Mon, 8 Dec 2003 00:22:13 +0000 (00:22 +0000)]
added a comment above particle() function to describe its parameters

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

20 years agoAdded qc fs search functions, so the qcs can easily verify directories contents,...
black [Sun, 7 Dec 2003 18:55:56 +0000 (18:55 +0000)]
Added qc fs search functions, so the qcs can easily verify directories contents, etc. -> useful for dynamic content loading.
Changed some 'bool's into read-only cvars to make them accessible for the menu qc.

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

20 years agoadded an easteregg (v_psycho), thanks to Zinx Verituse and Ben Winslow for the origin...
havoc [Sun, 7 Dec 2003 13:01:28 +0000 (13:01 +0000)]
added an easteregg (v_psycho), thanks to Zinx Verituse and Ben Winslow for the original code for this

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

20 years agotodo item done: now ignores modelflags on view entities and tag attached entities...
havoc [Sun, 7 Dec 2003 11:40:03 +0000 (11:40 +0000)]
todo item done: now ignores modelflags on view entities and tag attached entities, so there aren't spinning view models and such anymore in Zerstorer and Malice

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