havoc [Thu, 13 Jan 2005 06:07:23 +0000 (06:07 +0000)]
rearranged entire SV_Physics process (which may break mods but I hope not!):
each operation (move, prethink, think, postthink) is now a separate stage (as an optimization mainly)
moves are now done before prethinks, thinks, and postthinks so that think-spawned entities do not move on their first frame (this fixes the issue that all projectiles appeared some distance from the player, dependent on server framerate, so rocket trails and other things look correct)
added a relink of any entity that moves for any reason (just an origin compare), not sure if this is a good idea but it is more consistent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4917
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2005 06:01:58 +0000 (06:01 +0000)]
changed numskins to 1 on q1bsp and q3bsp and numframes to 2 on q3bsp, to suppress some network warnings about non-existent frames/skins
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4916
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2005 06:00:45 +0000 (06:00 +0000)]
no longer kicks off client if it got signon 1 twice during a reconnect (not sure why this happens occasionally though)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4915
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2005 05:58:56 +0000 (05:58 +0000)]
slight optimization to CL_RelinkNetworkEntities to scan entities faster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4914
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2005 05:57:41 +0000 (05:57 +0000)]
optimizations to CL_SelectTraceLine to scan entity list faster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4913
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2005 05:55:46 +0000 (05:55 +0000)]
don't generate vertex/normal/tangents until they are needed by lighting passes, this greatly improved framerates in nexuiz because a lot of models were having nothing to draw (apparently), perhaps their light color was black (odd...)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4912
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 11 Jan 2005 14:47:49 +0000 (14:47 +0000)]
-Now the Nex weapon list works correctly again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4911
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 11 Jan 2005 14:33:39 +0000 (14:33 +0000)]
-The NEXUIZ_PLAYERMODEL is not game specific anymore.
-A small cosmetic change to the Nex weapon list code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4910
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Sun, 9 Jan 2005 09:07:08 +0000 (09:07 +0000)]
- Sys_LoadLibrary now accepts several possible names for a DLL (it fixes
the PK3 and Vorbis supports on NetBSD)
- Added a check for absolute paths in FS_CheckNastyPath
- Moved "COM_Shutdown" after "Log_Close" in the shutdown process to make
sure the FS code is still active when we close the log file
- Factorized some code in the FS module
- Made the "listdirectory" parameter "const"
- Fixed a warning in "prvm_cmds.c" when compiling with GCC
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4909
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Jan 2005 12:20:58 +0000 (12:20 +0000)]
added #include "snd_main.h" to make this compile again (thanks to Ludwig Nussel for the patch)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4908
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Jan 2005 12:19:03 +0000 (12:19 +0000)]
changed libz.so to libz.so.1, libvorbis.so to libvorbis.so.0, and libvorbisfile.so to libvorbisfile.so.3 (thanks to Ludwig Nussel for the patch)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4907
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Jan 2005 11:52:43 +0000 (11:52 +0000)]
thanks to Ludwig Nussel for this patch to add ~/.darkplaces support for non-Windows users
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4906
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 6 Jan 2005 13:31:31 +0000 (13:31 +0000)]
swapped order of incr/decr renders for static shadow volumes (for some reason I had decr first, then incr, doesn't matter since they don't clamp but looks odd in the code)
remove quotes on cubemap names in .rtlights file loader (forgot to commit this previously)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4899
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Mon, 3 Jan 2005 15:47:00 +0000 (15:47 +0000)]
Cleaned up alot more memory leaks. (still get 720 leaks just running demo1.dem)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4897
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 3 Jan 2005 14:22:35 +0000 (14:22 +0000)]
Fixed a warning about an uninitialized variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4896
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 3 Jan 2005 14:20:56 +0000 (14:20 +0000)]
Added S_Terminate to free all sound resources at shutdown
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4895
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 1 Jan 2005 21:52:27 +0000 (21:52 +0000)]
Added CL_Shutdown which took care of 14 memory leaks totaling over 30mb. (needs more added to it)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4894
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 1 Jan 2005 19:00:33 +0000 (19:00 +0000)]
-Added 2 builtins to make the hostcache stuff easier extensible.
More to follow soon.
-Cmd now has a shutdown function so it doesnt leak anything (hopefully).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4893
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 28 Dec 2004 22:29:45 +0000 (22:29 +0000)]
-Changed the name of PingTest to Test (it now also adds a name to the entry)
-Now the test function is enabled by default (just so Vermeulen can play around
with it) - there shouldnt be any conflicts with real servers since I shift the
ping of all emulated servers by 250 ms.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4892
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 28 Dec 2004 16:27:50 +0000 (16:27 +0000)]
-Fixed a minor bug in ResetMasks.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4891
d7cf8633-e32d-0410-b094-
e92efae38249
black [Mon, 27 Dec 2004 16:54:32 +0000 (16:54 +0000)]
-Added support for 10 hostcache masks, which will be at the same time.
5 will be concatenated with AND and the other 5 with OR, so you'll have
plenty of possibilities to mask whatever you want.
-Changed the mask structure and function to be a bit more generic.
-Added 3 new comparison operators (NOTEQUAL, CONTAINS and NOTCONTAIN - the
latter two for strings)
-Adapted the builtins to work with multiple masks.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4890
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sun, 26 Dec 2004 15:39:47 +0000 (15:39 +0000)]
-Added a couple of VM builtins.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4889
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 25 Dec 2004 23:53:10 +0000 (23:53 +0000)]
Updated email address in readme. (thanks to zarquon for pointing out that it was outdated)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4888
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 23 Dec 2004 00:18:03 +0000 (00:18 +0000)]
changed r_bloom_resolution behavior to have a non-square texture to match the view width/height aspect
changed default r_bloom_resolution from 256 to 320
changed r_bloom_blur to adapt to resolutions (using 320 as a base value - blur 8 is 8 pixel blur at resolution 320, 16 pixel blur at 640, etc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4887
d7cf8633-e32d-0410-b094-
e92efae38249
black [Wed, 22 Dec 2004 23:10:20 +0000 (23:10 +0000)]
-Fixed a wrong parameter type in netconn.
-Made hostcache_cachecount public again.
-Added altstr_set to the new VM.
-Started work on the new hostcache interface for the menu qc.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4886
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 22 Dec 2004 18:19:59 +0000 (18:19 +0000)]
don't send a bunch of svc_precache messages in the serverinfo packet (no longer produces svc_precache messages if server state is ss_loading)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4882
d7cf8633-e32d-0410-b094-
e92efae38249
black [Wed, 22 Dec 2004 15:43:39 +0000 (15:43 +0000)]
-Fixed the binary insert in the hostcache.
-Fixed a bug in the old menu's serverlist.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4881
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 22 Dec 2004 00:12:47 +0000 (00:12 +0000)]
some cleaning of the hostcache code
made the binary search insert loop actually do something
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4880
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 21 Dec 2004 22:26:26 +0000 (22:26 +0000)]
334
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4879
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 21 Dec 2004 21:53:22 +0000 (21:53 +0000)]
-Fixed a minor bug in the mask function
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4878
d7cf8633-e32d-0410-b094-
e92efae38249
black [Tue, 21 Dec 2004 21:41:58 +0000 (21:41 +0000)]
-Added a new hostcache interface:
* Ascending und descending sorting by various fields is supported.
* Its possible to mask entries (substrings or comparisons for numbers).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4877
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 21 Dec 2004 16:51:43 +0000 (16:51 +0000)]
fixed up a number of nudging bugs in Collision_TraceLineTriangleFloat
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4876
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 21 Dec 2004 16:48:37 +0000 (16:48 +0000)]
some cleanup and hopefully improved accuracy
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4875
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 20 Dec 2004 20:50:41 +0000 (20:50 +0000)]
colormod now works
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4874
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 20 Dec 2004 20:00:46 +0000 (20:00 +0000)]
save seta cvars with the seta command, and normal ones without it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4873
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 20 Dec 2004 09:58:41 +0000 (09:58 +0000)]
- Fixed JPEG support on Mac OS X
- Fixed Ogg Vorbis support on Mac OS X (the vorbis DLL is now also loaded manually since some OSes don't do that for us)
- Fixed loading of MD3 models on big-endian CPUs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4872
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sun, 19 Dec 2004 22:55:00 +0000 (22:55 +0000)]
-Fixed a "bug" in PRVM_iscachedpic - it always returned true and thus no
images were precached (now it always returns false and the menu halts for
~4 seconds after starting)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4871
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sun, 19 Dec 2004 14:40:34 +0000 (14:40 +0000)]
-Added the cvar sv_progs, which allows you to set the name of the server
progs file.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4870
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sun, 19 Dec 2004 02:12:08 +0000 (02:12 +0000)]
332
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4869
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 19 Dec 2004 02:10:00 +0000 (02:10 +0000)]
334
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4868
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sun, 19 Dec 2004 02:03:49 +0000 (02:03 +0000)]
Projects for win32 dedicated and win32 SDL builds.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4867
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sun, 19 Dec 2004 01:27:50 +0000 (01:27 +0000)]
Remove this file
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4866
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 19 Dec 2004 01:09:34 +0000 (01:09 +0000)]
GLX mode now supports GLX_SGI_swap_control for vid_vsync
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4865
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sun, 19 Dec 2004 01:08:32 +0000 (01:08 +0000)]
Adding a MSVC6 project file to build the win32 darkplaces-dedicated.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4864
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 19 Dec 2004 01:02:07 +0000 (01:02 +0000)]
fixed misnamed variables
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4863
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 19 Dec 2004 00:48:33 +0000 (00:48 +0000)]
removed videosync code from timedemo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4862
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 19 Dec 2004 00:47:26 +0000 (00:47 +0000)]
VID_Finish in WGL now turns off videosync during timedemos
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4861
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 18 Dec 2004 23:59:46 +0000 (23:59 +0000)]
-CL_Video now allows multiple streams again. It is registered as a r_module
now and automatically restores the textures on r_restart.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4860
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 18 Dec 2004 21:31:29 +0000 (21:31 +0000)]
338
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4859
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 18 Dec 2004 21:20:51 +0000 (21:20 +0000)]
338
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4858
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 18 Dec 2004 21:17:47 +0000 (21:17 +0000)]
Fixed the sys_ticrate bounds checking, it was constantly setting it to 0.1 when it is already 0.1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4857
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 18 Dec 2004 20:18:27 +0000 (20:18 +0000)]
Disabled vsync when doing a timedemo.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4856
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 18 Dec 2004 11:22:10 +0000 (11:22 +0000)]
-Castrated the new CL_Video subsystem. It doesnt allow more than 1 video
stream at a time again. I've moved the texture pool stuff into OpenVideo
and CloseVideo, so it should work exactly like the old code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4855
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Sat, 18 Dec 2004 08:12:38 +0000 (08:12 +0000)]
- Fixed PK3 support for Mac OS X
- DP no longer considers empty PK3s as invalid
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4854
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 18 Dec 2004 06:40:21 +0000 (06:40 +0000)]
made sensitivity affect cl_prydoncursor
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4853
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 18 Dec 2004 04:11:14 +0000 (04:11 +0000)]
341
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4852
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 18 Dec 2004 02:40:48 +0000 (02:40 +0000)]
added Bloom effect (r_bloom* cvars)
added Bloom effect cvars to graphics options menu
cleaned up r_speeds variables (c_*) which were being declared and externed and cleared all over the place (that's most of these files)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4851
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 18 Dec 2004 01:37:29 +0000 (01:37 +0000)]
renamed cl_stainmapsclearonload to cl_stainmaps_clearonload to make it ignore the setting in old configs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4850
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 18 Dec 2004 01:24:46 +0000 (01:24 +0000)]
cl_stainmapsclearonload now defaults to 1 (as it was meant to), not that this will help anyone with it already saved to their config
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4849
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 17 Dec 2004 15:51:24 +0000 (15:51 +0000)]
removed dangerous filename checks from FRIK_FILE code
added FS_CheckNastyPath function which is called by FS_Open, so now dangerous paths are rejected everywhere
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4848
d7cf8633-e32d-0410-b094-
e92efae38249
black [Fri, 17 Dec 2004 14:03:20 +0000 (14:03 +0000)]
-Fixed a bug in the centering code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4847
d7cf8633-e32d-0410-b094-
e92efae38249
black [Fri, 17 Dec 2004 13:47:25 +0000 (13:47 +0000)]
-Added centered notify output for GAME_NEXUIZ.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4846
d7cf8633-e32d-0410-b094-
e92efae38249
black [Thu, 16 Dec 2004 17:57:04 +0000 (17:57 +0000)]
-Now playermodel and playerskin finally work correctly (hopefully).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4845
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 15 Dec 2004 09:11:54 +0000 (09:11 +0000)]
vsprintf -> vsnprintf
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4844
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 14 Dec 2004 22:44:27 +0000 (22:44 +0000)]
339
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4843
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 14 Dec 2004 15:01:08 +0000 (15:01 +0000)]
don't warn about svc_precache failing to precache sounds if snd_initialized is false (-nosound or -safe was used)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4842
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Tue, 14 Dec 2004 09:09:41 +0000 (09:09 +0000)]
Oops... Fixed my fix to BSD makefile
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4841
d7cf8633-e32d-0410-b094-
e92efae38249
black [Mon, 13 Dec 2004 16:51:06 +0000 (16:51 +0000)]
-Fixed another bug introduced by me, affecting the detection of a valid
time global in the new VM.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4840
d7cf8633-e32d-0410-b094-
e92efae38249
black [Mon, 13 Dec 2004 16:20:15 +0000 (16:20 +0000)]
-Fixed the stupid bug introduced by my NEX_PLAYERMODEL/NEX_PLAYERSKIN commit.
-Hopefully playermodel and playerskin work still now.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4839
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 13 Dec 2004 15:41:32 +0000 (15:41 +0000)]
Fixed BSD makefile for NetBSD
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4838
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 13 Dec 2004 15:00:36 +0000 (15:00 +0000)]
Fixed a warning in MSVC6
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4837
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 13 Dec 2004 10:40:44 +0000 (10:40 +0000)]
Fixed model automatic precaching in the new network protocol
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4836
d7cf8633-e32d-0410-b094-
e92efae38249
black [Fri, 10 Dec 2004 18:43:30 +0000 (18:43 +0000)]
-Converted some of the altstring functions to builtins
-Fixed a bug in the DrawQueue - it was calculating the clip area wrongly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4835
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Fri, 10 Dec 2004 10:55:58 +0000 (10:55 +0000)]
Added BB_Power to the Transfusion map list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4834
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Fri, 10 Dec 2004 10:55:22 +0000 (10:55 +0000)]
Removed a couple of warnings when compiling with GCC
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4833
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 8 Dec 2004 15:36:35 +0000 (15:36 +0000)]
A few minor changes in the sound code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4832
d7cf8633-e32d-0410-b094-
e92efae38249
black [Mon, 6 Dec 2004 13:32:11 +0000 (13:32 +0000)]
-Fixed another signed/unsigned warning after the type change of func_t.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4830
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sun, 5 Dec 2004 13:58:16 +0000 (13:58 +0000)]
-Fixed a minor bug in CL_Video
-Changed func_t from int to unsigned int - probably this breaks some things
but at least it fixes an annoying crash of the DP with the current Nexuiz
build.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4829
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 4 Dec 2004 21:08:13 +0000 (21:08 +0000)]
-Added video streaming support to the new VM
-Changed again a lot of CL_Video (mostly bugs and logical errors)
-It doesnt append the prefix now, but only checks whether it matches
or not - if it doesnt it doesnt load the video.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4828
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 4 Dec 2004 16:15:17 +0000 (16:15 +0000)]
-Added the console command prvm_globalset
-Rewritten CL_Video to support multiple video streams
-Fixed a bug in the new VM's epair parser
The only problem CL_Video now has, is that it doesnt use TEXF_FRAGMENT
right now. Ive added a more general description of this problem to the
todo list.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4827
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 3 Dec 2004 19:41:15 +0000 (19:41 +0000)]
some renderer/client separation cleanup, migrated some things to r_refdef to eliminate renderer references to cl. fields
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4826
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 3 Dec 2004 18:58:09 +0000 (18:58 +0000)]
fixed precache problems in non-DARKPLACES6 protocols
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4825
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 3 Dec 2004 18:57:41 +0000 (18:57 +0000)]
fixed a Sys_Error in the client when connected to QUAKE protocol servers (it was trying to send an empty message)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4824
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Fri, 3 Dec 2004 14:15:09 +0000 (14:15 +0000)]
Added "ctype.h" to the list of standard headers in "quakedef.h". Cleaned up the todo file a bit (yes, DP works with zipped id1 PAKs)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4823
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Fri, 3 Dec 2004 08:32:08 +0000 (08:32 +0000)]
- DP now defines MACOSX when relevant
- added a "Mac OS X" string in Sys_Shared_EarlyInit
- removed an unused "rcsid" string
- fixed SDL audio on big endian systems
- fixed SDL video initialization on Mac OS X
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4822
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 3 Dec 2004 05:03:12 +0000 (05:03 +0000)]
don't let clients kill server with bogus cursor_entitynumber values
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4821
d7cf8633-e32d-0410-b094-
e92efae38249
black [Thu, 2 Dec 2004 14:25:48 +0000 (14:25 +0000)]
Ive done three todo items:
-Added support for ' strings in Com_ParseToken.
-Added support for " and ' as end tokens in Com_ParseToken.
-Added the NEXUIZ_PLAYERMODEL and NEXUIZ_PLAYERSKIN extensions.
The last needs to be tested though. Hopefully it works.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4819
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 2 Dec 2004 09:46:27 +0000 (09:46 +0000)]
- Removed Con_SafePrint and Con_SafePrintf since they now does the same things as Con_Print and Con_Printf
- Moved log initialization right after memory initialization to make the log functions available as early as possible
- Moved the removal of "qconsole.log" (when -condebug is in the command line) in FS_Init
- Moved the "Console initialized." message so it is actually printed at console
- Removed the declaration of "con_chars" (it doesn't exist anymore)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4818
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 23:19:06 +0000 (23:19 +0000)]
implemented scr_screenshot_gamma in screenshot saving (previously only implemented in video saving - oops)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4817
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 23:14:07 +0000 (23:14 +0000)]
changed a lot of Con_DPrint/Con_DPrintf calls to Con_Print/Con_Printf (non-technical things like device errors which should be seen even without developer on)
merged Sys_Print code into Con_Print and changed all other Sys_Print/Sys_Printf calls to calling Con_Print/Con_Printf or Con_DPrint/Con_DPrintf instead
rewrote Con_Print so that timestamps are printed only at the start of each line (or just after the 0x01 or 0x02 characters used for chat messages), not during partial line prints, and timestamps now apply to all output destinations (log, console, terminal)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4816
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 23:13:13 +0000 (23:13 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4815
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 21:49:46 +0000 (21:49 +0000)]
modified PRYDON_CLIENTCURSOR extension to reset cursor_trace_ent to world if the entity it is referencing is currently freed (as requested by FrikaC)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4814
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 21:48:21 +0000 (21:48 +0000)]
cleaned up CL_SendMove a lot, added notes on number of bytes used for different protocols
made CL_SendMove never send a clc_ackframe for frame 0 in any latestframenums slots
made CL_SendMove discard only the clc_move portion of the first two messages (the ones dropped to avoid input leftover from the previous level), still sending the clc_ackframe message
changed CL_SendMove to not accumulate move messages but just send the latest (may improve cursor issues in prydon gate using non-clientcursor mode)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4813
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 1 Dec 2004 14:03:42 +0000 (14:03 +0000)]
Removed wrong FIXME comment (in-game precached sounds don't need SFXFLAG_SERVERSOUND)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4812
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 1 Dec 2004 14:00:52 +0000 (14:00 +0000)]
Fixed FS_Seek for unpacked files when FS_USESYSCALLS is defined (should fix HalfLife WAD loading)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4811
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 1 Dec 2004 08:20:39 +0000 (08:20 +0000)]
341
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4810
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 07:59:48 +0000 (07:59 +0000)]
fix annoying warnings about weaponmodel ""
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4809
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 07:57:08 +0000 (07:57 +0000)]
342
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4808
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 07:45:40 +0000 (07:45 +0000)]
changed order of tests in deciding whether to do culling on a bmodel entity to fix uninitialized variable warnings (thanks Elric)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4807
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 1 Dec 2004 07:40:36 +0000 (07:40 +0000)]
reset animation interpolation on weaponmodel when model changes (thanks Elric)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4806
d7cf8633-e32d-0410-b094-
e92efae38249