1
0
Fork 0
forked from fte/fteqw

Reverted bigfoot's reversion. Fixing the reason why bigfoot felt a need to revert - an old prototype in the header. This should make sw rendered particles a bit better.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3117 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-02-08 04:34:12 +00:00
parent 1e02645c08
commit c737b31f1b
3 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h"
#include "d_local.h"
#include "r_local.h"
vec3_t r_pright, r_pup, r_ppn;

View file

@ -316,7 +316,7 @@ void SWR_NetGraph (void);
qbyte *SWMod_LeafPVS (model_t *model, mleaf_t *leaf, qbyte *buffer);
void D_DrawSparkTrans (struct particle_s *pparticle, vec3_t src, vec3_t dest, int blendmode);
void D_DrawSparkTrans (vec3_t src, vec3_t dest, float palpha, unsigned int pcolour, blendmode_t blendmode);
void D_Shutdown (void);

View file

@ -688,7 +688,7 @@ void SWR_DrawBeam(entity_t *e)
for (; len>=0; len--)
{
VectorAdd(o1, dir, o2);
D_DrawSparkTrans (o1, o2, 1, 0);
D_DrawSparkTrans (o1, o2, 1, 0, BM_BLEND);
VectorCopy(o2, o1);
}
}