From: havoc Date: Sat, 15 Jan 2005 02:23:51 +0000 (+0000) Subject: added saving of particles/nexbeam.tga (commented out like the particles/particlefont... X-Git-Tag: xonotic-v0.1.0preview~5211 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=a288641fdf29a5a3f0004297ec36d91c2e7faf45;p=xonotic%2Fdarkplaces.git added saving of particles/nexbeam.tga (commented out like the particles/particlefont.tga saver is) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4938 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_particles.c b/cl_particles.c index d4c68ae8..3d129b61 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1788,6 +1788,10 @@ static void R_InitParticleTexture (void) } } +#if 0 + Image_WriteTGARGBA ("particles/nexbeam.tga", 64, 64, &data2[0][0][0]); +#endif + particletexture[tex_beam].texture = loadtextureimage(particletexturepool, "particles/nexbeam.tga", 0, 0, false, TEXF_ALPHA | TEXF_PRECACHE); if (!particletexture[tex_beam].texture) particletexture[tex_beam].texture = R_LoadTexture2D(particletexturepool, "nexbeam", 16, 64, &data2[0][0][0], TEXTYPE_RGBA, TEXF_PRECACHE, NULL);