havoc [Thu, 25 Nov 2004 16:19:56 +0000 (16:19 +0000)]
changed lhrandom to use the full RAND_MAX limit (more random, after all the low bits are the most predictable), and made the random() qc builtin use lhrandom
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4791
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 16:18:04 +0000 (16:18 +0000)]
small beginnings of GLSL support, doesn't do anything yet
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4790
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 16:16:28 +0000 (16:16 +0000)]
forgot to commit this with the Host_ServerFrame changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4789
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 16:13:42 +0000 (16:13 +0000)]
redesigned Host_ServerFrame timing again, it now never runs more than 5 serverframes per host frame as a sanity limit (to remain playable in an overloaded game), and is just cleaner
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4788
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 16:08:48 +0000 (16:08 +0000)]
forgot to commit a bunch of CL_AllocDlight changes (to use lightstyle -1)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4787
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 16:07:53 +0000 (16:07 +0000)]
added cl_capturevideo_rawyv12 mode, and cl_screenshot_gamma (defaults to 2.2)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4786
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 25 Nov 2004 09:04:37 +0000 (09:04 +0000)]
Fixed ambient sound volume (it was reset each frame, and cannot change by more than the value of the "ambient_fade" cvar each frame... you do the math). Thanks to Tomaz and Urre for the bug report
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4785
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 25 Nov 2004 01:24:00 +0000 (01:24 +0000)]
changed Sys_Error to not put up a messagebox if in dedicated mode, and cleaned it up a bit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4784
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 24 Nov 2004 13:39:38 +0000 (13:39 +0000)]
fixed a critical bug with Vile and other midnight mods (dlights were being controlled by style 0, this meant they didn't appear in these mods, added style -1 as a special case)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4783
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 22 Nov 2004 20:24:57 +0000 (20:24 +0000)]
fixed an uninitialized variable warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4782
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 22 Nov 2004 14:38:33 +0000 (14:38 +0000)]
Several changes to the SFX lock code in the sound engine, mainly to make sure SFXs are automatically freed only at level change
Moved call to CL_InitTEnts after S_Startup so the tent sounds get properly precached
Added a developer warning when trying to play a non-precached SFX
Made the soundlist command more verbose
Added the ssize_t type for Win32 systems
Some comments and dead code removal
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4781
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 22 Nov 2004 10:01:51 +0000 (10:01 +0000)]
A few very minor changes to the FS code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4780
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 21 Nov 2004 12:16:16 +0000 (12:16 +0000)]
fix skybox loading, _ft and _bk were swapped (and all others had to be flipped accordingly), it now matches quake2 as it was supposed to all along
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4779
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Nov 2004 18:07:34 +0000 (18:07 +0000)]
327
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4778
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Nov 2004 18:05:23 +0000 (18:05 +0000)]
fixed bug with engine sounds (for TE_ effects) and local sounds (menu, etc) being unloaded on level change (they are supposed to stay indefinitely)
keep play/play2/playvol sounds around until level change (so they're not being constantly unloaded and reloaded when used repeatedly)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4777
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Nov 2004 11:49:41 +0000 (11:49 +0000)]
changed S_StartSound to start a sound even if it has no fetcher, as the fetcher isn't set until it is loaded... and it isn't loaded until it is played if it was not precached... and it's being unprecached by the S_ServerSounds function even if it's an engine sound...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4776
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Nov 2004 11:20:24 +0000 (11:20 +0000)]
added support for PROTOCOL_NEHAHRAMOVIE in more places, so now nehahra works again, and added some more Host_Error's for unknown cl.protocol values
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4775
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 20 Nov 2004 09:25:49 +0000 (09:25 +0000)]
fix the unintentional framegroup timing reset that happened when the .frame field changed after more than 100ms since the previous change (this was causing corpses to suddenly stand up and then fall down quickly in Nexuiz)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4774
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 19 Nov 2004 12:42:01 +0000 (12:42 +0000)]
326
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4773
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 18 Nov 2004 14:08:27 +0000 (14:08 +0000)]
Quick hack to fix the calls to "open" on Win32
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4772
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2004 13:03:34 +0000 (13:03 +0000)]
326
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4771
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 16:36:07 +0000 (16:36 +0000)]
minimize cpu use when framerate limited
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4769
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 16:34:51 +0000 (16:34 +0000)]
improved how showfps 1 measures framerate, it's now a bit more accurate, still reads a bit low though with millisecond timers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4768
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 16:33:38 +0000 (16:33 +0000)]
FS now uses open/read/write/lseek/close instead of fopen/fread/fwrite/fseek/fclose to get a little more performance from less unnecessary buffering (helps video recording keep up a steady rate)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4767
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 16:31:58 +0000 (16:31 +0000)]
remove the only use of FS_Eof
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4766
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 15:42:39 +0000 (15:42 +0000)]
made dedicated servers hog a whole lot less CPU time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4765
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 09:58:38 +0000 (09:58 +0000)]
325
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4764
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 17 Nov 2004 08:40:05 +0000 (08:40 +0000)]
Give priority to unpacked files over packed files (the old AKVERSION behaviour)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4763
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 08:11:04 +0000 (08:11 +0000)]
fixed windows SDL linking (now uses sdl-config like it should)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4762
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Nov 2004 05:58:54 +0000 (05:58 +0000)]
forgot a very important else in rtlights saving
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4761
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 16 Nov 2004 12:18:58 +0000 (12:18 +0000)]
now unloads all stale submodels and the old world model before loading the new one (this relies on the world model being the first precache to trigger this code at the appropriate time)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4760
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 16 Nov 2004 12:17:54 +0000 (12:17 +0000)]
renamed mod->needload to mod->loaded as a minor cleanup (safer default)
removed now unused Mod_TouchModel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4759
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 16 Nov 2004 12:15:25 +0000 (12:15 +0000)]
call Mod_FindName directly instead of Mod_TouchModel because one just wraps the other
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4758
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 16 Nov 2004 12:14:51 +0000 (12:14 +0000)]
now checks that a lightmap surfacechain is not NULL before dereferencing it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4757
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 15 Nov 2004 23:09:21 +0000 (23:09 +0000)]
fixed bug that called PlayerPreThink and PlayerPostThink on unspawned clients
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4756
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 15 Nov 2004 13:13:58 +0000 (13:13 +0000)]
328 (a lot of new items)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4755
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 15 Nov 2004 02:48:40 +0000 (02:48 +0000)]
forgot to commit this file
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4754
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 14 Nov 2004 23:31:36 +0000 (23:31 +0000)]
upgraded rtlights format to have separate ambient, diffuse, and specular intensity scales, and also coronasize, this also allows corona-only lights by setting all scales to 0, and added normalmode/realtimemode flags so that lights can appear in normal mode, not just realtime mode (primarily useful for adding corona effects to a normal level)
added ambient light support to RenderLighting (non-bumpmapped diffuse)
some dlights now use ambientscale (this has not been exposed as a qc extension yet, qc lights remain the same)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4753
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 14 Nov 2004 23:23:19 +0000 (23:23 +0000)]
remove unused sv_player extern
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4752
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sun, 14 Nov 2004 18:34:55 +0000 (18:34 +0000)]
-Fixed a stupid bug in the VM_findchain* functions.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4751
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 14 Nov 2004 02:16:33 +0000 (02:16 +0000)]
someone removed the quotes around binds in Key_WriteBindings... added back so that bind ";" whatever doesn't wreck the config
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4750
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2004 11:14:31 +0000 (11:14 +0000)]
replaced all uses of sv_player with host_client->edict (because sv_player was often invalid after a level change)
fixed a number of botclient crashes relating to invalid client->edict pointers after a level change
now sets client->spawned = true on botclients when freshly spawned (they were already being set correctly on level change)
DP_SV_BOTCLIENT now works properly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4744
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2004 11:11:15 +0000 (11:11 +0000)]
no longer warns about q3bsp surfaces with lightmapindex -3 (or any other negative values below -1), as q3map2 seems to use these values intentionally it's rather pointless to warn about them
now warns about missing textures in q3bsp texture loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4743
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 23:18:57 +0000 (23:18 +0000)]
added DP_SV_BOTCLIENT extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4742
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 22:50:41 +0000 (22:50 +0000)]
moved the extern prototype for SV_ConnectClient from netconn.c to server.h since the DP_SV_BOTCLIENT builtins will be calling it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4741
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 22:42:20 +0000 (22:42 +0000)]
more preparation for DP_SV_BOTCLIENT, removed a number of unneeded netconnection checks and changed some others to check active, and made player info queries reply "botclient" for clients with no netconnection
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4740
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 22:09:18 +0000 (22:09 +0000)]
print botclient as address in status reports for clients with no netconnection
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4739
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 22:08:07 +0000 (22:08 +0000)]
cleaned up SV_DropClient code a bit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4738
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 12 Nov 2004 21:48:07 +0000 (21:48 +0000)]
moved rate and connecttime from netconn structure to client structure in preparation for DP_SV_BOTCLIENT extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4737
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 10 Nov 2004 06:02:18 +0000 (06:02 +0000)]
made q3bsp alphafunc shaders render as transparent (quick hack)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4736
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 10 Nov 2004 02:32:00 +0000 (02:32 +0000)]
VorteX has fixed gettaginfo to work as advertised (properly handling of attached entities) and cleaned up gettagindex by splitting it into two functions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4735
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 5 Nov 2004 00:21:19 +0000 (00:21 +0000)]
imposed a 20 frames at once limit in Host_ServerFrame
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4734
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 5 Nov 2004 00:17:16 +0000 (00:17 +0000)]
added a host_frametime limit of 1 second, so that it never tries to run more than 1 second per frame
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4733
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 3 Nov 2004 17:13:37 +0000 (17:13 +0000)]
internal cleanup: split up CL_SparkShower into CL_SparkShower, CL_Smoke, and CL_BulletMark so the effects parser can be a little cleaner, also added gravityscale to CL_SparkShower
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4732
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 3 Nov 2004 17:09:44 +0000 (17:09 +0000)]
updated cpu optimization choices
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4731
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 3 Nov 2004 07:20:55 +0000 (07:20 +0000)]
centerprint is no longer limited to 40 characters wide, it can now use up to the full vid.conwidth
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4730
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Oct 2004 19:25:03 +0000 (19:25 +0000)]
307
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4729
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Oct 2004 17:12:06 +0000 (17:12 +0000)]
308
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4728
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Oct 2004 13:50:16 +0000 (13:50 +0000)]
added DP_SV_CLIENTCOLORS and DP_SV_CLIENTNAME extensions (these were already documented and working but not listed)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4727
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Oct 2004 13:46:22 +0000 (13:46 +0000)]
added DP_SV_PING, DP_SV_PUNCHVECTOR, DP_SND_FAKETRACKS, and DP_FS_SEARCH extensions
corrected builtin table comments for DP_FS_SEARCH functions
removed DP_SV_EXTERIORMODELTOCLIENT extension (no such thing, the extension is named DP_ENT_EXTERIORMODELTOCLIENT)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4726
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Oct 2004 12:03:59 +0000 (12:03 +0000)]
added DP_CON_SET and DP_CON_SETA extensions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4724
d7cf8633-e32d-0410-b094-
e92efae38249
black [Fri, 29 Oct 2004 14:37:19 +0000 (14:37 +0000)]
-Moved the entity mem init in the entity load functions around a bit to
make it possible for the menu parser to support full templates.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4723
d7cf8633-e32d-0410-b094-
e92efae38249
black [Fri, 29 Oct 2004 11:39:35 +0000 (11:39 +0000)]
-Minor fix in VM_registercvar.
-Added \" support to quoted strings in Com_ParseToken.
-Minor change to PRVM_PrintStatus.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4722
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 28 Oct 2004 06:38:02 +0000 (06:38 +0000)]
303
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4721
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Oct 2004 18:29:51 +0000 (18:29 +0000)]
changed net_masterextra1 and 2 back to IP addresses (but kept their DNS names as comments), the DNS resolving takes too long, and caching it is non-trivial
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4720
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Oct 2004 18:21:04 +0000 (18:21 +0000)]
304
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4719
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Oct 2004 18:18:05 +0000 (18:18 +0000)]
now aborts video capture if it falls behind by more than a second (as the sound is likely hosed in that case)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4718
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Oct 2004 18:11:36 +0000 (18:11 +0000)]
greatly improved video capture speed by generating the files much more directly (less processing)
added a raw video .rgb output mode (making only one file instead of thousands, for a slight speed gain, assuming you have tools that can read it)
video capture now maintains sound sync by duplicating frames to keep up a consistent video output speed (warning: do not attempt higher speeds than your machine is capable of, it WILL fall behind and get progressively slower very fast)
rewrote much of Host_FilterTime to improve video capture and simplify timing in general
removed host_minfps (now uses sys_ticrate instead)
renamed host_maxfps to cl_maxfps (as it only ever affected the client anyway)
now runs multiple server frames if host is falling behind, based on sys_ticrate (mainly useful to avoid slowing down when client is rendering really slow)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4717
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Wed, 27 Oct 2004 15:50:47 +0000 (15:50 +0000)]
Pure cleaning commit: removed "crc.[ch]" and "gl_warp_sin.h", removed dead functions and dead variables, and moved several header includes out of "quakedef.h"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4716
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Tue, 26 Oct 2004 14:48:43 +0000 (14:48 +0000)]
Updated Win32 sound module: the wave output code was partially rewritten since the old version was obviously pretty tied to Quake original output format; removed a few useless variables here and there; and a lot of whitespaces and comment changes, as usual
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4715
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Oct 2004 08:30:48 +0000 (08:30 +0000)]
get rid of the unused clearnotify and clearconsole variables
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4714
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Oct 2004 08:22:02 +0000 (08:22 +0000)]
fix the "newname changed name to newname" bug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4713
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Oct 2004 07:50:27 +0000 (07:50 +0000)]
moved the map startup for -listen and -dedicated servers from startdemos to just after the config parsing, so that startdemos is no longer required
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4712
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Oct 2004 07:41:31 +0000 (07:41 +0000)]
fixed 3 digit cdtracks loading (it was improperly checking the returned sfx, which is never NULL)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4711
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Oct 2004 07:37:19 +0000 (07:37 +0000)]
S_LoadSound now automatically tries both with and without sound/ when loading sounds, which allows quake3 maps to work better, since their target_speaker entities include sound/ in the filenames, this also got rid of the stdpath parameter in the S_PrecacheSound/S_FindName/S_LocalSound calls)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4710
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Oct 2004 16:09:13 +0000 (16:09 +0000)]
cruft removal
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4709
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Oct 2004 16:08:55 +0000 (16:08 +0000)]
now displays light number (and total number of lights) in r_editlights mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4708
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 25 Oct 2004 15:55:19 +0000 (15:55 +0000)]
Don't allow sound extra updates until the sounds have been spatialized (fix the noise at startup). A few whitespaces and a couple of minor changes.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4707
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Oct 2004 07:35:51 +0000 (07:35 +0000)]
fix a signed/unsigned comparison warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4706
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Oct 2004 07:35:08 +0000 (07:35 +0000)]
fix a rare crash when a sound is emitted by an entity with a model whose precache pointer is NULL, apparently this happens in the Fiend Run Lite demos
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4705
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Oct 2004 07:33:02 +0000 (07:33 +0000)]
don't warn about missing frames and skins in models that failed to load
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4704
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Mon, 25 Oct 2004 07:13:18 +0000 (07:13 +0000)]
FreeBSD support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4703
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Sat, 23 Oct 2004 21:43:38 +0000 (21:43 +0000)]
308
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4701
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 23 Oct 2004 15:39:48 +0000 (15:39 +0000)]
made traceon/traceoff take effect immediately (forgot to check for pr_trace change where it mattered - after a builtin call)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4700
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 23 Oct 2004 10:41:43 +0000 (10:41 +0000)]
added DP_SV_DROPCLIENT extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4699
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 23 Oct 2004 10:00:38 +0000 (10:00 +0000)]
removed number field from client_t struct as it seemed to be behaving unreliably in SV_DropClient (resulting in changes to the scoreboard entry for client 0, regardless of which client was dropped)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4698
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 23 Oct 2004 09:46:26 +0000 (09:46 +0000)]
now defaults to DirectInput in windows, -dinput option changed to -nodinput and readme updated accordingly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4697
d7cf8633-e32d-0410-b094-
e92efae38249
black [Sat, 23 Oct 2004 00:36:48 +0000 (00:36 +0000)]
-Added the constant MAXTRACKS which is set to 256.
(remap has the type qbyte[256] now)
-CD_Play now also searches for fake tracks with 3 digits.
(the old 2 digit search is kept for compatibility)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4696
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Fri, 22 Oct 2004 23:21:29 +0000 (23:21 +0000)]
309
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4695
d7cf8633-e32d-0410-b094-
e92efae38249
tomaz [Fri, 22 Oct 2004 18:31:46 +0000 (18:31 +0000)]
310
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4694
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 22 Oct 2004 10:56:42 +0000 (10:56 +0000)]
don't crash on dlights trying to cast shadows from world surfaces when there is no world model
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4693
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Fri, 22 Oct 2004 08:29:15 +0000 (08:29 +0000)]
Updated Transfusion map list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4692
d7cf8633-e32d-0410-b094-
e92efae38249
black [Thu, 21 Oct 2004 17:44:34 +0000 (17:44 +0000)]
- Added Mem_IsAllocated.
- Decreased the required parameter count of VM_strcat to 1.
- Added a check to VM_strunzone so it wont free already freed strings and
thus crash the qc (only if developer != 0).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4691
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Oct 2004 13:30:27 +0000 (13:30 +0000)]
VorteX fixed the "circle bug" in his SV_GetTagMatrix code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4690
d7cf8633-e32d-0410-b094-
e92efae38249
molivier [Thu, 21 Oct 2004 09:04:27 +0000 (09:04 +0000)]
Several changes for single player support in Transfusion (based on a patch by Kazashi)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4685
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Oct 2004 08:45:59 +0000 (08:45 +0000)]
don't allow Log_ConPrint to recurse into itself, as can happen with a memory corruption report -> Log_ConPrint -> memory corruption report -> Log_ConPrint -> ...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4684
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Oct 2004 13:41:05 +0000 (13:41 +0000)]
313
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4683
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Oct 2004 13:30:42 +0000 (13:30 +0000)]
if a (supposedly) quake sky texture is not 128x256, upload it just as a solid layer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4682
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Oct 2004 13:29:07 +0000 (13:29 +0000)]
now loads a .ent file for lights if found
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4681
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Oct 2004 13:19:48 +0000 (13:19 +0000)]
ignore first mouse move after mouse grab as it's generally garbage
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4680
d7cf8633-e32d-0410-b094-
e92efae38249