]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
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
havoc [Sun, 22 Apr 2007 11:24:17 +0000 (11:24 +0000)]
added r_showbboxes cvar and accompanying code to render server entity
bounding boxes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7153
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 22 Apr 2007 09:52:01 +0000 (09:52 +0000)]
fix a bug in the last commit pertaining to lightning beam fogging
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7152
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 22 Apr 2007 09:48:18 +0000 (09:48 +0000)]
fixed several bugs in fog code, it basically wasn't working in the
r_glsl 0 case at all, it still doesn't work with rtlights in gl_combine
1 mode though
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7151
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 22 Apr 2007 09:02:23 +0000 (09:02 +0000)]
fixed bug where items would not fall if pushed off a ledge by a
MOVETYPE_PUSH entity
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7150
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 22 Apr 2007 05:13:06 +0000 (05:13 +0000)]
correct a couple error messages which said "Map downloads", changed to
"cURL downloads"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7149
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Apr 2007 22:36:23 +0000 (22:36 +0000)]
oops... sorry for that one. Copypaste without testing never works...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7148
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Apr 2007 22:22:59 +0000 (22:22 +0000)]
fix multithreaded OpenGL support; actually load CGL functions from OpenGL.framework
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7147
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Apr 2007 15:59:28 +0000 (15:59 +0000)]
compare the right values for host cache masks;
use -1 bots to indicate unknown bot count
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7146
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Apr 2007 11:43:24 +0000 (11:43 +0000)]
new cvar fs_empty_files_in_pack_mark_deletions: when set, a pk3 with empty files can effectively "delete" a file in an earlier pk3
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7145
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 20 Apr 2007 06:25:06 +0000 (06:25 +0000)]
upped MAX_DYNAMIC_CHANNELS from 128 to 512
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7144
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 Apr 2007 13:17:06 +0000 (13:17 +0000)]
changed VERTEXFOGTABLE macro to not use a global variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7143
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 Apr 2007 12:50:45 +0000 (12:50 +0000)]
significant cleanup of reliefmapping shader, now uses step() function
instead of if's, this might improve compatibility with ATI cards, but
not sure, in any case I improved the stepping math a little bit which
saves some time, minor fps improvement on reliefmapping compared to
before
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7142
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 Apr 2007 07:32:00 +0000 (07:32 +0000)]
adjusted netgraph code to draw the latest netgraph column on the right
rather than the left
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7141
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 19 Apr 2007 00:44:52 +0000 (00:44 +0000)]
correct a typo (numbotss)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7140
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Apr 2007 11:38:57 +0000 (11:38 +0000)]
sv_public -2 now allows the local: client to connect
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7134
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 11:15:58 +0000 (11:15 +0000)]
fix a bug in the RENDER_EXTERIORMODEL check in the last commit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7133
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 11:13:57 +0000 (11:13 +0000)]
changed protocol code to always send origin as low precision if
possible, except for exteriormodel's (such as the player itself),
this means the only effect of EF_LOWPRECISION is lower precision angles
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7132
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 10:35:30 +0000 (10:35 +0000)]
removed the forced LOWPRECISION flag on entities because it messes up
angles too much, and it is hard to decide what origins warrant high
precision or low precision
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7131
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 10:20:09 +0000 (10:20 +0000)]
improved entity unsticking code, it now uses a trace from the offset
position back to the original position, and uses the impact point, this
makes it correct significantly less than before
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7130
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 09:59:06 +0000 (09:59 +0000)]
try unstick offsets in a certain order, preferring horizontal offsets
and then vertical, and never doing horizontal + vertical, this fixes
problems where you would 'creep' along the floor diagonally at certain
frametimes at certain plane distances where precision error causes
problems, now you only teleport upward 1 unit and fall repeatedly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7129
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 09:29:50 +0000 (09:29 +0000)]
added Mem_ExpandableArray_IndexRange and
Mem_ExpandableArray_RecordAtIndex which allow iterating the array
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7128
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 09:17:54 +0000 (09:17 +0000)]
added Mem_ExpandableArray functions, which are not currently used but
may be useful
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7127
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 09:17:33 +0000 (09:17 +0000)]
added cl_nettimesyncboundmode 5 which is div0's slight refinement of 4
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7126
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 08:08:31 +0000 (08:08 +0000)]
added numbots and numhumans in server info parsing, serverlist filtering
can also mask by these, and the 'player empty' check for the engine's
own server listings now uses numhumans rather than numplayers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7125
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 07:51:11 +0000 (07:51 +0000)]
added reporting of number of bots in getinfo/getstatus replies (they are
counted as clients also, so something parsing the info can deduct them
if it wishes)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7124
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 07:00:49 +0000 (07:00 +0000)]
fix bug introduced in last patch that made all text print one character
to the left
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7123
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 06:45:31 +0000 (06:45 +0000)]
further optimized space skipping in DrawQ_String
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7122
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 06:20:32 +0000 (06:20 +0000)]
changed weapons bar in nexuiz hud to use alpha rather than additive
blend, and have full opacity for 1 second and then fade over half a second
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7121
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 05:52:36 +0000 (05:52 +0000)]
refactored DrawQ_Pic to actually do the drawing rather than wasting time
on a DrawQ_SuperPic call
added DrawQ_Fill as an optimized case of DrawQ_Pic
this significantly improved performance of shownetgraph
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7120
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 18 Apr 2007 05:33:17 +0000 (05:33 +0000)]
changed r_textshadow behavior to always draw a black shadow, but with
alpha dependent on the brightness of the primary text color, this means
you don't get white shadows under black text, but do get black shadows
under white text
rewrote DrawQ_String and friends to be one combined function that draws
colored strings more efficiently by batching characters with differing
colors together, and it even batches the shadow with the text which can
help performance significantly with r_textshadow on
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7119
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Apr 2007 11:59:40 +0000 (11:59 +0000)]
renamed client netgraphs back to incoming and outgoing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7118
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Apr 2007 11:51:02 +0000 (11:51 +0000)]
added shownetgraph 2 mode which shows netgraphs for all clients when
hosting a listen server
tweaked shownetgraph separator spacing a bit so that it is only 2 pixels
between incoming/outgoing graphs, and 4 pixels between netgraphs
relabeled incoming/outgoing graphs to world/input
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7117
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Apr 2007 11:50:04 +0000 (11:50 +0000)]
moved calls of CL_ReadDemoMessage and CL_SendMove from CL_ReadFromServer
to the main loop
renamed CL_ReadFromServer to CL_UpdateWorld, and it is now called even
if not connected (to clear the r_refdef entities/lights info, and the
num_brushmodels)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7116
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Apr 2007 11:48:51 +0000 (11:48 +0000)]
no longer sends nearly-empty input packets when cl.time is less than the
previous move time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7115
d7cf8633 -e32d-0410-b094-
e92efae38249