divverent/darkplaces.git
19 years agoupdated OBJECTS list and added cleaning of darkplaces-3dfx
lordhavoc [Thu, 25 Jan 2001 06:46:16 +0000 (06:46 +0000)]
updated OBJECTS list and added cleaning of darkplaces-3dfx

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

19 years agoremoved unused gldir string
lordhavoc [Tue, 23 Jan 2001 00:27:41 +0000 (00:27 +0000)]
removed unused gldir string

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

19 years agodisabled unused variable
lordhavoc [Tue, 23 Jan 2001 00:12:34 +0000 (00:12 +0000)]
disabled unused variable

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

19 years agoripped out vertex array function lookup, require OpenGL 1.2.x instead.
lordhavoc [Tue, 23 Jan 2001 00:10:51 +0000 (00:10 +0000)]
ripped out vertex array function lookup, require OpenGL 1.2.x instead.

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

19 years agoclarifications about the format of svc_fog
lordhavoc [Mon, 22 Jan 2001 23:58:32 +0000 (23:58 +0000)]
clarifications about the format of svc_fog
precache name overflow checks
gl_screen.c - whitespace changes?
sky name overflow checks
"tell" buffer overflow improvement (not really a fix)
edict parsing buffer increase (not really a fix)
increased number of leafs per entity from 64 to 256 (mem hog...  but fixes fall2.bsp  note: quake used 16 and did not have a problem with fall2?) and added warning when it runs out
removed rotating pusher hack and added solid checking
non-working MOVETYPE_FOLLOW rotation support (in-progress)

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

19 years agofixed (byte *) - (char *) subtraction
lordhavoc [Mon, 22 Jan 2001 23:15:51 +0000 (23:15 +0000)]
fixed (byte *) - (char *) subtraction

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

19 years agofix a char type problem
taniwha [Mon, 22 Jan 2001 23:13:25 +0000 (23:13 +0000)]
fix a char type problem

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

19 years agoFix for image replacement in sprites, now the sprite extension is stripped before...
lordhavoc [Fri, 12 Jan 2001 11:36:47 +0000 (11:36 +0000)]
Fix for image replacement in sprites, now the sprite extension is stripped before the frame names are generated (so naming for s_explod.spr is like s_explod_0.tga, s_explod_1.tga, etc) and the extension stripping in the image loader will only strip off .lmp or .pcx or .tga, not other extensions, the sprite extension stripper is similar but for .spr and .spr32.

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

19 years agoworkaround/fix for bounds checking warning
lordhavoc [Sun, 7 Jan 2001 16:56:48 +0000 (16:56 +0000)]
workaround/fix for bounds checking warning

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

19 years agocritical fix for COM_FileBase (could go hunting through mem for /)
lordhavoc [Sun, 7 Jan 2001 16:49:54 +0000 (16:49 +0000)]
critical fix for COM_FileBase (could go hunting through mem for /)

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

19 years agoworkaround for bounds checking error in loading texture lump
lordhavoc [Sun, 7 Jan 2001 16:38:16 +0000 (16:38 +0000)]
workaround for bounds checking error in loading texture lump

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

19 years agodisabled scrap system (what an eye sore that was...) and fixed interpolated text...
lordhavoc [Sun, 7 Jan 2001 16:11:57 +0000 (16:11 +0000)]
disabled scrap system (what an eye sore that was...) and fixed interpolated text condition (now interpolated when scaling up, as it was meant to be)

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

19 years agosmoke and blood changes
lordhavoc [Wed, 20 Dec 2000 22:16:15 +0000 (22:16 +0000)]
smoke and blood changes

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

19 years agoAdded palette.c and r_sprites.c. Compiles now.
dabb [Sun, 10 Dec 2000 10:59:17 +0000 (10:59 +0000)]
Added palette.c and r_sprites.c. Compiles now.

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

19 years agobuild 78
lordhavoc [Sat, 9 Dec 2000 18:15:30 +0000 (18:15 +0000)]
build 78

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

19 years agobmodel rotation physics now work
lordhavoc [Sat, 9 Dec 2000 18:04:45 +0000 (18:04 +0000)]
bmodel rotation physics now work
new vid_glx.c (contributed by zinx)
removed DPNEHAHRA engine titling
fixed some lighthalf, fog, and sky related bugs
removed some 3D card hacks
merged GL_Init code for all targets (note: vid_glx.c and vid_3dfxsvga.c may be broken)
split sprite code out in gl_sprites.c
rearranged palette management code
removed all traces of 8bit upload support for now (may be added back)
halved memory usage (although this prevents renderer restarting for the moment)
implemented r_texturestats command
removed old texture upload code
rewrote use of host_parms
rewrote some code relating to host_basepal
bigendian support in pcx loading
changed external texture character equivilant for * from + to # to avoid conflicts with animating textures
removed cruft here and there
force all textures to lowercase to mask potentially silly wad lump names in maps
new crosshairs
more stuff is extern in includes
some general cleanup of the MOVETYPE_PUSH code
rewrote portions of vid_wgl.c
V_UpdatePalette renamed to V_UpdateBlends
removed starting dialog code in wgl
made SV_RecursiveHullCheck accessable in world.h

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

19 years agoapply the 0 byte udp packet DoS fix from nuq.
taniwha [Thu, 30 Nov 2000 17:07:00 +0000 (17:07 +0000)]
apply the 0 byte udp packet DoS fix from nuq.

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

19 years agomade glowing lightning optional
lordhavoc [Tue, 28 Nov 2000 13:22:31 +0000 (13:22 +0000)]
made glowing lightning optional

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

19 years agospark showers on explosions, better sparks on bullet impacts
lordhavoc [Mon, 27 Nov 2000 06:46:44 +0000 (06:46 +0000)]
spark showers on explosions, better sparks on bullet impacts

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

19 years agoremoved cruft from debugging
lordhavoc [Mon, 27 Nov 2000 06:40:07 +0000 (06:40 +0000)]
removed cruft from debugging

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

19 years agoput in dprinting of model names as they are loaded
lordhavoc [Mon, 27 Nov 2000 06:05:23 +0000 (06:05 +0000)]
put in dprinting of model names as they are loaded

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

19 years agoremoved unused tracercount
lordhavoc [Mon, 27 Nov 2000 06:04:59 +0000 (06:04 +0000)]
removed unused tracercount

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

19 years agobuild 77
lordhavoc [Mon, 27 Nov 2000 01:47:52 +0000 (01:47 +0000)]
build 77

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

19 years agorain splatters on the ground and water, and turns to steam on slime/lava, bubbles...
lordhavoc [Mon, 27 Nov 2000 01:37:42 +0000 (01:37 +0000)]
rain splatters on the ground and water, and turns to steam on slime/lava, bubbles splatter when they leave water

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

19 years agofractalnoise enhancements, better smoke textures, better bubble explosions, blood...
lordhavoc [Sun, 26 Nov 2000 23:20:07 +0000 (23:20 +0000)]
fractalnoise enhancements, better smoke textures, better bubble explosions, blood in water

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

19 years agoforgot to extern GL_LoadPicTexture
lordhavoc [Sun, 26 Nov 2000 09:38:00 +0000 (09:38 +0000)]
forgot to extern GL_LoadPicTexture

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

19 years agocruft removal, general cleanup, fix for delta compression bugs, generic targa writer
lordhavoc [Sun, 26 Nov 2000 09:22:55 +0000 (09:22 +0000)]
cruft removal, general cleanup, fix for delta compression bugs, generic targa writer

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

19 years agowork around gcc lacking support for no-size arrays in structures
lordhavoc [Sun, 26 Nov 2000 09:18:57 +0000 (09:18 +0000)]
work around gcc lacking support for no-size arrays in structures

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

19 years agoCleaned up a bit..
dabb [Thu, 23 Nov 2000 15:09:05 +0000 (15:09 +0000)]
Cleaned up a bit..

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

19 years agoFixed some of the mess. Might work now...
dabb [Thu, 23 Nov 2000 15:03:59 +0000 (15:03 +0000)]
Fixed some of the mess. Might work now...

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

19 years agobuild 76
lordhavoc [Thu, 23 Nov 2000 13:15:01 +0000 (13:15 +0000)]
build 76

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

19 years agominor redesign of console loading/drawing, cruft removal, change to Draw_GenericPic...
lordhavoc [Thu, 23 Nov 2000 13:14:31 +0000 (13:14 +0000)]
minor redesign of console loading/drawing, cruft removal, change to Draw_GenericPic parameter types

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

19 years agocruft removal
lordhavoc [Thu, 23 Nov 2000 08:25:57 +0000 (08:25 +0000)]
cruft removal

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

19 years agovery minor cruft removal
lordhavoc [Thu, 23 Nov 2000 08:24:10 +0000 (08:24 +0000)]
very minor cruft removal

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

19 years agoBorland C++ makefile for Darkplaces. Does NOT use asm objs yet, but works otherwise.
dabb [Tue, 21 Nov 2000 15:36:32 +0000 (15:36 +0000)]
Borland C++ makefile for Darkplaces. Does NOT use asm objs yet, but works otherwise.

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

19 years agoBorland C++ compile fix - works/compiles now.
dabb [Tue, 21 Nov 2000 14:54:45 +0000 (14:54 +0000)]
Borland C++ compile fix - works/compiles now.

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

19 years agoBorland C++ compile fixes
dabb [Tue, 21 Nov 2000 14:49:36 +0000 (14:49 +0000)]
Borland C++ compile fixes

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

19 years agofix for sprite scale bug (it was scaling vup and vright!)
lordhavoc [Tue, 21 Nov 2000 10:17:37 +0000 (10:17 +0000)]
fix for sprite scale bug (it was scaling vup and vright!)

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

19 years agomerged RSurf_DrawWall/EmitWall/etc back into RSurf_DrawWall for speed reasons (split...
lordhavoc [Tue, 21 Nov 2000 09:13:52 +0000 (09:13 +0000)]
merged RSurf_DrawWall/EmitWall/etc back into RSurf_DrawWall for speed reasons (split version was only for profile testing)

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

19 years agofixed duplicate application of gamma correction
lordhavoc [Tue, 21 Nov 2000 09:12:21 +0000 (09:12 +0000)]
fixed duplicate application of gamma correction

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

19 years agoremoved cruft
lordhavoc [Tue, 21 Nov 2000 09:11:34 +0000 (09:11 +0000)]
removed cruft

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

19 years agoremoved fullbright torch hack :)
lordhavoc [Tue, 21 Nov 2000 09:11:03 +0000 (09:11 +0000)]
removed fullbright torch hack :)

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

19 years agoskip all of Draw_String when rendering is disabled
lordhavoc [Tue, 21 Nov 2000 09:09:46 +0000 (09:09 +0000)]
skip all of Draw_String when rendering is disabled

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

19 years agoadded support to image loader for loading mask as well (used for fog effects), remove...
lordhavoc [Tue, 21 Nov 2000 09:02:28 +0000 (09:02 +0000)]
added support to image loader for loading mask as well (used for fog effects), removed some cruft, and made sprite loader check for external textures

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

19 years agomore particle effect changes...
lordhavoc [Tue, 21 Nov 2000 08:58:02 +0000 (08:58 +0000)]
more particle effect changes...

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

19 years agofixed spelling error (allready -> already)
lordhavoc [Tue, 21 Nov 2000 08:49:51 +0000 (08:49 +0000)]
fixed spelling error (allready -> already)

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

19 years agoimplemented r_render and r_upload cvar options for CPU profiling (not hardware bound...
lordhavoc [Sat, 18 Nov 2000 09:53:29 +0000 (09:53 +0000)]
implemented r_render and r_upload cvar options for CPU profiling (not hardware bound), note: defining NORENDER will disable both (useful for making profile builds)

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

19 years agoremoved unused 'minlight' option from dlight struct, and made muzzleflash light maller
lordhavoc [Sat, 18 Nov 2000 08:37:15 +0000 (08:37 +0000)]
removed unused 'minlight' option from dlight struct, and made muzzleflash light maller

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

19 years agobackport of PM_RecursiveHullCheck for speedup
lordhavoc [Sat, 18 Nov 2000 08:12:19 +0000 (08:12 +0000)]
backport of PM_RecursiveHullCheck for speedup

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

19 years agoremoved cruft
lordhavoc [Sat, 18 Nov 2000 08:07:18 +0000 (08:07 +0000)]
removed cruft

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

19 years agoremoved cruft
lordhavoc [Sat, 18 Nov 2000 01:08:38 +0000 (01:08 +0000)]
removed cruft

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

19 years agolight only the front faces, cuts down on noticable visdata anomolies
lordhavoc [Sat, 18 Nov 2000 01:05:02 +0000 (01:05 +0000)]
light only the front faces, cuts down on noticable visdata anomolies

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

19 years agoobliterated Draw_TransPic and relatives, also fixed Draw_TransPicTranslate, and resto...
lordhavoc [Fri, 17 Nov 2000 11:28:38 +0000 (11:28 +0000)]
obliterated Draw_TransPic and relatives, also fixed Draw_TransPicTranslate, and restored pics to normal brightness

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

19 years agocombined glClear calls, may be a speedup
lordhavoc [Fri, 17 Nov 2000 11:24:21 +0000 (11:24 +0000)]
combined glClear calls, may be a speedup

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

19 years agoremoved glClearColor because it was being reset in gl_screen anyway
lordhavoc [Fri, 17 Nov 2000 11:22:19 +0000 (11:22 +0000)]
removed glClearColor because it was being reset in gl_screen anyway

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

19 years agochanged texture slots in use message (developer mode only) to not mention glquake
lordhavoc [Fri, 17 Nov 2000 11:20:12 +0000 (11:20 +0000)]
changed texture slots in use message (developer mode only) to not mention glquake

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

19 years agospeedups to R_WorldNode, and some shrinkage on the surface struct
lordhavoc [Fri, 17 Nov 2000 10:33:37 +0000 (10:33 +0000)]
speedups to R_WorldNode, and some shrinkage on the surface struct

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

19 years agodisabled Sys_PageIn for quicker startup (whether this is good or not is questionable)
lordhavoc [Fri, 17 Nov 2000 10:32:00 +0000 (10:32 +0000)]
disabled Sys_PageIn for quicker startup (whether this is good or not is questionable)

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

19 years agoupdated to version 1.50, build 75.
lordhavoc [Fri, 17 Nov 2000 08:35:39 +0000 (08:35 +0000)]
updated to version 1.50, build 75.
change log as best I can remember:
rewrote model loading and rendering
multi-pass colormapping on any model (NO UPLOADS!)
fullbrights on models (feature of new multi-pass model renderer)
rewrote texture management
rewrote texture uploading
heavily optimized static light sampling
fancy new crosshair
fixed network angle rounding (shots are fired where you're pointing, not down and to the right)
HL map hull sizes are supported (still sink into grates though)
removal of some commented out junk
other minor stuff I can't remember now

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

19 years agoincreased build number to 73
lordhavoc [Sun, 12 Nov 2000 22:40:11 +0000 (22:40 +0000)]
increased build number to 73

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

20 years agofrom newtree. at worst will need a header tweek
taniwha [Tue, 31 Oct 2000 15:33:07 +0000 (15:33 +0000)]
from newtree. at worst will need a header tweek

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

20 years agolighthalf related transpoly cleanup
lordhavoc [Tue, 31 Oct 2000 03:31:02 +0000 (03:31 +0000)]
lighthalf related transpoly cleanup
major cleanup of surface rendering code for readability sake
SV_ChangeTeam added for sake of QC in mods (allows the mod to review all color changes and decide what to do with them, setcolor is useful for this)
minor light chunk loader cleanup (including a questionable bugfix relating to .lit files for maps without light data)

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

20 years agoincremented buildnum
lordhavoc [Tue, 31 Oct 2000 03:20:58 +0000 (03:20 +0000)]
incremented buildnum

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

20 years agoadded setcolor builtin
lordhavoc [Tue, 31 Oct 2000 01:34:09 +0000 (01:34 +0000)]
added setcolor builtin

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

20 years agoincreased max pcx size to 320x256
lordhavoc [Tue, 31 Oct 2000 01:33:14 +0000 (01:33 +0000)]
increased max pcx size to 320x256

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

20 years agoadded buildnumber.c to makefile
lordhavoc [Sat, 28 Oct 2000 19:04:51 +0000 (19:04 +0000)]
added buildnumber.c to makefile

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

20 years agofix for missing \n
lordhavoc [Sat, 28 Oct 2000 18:56:55 +0000 (18:56 +0000)]
fix for missing \n

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

20 years agorecursive host_error improvement (prints both error messages)
lordhavoc [Sat, 28 Oct 2000 18:49:33 +0000 (18:49 +0000)]
recursive host_error improvement (prints both error messages)

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

20 years agoparticle audit, only one kind of gravity now, many unused particle types removed...
lordhavoc [Sat, 28 Oct 2000 18:47:01 +0000 (18:47 +0000)]
particle audit, only one kind of gravity now, many unused particle types removed, blood trails look cooler without gravity, etc

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

20 years agoremove never used svc_playerposition code
lordhavoc [Sat, 28 Oct 2000 18:45:30 +0000 (18:45 +0000)]
remove never used svc_playerposition code

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

20 years agoparticle effect changes and code cleanup
lordhavoc [Thu, 26 Oct 2000 11:57:51 +0000 (11:57 +0000)]
particle effect changes and code cleanup

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

20 years agochanges to dpprotocol code (precise aiming mainly)
lordhavoc [Thu, 26 Oct 2000 11:54:41 +0000 (11:54 +0000)]
changes to dpprotocol code (precise aiming mainly)

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

20 years agofix for blob particle crash
lordhavoc [Tue, 24 Oct 2000 10:26:19 +0000 (10:26 +0000)]
fix for blob particle crash

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

20 years agofixed chase_active (TraceLine no longer returns '0 0 0' when there was no impact)
lordhavoc [Sat, 21 Oct 2000 10:25:19 +0000 (10:25 +0000)]
fixed chase_active (TraceLine no longer returns '0 0 0' when there was no impact)

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

20 years agofix for player model tilting in chase_active mode
lordhavoc [Sat, 21 Oct 2000 10:24:28 +0000 (10:24 +0000)]
fix for player model tilting in chase_active mode

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

20 years agofix for serious bug in .nodrawtoclient, .drawonlytoclient, and .viewmodelforclient...
lordhavoc [Sat, 21 Oct 2000 10:22:24 +0000 (10:22 +0000)]
fix for serious bug in .nodrawtoclient, .drawonlytoclient, and .viewmodelforclient comparisons - they now work

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

20 years agomajor particle engine speedup and cleanup of old commented out code, also moved parti...
lordhavoc [Sat, 21 Oct 2000 10:15:42 +0000 (10:15 +0000)]
major particle engine speedup and cleanup of old commented out code, also moved particle defines from glquake.h to r_part.c where they belong (all particle code should live in r_part.c)

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

20 years agoincreased build number, changed default lightmap format to RGB (higher quality in...
lordhavoc [Tue, 17 Oct 2000 09:38:38 +0000 (09:38 +0000)]
increased build number, changed default lightmap format to RGB (higher quality in 16bit modes), though this is likely to break windows Matrox G400 drivers in multitexture (the reason it was defaulted to RGBA previously)

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

20 years agoalmost compiles on linux again. also bring in the latest and_alsa*.c from
taniwha [Tue, 17 Oct 2000 07:38:23 +0000 (07:38 +0000)]
almost compiles on linux again. also bring in the latest and_alsa*.c from
newtree

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

20 years agofixed all known vertex lighting mode problems (except sorting issues)
lordhavoc [Mon, 16 Oct 2000 22:13:00 +0000 (22:13 +0000)]
fixed all known vertex lighting mode problems (except sorting issues)

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

20 years agofix for transpolys disappearing while turning
lordhavoc [Mon, 16 Oct 2000 22:11:37 +0000 (22:11 +0000)]
fix for transpolys disappearing while turning

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

20 years agoyet another rewrite of the dlight engine, this time FAST
lordhavoc [Mon, 16 Oct 2000 20:48:26 +0000 (20:48 +0000)]
yet another rewrite of the dlight engine, this time FAST
new stuff:
much higher quality (loose shadowing)
gl_vertex cvar to try vertex lighting (warning: very obvious transpoly sorting problems)

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

20 years agominor speedup to VectorNormalize #define's
lordhavoc [Mon, 16 Oct 2000 20:46:19 +0000 (20:46 +0000)]
minor speedup to VectorNormalize #define's

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

20 years agoGigantic commit - dlight system rewritten
lordhavoc [Sun, 15 Oct 2000 15:45:12 +0000 (15:45 +0000)]
Gigantic commit - dlight system rewritten
added serverside prediction
removed dark light support
removed explosion sparks
removed blastparticles code
particle effects changed
added build numbering
removed SetPal
removed remnants of surface cache code
fixed SZ_Clear in Host_Spawn_f
forgot what else...

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

20 years agoClear message buffer before calling ClientConnect, rather than after.
lordhavoc [Thu, 5 Oct 2000 22:53:22 +0000 (22:53 +0000)]
Clear message buffer before calling ClientConnect, rather than after.

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

20 years agohopefully fix the 3dfx target
taniwha [Tue, 3 Oct 2000 04:00:34 +0000 (04:00 +0000)]
hopefully fix the 3dfx target

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

20 years agoNot adding, it has been here all along, you just have not seen it.
mercury [Tue, 3 Oct 2000 00:05:46 +0000 (00:05 +0000)]
Not adding, it has been here all along, you just have not seen it.
REALLY!

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

20 years agoepsilon checking on brightness and contrast cvars
lordhavoc [Tue, 26 Sep 2000 19:25:13 +0000 (19:25 +0000)]
epsilon checking on brightness and contrast cvars

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

20 years agoignore darkplaces-glx
taniwha [Tue, 26 Sep 2000 02:28:20 +0000 (02:28 +0000)]
ignore darkplaces-glx

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

20 years agoraised pack file count back to 16384 and fixed stack overflow
lordhavoc [Fri, 22 Sep 2000 04:47:32 +0000 (04:47 +0000)]
raised pack file count back to 16384 and fixed stack overflow

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

20 years agodecreased pack file count limit to 4096 due to stack overflow
lordhavoc [Fri, 22 Sep 2000 03:52:20 +0000 (03:52 +0000)]
decreased pack file count limit to 4096 due to stack overflow

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

20 years agoupped pack file count limit to 16384 from 2048
lordhavoc [Fri, 22 Sep 2000 03:37:57 +0000 (03:37 +0000)]
upped pack file count limit to 16384 from 2048

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

20 years agolighting improvement in rgba mode, may crash some windows drivers
lordhavoc [Fri, 22 Sep 2000 01:44:09 +0000 (01:44 +0000)]
lighting improvement in rgba mode, may crash some windows drivers

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

20 years ago-sndspeed option in windows (default: 11025)
lordhavoc [Fri, 22 Sep 2000 01:42:47 +0000 (01:42 +0000)]
-sndspeed option in windows (default: 11025)

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

20 years agoFix for crashs when downsampling sounds.
lordhavoc [Fri, 22 Sep 2000 01:42:04 +0000 (01:42 +0000)]
Fix for crashs when downsampling sounds.

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

20 years agodisabled texcoord checks in alias models, due to CTF v_star bug
lordhavoc [Thu, 21 Sep 2000 03:09:22 +0000 (03:09 +0000)]
disabled texcoord checks in alias models, due to CTF v_star bug

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

20 years ago44.1khz sound, interpolated resampling, killed cvar loadas8bit
lordhavoc [Thu, 21 Sep 2000 03:07:58 +0000 (03:07 +0000)]
44.1khz sound, interpolated resampling, killed cvar loadas8bit

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

20 years agoResampleSfx clean up and a bug fix on resampled stereo
lordhavoc [Thu, 21 Sep 2000 01:47:36 +0000 (01:47 +0000)]
ResampleSfx clean up and a bug fix on resampled stereo

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

20 years agoremoval of various id386 junk
lordhavoc [Mon, 18 Sep 2000 18:45:19 +0000 (18:45 +0000)]
removal of various id386 junk

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

20 years agocopyentity builtin added
lordhavoc [Mon, 18 Sep 2000 15:53:01 +0000 (15:53 +0000)]
copyentity builtin added

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