divverent/darkplaces.git
16 years ago*** empty log message ***
havoc [Mon, 5 Jul 2004 02:19:57 +0000 (02:19 +0000)]
*** empty log message ***

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

16 years agoOops. Forgot to remove "wavefile.[ch]"
molivier [Fri, 2 Jul 2004 15:31:52 +0000 (15:31 +0000)]
Oops. Forgot to remove "wavefile.[ch]"

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

16 years agoModified the sound code so it can handle sounds outside of a "sound" subdirectory.
molivier [Fri, 2 Jul 2004 15:30:22 +0000 (15:30 +0000)]
Modified the sound code so it can handle sounds outside of a "sound" subdirectory.
Changed the video code so it uses the common sound code (nice side-effect: DP video soundtracks can now be Ogg Vorbis files). Removed "wavefile.[ch]" and updated the project files accordingly.
Fixed log timestamps on Win32.
Cleaned a bit of code and a few header files inclusions here and there.

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

16 years agoAdded support for my experimental ng menu(qc).
black [Sat, 26 Jun 2004 14:32:53 +0000 (14:32 +0000)]
Added support for my experimental ng menu(qc).

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

16 years agoAdded the cmd prvm_global <program> <global> which displays the value of the
black [Fri, 25 Jun 2004 15:13:05 +0000 (15:13 +0000)]
Added the cmd prvm_global <program> <global> which displays the value of the
specific global. This makes debugging easier.

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

16 years agoFixed partially the sound code for DP video captures. It still can't sync with the...
molivier [Fri, 25 Jun 2004 13:38:31 +0000 (13:38 +0000)]
Fixed partially the sound code for DP video captures. It still can't sync with the video stream capture itself, but at least it produces a correct WAV file.

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

16 years agoDP now handles correctly demos containing "svc_disconnect" messages (fix Quake Done...
molivier [Thu, 24 Jun 2004 14:49:07 +0000 (14:49 +0000)]
DP now handles correctly demos containing "svc_disconnect" messages (fix Quake Done Quick With A Vengeance demos)

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

16 years agoRemoved unused functions S_AmbientOff and S_AmbientOn. Moved S_ClearBuffer declaratio...
molivier [Wed, 23 Jun 2004 14:14:11 +0000 (14:14 +0000)]
Removed unused functions S_AmbientOff and S_AmbientOn. Moved S_ClearBuffer declaration into "snd_dma.c" so it doesn't need an implementation in "snd_null.c"

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

16 years agoOops. I involuntary changed the default Linux sound config from OSS to ALSA 2 months...
molivier [Wed, 23 Jun 2004 14:11:05 +0000 (14:11 +0000)]
Oops. I involuntary changed the default Linux sound config from OSS to ALSA 2 months ago. Reverted back that change.

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

16 years agoA couple of minor simplifications in the screenshot / video code
molivier [Wed, 23 Jun 2004 14:06:45 +0000 (14:06 +0000)]
A couple of minor simplifications in the screenshot / video code

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

16 years agoAdded support for Dev-C++, a MinGW32 IDE <http://www.bloodshed.net/dev/devcpp.html>
molivier [Wed, 16 Jun 2004 12:06:24 +0000 (12:06 +0000)]
Added support for Dev-C++, a MinGW32 IDE <bloodshed.net/dev/devcpp.html>

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

16 years agoTomaz renamed r_picmip to gl_picmip, r_max_size to gl_max_size, r_max_scrapsize to...
havoc [Wed, 26 May 2004 23:03:44 +0000 (23:03 +0000)]
Tomaz renamed r_picmip to gl_picmip, r_max_size to gl_max_size, r_max_scrapsize to gl_max_scrapsize

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

16 years ago*** empty log message ***
havoc [Wed, 26 May 2004 11:28:04 +0000 (11:28 +0000)]
*** empty log message ***

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

16 years agoTomaz fixed key repeats in the console
havoc [Wed, 26 May 2004 11:25:12 +0000 (11:25 +0000)]
Tomaz fixed key repeats in the console

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

16 years agonow reloads rtlights only when map changes, not renderer restarts, this means rtlight...
havoc [Sun, 23 May 2004 08:41:21 +0000 (08:41 +0000)]
now reloads rtlights only when map changes, not renderer restarts, this means rtlights changes are not lost when video mode changes
autoloads rtlights when map changes, even if not in realtime lighting mode
compiles lights and loads their cubemaps without checking for visibility first (to force loading on first frame, not during gameplay)

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

16 years ago*** empty log message ***
havoc [Sat, 22 May 2004 08:11:03 +0000 (08:11 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Sat, 22 May 2004 03:13:09 +0000 (03:13 +0000)]
*** empty log message ***

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

16 years agoHost_Name_f now validates player names, stripping \r and \n control codes
havoc [Sat, 22 May 2004 03:12:27 +0000 (03:12 +0000)]
Host_Name_f now validates player names, stripping \r and \n control codes

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

16 years agosort
havoc [Sat, 22 May 2004 03:00:40 +0000 (03:00 +0000)]
sort

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

16 years ago*** empty log message ***
havoc [Sat, 22 May 2004 03:00:07 +0000 (03:00 +0000)]
*** empty log message ***

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

16 years agoadded sv_gameplayfix_grenadebouncedownsteps, sv_gameplayfix_noairborncorpse, sv_gamep...
havoc [Sat, 22 May 2004 02:59:36 +0000 (02:59 +0000)]
added sv_gameplayfix_grenadebouncedownsteps, sv_gameplayfix_noairborncorpse, sv_gameplayfix_stepwhilejumping, sv_gameplayfix_swiminbmodels cvars to be able to disable DP's physics enhancements

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

16 years agortlights were crashing when there's no vis in a q3bsp
havoc [Sat, 22 May 2004 02:42:03 +0000 (02:42 +0000)]
rtlights were crashing when there's no vis in a q3bsp

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

16 years agoforgot to sort the todo
havoc [Sat, 22 May 2004 02:12:33 +0000 (02:12 +0000)]
forgot to sort the todo

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

16 years ago*** empty log message ***
havoc [Sat, 22 May 2004 02:11:56 +0000 (02:11 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 22:25:29 +0000 (22:25 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 22:18:45 +0000 (22:18 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 19:45:13 +0000 (19:45 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 19:42:06 +0000 (19:42 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 19:20:51 +0000 (19:20 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 19:18:15 +0000 (19:18 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 19:09:21 +0000 (19:09 +0000)]
*** empty log message ***

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

16 years agoTomaz renamed r_shadow_polygon* cvars to r_shadow_shadow_polygon*
havoc [Fri, 21 May 2004 18:59:21 +0000 (18:59 +0000)]
Tomaz renamed r_shadow_polygon* cvars to r_shadow_shadow_polygon*

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

16 years agoTomaz made Mem_Free only clear if developer is on, this may speed up engine shutdown
havoc [Fri, 21 May 2004 18:56:54 +0000 (18:56 +0000)]
Tomaz made Mem_Free only clear if developer is on, this may speed up engine shutdown

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

16 years agoTomaz renamed cl_fake* networking cvars to cl_net*
havoc [Fri, 21 May 2004 18:55:30 +0000 (18:55 +0000)]
Tomaz renamed cl_fake* networking cvars to cl_net*

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

16 years agoTomaz made the progs/bolt.mdl and progs/bolt2.mdl loading not complain if missing
havoc [Fri, 21 May 2004 18:53:58 +0000 (18:53 +0000)]
Tomaz made the progs/bolt.mdl and progs/bolt2.mdl loading not complain if missing

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

16 years ago*** empty log message ***
havoc [Fri, 21 May 2004 08:29:04 +0000 (08:29 +0000)]
*** empty log message ***

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

16 years agoTomaz fixed the name timer glitch which caused blank names when restarting a server
havoc [Fri, 21 May 2004 02:56:10 +0000 (02:56 +0000)]
Tomaz fixed the name timer glitch which caused blank names when restarting a server

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

16 years agoTomaz added r_skyscroll1/2 to the menu
havoc [Fri, 21 May 2004 01:30:23 +0000 (01:30 +0000)]
Tomaz added r_skyscroll1/2 to the menu

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

16 years agohandle sky scroll wrapping better
havoc [Fri, 21 May 2004 00:49:52 +0000 (00:49 +0000)]
handle sky scroll wrapping better

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

16 years agoTomaz implemented r_skyscroll1/2 cvars to control sky scrolling speeds
havoc [Fri, 21 May 2004 00:40:53 +0000 (00:40 +0000)]
Tomaz implemented r_skyscroll1/2 cvars to control sky scrolling speeds

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

16 years agoTomaz implemented the vid_pixelaspect patch provided by Grisha Spivak
havoc [Fri, 21 May 2004 00:38:50 +0000 (00:38 +0000)]
Tomaz implemented the vid_pixelaspect patch provided by Grisha Spivak

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

16 years agoadded GAME_NEOTERIC
havoc [Thu, 20 May 2004 23:24:41 +0000 (23:24 +0000)]
added GAME_NEOTERIC

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

16 years ago*** empty log message ***
havoc [Thu, 20 May 2004 23:18:41 +0000 (23:18 +0000)]
*** empty log message ***

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

16 years agochanged Son of Man's data directory to sonofman, as requested by Supajoe
havoc [Thu, 20 May 2004 23:17:57 +0000 (23:17 +0000)]
changed Son of Man's data directory to sonofman, as requested by Supajoe

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

16 years agoGL_TransformToScreen now properly calculates out[2], thanks to Vic for pointing out...
havoc [Thu, 20 May 2004 23:05:55 +0000 (23:05 +0000)]
GL_TransformToScreen now properly calculates out[2], thanks to Vic for pointing out the flaw

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

16 years ago*** empty log message ***
havoc [Thu, 20 May 2004 21:05:15 +0000 (21:05 +0000)]
*** empty log message ***

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

16 years agoTomaz made cl_avidemo screenshot saving use no mallocs
havoc [Thu, 20 May 2004 20:33:00 +0000 (20:33 +0000)]
Tomaz made cl_avidemo screenshot saving use no mallocs

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

16 years agoTomaz cleaned up some double ;; lines (strange stuff)
havoc [Thu, 20 May 2004 19:29:04 +0000 (19:29 +0000)]
Tomaz cleaned up some double ;; lines (strange stuff)

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

16 years agoTomaz optimized the cl_avidemo mode by making it keep around the image processing...
havoc [Thu, 20 May 2004 18:57:28 +0000 (18:57 +0000)]
Tomaz optimized the cl_avidemo mode by making it keep around the image processing buffers, two less mallocs per frame

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

16 years ago... actually 16 looks better as a start size
havoc [Wed, 19 May 2004 07:22:37 +0000 (07:22 +0000)]
... actually 16 looks better as a start size

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

16 years agoupdated cl_explosions_size_start and cl_explosions_size_end to 64 and 128 respectively
havoc [Wed, 19 May 2004 07:22:06 +0000 (07:22 +0000)]
updated cl_explosions_size_start and cl_explosions_size_end to 64 and 128 respectively

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

16 years agorestructured parts of explosion code
havoc [Wed, 19 May 2004 07:20:12 +0000 (07:20 +0000)]
restructured parts of explosion code
cl_explosions_size_start and cl_explosions_size_end now work

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

16 years agomoved screenshot base name stuff to common.c, out of fs.c (by adding a gamescreenshot...
havoc [Wed, 19 May 2004 00:49:08 +0000 (00:49 +0000)]
moved screenshot base name stuff to common.c, out of fs.c (by adding a gamescreenshotname variable, set like gamename and gamedirname)
added support for multiple -game directories (-game a -game b -game c ...)

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

16 years agoTomaz changed skybox rendering/loading to flip skyboxes and use cubemaps directly...
havoc [Tue, 18 May 2004 22:01:56 +0000 (22:01 +0000)]
Tomaz changed skybox rendering/loading to flip skyboxes and use cubemaps directly (no visual differences, just prefers cubemaps now) and reordered suffix tables to load in the order px posx rt

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

16 years agoTomaz fixed Image_CopyMux
havoc [Tue, 18 May 2004 21:48:55 +0000 (21:48 +0000)]
Tomaz fixed Image_CopyMux

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

16 years agonew optimized Image_CopyMux is broken, disabled until it's fixed
havoc [Tue, 18 May 2004 21:28:40 +0000 (21:28 +0000)]
new optimized Image_CopyMux is broken, disabled until it's fixed

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

16 years agoTomaz added support for loading a cubemap as skybox
havoc [Tue, 18 May 2004 21:04:59 +0000 (21:04 +0000)]
Tomaz added support for loading a cubemap as skybox

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

16 years agoTomaz fixed black models in unlit maps
havoc [Tue, 18 May 2004 20:48:56 +0000 (20:48 +0000)]
Tomaz fixed black models in unlit maps

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

16 years agoTomaz patch to implement controllable fade rate in explosions
havoc [Tue, 18 May 2004 18:55:36 +0000 (18:55 +0000)]
Tomaz patch to implement controllable fade rate in explosions

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

16 years agoVic optimized Image_CopyMux
havoc [Tue, 18 May 2004 18:26:12 +0000 (18:26 +0000)]
Vic optimized Image_CopyMux

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

16 years agomerged RSurfShader_Water_Callback and RSurfShader_Wall_Vertex_Callback and made them...
havoc [Tue, 18 May 2004 06:26:07 +0000 (06:26 +0000)]
merged RSurfShader_Water_Callback and RSurfShader_Wall_Vertex_Callback and made them more consistent, water lightmaps are now basically supported (vertex though)

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

16 years agoallow drawing coronas fainter than 1 (it was checking r_coronas.integer)
havoc [Tue, 18 May 2004 06:24:22 +0000 (06:24 +0000)]
allow drawing coronas fainter than 1 (it was checking r_coronas.integer)

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

16 years ago*** empty log message ***
havoc [Tue, 18 May 2004 06:13:31 +0000 (06:13 +0000)]
*** empty log message ***

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

16 years agoseparated rtlight (light[]) settings from normal glow dlights, this means no more...
havoc [Tue, 18 May 2004 04:35:35 +0000 (04:35 +0000)]
separated rtlight (light[]) settings from normal glow dlights, this means no more anomalies involving cubemaps on glowing models and such, all pflags are ignored on dlights, only rtlights are affected

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

16 years agoTomaz added lightning settings to effects options menu
havoc [Mon, 17 May 2004 20:09:21 +0000 (20:09 +0000)]
Tomaz added lightning settings to effects options menu

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

16 years agoTomaz added some cl_explosions cvars, more work on this to come
havoc [Mon, 17 May 2004 20:06:10 +0000 (20:06 +0000)]
Tomaz added some cl_explosions cvars, more work on this to come

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

16 years agocleaned up PF_fopen filename rejection, now rejects more unsafe names, including...
havoc [Mon, 17 May 2004 19:46:52 +0000 (19:46 +0000)]
cleaned up PF_fopen filename rejection, now rejects more unsafe names, including control characters (yes I expect problems with player names as a result)

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

16 years agoTomaz patch to fopen builtin which now tries to read files outside data/ (but won...
havoc [Mon, 17 May 2004 19:27:00 +0000 (19:27 +0000)]
Tomaz patch to fopen builtin which now tries to read files outside data/ (but won't try to write or append outside data/), for better compatibility with other engines that don't use data/ in their FRIK_FILE implementation

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

16 years agoTomaz's con_backscroll patch, backscroll is no longer reset by new prints, and remain...
havoc [Mon, 17 May 2004 19:18:31 +0000 (19:18 +0000)]
Tomaz's con_backscroll patch, backscroll is no longer reset by new prints, and remains locked on the same position in the history

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

16 years agochanged Com_HexDumpToConsole to print space separated 4 byte groups, added some comme...
havoc [Mon, 17 May 2004 19:08:44 +0000 (19:08 +0000)]
changed Com_HexDumpToConsole to print space separated 4 byte groups, added some comments, and cleaned up the readability of it
thanks to Tomaz for the beginnings of this patch

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

16 years agofix r_fullbright being accidentally reset on level change
havoc [Mon, 17 May 2004 18:22:31 +0000 (18:22 +0000)]
fix r_fullbright being accidentally reset on level change

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

16 years agoTomaz optimized Matrix4x4_CreateFromQuakeEntity
havoc [Sun, 16 May 2004 00:21:11 +0000 (00:21 +0000)]
Tomaz optimized Matrix4x4_CreateFromQuakeEntity

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

16 years agoTomaz optimized AngleVectorsFLU for the roll == 0 case
havoc [Sun, 16 May 2004 00:19:10 +0000 (00:19 +0000)]
Tomaz optimized AngleVectorsFLU for the roll == 0 case

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

16 years agoTomaz made envmap also save px/nx/py/ny/pz/nz files (GL cubemap)
havoc [Sat, 15 May 2004 23:35:18 +0000 (23:35 +0000)]
Tomaz made envmap also save px/nx/py/ny/pz/nz files (GL cubemap)

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

16 years agoTomaz optimized AngleVectors for the roll == 0 case
havoc [Sat, 15 May 2004 23:24:11 +0000 (23:24 +0000)]
Tomaz optimized AngleVectors for the roll == 0 case

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

16 years agoTomaz enabled some numpad keys in the console and the insert key, and also fixed...
havoc [Sat, 15 May 2004 21:49:10 +0000 (21:49 +0000)]
Tomaz enabled some numpad keys in the console and the insert key, and also fixed up the console edit line rendering so you can move left/right on the editing line

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

16 years agoTomaz renamed all R_Model_Brush functions to R_Q1BSP
havoc [Sat, 15 May 2004 20:43:17 +0000 (20:43 +0000)]
Tomaz renamed all R_Model_Brush functions to R_Q1BSP

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

16 years agoadded comments to cubemap loader, to explain its confusing logic
havoc [Sat, 15 May 2004 20:40:07 +0000 (20:40 +0000)]
added comments to cubemap loader, to explain its confusing logic

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

16 years agoTomaz fixed the envmap command; it was saving black images, and now saves images...
havoc [Sat, 15 May 2004 20:24:19 +0000 (20:24 +0000)]
Tomaz fixed the envmap command; it was saving black images, and now saves images in the correct order with appropriate flipping, to comply with skybox arrangements

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

16 years agorenamed most Image_CopyMux parameters to begin with input to clarify their purpose...
havoc [Sat, 15 May 2004 19:35:15 +0000 (19:35 +0000)]
renamed most Image_CopyMux parameters to begin with input to clarify their purpose, inputwidth for example, because these are input properties, not output properties
cleaned up Image_CopyMux, and fixed its handling of inputflipdiagonal to properly work with unequal inputwidth/inputheight
swapped Image_CopyMux numinputcomponents/numoutputcomponents parameters to be more consistent with the 'output, input' order of its other parameters

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

16 years ago*** empty log message ***
havoc [Sat, 15 May 2004 18:34:46 +0000 (18:34 +0000)]
*** empty log message ***

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

16 years agofix skybox loading in q3 shaders, needed to append a _ to the end of the skybox name
havoc [Sat, 15 May 2004 05:52:06 +0000 (05:52 +0000)]
fix skybox loading in q3 shaders, needed to append a _ to the end of the skybox name

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

16 years agoTomaz fixed cubemap loading of skyboxes
havoc [Fri, 14 May 2004 15:53:58 +0000 (15:53 +0000)]
Tomaz fixed cubemap loading of skyboxes

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

16 years agoTomaz fixed the skybox arrangement to match glquake/quake2/quake3/3dstudio
havoc [Fri, 14 May 2004 00:17:43 +0000 (00:17 +0000)]
Tomaz fixed the skybox arrangement to match glquake/quake2/quake3/3dstudio

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

16 years agoTomaz fixed the stencil support (I had accidentally broken it in my over-zealous...
havoc [Fri, 14 May 2004 00:16:34 +0000 (00:16 +0000)]
Tomaz fixed the stencil support (I had accidentally broken it in my over-zealous resetting of gl related variables)

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

16 years ago*** empty log message ***
havoc [Thu, 13 May 2004 22:39:18 +0000 (22:39 +0000)]
*** empty log message ***

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

16 years agoTomaz's gl_polyblend patch to control intensity of view blends
havoc [Thu, 13 May 2004 22:02:33 +0000 (22:02 +0000)]
Tomaz's gl_polyblend patch to control intensity of view blends

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

16 years agoTomaz's patch to add fov to options menu
havoc [Thu, 13 May 2004 19:10:44 +0000 (19:10 +0000)]
Tomaz's patch to add fov to options menu

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

16 years ago*** empty log message ***
havoc [Thu, 13 May 2004 18:41:18 +0000 (18:41 +0000)]
*** empty log message ***

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

16 years agoTomaz's nametime patch (prevent frequent name changes on the server)
havoc [Thu, 13 May 2004 18:40:01 +0000 (18:40 +0000)]
Tomaz's nametime patch (prevent frequent name changes on the server)

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

16 years agoTomaz's patch to name screenshots based on gamemode or -game if specified
havoc [Thu, 13 May 2004 17:23:09 +0000 (17:23 +0000)]
Tomaz's patch to name screenshots based on gamemode or -game if specified

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

16 years agoTomaz's patch to ask the driver for a gl_texture_anisotropy limit, and apply that...
havoc [Wed, 12 May 2004 22:08:29 +0000 (22:08 +0000)]
Tomaz's patch to ask the driver for a gl_texture_anisotropy limit, and apply that limit
also fixed a bunch of extension variables that were not being reset on resolution changes

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

16 years ago*** empty log message ***
havoc [Wed, 12 May 2004 18:03:11 +0000 (18:03 +0000)]
*** empty log message ***

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

16 years agonow ignores darkplaces-sdl and darkplaces-dedicated executables, removed darkplaces...
havoc [Wed, 12 May 2004 16:57:48 +0000 (16:57 +0000)]
now ignores darkplaces-sdl and darkplaces-dedicated executables, removed darkplaces-3dfx executable (as it has been abandoned for a long time)

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

16 years agoTomaz's patch for r_waterwarp with controllable intensity
havoc [Wed, 12 May 2004 16:55:42 +0000 (16:55 +0000)]
Tomaz's patch for r_waterwarp with controllable intensity

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

16 years agoTomaz's patch for optimized vectorlength calls in the vertex lighting code, as Vic...
havoc [Wed, 12 May 2004 16:52:39 +0000 (16:52 +0000)]
Tomaz's patch for optimized vectorlength calls in the vertex lighting code, as Vic suggested

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

16 years agoFixed a few warnings regarding casts of lvalues (deprecated in GCC 3.3, unsupported...
molivier [Tue, 4 May 2004 10:10:10 +0000 (10:10 +0000)]
Fixed a few warnings regarding casts of lvalues (deprecated in GCC 3.3, unsupported in GCC 3.4)

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

16 years agoRemoved the printings at the end of ALSA driver initialization. Fixed the soundinfo...
molivier [Tue, 4 May 2004 08:45:14 +0000 (08:45 +0000)]
Removed the printings at the end of ALSA driver initialization. Fixed the soundinfo format string for the DMA pointer

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

16 years agocredited Elric for some of his great contributions, and removed the warnings about...
havoc [Mon, 3 May 2004 10:11:16 +0000 (10:11 +0000)]
credited Elric for some of his great contributions, and removed the warnings about music files often using 50mb or so of memory, as Elric made them stream

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

16 years agoclean up vector parsing in ED_ParseEpair, now stores 0 into any vector components...
havoc [Sun, 2 May 2004 03:54:31 +0000 (03:54 +0000)]
clean up vector parsing in ED_ParseEpair, now stores 0 into any vector components that can not be read due to end of string

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