13 years agoadded HDR bloom feature, not very different from bloom but looks better, runs a bit...
havoc [Sun, 11 Jun 2006 23:24:18 +0000 (23:24 +0000)]
added HDR bloom feature, not very different from bloom but looks better, runs a bit slower

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

13 years agodon't allow $ expansion or sendcvar on rcon_password (added CVAR_PRIVATE flag for...
havoc [Sun, 11 Jun 2006 15:35:41 +0000 (15:35 +0000)]
don't allow $ expansion or sendcvar on rcon_password (added CVAR_PRIVATE flag for this purpose)

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

13 years agodon't draw notify lines while r_letterbox is on
havoc [Sun, 11 Jun 2006 15:35:08 +0000 (15:35 +0000)]
don't draw notify lines while r_letterbox is on

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

13 years agoFixed audio capture when the sound engine wasn't restarted right before the capture...
molivier [Sun, 11 Jun 2006 14:13:09 +0000 (14:13 +0000)]
Fixed audio capture when the sound engine wasn't restarted right before the capture (thanks to FrikaC for reporting the bug)

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

13 years agoremoved crosshair_static cvar (now only the hud crosshair remains)
havoc [Sun, 11 Jun 2006 13:50:25 +0000 (13:50 +0000)]
removed crosshair_static cvar (now only the hud crosshair remains)
merged r_crosshairs.c into sbar.c

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

13 years agoremoved team colored crosshair feature, removed crosshair brightness cvar, renamed...
havoc [Sun, 11 Jun 2006 13:23:40 +0000 (13:23 +0000)]
removed team colored crosshair feature, removed crosshair brightness cvar, renamed crosshair_alpha to crosshair_color_alpha

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

13 years agoremoved crosshair_flashspeed and crosshair_flashrange cvars (flashing is now gone)
havoc [Sun, 11 Jun 2006 13:18:01 +0000 (13:18 +0000)]
removed crosshair_flashspeed and crosshair_flashrange cvars (flashing is now gone)

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

13 years agochanged the default crosshair textures to use greyscale instead of alpha fading
havoc [Sun, 11 Jun 2006 13:12:07 +0000 (13:12 +0000)]
changed the default crosshair textures to use greyscale instead of alpha fading

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

13 years agoadded crosshair_useteamcolor, crosshair_color_red, crosshair_color_green, and crossha...
havoc [Sun, 11 Jun 2006 13:03:45 +0000 (13:03 +0000)]
added crosshair_useteamcolor, crosshair_color_red, crosshair_color_green, and crosshair_color_blue cvars

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

13 years agofixed 'slow gravity' bug when cl_movement players are not replying to all server...
havoc [Sun, 11 Jun 2006 12:46:07 +0000 (12:46 +0000)]
fixed 'slow gravity' bug when cl_movement players are not replying to all server frames

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

13 years agoFixed the 5.1 speaker layout when using SDL on Win32 (thanks to Willis for the report)
molivier [Sun, 11 Jun 2006 09:30:59 +0000 (09:30 +0000)]
Fixed the 5.1 speaker layout when using SDL on Win32 (thanks to Willis for the report)

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

13 years agoAdded snd_channellayout to configure the speaker layout dynamically (0: auto, 1:...
molivier [Sat, 10 Jun 2006 18:22:20 +0000 (18:22 +0000)]
Added snd_channellayout to configure the speaker layout dynamically (0: auto, 1: standard, 2: ALSA)

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

13 years agoWhen we're recording a demo, we must not stop rendering sound even when the applicati...
molivier [Sat, 10 Jun 2006 14:23:26 +0000 (14:23 +0000)]
When we're recording a demo, we must not stop rendering sound even when the application becomes inactive

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

13 years agoRemoved some debug printings, and made some others requiring developer >= 100. Reset...
molivier [Sat, 10 Jun 2006 14:00:25 +0000 (14:00 +0000)]
Removed some debug printings, and made some others requiring developer >= 100. Reset the soundcard after opening in the OSS module.

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

13 years agodisabled the broken cl_autodemo feature until Sajt fixes it
havoc [Sat, 10 Jun 2006 12:19:57 +0000 (12:19 +0000)]
disabled the broken cl_autodemo feature until Sajt fixes it

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

13 years agochanged cvar default setup code such that cvar default strings are locked after execu...
havoc [Fri, 9 Jun 2006 17:30:56 +0000 (17:30 +0000)]
changed cvar default setup code such that cvar default strings are locked after executing default.cfg the first time (that is to say, their current values are copied into their default strings at this point), this fixes unsaved cvar problems in nexuiz caused by the default string being out of date on cvars that were modified by default.cfg
changed Reset To Defaults option in menu to use a newly added cvar_resettodefaults_all command before execing default.cfg to reset the binds

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

13 years agotrust the q3bsp NODRAW flag rather than the shader
havoc [Fri, 9 Jun 2006 13:50:50 +0000 (13:50 +0000)]
trust the q3bsp NODRAW flag rather than the shader

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

13 years agodon't allocate a mempool or texture pool if a model file is not found (prevents build...
havoc [Fri, 9 Jun 2006 09:49:36 +0000 (09:49 +0000)]
don't allocate a mempool or texture pool if a model file is not found (prevents buildup of 'progs/beam.mdl' memory/texture pools if it is not found)
audited 'if mod->loaded' checks to be more sure about unloading models even if they failed to load

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

13 years agofixed another C99 lazy variable declaration bug in div0's physics patch
havoc [Fri, 9 Jun 2006 07:50:42 +0000 (07:50 +0000)]
fixed another C99 lazy variable declaration bug in div0's physics patch

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

13 years agoanother curl message patch from div0
havoc [Fri, 9 Jun 2006 07:35:41 +0000 (07:35 +0000)]
another curl message patch from div0

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

13 years agolibcurl.2.dylib is apparently compatible for our purposes and neatly adds Mac OS...
havoc [Fri, 9 Jun 2006 07:34:12 +0000 (07:34 +0000)]
libcurl.2.dylib is apparently compatible for our purposes and neatly adds Mac OS X Panther support

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

13 years agofix typo that caused crashes in detection of model animation in models with only...
havoc [Fri, 9 Jun 2006 07:30:17 +0000 (07:30 +0000)]
fix typo that caused crashes in detection of model animation in models with only one frame

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

13 years agoanother patch from div0 to curl messages
havoc [Fri, 9 Jun 2006 07:04:40 +0000 (07:04 +0000)]
another patch from div0 to curl messages

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

13 years agofix for continuously spewed curl error messages
havoc [Fri, 9 Jun 2006 06:50:19 +0000 (06:50 +0000)]
fix for continuously spewed curl error messages

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

13 years agooops, forgot these
havoc [Fri, 9 Jun 2006 05:28:07 +0000 (05:28 +0000)]
oops, forgot these

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

13 years agoweb download patch from div0, this adds the "curl" console command, and the ability...
havoc [Fri, 9 Jun 2006 02:03:34 +0000 (02:03 +0000)]
web download patch from div0, this adds the "curl" console command, and the ability for servers to send a set of conditional curl commands which will download pk3 archives if specific files are missing

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

13 years agonexuiz prediction patch from div0, this adds two new cl_movement_airaccel_* cvars...
havoc [Fri, 9 Jun 2006 01:56:11 +0000 (01:56 +0000)]
nexuiz prediction patch from div0, this adds two new cl_movement_airaccel_* cvars which change air control physics

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

13 years agoThe BSD audio module had the same bug as the OSS module (incorrectly reporting "audio...
molivier [Thu, 8 Jun 2006 21:39:20 +0000 (21:39 +0000)]
The BSD audio module had the same bug as the OSS module (incorrectly reporting "audio can't keep up")

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

13 years agofixed r_drawportals
havoc [Thu, 8 Jun 2006 12:35:10 +0000 (12:35 +0000)]
fixed r_drawportals

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

13 years agofixed collision bug on q3 light cones and other non-solid brushes that are not axial...
havoc [Thu, 8 Jun 2006 11:16:52 +0000 (11:16 +0000)]
fixed collision bug on q3 light cones and other non-solid brushes that are not axial, now uses only the brush's supercontents value, not its surface textures

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

13 years agono longer converts vertex-morph model formats to float arrays, instead keeping their...
havoc [Thu, 8 Jun 2006 11:00:21 +0000 (11:00 +0000)]
no longer converts vertex-morph model formats to float arrays, instead keeping their geometry in the original formats from disk, this saves 1.2MB of memory in e1m2 and might slightly improve load times, it also preserves vertex normals to get rid of shading artifacts on texcoord seams

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

13 years agoadded more image search paths so that md2 model skins load properly again, and to...
havoc [Thu, 8 Jun 2006 10:57:55 +0000 (10:57 +0000)]
added more image search paths so that md2 model skins load properly again, and to reduce problems for tenebrae model packs

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

13 years agodon't crash if a quake button entity is on its alternate frames but doesn't actually...
havoc [Wed, 7 Jun 2006 08:49:56 +0000 (08:49 +0000)]
don't crash if a quake button entity is on its alternate frames but doesn't actually have any to show

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

13 years agodon't crash if key bindings functions are called with bogus keynums
havoc [Wed, 7 Jun 2006 08:33:57 +0000 (08:33 +0000)]
don't crash if key bindings functions are called with bogus keynums

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

13 years agofix a < 256 check that should have been < MAX_LIGHTSTYLES
havoc [Wed, 7 Jun 2006 08:33:21 +0000 (08:33 +0000)]
fix a < 256 check that should have been < MAX_LIGHTSTYLES

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

13 years agoignore GL_EXT_texture3D extension if it reports a bogus GL_MAX_3D_TEXTURE_SIZE
havoc [Wed, 7 Jun 2006 06:34:11 +0000 (06:34 +0000)]
ignore GL_EXT_texture3D extension if it reports a bogus GL_MAX_3D_TEXTURE_SIZE

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

13 years agoextra check for gl_texture3d
havoc [Wed, 7 Jun 2006 06:30:49 +0000 (06:30 +0000)]
extra check for gl_texture3d

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

13 years agofix typo
havoc [Wed, 7 Jun 2006 06:28:30 +0000 (06:28 +0000)]
fix typo

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

13 years agofix maps/ check to use 5 characters, not 4
havoc [Wed, 7 Jun 2006 06:20:18 +0000 (06:20 +0000)]
fix maps/ check to use 5 characters, not 4

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

13 years agoprevent Image_MipReduce from getting stuck in an infinite loop on 3D textures
havoc [Wed, 7 Jun 2006 06:19:54 +0000 (06:19 +0000)]
prevent Image_MipReduce from getting stuck in an infinite loop on 3D textures

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

13 years agoadded stack trace printout to VM_remove warnings
havoc [Wed, 7 Jun 2006 06:03:29 +0000 (06:03 +0000)]
added stack trace printout to VM_remove warnings

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

13 years agodon't save cvars that are at their default value
havoc [Wed, 7 Jun 2006 06:02:59 +0000 (06:02 +0000)]
don't save cvars that are at their default value

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

13 years agofixed an unregistered cvar
havoc [Wed, 7 Jun 2006 06:02:37 +0000 (06:02 +0000)]
fixed an unregistered cvar

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

13 years agodisabled loading of csprogs.dat if developer is less than 100
havoc [Wed, 7 Jun 2006 04:52:25 +0000 (04:52 +0000)]
disabled loading of csprogs.dat if developer is less than 100

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

13 years agoadded DP_GFX_EXTERNALTEXTURES_PERMAP extension
havoc [Wed, 7 Jun 2006 04:11:45 +0000 (04:11 +0000)]

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

13 years agocommented out S_StartSound <whatever> not precached message because it happens consta...
havoc [Tue, 6 Jun 2006 11:12:52 +0000 (11:12 +0000)]
commented out S_StartSound <whatever> not precached message because it happens constantly if the file could not be found

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

13 years agoAttempt to fix speaker layout for 5.1 and 7.1 sound, on Windows and Mac OS X; the...
molivier [Tue, 6 Jun 2006 06:21:47 +0000 (06:21 +0000)]
Attempt to fix speaker layout for 5.1 and 7.1 sound, on Windows and Mac OS X; the sound engine now builds its speaker layout based on the OS and the snd_swapstereo cvar. Plus a minor fix for the OSS sound module (was incorrectly reporting "audio can't keep up")

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

13 years agoUse our usual defines for detecting the OS type
molivier [Tue, 6 Jun 2006 06:14:34 +0000 (06:14 +0000)]
Use our usual defines for detecting the OS type

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

13 years agoFixed the "nosound" cvar. Thanks to Willis for having reported this bug
molivier [Sun, 4 Jun 2006 22:58:52 +0000 (22:58 +0000)]
Fixed the "nosound" cvar. Thanks to Willis for having reported this bug

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

13 years ago- the Linux sound modules (ALSA and OSS) are now write-based, instead of
molivier [Sun, 4 Jun 2006 10:57:24 +0000 (10:57 +0000)]
- the Linux sound modules (ALSA and OSS) are now write-based, instead of
mmap-based. It should fix the problems with inboard sound cards
- added 3 cvars controlling the sound output format: snd_speed,
snd_channels, and snd_width (default values: 48000, 2, and 2
respectively). They're saved in the config file.
- the checks for command line options and environment variables
modifying the sound output format are now common to all modules. The
command line options supported are: -sndmono, -sndstereo, -sndquad,
-sndspeed, and -sndbits. The environment variables supported are:
- added a (still dumb) function to figure out a better sound format when
the initialization of the sound card failed
- sound modules can now suggest a sound format if the initialization of
the sound card failed
- you can now do a "snd_restart" while having modified snd_width and/or
snd_channel. Doing a snd_restart with a modified snd_speed isn't yet
supported, it will fall back to the previous speed
- The WGL video module was blocking the sound output when the
application window lost the focus. Now, this code is shared and the AGL,
GLX and SDL video modules implement such a mecanism
- A lot of minor fixes, changes, factorizations and rewrites all over
the sound engine code and its modules
- added CeilPowerOf2() in the math library
- fixed BSDmakefile for NetBSD

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

13 years agocl_bobmodel is now a saved cvar
havoc [Sun, 4 Jun 2006 07:29:19 +0000 (07:29 +0000)]
cl_bobmodel is now a saved cvar

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

13 years agoremoved TE_VORESPIKE, no idea how it came into existence and it was never used
havoc [Thu, 1 Jun 2006 06:59:30 +0000 (06:59 +0000)]
removed TE_VORESPIKE, no idea how it came into existence and it was never used

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

13 years agodon't allow runaway loops caused by Con_Print during notify/console drawing
havoc [Tue, 30 May 2006 20:53:57 +0000 (20:53 +0000)]
don't allow runaway loops caused by Con_Print during notify/console drawing

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

13 years agofixed several crashes in video capture code when files fail to open
havoc [Tue, 30 May 2006 10:42:21 +0000 (10:42 +0000)]
fixed several crashes in video capture code when files fail to open
eliminated cl_capturevideo_sound cvar (now always on)
made sound capture non-realtime, by syncing sound mixer to capture frame while capture is active, this sounds horrible while recording but produces perfectly synced sound output to the .wav file
now numbers dpvideo files when saving, each one a higher number than the previous (the next number to use is saved to config), this allows capturing many short video clips without stopping to process the files
what this means: cl_capturevideo is now much more useful than before.

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

13 years agofix unintended use of alpha test on 2d graphics (hud/menu/etc)
havoc [Tue, 30 May 2006 10:37:19 +0000 (10:37 +0000)]
fix unintended use of alpha test on 2d graphics (hud/menu/etc)

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

13 years agoUpdated Dev-C++ project files
molivier [Mon, 29 May 2006 11:59:46 +0000 (11:59 +0000)]
Updated Dev-C++ project files

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

13 years agochanged color control menu correction value to 0.5 (medium grey on linear color monitors)
havoc [Mon, 29 May 2006 05:54:07 +0000 (05:54 +0000)]
changed color control menu correction value to 0.5 (medium grey on linear color monitors)

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

13 years agofixed repeated gamma ramp setting attempts in case of failure (again)
havoc [Mon, 29 May 2006 05:51:24 +0000 (05:51 +0000)]
fixed repeated gamma ramp setting attempts in case of failure (again)

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

13 years agofix bug that caused constant gamma ramp setting in windows in cases of failure
havoc [Sun, 28 May 2006 21:19:45 +0000 (21:19 +0000)]
fix bug that caused constant gamma ramp setting in windows in cases of failure

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

13 years agodisable canjump check until it's fixed
havoc [Sun, 28 May 2006 20:43:18 +0000 (20:43 +0000)]
disable canjump check until it's fixed

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

13 years agofurther tweaks to prediction
havoc [Sun, 28 May 2006 19:38:41 +0000 (19:38 +0000)]
further tweaks to prediction

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

13 years agofix a bug where dedicated servers might not respond to typing in the server console...
havoc [Sun, 28 May 2006 19:36:23 +0000 (19:36 +0000)]
fix a bug where dedicated servers might not respond to typing in the server console if no map is currently running (which is rare)

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

13 years agoadded a few more GLSL shader program setting calls in R_RenderScene just to prevent...
havoc [Sun, 28 May 2006 07:27:18 +0000 (07:27 +0000)]
added a few more GLSL shader program setting calls in R_RenderScene just to prevent problems if a model/map rendering call leaves a GLSL program active

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

13 years agoadded sv_clmovement_* cvars to disable movement prediction of players, or disable...
havoc [Sun, 28 May 2006 01:26:06 +0000 (01:26 +0000)]
added sv_clmovement_* cvars to disable movement prediction of players, or disable it only when their ping is below a certain value (by default 100ms)

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

13 years agono longer sets model->loaded if the model file was not found, since the old Mod_Check...
havoc [Sun, 28 May 2006 00:23:59 +0000 (00:23 +0000)]
no longer sets model->loaded if the model file was not found, since the old Mod_CheckLoaded code is long gone

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

13 years agoremove an unused variable
havoc [Sat, 27 May 2006 20:12:03 +0000 (20:12 +0000)]
remove an unused variable

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

13 years agocentering of notify lines in nexuiz now ignores color codes
havoc [Sat, 27 May 2006 20:07:34 +0000 (20:07 +0000)]
centering of notify lines in nexuiz now ignores color codes

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

13 years agocenterprint no longer counts color codes when centering lines
havoc [Sat, 27 May 2006 19:58:53 +0000 (19:58 +0000)]
centerprint no longer counts color codes when centering lines

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

13 years agodon't hexdump png images while reading them (why did it do this??)
havoc [Fri, 26 May 2006 03:09:02 +0000 (03:09 +0000)]
don't hexdump png images while reading them (why did it do this??)

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

13 years agofix bug that was preventing rcon_address from working
havoc [Fri, 26 May 2006 01:04:39 +0000 (01:04 +0000)]
fix bug that was preventing rcon_address from working

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

13 years agoimplemented sv_gameplayfix_qwplayerphysics
havoc [Fri, 26 May 2006 01:00:09 +0000 (01:00 +0000)]
implemented sv_gameplayfix_qwplayerphysics

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

13 years agofix a typo
havoc [Thu, 25 May 2006 23:46:11 +0000 (23:46 +0000)]
fix a typo

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

13 years agotry not to kick players for supposed speed cheating when float time degrades too...
havoc [Thu, 25 May 2006 23:28:03 +0000 (23:28 +0000)]
try not to kick players for supposed speed cheating when float time degrades too much

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

13 years agofixed sv_waterfriction code so it is now used
havoc [Thu, 25 May 2006 23:27:24 +0000 (23:27 +0000)]
fixed sv_waterfriction code so it is now used

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

13 years agoadded sv_waterfriction, sv_airaccelerate, sv_wateraccelerate cvars (and corresponding...
havoc [Thu, 25 May 2006 23:22:06 +0000 (23:22 +0000)]
added sv_waterfriction, sv_airaccelerate, sv_wateraccelerate cvars (and corresponding cl_movement_ cvars), now physics are about as configurable as quakeworld

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

13 years agopatch from div0 that allows loading new pak/pk3 archives while running
havoc [Thu, 25 May 2006 07:48:33 +0000 (07:48 +0000)]
patch from div0 that allows loading new pak/pk3 archives while running

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

13 years agopatch from div0 that makes togglemenu support a parameter (either 1 or 0) to not...
havoc [Thu, 25 May 2006 07:41:38 +0000 (07:41 +0000)]
patch from div0 that makes togglemenu support a parameter (either 1 or 0) to not toggle but instead set the menu on or off

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

13 years agochanged matchpattern to take a const char *
havoc [Thu, 25 May 2006 07:39:44 +0000 (07:39 +0000)]
changed matchpattern to take a const char *

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

13 years agoreplaced cl_beams_relative cvar with cl_beams_quakepositionhack and cl_beams_instanta...
havoc [Thu, 25 May 2006 04:12:05 +0000 (04:12 +0000)]
replaced cl_beams_relative cvar with cl_beams_quakepositionhack and cl_beams_instantaimhack and rewrote the relevant code, it now works like quake (except with instant aiming in the case of the instantaimhack) and applies only to your player

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

13 years agochanged qc profiling to use doubles instead of ints for profile counters, so it can...
havoc [Thu, 25 May 2006 03:57:50 +0000 (03:57 +0000)]
changed qc profiling to use doubles instead of ints for profile counters, so it can now count beyond 4 billion

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

13 years agoincreased runaway jump count limit to 1000000000
havoc [Thu, 25 May 2006 03:54:31 +0000 (03:54 +0000)]
increased runaway jump count limit to 1000000000

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

13 years agocalculate bounding box properly for psk models, and a cleanup of bounding box generat...
havoc [Thu, 25 May 2006 03:49:59 +0000 (03:49 +0000)]
calculate bounding box properly for psk models, and a cleanup of bounding box generation code for mdl/md2/md3 models

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

13 years agofixed crashes when changing a few settings while playing a demo
havoc [Thu, 25 May 2006 03:46:21 +0000 (03:46 +0000)]
fixed crashes when changing a few settings while playing a demo
fixed repeated jumping bug in cl_movement code
fixed crashes that would occur if playing a QW demo (not yet supported)

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

13 years agofix crash when entering "color" command while playing a demo
havoc [Thu, 25 May 2006 03:43:58 +0000 (03:43 +0000)]
fix crash when entering "color" command while playing a demo
fixed values printed by bottomcolor/topcolor commands (so bottomcolor no longer reports the whole color like color does, instead just the pants color)

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

13 years agofix playback of demos after playing on a quakeworld server
havoc [Thu, 25 May 2006 03:41:51 +0000 (03:41 +0000)]
fix playback of demos after playing on a quakeworld server

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

13 years agodisplay qw spectators as spectators on the scoreboard
havoc [Thu, 25 May 2006 03:41:01 +0000 (03:41 +0000)]
display qw spectators as spectators on the scoreboard
fix a crash if holding showscores while playing a demo

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

13 years agoremove some r_render checks, and added an r_render check to vid_sdl.c VID_Finish
havoc [Tue, 23 May 2006 22:54:30 +0000 (22:54 +0000)]
remove some r_render checks, and added an r_render check to vid_sdl.c VID_Finish

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

13 years ago471
havoc [Wed, 17 May 2006 08:18:06 +0000 (08:18 +0000)]

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

13 years agopatch from Dresk that adds a doom3-like "toggle" console command
havoc [Mon, 15 May 2006 02:40:36 +0000 (02:40 +0000)]
patch from Dresk that adds a doom3-like "toggle" console command

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

13 years agoreorganized a lot of renderer variables into r_refdef, and split some things out...
havoc [Fri, 12 May 2006 08:11:46 +0000 (08:11 +0000)]
reorganized a lot of renderer variables into r_refdef, and split some things out of r_refdef into r_view and r_viewcache, this reorganization brings DP closer to being able to render to textures

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

13 years agoundo something not meant to be committed yet
havoc [Fri, 12 May 2006 07:33:09 +0000 (07:33 +0000)]
undo something not meant to be committed yet

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

13 years agofix two implicit conversions
havoc [Fri, 12 May 2006 07:06:22 +0000 (07:06 +0000)]
fix two implicit conversions

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

13 years agofix s->waterlevel = 0 and such
havoc [Fri, 12 May 2006 07:05:32 +0000 (07:05 +0000)]
fix s->waterlevel = 0 and such

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

13 years agoremoved the clearing of the root bone in .psa animations, to fix bugs (sorry, this...
havoc [Thu, 11 May 2006 09:20:29 +0000 (09:20 +0000)]
removed the clearing of the root bone in .psa animations, to fix bugs (sorry, this was experimental and apparently broken)

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

13 years agofix a warning
havoc [Thu, 11 May 2006 09:03:10 +0000 (09:03 +0000)]
fix a warning

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

13 years agoredesigned skeletal model loading and rendering to use matrix-palette animation ...
havoc [Wed, 10 May 2006 11:52:21 +0000 (11:52 +0000)]
redesigned skeletal model loading and rendering to use matrix-palette animation (still in software, but that may change at some point), this improved nexuiz -benchmark demos/demo1 framerates by 11.3%

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

13 years agoadded Vector4Set macro
havoc [Wed, 10 May 2006 11:16:44 +0000 (11:16 +0000)]
added Vector4Set macro

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

13 years agosome clean up of packet parsing
havoc [Wed, 10 May 2006 10:14:26 +0000 (10:14 +0000)]
some clean up of packet parsing
merged most of the server info parsing code between the two cases (DP server and QW server), and reimplemented server info parsing for NQ servers
enabled ping/ack packet processing

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

13 years agosetinfo *ip on every network connection (currently only meaningful to QW reconnect...
havoc [Wed, 10 May 2006 08:26:44 +0000 (08:26 +0000)]
setinfo *ip on every network connection (currently only meaningful to QW reconnect command, but potentially useful), and removed some unneeded setinfo's since the cvars/commands now work properly

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

13 years agoimproved setinfo handling so that quakeworld works much better now (name/topcolor...
havoc [Wed, 10 May 2006 08:24:54 +0000 (08:24 +0000)]
improved setinfo handling so that quakeworld works much better now (name/topcolor/bottomcolor/skin/team/noaim are handled properly now), this means TeamFortress won't kick clients for not responding to team/skin cvars, and is fully playable

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