]> git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
19 years agoremove unused sv_player extern
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

19 years ago-Fixed a stupid bug in the VM_findchain* functions.
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

19 years agosomeone removed the quotes around binds in Key_WriteBindings... added back so that...
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

19 years agoreplaced all uses of sv_player with host_client->edict (because sv_player was often...
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

19 years agono longer warns about q3bsp surfaces with lightmapindex -3 (or any other negative...
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

19 years agoadded DP_SV_BOTCLIENT extension
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

19 years agomoved the extern prototype for SV_ConnectClient from netconn.c to server.h since...
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

19 years agomore preparation for DP_SV_BOTCLIENT, removed a number of unneeded netconnection...
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

19 years agoprint botclient as address in status reports for clients with no netconnection
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

19 years agocleaned up SV_DropClient code a bit
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

19 years agomoved rate and connecttime from netconn structure to client structure in preparation...
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

19 years agomade q3bsp alphafunc shaders render as transparent (quick hack)
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

19 years agoVorteX has fixed gettaginfo to work as advertised (properly handling of attached...
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

20 years agoimposed a 20 frames at once limit in Host_ServerFrame
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

20 years agoadded a host_frametime limit of 1 second, so that it never tries to run more than...
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

20 years agointernal cleanup: split up CL_SparkShower into CL_SparkShower, CL_Smoke, and CL_Bulle...
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

20 years agoupdated cpu optimization choices
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

20 years agocenterprint is no longer limited to 40 characters wide, it can now use up to the...
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

20 years ago307
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

20 years ago308
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

20 years agoadded DP_SV_CLIENTCOLORS and DP_SV_CLIENTNAME extensions (these were already document...
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

20 years agoadded DP_SV_PING, DP_SV_PUNCHVECTOR, DP_SND_FAKETRACKS, and DP_FS_SEARCH extensions
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

20 years agoadded DP_CON_SET and DP_CON_SETA extensions
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

20 years ago-Moved the entity mem init in the entity load functions around a bit to
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

20 years ago-Minor fix in VM_registercvar.
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

20 years ago303
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

20 years agochanged net_masterextra1 and 2 back to IP addresses (but kept their DNS names as...
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

20 years ago304
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

20 years agonow aborts video capture if it falls behind by more than a second (as the sound is...
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

20 years agogreatly improved video capture speed by generating the files much more directly ...
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

20 years agoPure cleaning commit: removed "crc.[ch]" and "gl_warp_sin.h", removed dead functions...
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

20 years agoUpdated Win32 sound module: the wave output code was partially rewritten since the...
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

20 years agoget rid of the unused clearnotify and clearconsole variables
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

20 years agofix the "newname changed name to newname" bug
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

20 years agomoved the map startup for -listen and -dedicated servers from startdemos to just...
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

20 years agofixed 3 digit cdtracks loading (it was improperly checking the returned sfx, which...
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

20 years agoS_LoadSound now automatically tries both with and without sound/ when loading sounds...
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

20 years agocruft removal
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

20 years agonow displays light number (and total number of lights) in r_editlights mode
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

20 years agoDon't allow sound extra updates until the sounds have been spatialized (fix the noise...
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

20 years agofix a signed/unsigned comparison warning
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

20 years agofix a rare crash when a sound is emitted by an entity with a model whose precache...
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

20 years agodon't warn about missing frames and skins in models that failed to load
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

20 years agoFreeBSD support
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

20 years ago308
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

20 years agomade traceon/traceoff take effect immediately (forgot to check for pr_trace change...
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

20 years agoadded DP_SV_DROPCLIENT extension
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

20 years agoremoved number field from client_t struct as it seemed to be behaving unreliably...
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

20 years agonow defaults to DirectInput in windows, -dinput option changed to -nodinput and readm...
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

20 years ago-Added the constant MAXTRACKS which is set to 256.
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

20 years ago309
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

20 years ago310
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

20 years agodon't crash on dlights trying to cast shadows from world surfaces when there is no...
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

20 years agoUpdated Transfusion map list
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

20 years ago- Added Mem_IsAllocated.
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

20 years agoVorteX fixed the "circle bug" in his SV_GetTagMatrix code
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

20 years agoSeveral changes for single player support in Transfusion (based on a patch by Kazashi)
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

20 years agodon't allow Log_ConPrint to recurse into itself, as can happen with a memory corrupti...
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

20 years ago313
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

20 years agoif a (supposedly) quake sky texture is not 128x256, upload it just as a solid layer
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

20 years agonow loads a .ent file for lights if found
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

20 years agoignore first mouse move after mouse grab as it's generally garbage
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

20 years agomessagemode/messagemode2 now send the say/say_team command directly instead of passin...
havoc [Wed, 20 Oct 2004 12:58:15 +0000 (12:58 +0000)]
messagemode/messagemode2 now send the say/say_team command directly instead of passing through the client console, so that typing something like ";quit" as a message does not quit the game

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

20 years agofixed r_restart skybox crash (as well as incorrect texture bugs related to this)...
havoc [Wed, 20 Oct 2004 11:58:58 +0000 (11:58 +0000)]
fixed r_restart skybox crash (as well as incorrect texture bugs related to this), and moved alphaskytexture/solidskytexture to q1bsp texture loader, now part of the world model instead of separate

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

20 years agoImage_WriteTGARGBA now writes 8 as the attributes byte (which GIMP seems to need...
havoc [Wed, 20 Oct 2004 07:18:40 +0000 (07:18 +0000)]
Image_WriteTGARGBA now writes 8 as the attributes byte (which GIMP seems to need to recognize the alpha channel)

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

20 years agoremoved a pmodel reference I forgot to remove
havoc [Wed, 20 Oct 2004 04:16:32 +0000 (04:16 +0000)]
removed a pmodel reference I forgot to remove

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

20 years agofix problems with losing colors on connect and leaving ghosts on the scoreboard and...
havoc [Wed, 20 Oct 2004 02:40:59 +0000 (02:40 +0000)]
fix problems with losing colors on connect and leaving ghosts on the scoreboard and other glitches related to edict clearing

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

20 years agoEnlarged particle font from 256x256 to 512x512 and added saving of the font to a...
tomaz [Tue, 19 Oct 2004 11:32:35 +0000 (11:32 +0000)]
Enlarged particle font from 256x256 to 512x512 and added saving of the font to a TGA (#if 0 'd)

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

20 years agoreset nametime at prespawn (before name command is sent by client) and spawn (after...
havoc [Tue, 19 Oct 2004 10:58:50 +0000 (10:58 +0000)]
reset nametime at prespawn (before name command is sent by client) and spawn (after name command is sent by client)

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

20 years agoremove unused variables
havoc [Tue, 19 Oct 2004 09:57:09 +0000 (09:57 +0000)]
remove unused variables

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

20 years agoinstead of sending a scoreboard update in the DropClient code, let it happen at the...
havoc [Tue, 19 Oct 2004 09:54:36 +0000 (09:54 +0000)]
instead of sending a scoreboard update in the DropClient code, let it happen at the next SV_UpdateToReliableMessages

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

20 years agofixed problem with lost scoreboard messages to a client that is still loading
havoc [Tue, 19 Oct 2004 09:53:31 +0000 (09:53 +0000)]
fixed problem with lost scoreboard messages to a client that is still loading

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

20 years agoHost_Shutdown now calls CL_Disconnect and Host_ShutdownServer so that quitting withou...
havoc [Tue, 19 Oct 2004 09:44:14 +0000 (09:44 +0000)]
Host_Shutdown now calls CL_Disconnect and Host_ShutdownServer so that quitting without using the quit command no longer leaves a player connected to the server

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

20 years agocleaned up scoreboard printing loops a bit (they don't need to check if the name...
havoc [Tue, 19 Oct 2004 08:14:33 +0000 (08:14 +0000)]
cleaned up scoreboard printing loops a bit (they don't need to check if the name is empty)
fixed (I think, after much testing) the duplicate names bug in the mini scoreboard by changing a bound to a separate max and min (evidently the loop index was starting < 0)

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

20 years agoadded mention in credits of romi's rtlights pk3 being included in dpmod
havoc [Tue, 19 Oct 2004 00:48:15 +0000 (00:48 +0000)]
added mention in credits of romi's rtlights pk3 being included in dpmod

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

20 years agoFinally removed the Win32 specific code from "snd_main.c". Changed a few comments...
molivier [Mon, 18 Oct 2004 15:18:36 +0000 (15:18 +0000)]
Finally removed the Win32 specific code from "snd_main.c". Changed a few comments and fixed a typo in the process.

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

20 years agoadd support for 32bit color in SDL builds
havoc [Mon, 18 Oct 2004 10:16:26 +0000 (10:16 +0000)]
add support for 32bit color in SDL builds

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

20 years ago-Renamed two builtins of the new VM
black [Sun, 17 Oct 2004 19:48:02 +0000 (19:48 +0000)]
-Renamed two builtins of the new VM
-Fixed the hud weapon selection

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

20 years agosnap curve vertices to solve some finicky collision problems and probably also makes...
havoc [Sun, 17 Oct 2004 11:51:38 +0000 (11:51 +0000)]
snap curve vertices to solve some finicky collision problems and probably also makes things look a little better where two curves meet in some cases

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

20 years agofix an incomplete edit on variable naming
havoc [Sun, 17 Oct 2004 11:48:29 +0000 (11:48 +0000)]
fix an incomplete edit on variable naming

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

20 years agonow using all-new Q3 patch tesselation code, matching Quake3 pretty well
havoc [Sun, 17 Oct 2004 11:40:40 +0000 (11:40 +0000)]
now using all-new Q3 patch tesselation code, matching Quake3 pretty well

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

20 years agoincreased edge hash size from 1024 items to 16384, cutting down on long q3bsp load...
havoc [Sun, 17 Oct 2004 11:19:18 +0000 (11:19 +0000)]
increased edge hash size from 1024 items to 16384, cutting down on long q3bsp load times when generating the shadow mesh

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

20 years agoadded VorteX to thanks list
havoc [Sun, 17 Oct 2004 11:16:42 +0000 (11:16 +0000)]
added VorteX to thanks list

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

20 years agoadded DP_QC_GETTAGINFO extension (thanks VorteX!)
havoc [Sun, 17 Oct 2004 11:15:57 +0000 (11:15 +0000)]
added DP_QC_GETTAGINFO extension (thanks VorteX!)

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

20 years ago314
havoc [Sun, 17 Oct 2004 07:42:29 +0000 (07:42 +0000)]
314

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

20 years agoadded |Rain| and feh to credits
havoc [Sun, 17 Oct 2004 02:24:58 +0000 (02:24 +0000)]
added |Rain| and feh to credits

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

20 years agofixed an unused variable warning
havoc [Sat, 16 Oct 2004 21:47:45 +0000 (21:47 +0000)]
fixed an unused variable warning

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

20 years ago315
havoc [Sat, 16 Oct 2004 21:34:42 +0000 (21:34 +0000)]
315

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

20 years agodon't spew shaders to console on load unless developer is 2 or higher
havoc [Sat, 16 Oct 2004 21:33:04 +0000 (21:33 +0000)]
don't spew shaders to console on load unless developer is 2 or higher

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

20 years agoforgot to remove a debugging test that emitted sparks from autosprite2 shaders
havoc [Sat, 16 Oct 2004 20:28:51 +0000 (20:28 +0000)]
forgot to remove a debugging test that emitted sparks from autosprite2 shaders

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

20 years agohush reconnect command warning about signon 0 because it happens all the time
havoc [Sat, 16 Oct 2004 11:58:31 +0000 (11:58 +0000)]
hush reconnect command warning about signon 0 because it happens all the time

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

20 years agonow parses more of q3 shaders to guess at proper rendering settings for surfaces...
havoc [Sat, 16 Oct 2004 11:29:13 +0000 (11:29 +0000)]
now parses more of q3 shaders to guess at proper rendering settings for surfaces, now implemented are additive blend, deformvertexes autosprite (and autosprite2), nomipmaps, nopicmip, cull twosided/none/disable, surfaceparm nomipmap
now assumes that a q3 texture is not transparent unless it has a shader saying it is (yes shaders are now required to enable transparency in q3bsp)
now loads the texture used in the first pass of the shader if there is no texture of the same name as the shader itself
what this all means: quake3 maps look 99% correct (other than lack of animation and various shader effects)

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

20 years ago-Added static, global baseDC and baseRC variables to avoid having to call
black [Sat, 16 Oct 2004 09:56:56 +0000 (09:56 +0000)]
-Added static, global baseDC and baseRC variables to avoid having to call
 qwglGetCurrent* all the time.

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

20 years agofixed a typo in the numtriangles commit (should have been num_triangles)
havoc [Sat, 16 Oct 2004 07:00:52 +0000 (07:00 +0000)]
fixed a typo in the numtriangles commit (should have been num_triangles)

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

20 years agoskip surfaces with no triangles in Q3BSP rendering code to avoid a R_Mesh_Draw warning
havoc [Sat, 16 Oct 2004 06:58:28 +0000 (06:58 +0000)]
skip surfaces with no triangles in Q3BSP rendering code to avoid a R_Mesh_Draw warning

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

20 years agodon't check visframe on q3bsp surfaces, it's not used
havoc [Sat, 16 Oct 2004 05:52:36 +0000 (05:52 +0000)]
don't check visframe on q3bsp surfaces, it's not used

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

20 years agoexpanded PR_PrintState from 5 statements to 8 statements printed, to give more chance...
havoc [Sat, 16 Oct 2004 04:50:44 +0000 (04:50 +0000)]
expanded PR_PrintState from 5 statements to 8 statements printed, to give more chance of seeing the parameters to a function in warnings/crashes

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

20 years agoadded reporting of what model is unprecached in no precache warning
havoc [Sat, 16 Oct 2004 04:49:07 +0000 (04:49 +0000)]
added reporting of what model is unprecached in no precache warning

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

20 years agoadded MoALTz to thanks list
havoc [Sat, 16 Oct 2004 04:48:18 +0000 (04:48 +0000)]
added MoALTz to thanks list

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

20 years agoforgot to give strlcat a size
havoc [Fri, 15 Oct 2004 23:22:38 +0000 (23:22 +0000)]
forgot to give strlcat a size

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