]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
black [Mon, 23 May 2005 22:11:43 +0000 (22:11 +0000)]
-Fix checking the length before knowing its actual value(??)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5323
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 23 May 2005 14:07:00 +0000 (14:07 +0000)]
-Fixed a possible buffer overflow bug in NetConn_ReceivedMessage (thanks Spike!)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5322
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 23 May 2005 12:36:03 +0000 (12:36 +0000)]
vid_usemouse doesn't need to be a global variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5321
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sat, 21 May 2005 22:25:12 +0000 (22:25 +0000)]
-Added an comment ('[INIT]') to all fields of vm_prog that can/should be
initialized after calling PRVM_InitProg.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5320
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Fri, 20 May 2005 19:20:39 +0000 (19:20 +0000)]
-Added the callcount field to the mfunction_t structure.
-Both vms now record how often a function has been called and the profile cmd
now outputs the callcount with the other information.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5319
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 May 2005 06:33:44 +0000 (06:33 +0000)]
removed unused applytime field from usercmd_t
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5318
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 May 2005 06:05:32 +0000 (06:05 +0000)]
cleaned up prediction code somewhat, no longer uses times for much (instead storing frametimes)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5317
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 May 2005 06:04:36 +0000 (06:04 +0000)]
slight cleanup (complete removal) of the "base" variable in surface rendering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5316
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 May 2005 21:20:08 +0000 (21:20 +0000)]
changed default heartbeat_period to 120 seconds so that usually two packets come in before the 5 minute timeout, this should help with packet loss
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5315
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 May 2005 18:42:55 +0000 (18:42 +0000)]
changed EntityFrame5_ExpandEdicts call from using sv.num_edicts to sv.max_edicts to fix a crash
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5314
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 May 2005 22:43:23 +0000 (22:43 +0000)]
fix lingering tracers in nexuiz (among other possible problems)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5313
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 May 2005 06:39:14 +0000 (06:39 +0000)]
fixed r_showtris bug (individual state changes were not being ignored in showtris pass
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5312
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 May 2005 06:38:36 +0000 (06:38 +0000)]
added onground tracking to cl_movement code, instead of checking constantly (which caused unintended double jumping/strafe jumping)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5311
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 May 2005 04:24:19 +0000 (04:24 +0000)]
fix a severe bug with viewangles in cl_movement mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5310
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 May 2005 04:08:47 +0000 (04:08 +0000)]
fix interpolation of cl_movement
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5309
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 16 May 2005 15:51:24 +0000 (15:51 +0000)]
-Fixed some bugs in the altstr functions, now they should work 1:1 like the
scmenu's ones
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5308
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 May 2005 05:04:46 +0000 (05:04 +0000)]
split SV_ReadClientMove into two functions, SV_ReadClientMove and SV_ApplyClientMove
merged away SV_RunClients (part of its code has been moved to SV_Physics)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5307
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 May 2005 03:15:34 +0000 (03:15 +0000)]
cleaned up suspendedinairflag a bit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5306
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 May 2005 03:14:49 +0000 (03:14 +0000)]
removed deadsocket field from server client struct, changed connect handling to resend the serverinfo, but then disabled the reconnect handling entirely (so you can't reclaim your ghost)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5305
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 May 2005 03:11:14 +0000 (03:11 +0000)]
added a commented out Con_Printf for debugging spatialization
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5304
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 16 May 2005 03:08:04 +0000 (03:08 +0000)]
fix bug that rotated all sounds 90 degrees to the right in Nexuiz (because it has seriously messed up player models)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5303
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 May 2005 20:34:29 +0000 (20:34 +0000)]
changed matrix_attenuation declarations to not be static (since they are externed in the header)
fixed some signedness warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5302
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 May 2005 18:57:04 +0000 (18:57 +0000)]
disabled some of the server client connect code that may be causing problems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5301
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 06:36:15 +0000 (06:36 +0000)]
fix a crash with getlighting builtin
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5300
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 06:35:54 +0000 (06:35 +0000)]
fix a crash with mdl skingroups
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5299
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 06:32:41 +0000 (06:32 +0000)]
an extra Mem_CheckSentinelsGlobal at start of Serverinfo parsing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5298
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 05:39:59 +0000 (05:39 +0000)]
366
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5297
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 05:38:40 +0000 (05:38 +0000)]
added a couple checks to hopefully fix a lit sprite dlight problem (an organe dlight causing a sprite to turn blue suddenly) reported by Cheapy
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5296
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 05:25:25 +0000 (05:25 +0000)]
fixed r_drawcollisionbrushes 2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5295
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 05:17:19 +0000 (05:17 +0000)]
fix a crash when loading q3 maps with flares
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5294
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 05:05:27 +0000 (05:05 +0000)]
gl_combine cvar is no longer saved
gl_combine cvar is no longer forced off if r_textureunits is less than 2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5293
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 03:56:53 +0000 (03:56 +0000)]
fix portal lighting in a single cluster map (box map)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5292
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 03:47:39 +0000 (03:47 +0000)]
fixed rtlighting on colormap capable skins
implemented colormapped rtlighting on models
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5291
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 03:25:50 +0000 (03:25 +0000)]
fixed r_shadow_realtime_world_lightmap support in gl_combine 1 mode
fixed animated q1bsp texture support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5290
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 02:11:04 +0000 (02:11 +0000)]
fixed snow fluttering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5289
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 02:09:54 +0000 (02:09 +0000)]
remove an unneeded cast
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5288
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 May 2005 01:59:56 +0000 (01:59 +0000)]
fix some warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5287
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 23:49:16 +0000 (23:49 +0000)]
use Con_Printf instead of Host_Error when an unknown model format is encountered
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5286
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 23:47:58 +0000 (23:47 +0000)]
only load .lit file if its file size matches 8 + lump->filelen * 3
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5285
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 23:41:24 +0000 (23:41 +0000)]
replaced all references to vid.conwidth and vid.conheight with vid_conwidth.integer and vid_conheight.integer
replaced all references to vid.realx/vid.realy with 0
replaced all references to vid.realwidth and vid.realheight with vid.width and vid.height
replaced current_vid_* variables with vid. fields (vid.width, vid.height, vid.bitsperpixel, vid.fullscreen)
vid_glx.c: replaced scr_width/height with vid.width/height
vid_wgl.c: replaced window_center_x/y with calculations as needed, and replaced window_width/height with vid.width/height, and some other minor cleanups
removed VID_GetWindowSize function
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5284
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 23:10:38 +0000 (23:10 +0000)]
more clean up of IN_Activate, added cl_ignoremousemove to merge some code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5283
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 22:03:51 +0000 (22:03 +0000)]
corrected envmap saving for ft/rt/bk/lf/up/dn layout (px/py/nx/ny/pz/nz layout already worked fine) and disabled gamma correction on envmap saves
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5282
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 21:30:26 +0000 (21:30 +0000)]
fix Mod_BuildAliasSkinsFromSkinFiles to work with the new skin layout, this should fix md3 skin file crashes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5281
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 21:27:58 +0000 (21:27 +0000)]
fix a warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5280
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 21:27:24 +0000 (21:27 +0000)]
GAME_NEXUIZ no longer loads a number of gfx/ pics that it does not use
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5279
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 19:41:09 +0000 (19:41 +0000)]
upgraded both QuakeC VMs to use a table of negative string indices for all dynamic strings, this should make everything work on 64bit systems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5278
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 13 May 2005 03:24:13 +0000 (03:24 +0000)]
finished model/map rendering merge, model renderer has been completely removed
model_t num_textures now lies a bit to keep things simple, it equals num_surfaces on models, even if there are multiple skins, in data_textures these extra textures really do exist even though num_textures does not count them (this was done so that UpdateAllTextureInfo won't crash trying to index later skins on the later skins themselves)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5277
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 May 2005 21:39:31 +0000 (21:39 +0000)]
375 (-1)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5276
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 May 2005 20:44:12 +0000 (20:44 +0000)]
labeled todo items (at least ones not done yet) with a category before the program name, to prioritize bugfixes over changes and features and so on within a difficulty rating
cleaned out a lot of stale or duplicate todo items
376 (-20)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5275
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 May 2005 19:00:35 +0000 (19:00 +0000)]
396
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5274
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 May 2005 18:55:32 +0000 (18:55 +0000)]
clear sounds before shutting down
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5273
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 12 May 2005 17:53:29 +0000 (17:53 +0000)]
changed changed commandline history behavior to be more sane
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5272
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Wed, 11 May 2005 20:26:12 +0000 (20:26 +0000)]
-Changed VM_precache_pic to check CachePic for successful loading of the pictures.
(The old check hasnt worked because CachePic always returns a valid pic pointer.)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5271
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 11 May 2005 18:22:48 +0000 (18:22 +0000)]
the merging of alias and bsp model rendering begins... purely cosmetic changes in this first step
merged model_alias_t into model_t and removed alias prefixes from those fields
merged model_brush_t surface and texture stuff into model_t (num_surfaces, num_textures, etc)
made alias model code use model_t data_surfaces instead of alias meshes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5270
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 11 May 2005 18:19:48 +0000 (18:19 +0000)]
some changes and cleanups to SV_FlyMove, turned off sv_newflymove by default (it just doesn't work right)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5269
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 11 May 2005 18:19:00 +0000 (18:19 +0000)]
added VectorReflect
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5268
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Wed, 11 May 2005 11:12:01 +0000 (11:12 +0000)]
Allocated temporary big buffers in R_BuildDetailTextures instead of having them on the stack (it caused some systems to crash)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5267
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 10 May 2005 18:39:51 +0000 (18:39 +0000)]
added sv_gameplayfix_blowupfallenzombies and sv_gameplayfix_findradiusdistancetobox cvars (to allow these changes to be disabled)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5266
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 10 May 2005 00:30:52 +0000 (00:30 +0000)]
fix inverted normalmaps produced from bumpmaps (directly loaded normalmaps are fine)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5265
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 23:52:40 +0000 (23:52 +0000)]
patch from Willis for some map name changes in Transfusion
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5264
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 22:51:36 +0000 (22:51 +0000)]
changed R_NewExplosion check for dead explosions to check time instead of alpha (may fix a bug)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5263
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 20:43:17 +0000 (20:43 +0000)]
389 (-2)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5260
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 20:26:27 +0000 (20:26 +0000)]
fix VID_Shutdown ungrabs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5259
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 20:12:36 +0000 (20:12 +0000)]
391 (-2)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5258
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 18:40:50 +0000 (18:40 +0000)]
changed blaze.mindphukd.org back to an ip address because the hostname isn't resolving but the ip works fine
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5257
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 15:56:41 +0000 (15:56 +0000)]
major cleanup of input code - CL_Move replaces most of IN_Move, IN_Commands, many internal platform functions refactored to clean up platform code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5256
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 15:51:19 +0000 (15:51 +0000)]
remove qwgl externs, as they are not used outside vid_wgl.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5255
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 15:48:07 +0000 (15:48 +0000)]
fix a problem with stenciltwoside introduced by recent changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5254
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 13:03:18 +0000 (13:03 +0000)]
fixed problems in the Host_Init Cbuf_InsertText stuff (by changing it to Cbuf_AddText, and some other cleanups)
added Host_StartVideo to a few more places
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5253
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 9 May 2005 12:58:05 +0000 (12:58 +0000)]
changed 3 occurences of very if (developer.integer) Con_Print code to Con_DPrint
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5252
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 19:57:24 +0000 (19:57 +0000)]
implemented caching of DNS names in lhnet.c
changed sv_masterextra* servers back to DNS names (but kept IP addresses as comments, note the dpmaster.deathmask.net IP has changed)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5251
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 18:32:46 +0000 (18:32 +0000)]
S_LocalSound now uses ATTN_NONE, so menu sounds and such will no longer be centered at world origin
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5250
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 18:28:32 +0000 (18:28 +0000)]
rewrote the notes on the Creative patent after re-reading it
fixed my incomplete StencilOp changes (reverted back to the way it was before)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5249
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 13:22:50 +0000 (13:22 +0000)]
revised a number of terminology notes at the beginning of r_shadow.c, including notes about the Creative Labs patent on the Carmack's Reverse technique
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5248
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 12:59:38 +0000 (12:59 +0000)]
added rmesh_t and R_Mesh_AddVertex3f, R_Mesh_AddPolygon3f, R_Mesh_AddBrushMeshFromPlanes functions
R_Shadow_ScissorForBBox now uses R_Mesh_AddBrushMeshFromPlanes function to get an exact clipped box-brush vertex set for calculating scissor area, this should reduce the scissor area used in some cases compared to the old hacky method
added nearclip plane to frustum[] array (only used by R_Shadow_ScissorForBBox)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5247
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 10:42:51 +0000 (10:42 +0000)]
various printf/fprintf calls are now Con_Printf, and some other minor cleanups
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5246
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 8 May 2005 10:42:09 +0000 (10:42 +0000)]
PR_Alloc/Free/FreeAll now report filename/fileline of their caller in the Mem_ calls, for better readability of "memlist all" reports
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5245
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 7 May 2005 18:07:20 +0000 (18:07 +0000)]
rearranged mouse grabbing rules again to force grabbing when fullscreen (for some reason it isn't the active window)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5244
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 7 May 2005 17:53:47 +0000 (17:53 +0000)]
fix a crash in portal clipping code (forgot to include polygon.h)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5243
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 7 May 2005 14:51:49 +0000 (14:51 +0000)]
portal code now uses Polygon_DivideF instead of its own polygon clipper
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5242
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 20:03:18 +0000 (20:03 +0000)]
minor rearrangement of Render_Init
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5241
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 20:01:55 +0000 (20:01 +0000)]
hush "Unknown command" warnings during startup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5240
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 20:00:53 +0000 (20:00 +0000)]
renamed VID_Open to VID_Start, inlined VID_Close ito eliminate the only call to it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5239
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 19:58:33 +0000 (19:58 +0000)]
reorganized Palette_Init code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5238
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 19:43:18 +0000 (19:43 +0000)]
playvideo and cd loop/cd play commands now call Host_StartVideo (this fixes a crash and missing menu music respectively in Nexuiz)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5237
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 12:31:05 +0000 (12:31 +0000)]
fix a misplaced variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5236
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 11:37:35 +0000 (11:37 +0000)]
changed Host_Init to execute configs only once
cleaned up Host_Init (and related functions like Con_Init, COM_Init, Cbuf_Init, etc) a great deal
now uses host_framecount >= 3 checks instead of host_loopactive or host_initialized checks, this should fix any problems with crashes erasing config.cfg
VID_Open and friends are now called from Host_StartVideo which is called by SCR_BeginLoadingPlaque (such as by SV_SpawnServer) as well as the end of Host_Init, this only calls them the first time it is called, so it can be called during config parsing (such as +map start on the commandline)
moved sys_usetimegettime and dedicated server console opening in sys_wgl.c into Sys_InitConsole and Sys_Init_Commands functions called by Host_Init
merged Sys_Shared_EarlyInit and Sys_Shared_LateInit into Host_Init
got rid of sys_usetimegettime (windows-only) cvar in sys_sdl.c
changed type of a number of vid_* variables from int to qboolean
renamed vidmode_active to vid_isfullscreen in vid_glx.c for more code consistency
fixed a bug in vid_glx.c that made it grab the mouse/keyboard even when it was not the active window
no longer grabs mouse while playing demos in a window
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5235
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 11:28:31 +0000 (11:28 +0000)]
moved mod_shared.c detail texture and distortion texture stuff to gl_rmain.c (renamed mod_shared_* to r_texture_*)
got rid of unused mod_q1bsp_novis array
moved Mod_Q1BSP_Collision_Init into the boxhull code (which isn't even used anyway)
made r_restart reload models (as was intended) by making Mod_UnloadModel preserve the ->use field
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5234
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 11:27:18 +0000 (11:27 +0000)]
changed Mem_FreePool and Mem_EmptyPool to report their caller's filename/fileline when Mem_Free detects an error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5233
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 08:58:29 +0000 (08:58 +0000)]
attachments now inherit RENDER_VIEWMODEL from their parent (they already inherited RENDER_EXTERIORMODEL)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5232
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 06:09:33 +0000 (06:09 +0000)]
removed a clear of names in the render modules init code, this allows it to be called AFTER some modules are registered (for a minor cleanup of the Host_Init code)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5231
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 04:29:25 +0000 (04:29 +0000)]
enabled SDL builds by default (in addition to cl and dedicated)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5230
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 6 May 2005 00:36:07 +0000 (00:36 +0000)]
added cl.movement_velocity to allow view bobbing to match up with cl_movement
fixed some bugs in cl_movement timing, it now applies input to the next move not the current one, making it work properly (assuming cl_movement_latency is exact)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5229
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 5 May 2005 14:24:24 +0000 (14:24 +0000)]
hush some texture loading warnings in dedicated servers (thanks to Biomass for reporting this)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5228
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 5 May 2005 12:52:07 +0000 (12:52 +0000)]
added some commented out code that can make a log of stereo wav sounds loaded
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5227
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 5 May 2005 12:49:17 +0000 (12:49 +0000)]
cl_netlocalping now adds only half as much lag, so that the number specified is roughly what it will achieve
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5226
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 5 May 2005 12:48:43 +0000 (12:48 +0000)]
-Changed the SDL window icon back to DP's icon.
-Cmds, Cvars and Aliases are now inserted at the right alphanumerical
position on creation.
-Fixed a bug in the serverlist which caused it to not mask entries properly.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5225
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 4 May 2005 20:14:06 +0000 (20:14 +0000)]
changed cl_movement_latency to be in milliseconds rather than seconds (less confusing because of ping being milliseconds)
added code to remove 'impossibly far into the future' movement queue items (useful if latency is set to a high value initially and then lower, this will remove the stale high latency items)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5224
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 4 May 2005 14:07:47 +0000 (14:07 +0000)]
moved a Cvar_RegisterVariable call to ensure that it happens before config parsing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5223
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 4 May 2005 10:26:36 +0000 (10:26 +0000)]
fixed a stupid bug in PF_te_customflash that made it send lifetime as /256 (should've been *256)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5222
d7cf8633 -e32d-0410-b094-
e92efae38249