]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Fri, 15 Apr 2005 08:30:53 +0000 (08:30 +0000)]
fix a bug in the early out case of R_Q1BSP_DrawLight
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5183
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 15 Apr 2005 08:21:11 +0000 (08:21 +0000)]
R_Q1BSP_GetLightInfo now uses BSP tree recursion as an optimization for a small speed gain
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5182
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 15 Apr 2005 08:18:26 +0000 (08:18 +0000)]
made dland2.wav not play in GAME_NEXUIZ
no longer runs physics on disconnected clients (quake did not run them), fixing the physics problems with frikbots, thanks to FrikaC for explanation of this problem
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5181
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 14 Apr 2005 20:45:08 +0000 (20:45 +0000)]
-Added the parameter 'persistent'(naming?) to Draw_CachePic, which decides
whether the texture is loaded in texture memory directly or only on demand.
-Adapted all Draw_CachePic calls (I'll do some corrections, atm most of them
pass persistent := false)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5180
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Apr 2005 08:27:36 +0000 (08:27 +0000)]
LoadTGA is now more compliant with the TGA spec regarding colormaps (they can be present even on a truecolor image, just not used by it) and attributebits (alpha is now ignored if attributebits is not 8 which fixes a number of malformed TGA files (though they still waste disk space) - note that attributebits is part of the attributes header byte)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5179
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 11 Apr 2005 19:37:04 +0000 (19:37 +0000)]
renamed r_shadow_cursor cvars to actually have the word cursor in their name like they were supposed to
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5178
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 11 Apr 2005 19:06:49 +0000 (19:06 +0000)]
remove unused variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5177
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 11 Apr 2005 16:53:33 +0000 (16:53 +0000)]
-Changed the dpv buffer to 1 MB.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5176
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 11 Apr 2005 02:27:30 +0000 (02:27 +0000)]
implemented playerclip and monsterclip brush support for q3bsp levels
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5175
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 11 Apr 2005 02:23:16 +0000 (02:23 +0000)]
changed color codes to match Quake3
changed chat coloring in Nexuiz to use yellow, instead of shifting to upper 128 characters, this should open up the possibility of 8bit fonts in Nexuiz (for multilingual chat)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5174
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 10 Apr 2005 16:53:42 +0000 (16:53 +0000)]
smoke no longer expands over time (eats fillrate and isn't very realistic)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5173
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 10 Apr 2005 15:46:47 +0000 (15:46 +0000)]
fixed ut2003-style smoke ring effect on explosions (not that anyone uses this I assume)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5172
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 10 Apr 2005 15:36:33 +0000 (15:36 +0000)]
reimplemented particle lighting, however it is not used (too slow)
fixed a stupid bug in fogging of alpha blend and modulation blend
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5171
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 10 Apr 2005 15:29:29 +0000 (15:29 +0000)]
fixed a crash if decals are stuck to submodels when cl_entities expands
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5170
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 10 Apr 2005 14:01:22 +0000 (14:01 +0000)]
removed unused leaf parameter on CompleteLightPoint
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5169
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sat, 9 Apr 2005 20:11:40 +0000 (20:11 +0000)]
Umm, I think this todo item (netconn) has been done some time ago.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5168
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 7 Apr 2005 10:00:48 +0000 (10:00 +0000)]
Added the DP_HALFLIFE_SPRITE QC extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5165
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 6 Apr 2005 20:30:19 +0000 (20:30 +0000)]
fix 256 frame limit (stupid legacy bug in entity_state_t building code)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5164
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 6 Apr 2005 11:12:56 +0000 (11:12 +0000)]
changed cl_brushmodel_entities array from entity_render_t * to int, to fix a crash when cl_entities array expands
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5163
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 6 Apr 2005 10:06:26 +0000 (10:06 +0000)]
fixed a stupid typo in EntityFrame5_ExpandEdicts that caused a double free error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5162
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 22:23:17 +0000 (22:23 +0000)]
fixed an error case in S_StartSound
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5161
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 20:28:07 +0000 (20:28 +0000)]
fix some crashes with fogged surfaces
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5160
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 20:01:33 +0000 (20:01 +0000)]
made CL_ExpandEntities cause an error if called before cl_entities is initialized
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5159
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 18:23:53 +0000 (18:23 +0000)]
consolidated many mempools to make memlist more readable (and very slightly reduce memory usage)
changed gltexture_t->identifier from a pointer to an array to reduce the number of allocations per texture (now 2-3 rather than 3-4)
made all MAX_EDICTS arrays in entityframe5_database_t adaptive size to reduce server memory usage
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5158
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 17:31:37 +0000 (17:31 +0000)]
no longer uses SZ_Alloc for cmd_text buffer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5157
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Apr 2005 11:15:45 +0000 (11:15 +0000)]
reduced client memory usage by 29MB by making cl_max_entities dynamic (starts out at 256)
cleaned up cl_num_entities to be more generally useful, it is only increased by network entities, this should speed up some code (by using cl_num_entities instead of MAX_EDICTS or cl_max_entities)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5156
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Apr 2005 19:33:09 +0000 (19:33 +0000)]
fixed a unintended-water-scroll bug on transparent fullbright surfaces
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5155
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Apr 2005 18:46:20 +0000 (18:46 +0000)]
fix gl_combine 0 crashes (it was indexing the color vector as if it was a vertex property... wrong!)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5154
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Apr 2005 16:01:17 +0000 (16:01 +0000)]
optimized surface rendering to surface->groupmesh->data_* array pointers directly instead of indexing them with surface->num_firstvertex, this allows fewer pointer changes (a small speed gain)
fixed stupid bug in q1bsp texture loading which was making all missing textures invisible
changed portal generation to not break when a portal is clipped away, this fixes a crash at render time with bogus portals
changed r_drawportals to only draw portals surrounding the visible leafs (speed gain, but also useful for debugging vis glitches)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5153
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 4 Apr 2005 14:51:56 +0000 (14:51 +0000)]
Fixed getserversResponse parsing:
* serverquerycount was incremented even when it didn't query this server
* if the list contained a server that was already queried, the remaining servers were ignored
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5152
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 4 Apr 2005 13:03:54 +0000 (13:03 +0000)]
-ServerList: Changed some if-else-chains to switch constructs.
-Added a pointer check (!= NULL) to VM_strunzone.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5151
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 4 Apr 2005 08:26:46 +0000 (08:26 +0000)]
Removed LoadLMPAs8Bit; the menu now uses LoadLMP directly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5149
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 4 Apr 2005 05:40:51 +0000 (05:40 +0000)]
Factorized LoadLMP and LoadLMPAs8Bit. Made a bunch of buffers const
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5146
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sun, 3 Apr 2005 10:12:18 +0000 (10:12 +0000)]
-Changed HostCache to ServerList (and a few other pure name changes)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5145
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Sun, 3 Apr 2005 08:26:14 +0000 (08:26 +0000)]
Added Quake 2 sprite support (.sp2 files). Added the corresponding QC extension (DP_QUAKE2_SPRITE)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5143
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Apr 2005 18:25:26 +0000 (18:25 +0000)]
rewrote parts of Host_ServerFrame to make host_framerate cvar work again for The Ascension Of Vigil
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5142
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Apr 2005 17:38:45 +0000 (17:38 +0000)]
fix hl sprite types again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5141
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Apr 2005 16:49:28 +0000 (16:49 +0000)]
fixed hl sprite types to properly handle the palette in each mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5140
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Apr 2005 16:20:34 +0000 (16:20 +0000)]
fixed hl sprite additive mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5139
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Apr 2005 16:04:10 +0000 (16:04 +0000)]
fix hl sprite loading (stupid typo in handling sprite types)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5138
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sat, 2 Apr 2005 12:05:05 +0000 (12:05 +0000)]
-Now a server is never pinged more than once.
-Fixed the color code function.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5137
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 31 Mar 2005 16:08:23 +0000 (16:08 +0000)]
Updated a few entries in the todo file
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5136
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 31 Mar 2005 09:50:43 +0000 (09:50 +0000)]
fix incompatible types warnings (and change pointer_* fields back to void *)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5135
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Thu, 31 Mar 2005 05:41:44 +0000 (05:41 +0000)]
Removed GL_OpenLibrary and GL_CloseLibrary from "vid.h" and "vid_null.c"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5134
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Mar 2005 23:23:14 +0000 (23:23 +0000)]
changed array pointer state to const float * instead of const void *
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5133
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 12:33:25 +0000 (12:33 +0000)]
added a firstvertex parameter to R_Mesh_DrawMesh
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5132
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 12:16:48 +0000 (12:16 +0000)]
save some memory by not allocating neighbors for q1bsp and q3bsp meshlists
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5131
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 11:32:47 +0000 (11:32 +0000)]
changed surface->mesh to surface->groupmesh and added num_firsttriangle and num_firstvertex fields to msurface_t, this cuts the msurface_t size from 120 bytes to 88 bytes, causing a 3.5% speed gain in a 37000 surface benchmark scene
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5130
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 06:54:34 +0000 (06:54 +0000)]
moved a number of msurface_t fields to a separate msurface_lightmapinfo_t structure which is allocated only for q1bsp maps, to save some memory and save some memory bandwidth (as these fields are not often accessed)
moved collision triangles/vertices information out of surfmesh_t and into msurface_t
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5129
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 01:46:58 +0000 (01:46 +0000)]
slight optimizations to bsp renderer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5128
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Mar 2005 01:43:43 +0000 (01:43 +0000)]
removed an unneeded CHECKGLERROR
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5127
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Mar 2005 09:15:59 +0000 (09:15 +0000)]
fixed backwards bumps in r_shadow_glsl 1 mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5126
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Mar 2005 08:22:05 +0000 (08:22 +0000)]
implemented tag attachments on skeletal .zym models and centralized the code dealing with tags in model_alias.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5125
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 25 Mar 2005 11:35:48 +0000 (11:35 +0000)]
added comments to the bloom code in R_BlendView to try to explain how it works
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5124
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 24 Mar 2005 14:49:39 +0000 (14:49 +0000)]
rearranged stale worldmodel removal a bit so that trying to load a level that doesn't exist doesn't mess up things on a server due to a partial reload
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5123
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 24 Mar 2005 14:48:06 +0000 (14:48 +0000)]
fixed skybox texture leak on level changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5122
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 23 Mar 2005 07:10:17 +0000 (07:10 +0000)]
disabled item bobbing by default
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5121
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 23 Mar 2005 00:16:28 +0000 (00:16 +0000)]
view_ofs now affects intermission cameras, mods usually set view_ofs to '0 0 0' when going to intermission so this won't break anything, but allows Nexuiz to freeze frame the final moment with players still standing where they were
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5120
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 23 Mar 2005 00:15:03 +0000 (00:15 +0000)]
fix decal fading so they really DO disappear eventually now, rather than hogging particle slots for all time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5119
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 20:47:01 +0000 (20:47 +0000)]
fixed two more signed/unsigned mismatches
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5118
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 09:58:21 +0000 (09:58 +0000)]
fix 3 NULL vertex pointer crashes (caused by R_Mesh_State lingering where it shouldn't)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5117
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 09:57:52 +0000 (09:57 +0000)]
fix a bug in R_Mesh_Finish introduced by the unsigned int i fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5116
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 09:14:57 +0000 (09:14 +0000)]
fix two runaway loops caused by unsigned int i
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5115
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 21 Mar 2005 08:44:35 +0000 (08:44 +0000)]
Added Mac OS X support to the makefiles. Note that the client doesn't compile yet since some files are still missing (vid_agl.c mainly)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5114
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Mon, 21 Mar 2005 08:42:59 +0000 (08:42 +0000)]
Moved some particles texture initialization loops in a separate function to work around an optimization bug in Mac OS X's GCC
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5113
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 04:23:14 +0000 (04:23 +0000)]
more unsigned (i/j/size variables)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5107
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 04:21:08 +0000 (04:21 +0000)]
less unsigned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5106
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 04:18:57 +0000 (04:18 +0000)]
more unsigned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5105
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 04:17:27 +0000 (04:17 +0000)]
changed ActiveTexture and ClientActiveTexture to take unsigned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5104
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 04:12:59 +0000 (04:12 +0000)]
changed a few things to unsigned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5103
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 02:05:08 +0000 (02:05 +0000)]
surface renderer now does less R_Mesh_State calls, opting instead to change only individual pieces of state
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5102
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 02:03:44 +0000 (02:03 +0000)]
added R_Mesh_ functions for setting individual parts of state, to allow faster state changes in surface renderer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5101
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 02:02:05 +0000 (02:02 +0000)]
added 1f and 4f glTexCoord/glMultiTexCoord function declarations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5100
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 21 Mar 2005 00:52:57 +0000 (00:52 +0000)]
fix PBLEND_MOD in fog
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5099
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 19 Mar 2005 05:45:24 +0000 (05:45 +0000)]
reduced particle struct size (now 32768 particles is 3MB instead of about 3.8MB) by merging/removing some fields (and adding type structs to define rendering properties based on type to save a little space)
removed 11 parameters to particle() function
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5098
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 19 Mar 2005 02:14:11 +0000 (02:14 +0000)]
fix a warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5097
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 19 Mar 2005 02:11:44 +0000 (02:11 +0000)]
made detailtextures check r_detailtextures again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5096
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 19 Mar 2005 02:10:54 +0000 (02:10 +0000)]
added GAME_THEHUNTED
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5095
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Mar 2005 02:04:25 +0000 (02:04 +0000)]
removed r_floatbuildlightmaps cvar and related code (since it was only useful to dlights)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5094
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 18 Mar 2005 01:58:31 +0000 (01:58 +0000)]
got rid of aliasskin/aliaslayer system for rendering models, now uses texture_t like maps do
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5093
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 17 Mar 2005 18:57:45 +0000 (18:57 +0000)]
Well, you might not like this change, but I dont like it the way it is, so
it's up to you to fix it in a convenient way.
I certainly dont want to have my config files and qconsole.log (and possibly
all other files DP creates) in some linux-style .darkplaces folder(!) somewhere
hidden in my CVS home directory.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5092
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 17 Mar 2005 10:17:07 +0000 (10:17 +0000)]
q3 shader parsing now sets more materialflags (such as transparency)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5091
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 17 Mar 2005 07:21:18 +0000 (07:21 +0000)]
removed a lot of renderer cruft (such as 48% of gl_rsurf.c) as a result of the previous commit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5090
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 17 Mar 2005 07:11:41 +0000 (07:11 +0000)]
merged q1bsp and q3bsp surface rendering
disabled MarkLights based dlights (lightmap dlights, etc) because they're just too hard to maintain (broken AGAIN), and the code for them will be removed soon
renamed r_shadow_whitetexture and related textures to r_texture_white and such, and moved them to gl_rmain for more general use
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5089
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 15 Mar 2005 18:42:23 +0000 (18:42 +0000)]
Host_SaveConfig_f now refuses to save if Host_Frame hasn't completed the first frame yet (this means if it crashes during the first frame it won't save a config)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5088
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 15 Mar 2005 18:12:44 +0000 (18:12 +0000)]
Willis updated map list in GAME_TRANSFUSION menus
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5087
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 15 Mar 2005 00:12:19 +0000 (00:12 +0000)]
now searchs LAN for servers (using a broadcast message to port 26000) like Quake did
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5086
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 15 Mar 2005 00:09:07 +0000 (00:09 +0000)]
LHNET now enables broadcast send/receive on any UDP ports it opens
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5085
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 14 Mar 2005 21:16:13 +0000 (21:16 +0000)]
-Beautified a function just for fun (better variable names).
-Added the prvm builtin altstr_ins which inserts a new item into an
altstring.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5084
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 12 Mar 2005 00:48:36 +0000 (00:48 +0000)]
Willis disabled entity filtering based on skill/deathmatch in GAME_TRANSFUSION because it does the filtering in qc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5083
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 12 Mar 2005 00:47:53 +0000 (00:47 +0000)]
Willis changed skill level numbers in GAME_TRANSFUSION menus
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5082
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Fri, 11 Mar 2005 13:13:01 +0000 (13:13 +0000)]
Several fixes related to files opened in write or append mode, and to the ungetc character. Added FS_Purge (discard all buffered data, including the ungetc character)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5081
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 10 Mar 2005 22:11:19 +0000 (22:11 +0000)]
added basematerialflags/currentmaterialflags to texture_t which completely replace the SURF_* flags and SURFRENDER_* flags
eliminated the flags and plane fields from q1bsp surfaces
q1bsp texture_t generation now sets supercontents (eliminating need for the SURF_SOLIDCLIP surface flag)
split R_UpdateTextureInfo into two versions for updating a single texture and updating a whole entity's textures respectively, so transparency rendering can now call R_UpdateTextureInfo instead of having duplicate code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5080
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 10 Mar 2005 03:15:27 +0000 (03:15 +0000)]
disabled O_NONBLOCKING flag on win32
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5079
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Mar 2005 23:42:16 +0000 (23:42 +0000)]
slight code reduction to DrawShadowVolume functions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5078
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Mar 2005 23:41:01 +0000 (23:41 +0000)]
removed some unused code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5077
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Mar 2005 23:04:15 +0000 (23:04 +0000)]
merged some more q3bsp functions, now only loading and LightPoint/TraceBox differ
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5076
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Mar 2005 23:01:19 +0000 (23:01 +0000)]
corrected an error message
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5075
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Mar 2005 17:36:50 +0000 (17:36 +0000)]
cl_capturevideo_raw* modes now use O_NONBLOCKING file access for more performance
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5074
d7cf8633 -e32d-0410-b094-
e92efae38249
molivier [Wed, 9 Mar 2005 13:09:35 +0000 (13:09 +0000)]
Moved audio CD initialization / finalization out of the video code so the CD music doesn't stop playing when doing a vid_restart.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5073
d7cf8633 -e32d-0410-b094-
e92efae38249