]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Sat, 12 May 2007 09:46:58 +0000 (09:46 +0000)]
patch from David Cristian which adds a "browse mods" menu which seems to
work quite well
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7268
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 May 2007 08:45:14 +0000 (08:45 +0000)]
fix description of cl_movement_wateraccelerate; make air movement use movevars_airaccelerate (fixes movement in Nexuiz Pro)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7267
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 May 2007 08:20:56 +0000 (08:20 +0000)]
if .gravity field is zero, it means the same as one (see also: SV_AddGravity)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7266
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 May 2007 08:14:11 +0000 (08:14 +0000)]
also send friction/waterfriction as stats
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7265
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 May 2007 07:47:31 +0000 (07:47 +0000)]
fix typo in r_q1bsp_skymasking cvar name
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7264
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 11 May 2007 01:17:24 +0000 (01:17 +0000)]
added back cl_netsyncboundmode 5 (4 with sub-millisecond adjustment when
very near the correct value)
added new default cl_nettimesyncboundmode 6, this is a hybrid of 1 and 5
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7263
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 11 May 2007 01:04:45 +0000 (01:04 +0000)]
moved almost all server cvars to sv_main.c and added corresponding
externs in server.h
removed cl_gravity and cl_slowmo cvars
renamed cl.movevars_slowmo to cl.movevars_timescale
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7262
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 11 May 2007 00:00:29 +0000 (00:00 +0000)]
added friction and waterfriction movevars stats
corrected sv_airaccel_qw and sv_airaccel_sideways_friction cvars (they
had the wrong name string)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7261
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 11:09:07 +0000 (11:09 +0000)]
added back support for {}()[]: special characters in
COM_ParseToken_VM_Tokenize
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7257
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 11:00:14 +0000 (11:00 +0000)]
renamed COM_ParseTokenConsole to COM_ParseToken_Console
split COM_ParseToken into COM_ParseToken_Simple, COM_ParseToken_QuakeC
and COM_ParseToken_VM_Tokenize which have different support for special
characters
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7256
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 09:53:11 +0000 (09:53 +0000)]
fixed several critical bugs in VM_tokenizebyseparator
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7255
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 09:29:56 +0000 (09:29 +0000)]
fix broken OFS_PARM0 + index code in VM_M_callfunction and
VM_tokenizebyseparator, these were not multiplying by 3 as is required
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7254
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 00:17:21 +0000 (00:17 +0000)]
removed a wasted normalize in fragment shader for model lighting
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7253
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 May 2007 00:13:21 +0000 (00:13 +0000)]
scale demo playback speed by slowmo cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7252
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 7 May 2007 23:19:14 +0000 (23:19 +0000)]
GAME_NEXUIZ: move the key up a bit for keyhunt, looks better
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7251
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 7 May 2007 21:36:32 +0000 (21:36 +0000)]
Impossible combination of GAME_NEXUIZ CTF status icons ("have red flag | have blue flag") now displays an alternate image for the new keyhunt game mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7250
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 20:50:22 +0000 (20:50 +0000)]
fix crash when loading progs/null.spr in nehahra, which has 0x0 size
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7249
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 7 May 2007 18:23:22 +0000 (18:23 +0000)]
fix glsl model lighting on unlit maps (normal vector was calculated as (0,0,0) as there was no contribution from the map -> GLSL calls normalize() on that -> (nan,nan,nan), which apparently counts as black).
The fix replaces these zero normal vectors by (0,0,1) (which vector is actually chosen does not matter, as its contribution is scaled by zero anyway).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7248
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 7 May 2007 17:17:38 +0000 (17:17 +0000)]
let the slowmo cvar override the server/demo's idea of slowmo when it is != 1; makes slowmo work again for demo playback
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7247
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 08:46:37 +0000 (08:46 +0000)]
reduced uninitialized memory a bit more
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7246
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 07:28:00 +0000 (07:28 +0000)]
reduced uninitialized data size by 13MB by moving some temporary arrays
used by outdated protocols into their database struct, also moved some
other arrays
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7245
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 06:46:04 +0000 (06:46 +0000)]
replaced mod_known array with a memexpandablearray_t, this saves 11.5MB
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7244
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 05:37:08 +0000 (05:37 +0000)]
rewrote server sendstates building code, no longer builds two
entity_state_t arrays (where one of them is global and one per-client),
this is a slight efficiency loss but saves a few megabytes and makes the
customizeentityforclient code more straightforward
merged some global variables into cl. and sv. structs, and others became
arrays on the stack
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7243
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 03:41:11 +0000 (03:41 +0000)]
now sends player physics variables as stats, including slowmo, gravity,
and sys_ticrate, this avoids the need to stuffcmd cl_movement cvars
on servers that provide the ticrate stat the cl_netinputpacketspersecond
cvar is no longer important, this also seems to improve demo recording
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7242
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 03:01:40 +0000 (03:01 +0000)]
removed PRVM_EDICT_NUM_UNSIGNED (PRVM_EDICT_NUM now casts to unsigned)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7241
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 02:49:41 +0000 (02:49 +0000)]
changed rain to spawn particles without collisions and implemented
delayed spawning of splashes to facilitate this
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7240
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 02:49:10 +0000 (02:49 +0000)]
increased tolerance on warnings in DEBUGMOVES code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7239
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 May 2007 02:48:43 +0000 (02:48 +0000)]
fixed a reference to sv.models in client code (should have been
cl.model_precache)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7238
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 22:46:43 +0000 (22:46 +0000)]
rewrote most of wad system, this eliminated 512KB of static arrays for
hlwad lumpinfo
added W_UnloadAll function which is now called by FS_Rescan
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7237
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 12:23:19 +0000 (12:23 +0000)]
made r_depthfirst a saved cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7236
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 11:37:04 +0000 (11:37 +0000)]
added support for \" in console
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7235
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 10:38:31 +0000 (10:38 +0000)]
added r_depthfirst option which defaults to 1 (render depth of world
into scene before rendering color), and also offers 2 (render depth of
world and models), this saves shader fillrate on intensive shaders or
texturing techniques (deluxemapping, anisotropic filtering, etc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7234
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 10:13:43 +0000 (10:13 +0000)]
reworked sound mixing code to fix a bug that caused sound to stop
working after a timedemo (or anything else that overrode the normal
sound timing)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7233
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 May 2007 10:12:19 +0000 (10:12 +0000)]
fix a bug that caused GL20 render path to always ask for tangents and
normals when rendering models
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7232
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 4 May 2007 11:40:58 +0000 (11:40 +0000)]
oops, the r_picmipworld should be CVAR_SAVE of course. Sorry for that.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7230
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 4 May 2007 09:29:57 +0000 (09:29 +0000)]
r_picmipworld - when 0, gl_picmip does not apply to world models (because they tend to use much less texture memory than player models in Nexuiz)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7229
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 4 May 2007 07:01:34 +0000 (07:01 +0000)]
fixed broken trails (introduced by my attempt to fix them)
fixed a bug where attachments to viewmodelforclient entities would show
up in the world in chase_active 1 mode near 0 0 0
rain particles now trace ahead at spawn and only begin collision
checking when near the impact time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7228
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 4 May 2007 01:17:16 +0000 (01:17 +0000)]
reenabled code that unloads unused models on level change
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7227
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 3 May 2007 07:40:58 +0000 (07:40 +0000)]
fix bug where attached models spawn a trail from their non-attached
start location to their new location on the first frame
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7226
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 2 May 2007 13:49:57 +0000 (13:49 +0000)]
damn, I can't convert hex/dec...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7225
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 2 May 2007 13:20:35 +0000 (13:20 +0000)]
made palette colors more readable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7224
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 2 May 2007 04:36:28 +0000 (04:36 +0000)]
a slight cleanup of PaintAndSubmit conditions and S_Update early out
conditions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7223
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 1 May 2007 06:11:48 +0000 (06:11 +0000)]
significant cleanup of input networking code (reorganized and now uses
frametimes rather than timestamps for queued moves) and some refinements
to prediction code
tried to reimplement the anti-pogostick code and it's partially working
but not completely (mispredicts for one frame each time)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7222
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 1 May 2007 02:25:32 +0000 (02:25 +0000)]
default vid_grabkeyboard to 0, it's already forced to 1 on fullscreen so
this should do no harm
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7221
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 30 Apr 2007 23:00:58 +0000 (23:00 +0000)]
make SV_PushMove push by playerclip faces too (by using the right contents mask for each pushed entity)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7220
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 22:44:19 +0000 (22:44 +0000)]
mvdsv sucks (changed *ver from showing a string like DarkPlaces Linux
14:15:44 Apr 30 2007, to simply \*ver\dp)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7219
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Mon, 30 Apr 2007 21:59:19 +0000 (21:59 +0000)]
Applied KadaverJack's patch on my cl_sound_ric_gunshot code that provides a small optimization by using bitwise operations instead of numerical calculations.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7218
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Mon, 30 Apr 2007 17:27:16 +0000 (17:27 +0000)]
Added DP_QC_STRING_CASE_FUNCTIONS extension, providing VM functions strtolower and strtoupper which return the lowercase and uppercase of strings respectively, available across the CL, SV and MENU VMs.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7216
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 17:22:47 +0000 (17:22 +0000)]
fix pl% calculation for QW servers (was using [i] instead of [j])
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7215
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 17:02:10 +0000 (17:02 +0000)]
fix nettimesync bug after the recent cleanup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7214
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 05:39:56 +0000 (05:39 +0000)]
implemented QW skin support, it's broken on skins that are not the same
size as the model skin though
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7213
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 05:39:00 +0000 (05:39 +0000)]
count empty packets in rate limiting
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7212
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 05:28:29 +0000 (05:28 +0000)]
fix a bug in texture path identification (the nopath case was occurring
even when there was a path, because it was checking the wrong variable)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7211
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 30 Apr 2007 05:27:03 +0000 (05:27 +0000)]
removed cl_nettimesyncboundmode 5 because it seems to print many more
time warnings than 4 does when developer is on
now sets cls.servermovesequence to cls.netcon->qw_incoming_sequence
now keeps around qw player entities if a packet does not contain any
(an fteqw server I was testing on sometimes sent packets containing
large reliable message groups but no player entities at all)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7210
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Mon, 30 Apr 2007 03:58:20 +0000 (03:58 +0000)]
Updated cl_sound_ric_gunshot CVar to support multiple modes. 0 plays no sounds, 1 plays sounds on TE_GUNSHOT, 2 plays sounds on TE_GUNSHOTQUAD and 3 plays sounds on both TE_GUNSHOT and TE_GUNSHOTQUAD. This is not bloat because the Crylink in Nexuiz uses TE_GUNSHOTQUAD, and most people don't want ricochet sounds on that (though if you do, all the merrier).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7209
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 29 Apr 2007 22:15:44 +0000 (22:15 +0000)]
increased IP + UDP header overhead estimate from 18 bytes to 28 bytes
based on tcpdump results
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7208
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 29 Apr 2007 19:36:05 +0000 (19:36 +0000)]
store into *colorindex again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7207
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Fri, 27 Apr 2007 23:25:47 +0000 (23:25 +0000)]
Added cl_sound_ric_gunshot which specifies if the related cl_sound_ric and cl_sound_tink CVars will apply to te_gunshot and te_gunshotquad calls. The default value is 0 and it is not saved.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7206
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 27 Apr 2007 22:57:01 +0000 (22:57 +0000)]
make COM_StringLengthNoColors and COM_StringDecolorize get an additional length parameter to just work on part of a string (if set to 0, it means use the whole string); use that in centerprint drawing to fix centering issues in some odd situations like "^^^^^^^^^^^^^^^^^^^^^^^^^^".
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7205
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Apr 2007 20:20:20 +0000 (20:20 +0000)]
clarified descriptions of r_mipsprites and r_mipskins
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7203
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Apr 2007 16:19:42 +0000 (16:19 +0000)]
split cl_netpacketloss into cl_netpacketloss_send and
cl_netpacketloss_receive to allow more network testing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7202
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Apr 2007 18:17:38 +0000 (18:17 +0000)]
fixed bug where animated mdl skins (such as Tomaz's health box and
explobox models in dpmod) were getting freed because they were not
properly counted in the model->num_textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7197
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Apr 2007 16:41:34 +0000 (16:41 +0000)]
changed default cl_movement_minping from 1 to 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7194
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Apr 2007 16:41:02 +0000 (16:41 +0000)]
changed default cl_movement_minping from 50 to 1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7193
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Apr 2007 14:47:02 +0000 (14:47 +0000)]
added tracking of memory usage of VBO/EBO buffers
added gl_vbostats command to list VBO/EBO buffers
added total VBO/EBO usage information in memstats
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7192
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 25 Apr 2007 10:15:55 +0000 (10:15 +0000)]
fix bugs in Mod_Q3BSP_Loadtextures that caused crashes and other
sillyness
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7191
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 25 Apr 2007 08:38:40 +0000 (08:38 +0000)]
prevent abuse by ending netname with a ^: if the name is not a valid colored string, add a ^ if possible, and if there is no space for it, remove the trailing ^
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7190
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 25 Apr 2007 07:18:16 +0000 (07:18 +0000)]
fix strlennocol/strdecolorize on unusual strings like "foo^";
now strlennocol returns the visible width (like before) and strdecolorize
returns a string that can be safely printed and that looks like the original,
just without the colors.
Moved decolorizing and counting to common.c.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7189
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 23:17:36 +0000 (23:17 +0000)]
isolated more of the texture loading code from the rest of model
loading, to avoid potential for crashes in dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7188
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 22:55:20 +0000 (22:55 +0000)]
fixed crash in sprite loaders on dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7187
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 21:29:59 +0000 (21:29 +0000)]
added DP_SV_MODELFLAGS_AS_EFFECTS extension, this adds EF_ROCKET and
friends as effect bits in the protocol, the QC can use these constants
directly or can use the new .modelflags field to set them without float
precision issues caused by the large values, this basically means that
you can make an entity leave a blood trail, or look like a rocket
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7186
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 20:33:32 +0000 (20:33 +0000)]
reverted dresk's DP_SV_ALLOWTOUCHWITHOWNER patch as it adds unnecessary
bloat when there is a well-known QuakeC approach to do this already
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7185
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 20:28:42 +0000 (20:28 +0000)]
Added QC float .allowtouchwithowner . Setting this to true allow an entity to touch its owner (ie. missile or grenade). Be careful where you spawn your projectiles and assign this value, as you may end up detonating the projectile immediately.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7184
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 19:24:32 +0000 (19:24 +0000)]
allow model flags to work on attached entities
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7183
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 17:11:32 +0000 (17:11 +0000)]
expanded texture name buffer so that names don't get clipped in
r_texturestats output
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7182
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 17:08:54 +0000 (17:08 +0000)]
don't crash in Mod_BuildAliasSkinFromSkinFrame on dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7181
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 16:27:21 +0000 (16:27 +0000)]
Added standard color escapes to "changed name to" broadcast prints
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7180
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 16:11:13 +0000 (16:11 +0000)]
Updated console command description of prvm_edicts (it had the description of prvm_edictset)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7179
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 15:47:51 +0000 (15:47 +0000)]
Added return to standard color coding in "status" command player listing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7178
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 15:40:38 +0000 (15:40 +0000)]
Added check for MAX_MODELS in cl_modelindexlist command
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7177
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 15:37:47 +0000 (15:37 +0000)]
Removed modelindexlist command from cmd.c, shifted function as cl_modelindexlist into cl_main.c
Started modelindex at 1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7176
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 15:30:47 +0000 (15:30 +0000)]
Added return to standard color coding in the "Player entered the game" and "Client "Player" Dropped" messages
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7175
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 15:21:56 +0000 (15:21 +0000)]
Implemented console command 'modelindexlist' which lists all the models and their corresponding model index numbers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7174
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 15:02:02 +0000 (15:02 +0000)]
fixed missing sprite textures caused by purging code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7173
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 14:41:57 +0000 (14:41 +0000)]
fix bug that made all textures without a shader definition have
numskinframes = 0, which caused purging to eliminate their textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7172
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 14:41:27 +0000 (14:41 +0000)]
check if skinframe is NULL in R_SkinFrame_MarkUsed
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7171
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 14:23:25 +0000 (14:23 +0000)]
fix a line I forgot to commit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7170
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Tue, 24 Apr 2007 13:25:23 +0000 (13:25 +0000)]
Fixed a typo by not putting a whitespace after the DP_SV_NETADDRESS
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7169
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 13:19:07 +0000 (13:19 +0000)]
replaced Mod_LoadSkinFrame functions with R_SkinFrame system, this
allows multiple models to share textures in a given level, as well as
models using the same texture multiple times (often the case in md3
where meshes have a vertex limit, and q3bsp where texture structs
describe surface properties and multiple may exist referring to the same
texture set)
this reduced Nexuiz video memory usage by over 150MB
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7168
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 13:12:35 +0000 (13:12 +0000)]
fix MAX_CHANNELS, it was too low with the expanded MAX_DYNAMIC_CHANNELS
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7167
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 10:14:46 +0000 (10:14 +0000)]
fix crash when freeing an expandable array caused by a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7166
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 24 Apr 2007 06:56:37 +0000 (06:56 +0000)]
audited all Sys_Quit calls and gave them return values indicating
whether the game quit normally, so shell scripts get a useful value
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7165
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 23 Apr 2007 20:44:45 +0000 (20:44 +0000)]
replaced qglArrayElement calls with qglVertex3f calls in showtris code,
this avoids issues with abysmal gl_vbo 1 performance on NVIDIA cards
(which seem to use a software fallback for drawing lines for some
reason)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7164
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Mon, 23 Apr 2007 20:32:12 +0000 (20:32 +0000)]
Added new extension for .string netaddress (DP_SV_NETADDRESS)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7162
d7cf8633 -e32d-0410-b094-
e92efae38249
dresk [Mon, 23 Apr 2007 20:25:05 +0000 (20:25 +0000)]
Implemented .string netaddress to SVQC, providing the IP Address of the associated client entity (string is "null/botclient is client is not valid)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7161
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 23 Apr 2007 19:39:18 +0000 (19:39 +0000)]
modified Mod_LoadSkinFrame to not attempt to generate a fogging mask if
not given the TEXF_ALPHA flag (in which case the fog mask would not be
used anyway)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7160
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 23 Apr 2007 19:13:39 +0000 (19:13 +0000)]
cleaned up Mod_LoadSkinFrame now that image_loadskin is gone
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7159
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 23 Apr 2007 18:11:15 +0000 (18:11 +0000)]
merged image_loadskin and image_freeskin into Mod_LoadSkinFrame
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7158
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 23 Apr 2007 16:20:31 +0000 (16:20 +0000)]
fix some unintentional math on a void pointer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7157
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 22 Apr 2007 13:04:35 +0000 (13:04 +0000)]
batch by lightmap rather than by use of lightmaps (batching by use of
lightmaps is no longer necessary with the lightmap merging)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7154
d7cf8633 -e32d-0410-b094-
e92efae38249