havoc [Mon, 26 May 2003 18:52:04 +0000 (18:52 +0000)]
fix some warnings I kept forgetting
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3049
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 18:20:52 +0000 (18:20 +0000)]
removed directional shading on explosions because it was a nuisance to maintain (and strangely they seem to look better now)
explosion rendering now supports gl_mesh_copyarrays 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3048
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 18:18:59 +0000 (18:18 +0000)]
fix a warning caused by the fact vertex pointers are now const
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3047
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 18:17:48 +0000 (18:17 +0000)]
vertex pointers are now const
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3046
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 16:35:14 +0000 (16:35 +0000)]
added R_ScrollTexCoord2f (copies while texture coordinates with an offset)
added multitexture path to skysphere rendering (10% speed gain) and modified combine setup in gl_backend to support GL_INTERPOLATE_ARB behaving like GL_DECAL
added support for gl_mesh_copyarrays 0 mode in skysphere rendering (1% speed gain)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3045
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 13:25:59 +0000 (13:25 +0000)]
fixed realtime lighting bugs with gl_mesh_batching 1 (... by not using batching while rendering realtime lighting - I was unable to figure out what was causing the problem)
some cleanups to realtime lighting code (mostly fixing some bugs with incorrect counting of meshes/triangles (for r_speeds reports), and optimized out unnecessary vertex copying in the final lighting application pass)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3044
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 13:23:27 +0000 (13:23 +0000)]
no longer uses R_Shadow_VertexBuffer, instead uses aliasvert_vertex3f
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3043
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 May 2003 01:01:36 +0000 (01:01 +0000)]
fixed connection process again
added developer prints for changes to sendserverinfo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3040
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:47:36 +0000 (22:47 +0000)]
fix an unused variable warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3039
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:46:31 +0000 (22:46 +0000)]
some cleanups to hostcache (got rid of driver/address stuff and expanded the strings, also increased number of cache slots)
connecting to a server is now much more direct (does not use hostcache)
now ignores the address string received in server info packets because it's often bogus in dp (sorry... but not really avoidable)
slist reports now include the address of the server (useful!!) and are much wider (79 characters) to give more room for info
the NOROUTINGFIX option has been kind of merged away, whether the server uses it or not is still optional (search for routing fix)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3038
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:38:29 +0000 (22:38 +0000)]
no longer needed (makefile does it all now)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3037
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:37:49 +0000 (22:37 +0000)]
merged makefile, makefile.mingw (outdated) and makefile.mingwcross into one makefile
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3036
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:35:07 +0000 (22:35 +0000)]
removed rick.cube-sol.net from master server list because it's not resolving and was really delaying server lists
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3035
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 22:33:03 +0000 (22:33 +0000)]
merged dll handling code into sys_shared.c because the code in sys_linux.c was for both windows and linux, no real point in separating them
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3034
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 16:26:02 +0000 (16:26 +0000)]
fix darkplaces-dedicated.exe building to open a console
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3033
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 16:17:37 +0000 (16:17 +0000)]
Sys_Print added to handle the output of text to the terminal (since this varies from platform to platform and may depend on whether it is dedicated)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3032
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 15:48:00 +0000 (15:48 +0000)]
darkplaces-dedicated.exe now builds
sys_linux.c (needs new name badly!) modified to support windows for purposes of darkplaces-dedicated.exe
Sys_Printf probably no longer works properly with darkplaces.exe (but we'll see)
darkplaces.exe should now be a proper windows app again (how I got --mwindows in there I don't know), so -dedicated may work
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3031
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 11:59:58 +0000 (11:59 +0000)]
alias model fake shadows can now be cached
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3030
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 11:44:31 +0000 (11:44 +0000)]
fixed a severe bug with pointer_color state tracking (no longer checks .colorarray, so you don't have to do the GL_Color/GL_UseColorArray call before R_Mesh_State anymore), this fixes explosion coloring when using pointer_color for other stuff rendered immediately before it
fixed a crash when entire sequentialchain is emptied while trying to get space for a new cache item (this happened! I can't guess why though)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3029
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 May 2003 11:40:34 +0000 (11:40 +0000)]
simplified explosion rendering a little (probably a very minor slowdown, but more maintainable)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3028
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 May 2003 14:53:30 +0000 (14:53 +0000)]
alias model (q1/q2/q3) rendering now supports gl_mesh_copyarrays 0 (even caches lighting!) for a speed boost (enough to compensate for the current loss on world rendering), note that only normal rendering uses this so far (more rendering functions to upgrade)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3027
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 May 2003 14:48:33 +0000 (14:48 +0000)]
made id_pointer fields of rcachearrayrequest_t const (because they'll never be used as pointers anyway)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3026
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 May 2003 14:47:32 +0000 (14:47 +0000)]
disabled various testing code in R_Mesh_CacheArray
fixed a bug with pointer_color if gl_mesh_floatcolors is false (it was incorrectly comparing p to varray_buf_color4f, it should have compared it to NULL)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3025
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 May 2003 07:18:47 +0000 (07:18 +0000)]
possible stability improvement in VID_Shutdown - moved ChangeDisplaySettings call after DestroyWindow
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3023
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 18:38:34 +0000 (18:38 +0000)]
aliasvertex_t no longer exists, models are now stored as arrays of vertex3f, svector3f, tvector3f, normal3f
cleaned up loaders somewhat (they're still nasty as always)
now validates elements in mdl model files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3021
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 18:36:28 +0000 (18:36 +0000)]
added R_Mesh_CacheArray (not yet used by anything, but has been tested with some code in gl_rsurf.c), a generic dynamic data caching system intended for vertex arrays
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3020
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 07:43:26 +0000 (07:43 +0000)]
added gl_mesh_batching (default on) which merges several meshes in a row to reduce overhead of array locking and drawing
added MESH_VAR and MESH_BATCH defines to allow relevant code to be disabled (MESH_VAR is currently disabled because it's somewhat broken last I checked)
added custom array pointer support in R_Mesh_State (MainState and TextureState), this is experimental but works fine
added gl_mesh_copyarrays (default off) which tells renderer code that it should use custom array pointer support instead of copying (currently testable on surface rendering - not a good use, too many Pointer calls for very little geometry)
some other cleanups
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3019
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 07:38:25 +0000 (07:38 +0000)]
console logging (-condebug) now starts earlier in the startup process (just after the filesystem)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3018
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 06:58:34 +0000 (06:58 +0000)]
more preparation for quake2 bsp support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3017
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 06:30:36 +0000 (06:30 +0000)]
merged SV_Physics_Client into SV_Physics (not difficult)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3016
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 23 May 2003 06:28:05 +0000 (06:28 +0000)]
cleaned up/simplified Sys_Error, now should never get in a recursive crash loop, but also lost the timeout on dedicated server errors as a result (if engine crashes, the server will leave up a dialog eternally until someone closes it)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3015
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 21 May 2003 12:15:06 +0000 (12:15 +0000)]
renamed "precache" cvar to "snd_precache" because it's name was very confusing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3009
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 21 May 2003 11:24:20 +0000 (11:24 +0000)]
added support for q2 .wal images (not yet tested but suspected as working)
cleaned up multiple format loader hub, now parses a list of formats things to try
cleaned up invalid image size detection (now all format loaders check for >4096 and <=0 in each axis)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3008
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 21 May 2003 09:08:15 +0000 (09:08 +0000)]
beginning to add Q2 bsp support (Q3 bsp support coming later)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3007
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 21 May 2003 09:05:15 +0000 (09:05 +0000)]
added a note about an id bug with triggers and ignoring .owner (the fact they don't)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3006
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 19 May 2003 07:11:22 +0000 (07:11 +0000)]
Fix Transfusion bug 030429-01 (If you go to the console from the options menu, then exit the console, you can't get back to the menu)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3005
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 17 May 2003 10:29:35 +0000 (10:29 +0000)]
fixed a bug with Host_Startdemos_f that caused it to never shorten the list of demos (it forgot to clear the remaining slots)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3001
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 May 2003 11:34:56 +0000 (11:34 +0000)]
corrected call to Image_HasAlpha to be Image_CheckAlpha
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3000
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 May 2003 11:10:32 +0000 (11:10 +0000)]
replaced a loop that checked for alpha pixels with a call to Image_HasAlpha
fixed a memory leak on s->maskpixels (due to memory pools this leak was probably not too bad)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2999
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 May 2003 11:09:23 +0000 (11:09 +0000)]
added DP_GFX_SKYBOX and DP_CL_LOADSKY extensions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2998
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 29 Apr 2003 16:04:40 +0000 (16:04 +0000)]
new entity protocol has been canceled due to a fatal design flaw only detected today (insufficient data on history of entities)
added explanation of old entity protocol and how it will be revised to use partial entity updates (without breaking compatibility with old clients!)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2996
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 26 Apr 2003 10:21:02 +0000 (10:21 +0000)]
reverted dynamic allocation of sv.edicts because there are FAR too many broken pointer cases, however shrinking the edict_t to just a couple pointers and dynamically allocating the data they point to, keeps memory usage way down
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2989
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 26 Apr 2003 10:19:21 +0000 (10:19 +0000)]
increased default gl_mesh_maxverts to 65536, and also increased the limit to that
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2988
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 26 Apr 2003 10:03:42 +0000 (10:03 +0000)]
cleaned up UDP_Init a bit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2987
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 25 Apr 2003 14:43:10 +0000 (14:43 +0000)]
sv.edicts (and related things) are now dynamically reallocated as more edicts are used
no edict_t *'s exist in any persistent structures anymore, using edict numbers in all such cases (as it turns out the only such structs were client_t in server.h and link_t in progs.h)
edicts are unlinked before reallocation and relinked after reallocation to keep the link_t pointers valid
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2985
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 25 Apr 2003 14:39:22 +0000 (14:39 +0000)]
UDP_Init now tries to bind to INADDR_ANY and various others in sequence
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2984
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 25 Apr 2003 12:44:22 +0000 (12:44 +0000)]
pk3 is now case insensitive to match quake3 behavior (however pak is still case sensitive)
FS_FileExtension has been basically rewritten, it was taking the first . in the filename (which might even be part of a directory name)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2983
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 23 Apr 2003 11:48:05 +0000 (11:48 +0000)]
increased runaway loop counter 10x (now 10 million opcodes before runaway error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2981
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Apr 2003 11:27:09 +0000 (11:27 +0000)]
always do r_shadow_realtime_dlight if r_shadow_realtime_world is on
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2975
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Apr 2003 11:26:22 +0000 (11:26 +0000)]
nudge dlights out of walls if they're too close
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2974
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Apr 2003 10:05:18 +0000 (10:05 +0000)]
added TEXF_CLAMP flag on model and sprite textures (software quake did not support out of bounds texcoords, so repeat is clearly unnecessary and even undesirable)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2973
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 20 Apr 2003 05:48:03 +0000 (05:48 +0000)]
thanks to "backslash" for submitting a patch to support Intellimouse Explorer's two extra buttons (side buttons), I expanded the patch to support up to 10 mouse buttons (plus mwheelup/mwheeldown) in both GLX and WGL ports.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2970
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 20 Apr 2003 05:39:54 +0000 (05:39 +0000)]
fix flipped sprites
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2969
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 12:11:30 +0000 (12:11 +0000)]
reorganized aliaslayer_t handling to fix a few bugs
fixed md2 models
fixed skinless models
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2963
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 12:03:57 +0000 (12:03 +0000)]
very minor correction to a comment
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2962
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 12:03:09 +0000 (12:03 +0000)]
inlined the only call of R_ModelLightPoint (in R_LightModel)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2961
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 12:01:12 +0000 (12:01 +0000)]
greatly improved pointfile command, it now shows a huge beam crosshair at the site of the leak entity
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2960
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 11:59:16 +0000 (11:59 +0000)]
parser can now handle recursive commands (although this still doesn't work with the whole Cmd_Argv/Cmd_Argc stuff)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2959
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 11:58:05 +0000 (11:58 +0000)]
Fixed bug in record command (it was running a map command before getting the demo name, which gets replaced by the map command parameter, causing the demo to always be named the same as the map)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2958
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Apr 2003 11:53:26 +0000 (11:53 +0000)]
fix model lighting (pitch was backwards)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2957
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 14 Apr 2003 22:23:12 +0000 (22:23 +0000)]
added some extensions I forgot to put in the list before
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2948
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 14 Apr 2003 12:18:45 +0000 (12:18 +0000)]
removed special cases for transfusion in server search messages (now prints gamename)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2945
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 14 Apr 2003 03:04:10 +0000 (03:04 +0000)]
expanded stats reporting (when in developer mode) of how many entities were processed during loading (now displays parsed/inhibited/spawned/died)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2944
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 13 Apr 2003 10:45:08 +0000 (10:45 +0000)]
expanded UDP_Read and UDP_Write error messages to include the function parameters
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2943
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 10 Apr 2003 04:03:59 +0000 (04:03 +0000)]
Mod_FindNonSolidLocation fixed for no map case (again)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2942
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 8 Apr 2003 08:11:45 +0000 (08:11 +0000)]
fix two more fs_gamedir mixups (loading saved games should now work, as well as video playback)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2935
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 8 Apr 2003 08:02:01 +0000 (08:02 +0000)]
added DP_QUAKE3_MODEL extension (thanks to Elric for pointing out the need for this)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2934
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 06:40:44 +0000 (06:40 +0000)]
disable use of scissor when stencil is not available (sure seems like a driver bug, scissor should work)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2929
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 05:31:37 +0000 (05:31 +0000)]
some more minor cleanups
bug with dlights when not using stencil has not been found yet
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2928
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 01:45:34 +0000 (01:45 +0000)]
fixed M_ScanSaves to use FS_Open properly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2927
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 01:44:56 +0000 (01:44 +0000)]
fixed name of dpavi.wav file to work correctly with FS_Open (this is in commented out code though so it doesn't matter)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2926
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 01:43:11 +0000 (01:43 +0000)]
forgot to make a couple changes before committing this
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2925
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Apr 2003 01:28:47 +0000 (01:28 +0000)]
split r_shadow_realtime into r_shadow_realtime_world (which requires stencil) and r_shadow_realtime_dlight (which works without stencil)
one bug remains with scissoring dlights without stencil, I'll try to figure out this problem soon
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2924
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Apr 2003 19:24:33 +0000 (19:24 +0000)]
redesigned surfmesh allocation in brush model loader, in preparation for some more drastic changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2920
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Apr 2003 19:23:34 +0000 (19:23 +0000)]
release build optimizations changed - removed -funroll-loops, added -O9
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2919
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Apr 2003 00:23:21 +0000 (00:23 +0000)]
revised EntityFrame4 function prototypes (no I still haven't coded this)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2910
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 5 Apr 2003 16:53:14 +0000 (16:53 +0000)]
optimized shadow volume generation a bit (only projects vertices that are necessary)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2909
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 3 Apr 2003 20:56:05 +0000 (20:56 +0000)]
preparation for a new protocol upgrade to use partial frame updates
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2901
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 3 Apr 2003 20:55:08 +0000 (20:55 +0000)]
got rid of use of eye in entity database
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2900
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 3 Apr 2003 20:49:31 +0000 (20:49 +0000)]
added MAX_NETRELIABLE define (currently same as MAX_DATAGRAM, but will change someday)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2899
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 3 Apr 2003 08:02:14 +0000 (08:02 +0000)]
Added support for JPEG screenshots. You can toggle that with the cvar "scr_screenshot_jpeg" or the option menu. Note that you'll need the libjpeg library DLL.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2897
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 3 Apr 2003 00:11:08 +0000 (00:11 +0000)]
fix for server dying when someone times out
some other cleanups (some Sys_Printf calls turned into Con_Printf, some comments added about DropClient calls)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2895
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 2 Apr 2003 18:51:59 +0000 (18:51 +0000)]
fix for incorrect rounding of vertex locations when using RENDER_LOWPRECISION (now it always rounds to nearest)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2894
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 2 Apr 2003 00:22:15 +0000 (00:22 +0000)]
cleaned up pr_builtins array (now uses NULL instead of PF_fixme) and now reports builtin number if an unknown builtin is called
fixed name of PF_setcolor (was setcolors)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2892
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 2 Apr 2003 00:20:10 +0000 (00:20 +0000)]
fixed NET_SendToAll
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2891
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Mar 2003 21:46:06 +0000 (21:46 +0000)]
added some commented out code to Image_HeightmapToNormalmap explaining how to do heightmap to normalmap conversion a little bit differently (very insignificant difference, purely code for those who care)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2890
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Mar 2003 21:43:50 +0000 (21:43 +0000)]
QSG_FILE removed because some mods use the old builtin numbers and think that QSG_FILE would provide them (FRIK_FILE remains, which uses the new numbers already)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2889
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 30 Mar 2003 19:19:06 +0000 (19:19 +0000)]
dlights now cast shadows in realtime lighting mode again (actually they already did, but it wasn't working for world, because world didn't have the shadow flag set)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2888
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 30 Mar 2003 19:18:05 +0000 (19:18 +0000)]
no longer complains about missing ambient liquid sounds in nexuiz
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2887
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 30 Mar 2003 08:40:28 +0000 (08:40 +0000)]
removed a couple unused hz_bitstream_read functions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2886
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 29 Mar 2003 20:02:11 +0000 (20:02 +0000)]
fix zym model rendering (wrong vertex padding)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2878
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 29 Mar 2003 18:58:11 +0000 (18:58 +0000)]
Elric added deflated file support for pk3 archives (in other words: compressed pk3 now work), even with FS_Seek support, I'm amazed, thanks Elric! :)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2877
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 16:45:23 +0000 (16:45 +0000)]
corrected the misspelled name GAME_NEXIUZ (and related things) to GAME_NEXUIZ (and related things)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2875
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 15:47:33 +0000 (15:47 +0000)]
UDP_StringToAddr did not work with less than full x.x.x.x:x specifications, now it supports all the stuff PartialIPAddress supported (filling in most significant components with myAddr, etc)
UDP_Read and UDP_Write now log entire packets to console if developer_networking is on
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2873
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 15:45:20 +0000 (15:45 +0000)]
add support for NAT fix in the client (by no longer checking the port a connection accepted came from)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2872
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 15:43:52 +0000 (15:43 +0000)]
added developer_networking cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2871
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 13:27:15 +0000 (13:27 +0000)]
Thanks to faded (of the tenebrae team) for provoking me to recite a lengthy explanation of NAT nightmares, and realize this very simple fix for NQ server support of clients behind NAT routers (send first message from the player socket instead of the accept socket)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2870
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 13:24:11 +0000 (13:24 +0000)]
changed behavior of SV_DropClient a bit (now calls ClientDisconnect QC function even if crash is true, as it's the client being harshly dropped, not the server dying), and made the final svc_disconnect an unreliable message
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2869
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 13:22:06 +0000 (13:22 +0000)]
refactored NET_SendToAll, it is debatable whether it is more readable or not, but it works the same, and is shorter, and I think it is slightly more understandable than the mess it used to be
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2868
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Mar 2003 10:31:28 +0000 (10:31 +0000)]
net_inetslist (and the corresponding menu as well) now work without being an active server (dfunc.controlSock is now used for all transactions involved, and since there is always one of those...)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2867
d7cf8633-e32d-0410-b094-
e92efae38249