]> de.git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
18 years agocorrected some function names in error messages
havoc [Sun, 1 Jan 2006 07:46:47 +0000 (07:46 +0000)]
corrected some function names in error messages

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

18 years agoadded vertex bounds checking in Mod_Q1BSP_LoadEdges
havoc [Sun, 1 Jan 2006 07:46:13 +0000 (07:46 +0000)]
added vertex bounds checking in Mod_Q1BSP_LoadEdges

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

18 years agodisabled running of multiple server frames per host frame, because it does not handle...
havoc [Fri, 30 Dec 2005 11:14:05 +0000 (11:14 +0000)]
disabled running of multiple server frames per host frame, because it does not handle overload gracefully (instead it makes the framerate significantly worse if the server frame is the bottleneck)

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

18 years agorefactored gettaginfo in an attempt to improve readability, and fixed scaling bug
havoc [Fri, 30 Dec 2005 08:27:40 +0000 (08:27 +0000)]
refactored gettaginfo in an attempt to improve readability, and fixed scaling bug

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

18 years agoeliminated special case for gamma 1.0 as it was making worse gamma ramps than the...
havoc [Thu, 29 Dec 2005 08:43:50 +0000 (08:43 +0000)]
eliminated special case for gamma 1.0 as it was making worse gamma ramps than the general case, and tweaked the code a bit to round to nearest so it should hit exactly 65535

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

18 years agoRemoved unused files
molivier [Wed, 28 Dec 2005 14:56:02 +0000 (14:56 +0000)]
Removed unused files

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

18 years agoAdded support for refresh rate, vsync, and hardware gamma to Mac OS X native video...
molivier [Wed, 28 Dec 2005 13:26:28 +0000 (13:26 +0000)]
Added support for refresh rate, vsync, and hardware gamma to Mac OS X native video module. Still working on the hardware gamma though, it looks a bit broken (colors are weird with gamma = 1)

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

18 years agoreworked rtlighting code to handle transparent water lighting and transparent model...
havoc [Tue, 27 Dec 2005 10:10:55 +0000 (10:10 +0000)]
reworked rtlighting code to handle transparent water lighting and transparent model lighting (doesn't properly handle alpha textures though)

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

18 years agochanged basedir and gamedir handling slightly to eliminate the need for "./" paths
havoc [Tue, 27 Dec 2005 09:56:31 +0000 (09:56 +0000)]
changed basedir and gamedir handling slightly to eliminate the need for "./" paths

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

18 years agoFixed CoreAudio sound module
molivier [Tue, 27 Dec 2005 07:53:53 +0000 (07:53 +0000)]
Fixed CoreAudio sound module

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

18 years agoesteel's patch used C99 lazy variable declaration, fixed
havoc [Tue, 27 Dec 2005 04:54:40 +0000 (04:54 +0000)]
esteel's patch used C99 lazy variable declaration, fixed

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

18 years agoremove an unused variable
havoc [Tue, 27 Dec 2005 04:12:47 +0000 (04:12 +0000)]
remove an unused variable

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

18 years agofix sprite transparency bug introduced by the palette changes
havoc [Tue, 27 Dec 2005 02:43:33 +0000 (02:43 +0000)]
fix sprite transparency bug introduced by the palette changes

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

18 years agoreworked transparency in palettes, made palette_complete be strictly opaque, added...
havoc [Tue, 27 Dec 2005 02:29:40 +0000 (02:29 +0000)]
reworked transparency in palettes, made palette_complete be strictly opaque, added palette_transparent (and switched a few things over to it), made palette_font actually be used (and it no longer has a transparent color 255, only color 0 is transparent in the font, correctly matching software quake), this should hopefully fix bugs with models using color 255 in their skin

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

18 years agochanged a palette_complete, palette_alpha reference to NULL, NULL in sprite loading
havoc [Tue, 27 Dec 2005 02:22:56 +0000 (02:22 +0000)]
changed a palette_complete, palette_alpha reference to NULL, NULL in sprite loading

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

18 years agoremoved a duplicate ;
havoc [Tue, 27 Dec 2005 02:18:35 +0000 (02:18 +0000)]
removed a duplicate ;

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

18 years agonexuiz team scoreboard patch from esteel
havoc [Mon, 26 Dec 2005 01:16:44 +0000 (01:16 +0000)]
nexuiz team scoreboard patch from esteel

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

18 years agochanged Venim's dpmaster back to an IP
havoc [Sat, 17 Dec 2005 03:43:57 +0000 (03:43 +0000)]
changed Venim's dpmaster back to an IP

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

18 years agoadded tChr's master server, changed Venim's back to a hostname as it seems to resolve...
havoc [Sat, 17 Dec 2005 02:04:53 +0000 (02:04 +0000)]
added tChr's master server, changed Venim's back to a hostname as it seems to resolve now, and noted admin of each master server

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

18 years agodefault r_useportalculling to 1, I don't know why it was off
havoc [Wed, 14 Dec 2005 13:47:13 +0000 (13:47 +0000)]
default r_useportalculling to 1, I don't know why it was off

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

18 years agoErm, remove the paramcount check from localcmd, so that it actually works
black [Mon, 5 Dec 2005 19:36:32 +0000 (19:36 +0000)]
Erm, remove the paramcount check from localcmd, so that it actually works
with an arbitrary number of params.

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

18 years agovideo modes in menu now also set vid_pixelheight and vid_conwidth/vid_conheight
havoc [Wed, 30 Nov 2005 15:10:07 +0000 (15:10 +0000)]
video modes in menu now also set vid_pixelheight and vid_conwidth/vid_conheight
improved video modes menu, it now has widescreen modes, refresh rate, and more information about the chosen mode
renamed vid_pixelaspect to vid_pixelheight and inverted its behavior (smaller value now means that a pixel is wider than it is tall)
eliminated r_refdef.fov* fields, redesigned to use frustum plane slopes (like glFrustum takes) and calculate fov from height*4/3 rather than width, so widescreen now automatically uses higher fov accordingly, but 4x3 modes are the same as they always were, this also required generating the frustum planes differently in the renderer
changed underwater view warping to use frustum scaling rather than angles, this makes it a little smoother

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

18 years agoimplemented vid_refreshrate cvar to specify display refresh rate in windows
havoc [Wed, 30 Nov 2005 15:03:08 +0000 (15:03 +0000)]
implemented vid_refreshrate cvar to specify display refresh rate in windows
added vid_minwidth/vid_minheight for use by menu, this lets a mod specify minimum acceptable resolution

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

18 years ago409
havoc [Tue, 29 Nov 2005 12:24:24 +0000 (12:24 +0000)]
409

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

18 years agosmoke trails are now half as bright, bullet impact sparks now fly upward a little...
havoc [Tue, 29 Nov 2005 12:14:23 +0000 (12:14 +0000)]
smoke trails are now half as bright, bullet impact sparks now fly upward a little bit at first (looks better when shooting the floor)

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

18 years agoimplemented cl_particles_quake cvar to use quake-style particle effects
havoc [Tue, 29 Nov 2005 11:58:59 +0000 (11:58 +0000)]
implemented cl_particles_quake cvar to use quake-style particle effects

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

18 years agodisabled dlight from scrag and hellknight shots
havoc [Tue, 29 Nov 2005 11:57:19 +0000 (11:57 +0000)]
disabled dlight from scrag and hellknight shots

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

18 years agoremoved headphones stuff, now stereo is side speakers (like headphones was) because...
havoc [Tue, 29 Nov 2005 00:20:03 +0000 (00:20 +0000)]
removed headphones stuff, now stereo is side speakers (like headphones was) because it was too hard to hear things behind you with only front speakers, added mono speaker layout also

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

18 years agofixed keynum_t issue, it was declared as an extern variable (?!?) in the header,...
havoc [Mon, 28 Nov 2005 07:46:39 +0000 (07:46 +0000)]
fixed keynum_t issue, it was declared as an extern variable (?!?) in the header, should have been a typedef

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

18 years agochanged buttonremap arrays to int instead of keynum_t because keynum_t is not being...
havoc [Mon, 28 Nov 2005 07:45:07 +0000 (07:45 +0000)]
changed buttonremap arrays to int instead of keynum_t because keynum_t is not being found for some bizarre reason no matter what I do

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

18 years agomade K_MOUSE4/5 keys separate from K_MWHEELUP/DOWN keys
havoc [Mon, 28 Nov 2005 05:54:20 +0000 (05:54 +0000)]
made K_MOUSE4/5 keys separate from K_MWHEELUP/DOWN keys

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

18 years agofix a typo
havoc [Mon, 28 Nov 2005 04:51:59 +0000 (04:51 +0000)]
fix a typo

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

18 years agoadded scr_screenshot_gamma to menu (I'm sure I did this once before!)
havoc [Mon, 28 Nov 2005 00:59:01 +0000 (00:59 +0000)]
added scr_screenshot_gamma to menu (I'm sure I did this once before!)

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

18 years ago416
havoc [Sun, 27 Nov 2005 08:29:37 +0000 (08:29 +0000)]
416

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

18 years agoeliminated snd_inited and sound_started variables, now uses shm != NULL checks instead
havoc [Sun, 27 Nov 2005 00:24:44 +0000 (00:24 +0000)]
eliminated snd_inited and sound_started variables, now uses shm != NULL checks instead

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

18 years agoadded minor documentation about logging features
havoc [Sun, 27 Nov 2005 00:22:04 +0000 (00:22 +0000)]
added minor documentation about logging features

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

18 years agoremove a piece of breakpoint code I forgot to remove before
havoc [Sat, 26 Nov 2005 22:41:58 +0000 (22:41 +0000)]
remove a piece of breakpoint code I forgot to remove before

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

18 years agofix a typo in r_speeds display that incorrectly displayed dynamic shadow triangles
havoc [Sat, 26 Nov 2005 08:05:32 +0000 (08:05 +0000)]
fix a typo in r_speeds display that incorrectly displayed dynamic shadow triangles

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

18 years agofix a sound conversion bug in mono output
havoc [Fri, 25 Nov 2005 23:03:31 +0000 (23:03 +0000)]
fix a sound conversion bug in mono output

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

18 years agofix a warning
havoc [Fri, 25 Nov 2005 23:00:30 +0000 (23:00 +0000)]
fix a warning

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

18 years agosprites now use skinframe_t instead of their own texture/fogtexture fields
havoc [Fri, 25 Nov 2005 08:23:36 +0000 (08:23 +0000)]
sprites now use skinframe_t instead of their own texture/fogtexture fields
cleaned up hlbsp texture loading slightly, now uses Mod_LoadSkinFrame_Internal

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

18 years agodon't load images when running a dedicated server (they would only be discarded by...
havoc [Fri, 25 Nov 2005 07:29:35 +0000 (07:29 +0000)]
don't load images when running a dedicated server (they would only be discarded by the missing texture manager anyway)

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

18 years agodynamically scale the meshqueue transparency sorting distances to adapt the precision...
havoc [Fri, 25 Nov 2005 07:11:34 +0000 (07:11 +0000)]
dynamically scale the meshqueue transparency sorting distances to adapt the precision to larger/smaller scenes

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

18 years agochanged strzone, stuffcmd, and localcmd to be able to take multiple strings
havoc [Fri, 25 Nov 2005 06:55:40 +0000 (06:55 +0000)]
changed strzone, stuffcmd, and localcmd to be able to take multiple strings

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

18 years agoping command now works from server console
havoc [Fri, 25 Nov 2005 06:14:05 +0000 (06:14 +0000)]
ping command now works from server console

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

18 years agocleaned up edict clearing when connecting or coming back from a level change, this...
havoc [Fri, 25 Nov 2005 05:24:25 +0000 (05:24 +0000)]
cleaned up edict clearing when connecting or coming back from a level change, this fixes the botclient bugs regarding .colormap, but also meant that NetConn_ServerFrame requires SV_VM_Begin/End around it

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

18 years agoadded support for model scaling in bounding box calculations for network culling...
havoc [Fri, 25 Nov 2005 03:24:59 +0000 (03:24 +0000)]
added support for model scaling in bounding box calculations for network culling, so now entities can be made bigger and won't disappear incorrectly

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

18 years agoSOLID_NOT is now linked into the areagrid, which fixed the bugs with corpses not...
havoc [Fri, 25 Nov 2005 01:34:12 +0000 (01:34 +0000)]
SOLID_NOT is now linked into the areagrid, which fixed the bugs with corpses not riding lifts, and also means that findradius will find SOLID_NOT entities more often like the sv_gameplayfix_blowupfallenzombies was intended to
reorganized and optimized the TOSS/FLY/BOUNCE/STEP physics for better handling of sv_gameplayfix_noairborncorpse

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

18 years agochanged serverlist to using color tags instead of shifting the numbers to different...
havoc [Fri, 25 Nov 2005 01:31:18 +0000 (01:31 +0000)]
changed serverlist to using color tags instead of shifting the numbers to different charsets in the quake font

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

18 years agochanged serverlist menu to use color tags instead of shifting the numbers to differen...
havoc [Fri, 25 Nov 2005 01:29:59 +0000 (01:29 +0000)]
changed serverlist menu to use color tags instead of shifting the numbers to different character sets in the quake font

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

18 years agoallow typing characters above 126
havoc [Fri, 25 Nov 2005 01:17:43 +0000 (01:17 +0000)]
allow typing characters above 126

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

18 years agouse color tags for chat messages instead of 0x80 masking
havoc [Fri, 25 Nov 2005 01:16:07 +0000 (01:16 +0000)]
use color tags for chat messages instead of 0x80 masking

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

18 years agofixed up various bugs with cl_beams_relative, and reenabled smooth sweeping on other...
havoc [Fri, 25 Nov 2005 01:12:00 +0000 (01:12 +0000)]
fixed up various bugs with cl_beams_relative, and reenabled smooth sweeping on other players/enemies

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

18 years agochanged default bloom settings to faster performing and less overkill values
havoc [Wed, 23 Nov 2005 18:41:13 +0000 (18:41 +0000)]
changed default bloom settings to faster performing and less overkill values

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

18 years agoadded a remaining < 1 check to centerprint display code, this might have fixed the...
havoc [Wed, 23 Nov 2005 03:40:59 +0000 (03:40 +0000)]
added a remaining < 1 check to centerprint display code, this might have fixed the problem where it briefly showed the full text at the beginning of a finale

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

18 years agofix bugs with crosshair_static 0 mode when the player is an EF_NODRAW entity
havoc [Wed, 23 Nov 2005 03:33:20 +0000 (03:33 +0000)]
fix bugs with crosshair_static 0 mode when the player is an EF_NODRAW entity

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

18 years agoremoving uses of entity_render_t->origin in the client
havoc [Wed, 23 Nov 2005 03:28:28 +0000 (03:28 +0000)]
removing uses of entity_render_t->origin in the client

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

18 years agoimplemented 7.1 audio, only works with SDL (attempted ALSA support but ALSA doesn...
havoc [Wed, 23 Nov 2005 03:00:34 +0000 (03:00 +0000)]
implemented 7.1 audio, only works with SDL (attempted ALSA support but ALSA doesn't seem to like mmap access to 4/6/8 channel buffers)

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

18 years ago*** empty log message ***
havoc [Wed, 23 Nov 2005 02:59:05 +0000 (02:59 +0000)]
*** empty log message ***

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

18 years agocleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE...
havoc [Wed, 23 Nov 2005 02:54:50 +0000 (02:54 +0000)]
cleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE, some use MAX_QPATH, also cleaned up a lot of stuff that had buffer sizes in the code (now uses sizeof)
increased MAX_INPUTLINE from 256 to 16384, so now console commandlines and many other things can be very large

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

18 years agofixed backwards q3bsp model lighting and backwards rtlighting
havoc [Tue, 22 Nov 2005 00:55:26 +0000 (00:55 +0000)]
fixed backwards q3bsp model lighting and backwards rtlighting

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

18 years agoadded r_shownormals
havoc [Tue, 22 Nov 2005 00:40:00 +0000 (00:40 +0000)]
added r_shownormals
fixed Mod_BumpVectors to generate normals the correct way...  now all rtlighting and q3bsp vertex shading is backwards :(

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

18 years agoclear the client->weaponmodel cache on level change
havoc [Mon, 21 Nov 2005 18:14:56 +0000 (18:14 +0000)]
clear the client->weaponmodel cache on level change

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

18 years agoFixed black screen when using fullscreen mode on Mac OS X
molivier [Sun, 20 Nov 2005 15:14:10 +0000 (15:14 +0000)]
Fixed black screen when using fullscreen mode on Mac OS X

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

18 years agodisable sbar in GAME_NETHERWORLD (it draws it using qc)
havoc [Sat, 19 Nov 2005 12:45:01 +0000 (12:45 +0000)]
disable sbar in GAME_NETHERWORLD (it draws it using qc)

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

18 years agomade gl_max_size cvar only affect TEXF_PICMIP textures, this prevents it from breakin...
havoc [Thu, 17 Nov 2005 15:17:14 +0000 (15:17 +0000)]
made gl_max_size cvar only affect TEXF_PICMIP textures, this prevents it from breaking bloom like it did previously, and bloom now disables itself if the hardware doesn't support big enough textures (such as 3Dfx Voodoo1/2/3/Rush/Banshee)

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

18 years agochanged DNS name cache expiration time to 12 hours
havoc [Sun, 13 Nov 2005 12:10:08 +0000 (12:10 +0000)]
changed DNS name cache expiration time to 12 hours

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

18 years agocorrected dpmaster.deathmask.net IP address comment again
havoc [Sun, 13 Nov 2005 12:08:35 +0000 (12:08 +0000)]
corrected dpmaster.deathmask.net IP address comment again

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

18 years agoadded Matrix4x4_Normalize
havoc [Sun, 13 Nov 2005 12:05:24 +0000 (12:05 +0000)]
added Matrix4x4_Normalize
now normalizes dlight matrix so that attached dlight entities won't be smaller/bigger than normal

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

18 years agoexpire internal DNS name cache entries after 5 minutes (this way a master server...
havoc [Sun, 13 Nov 2005 12:04:28 +0000 (12:04 +0000)]
expire internal DNS name cache entries after 5 minutes (this way a master server can change IP address)

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

18 years agoupdated ip address comment for dpmaster.deathmask.net
havoc [Sun, 13 Nov 2005 11:59:31 +0000 (11:59 +0000)]
updated ip address comment for dpmaster.deathmask.net

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

18 years agoincreased max cachepics from 256 to 1024 at VorteX's request
havoc [Fri, 11 Nov 2005 12:47:09 +0000 (12:47 +0000)]
increased max cachepics from 256 to 1024 at VorteX's request

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

18 years agocondensed CL_EntityParticles code
havoc [Thu, 10 Nov 2005 07:03:40 +0000 (07:03 +0000)]
condensed CL_EntityParticles code

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

18 years agoMoved the cmd preprocessor call from ExecuteString to Cbuf_Execute which
black [Tue, 8 Nov 2005 16:49:35 +0000 (16:49 +0000)]
Moved the cmd preprocessor call from ExecuteString to Cbuf_Execute which
should fix the messagemode issue.

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

18 years agoremoved \n from all Host_Error, Sys_Error, PRVM_ERROR, PF_ERROR calls, since Host_Err...
havoc [Mon, 7 Nov 2005 12:37:15 +0000 (12:37 +0000)]
removed \n from all Host_Error, Sys_Error, PRVM_ERROR, PF_ERROR calls, since Host_Error/Sys_Error add their own \n as needed

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

18 years agocleaned up all Con_Printf calls that were missing a \n
havoc [Mon, 7 Nov 2005 11:08:12 +0000 (11:08 +0000)]
cleaned up all Con_Printf calls that were missing a \n

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

18 years agofix a bug in loading colormap.lmp to determine number of fullbrights, forgot to pass...
havoc [Mon, 7 Nov 2005 09:52:57 +0000 (09:52 +0000)]
fix a bug in loading colormap.lmp to determine number of fullbrights, forgot to pass &filesize to FS_LoadFile

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

18 years agofixed a bug in the r_lockpvs cvar silently added in the last commit (r_lockvisibility...
havoc [Mon, 7 Nov 2005 09:44:12 +0000 (09:44 +0000)]
fixed a bug in the r_lockpvs cvar silently added in the last commit (r_lockvisibility cvar also added in the last commit)

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

18 years agogot rid of unused r_vismarklights cvar
havoc [Mon, 7 Nov 2005 09:41:51 +0000 (09:41 +0000)]
got rid of unused r_vismarklights cvar

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

18 years agocleaned up R_WorldVisibility code some more and added additional documentation
havoc [Mon, 7 Nov 2005 09:35:58 +0000 (09:35 +0000)]
cleaned up R_WorldVisibility code some more and added additional documentation
renamed r_surfaceworldnode to r_useportalculling and inverted its behavior accordingly
added a special no-pvs-at-all case for floating around in the void to improve readability

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

18 years agoremoved .tga/.lmp extensions from all Pic names in the engine to improve consistency
havoc [Mon, 7 Nov 2005 06:51:09 +0000 (06:51 +0000)]
removed .tga/.lmp extensions from all Pic names in the engine to improve consistency

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

18 years agofix rendering issues with light crosshairs and the world crosshair
havoc [Mon, 7 Nov 2005 06:48:48 +0000 (06:48 +0000)]
fix rendering issues with light crosshairs and the world crosshair

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

18 years agocleanup of Cmd_PreprocessString and removal of a commented code block as requested...
havoc [Mon, 7 Nov 2005 05:30:44 +0000 (05:30 +0000)]
cleanup of Cmd_PreprocessString and removal of a commented code block as requested by Black

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

18 years agofix stupid crash
havoc [Sun, 6 Nov 2005 15:56:28 +0000 (15:56 +0000)]
fix stupid crash

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

18 years agoMerged the $ handling into one preprocessor function.
black [Sun, 6 Nov 2005 15:23:23 +0000 (15:23 +0000)]
Merged the $ handling into one preprocessor function.

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

18 years agoeliminated fs_filesize global, now File_LoadFile and File_Open take a fs_offset_t...
havoc [Sat, 5 Nov 2005 14:18:22 +0000 (14:18 +0000)]
eliminated fs_filesize global, now File_LoadFile and File_Open take a fs_offset_t filesize variable pointer to store the file size into

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

18 years agoeliminated qbyte type, now uses unsigned char throughout the engine for this purpose
havoc [Sat, 5 Nov 2005 07:48:17 +0000 (07:48 +0000)]
eliminated qbyte type, now uses unsigned char throughout the engine for this purpose

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

18 years agoimplemented sv_fixedframeratesingleplayer cvar
havoc [Fri, 4 Nov 2005 13:24:15 +0000 (13:24 +0000)]
implemented sv_fixedframeratesingleplayer cvar

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

18 years agoeliminated use of node bounding box when recursing collision traces and lights throug...
havoc [Fri, 4 Nov 2005 12:32:52 +0000 (12:32 +0000)]
eliminated use of node bounding box when recursing collision traces and lights through the BSP tree, now only uses BoxOnPlaneSide approach, with an optimized axial case inlined

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

18 years agominor optimizations to GLSL path layer checking
havoc [Fri, 4 Nov 2005 12:31:35 +0000 (12:31 +0000)]
minor optimizations to GLSL path layer checking

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

18 years agomade timing even more reliable (now sleeps only as little as possible, and only if...
havoc [Tue, 1 Nov 2005 09:57:40 +0000 (09:57 +0000)]
made timing even more reliable (now sleeps only as little as possible, and only if at least 10ms remains)

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

18 years agofix dedicated server timing, now sleeps less than the full amount of time (like liste...
havoc [Tue, 1 Nov 2005 09:52:47 +0000 (09:52 +0000)]
fix dedicated server timing, now sleeps less than the full amount of time (like listen servers/clients already did) to maintain a steady framerate, also made it not sleep unless it is at least 10ms, to try to further improve the timing accuracy, thanks to GreEn`mArine for testing this change

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

18 years agofix another crash on level change caused by NetConn_ServerFrame being called
havoc [Sun, 30 Oct 2005 05:17:27 +0000 (05:17 +0000)]
fix another crash on level change caused by NetConn_ServerFrame being called

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

18 years agofix server physics crash on level change from reading player movement packets during...
havoc [Sat, 29 Oct 2005 11:26:25 +0000 (11:26 +0000)]
fix server physics crash on level change from reading player movement packets during SV_SpawnServer (bad idea!)

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

18 years agorewrote much of the voodoo/tnt rtlight path, now supports fog, and now avoids renderi...
havoc [Sat, 29 Oct 2005 10:59:10 +0000 (10:59 +0000)]
rewrote much of the voodoo/tnt rtlight path, now supports fog, and now avoids rendering any black triangles (since these cards don't have a lot of fillrate it's better to cull triangles on the cpu)

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

18 years agoconverted vertex fogging to use a fogtable array which matches the fog texture
havoc [Sat, 29 Oct 2005 06:51:14 +0000 (06:51 +0000)]
converted vertex fogging to use a fogtable array which matches the fog texture
enabled fog texturing on GLSL lighting path (dot3 path and vertex path still need work)
changed EyeVector/LightVector in GLSL shader back to full fp32 precision because at fp16 the vectors were reaching infinity at only a few meters, which obviously broke fogging

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

18 years agomerged two sprite functions into the main callback to slightly clean up the code...
havoc [Sat, 29 Oct 2005 00:58:15 +0000 (00:58 +0000)]
merged two sprite functions into the main callback to slightly clean up the code and simplify it

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

18 years agomigrated r_lerpsprites cvar check to r_lerpanim, r_lerpmodels no longer affects sprites
havoc [Sat, 29 Oct 2005 00:39:53 +0000 (00:39 +0000)]
migrated r_lerpsprites cvar check to r_lerpanim, r_lerpmodels no longer affects sprites

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

18 years agotweaked GLSL lighting shader to get a bit more performance (at least 7%) on GF6 by...
havoc [Fri, 28 Oct 2005 05:44:11 +0000 (05:44 +0000)]
tweaked GLSL lighting shader to get a bit more performance (at least 7%) on GF6 by making all variables half precision except TexCoord, hopefully also helps GFFX

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

18 years agothe beginnings of texture fog support (to cure the vertex artifacts and simplify...
havoc [Thu, 27 Oct 2005 06:41:42 +0000 (06:41 +0000)]
the beginnings of texture fog support (to cure the vertex artifacts and simplify the renderer a bit)

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