havoc [Thu, 13 Jan 2005 06:29:28 +0000 (06:29 +0000)]
NetConn_Read no longer runs cl_packetloss rejection code if there is no packet (slight optimization/sanity improvement)
removed another SCR_BeginLoadingPlaque call
havoc [Thu, 13 Jan 2005 06:11:38 +0000 (06:11 +0000)]
bound the fractions in CL_TraceLine instead of posting a warning, as out of bounds fractions have no harmful effects during a trace (to allow the bounds in the trace code to be removed)
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
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...)
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
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)
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).
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.
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.
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)
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.
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).
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
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)
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.
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)
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
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.
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.
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.
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
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.
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)
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)
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)