*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@523 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-07 16:52:19 +00:00
parent f979b55869
commit b26846df05
4 changed files with 37 additions and 14 deletions
+2 -2
View File
@@ -58,10 +58,10 @@ void render_particles(int time)
glBlendFunc(GL_SRC_ALPHA, GL_SRC_ALPHA);
glDisable(GL_FOG);
static Texture *parttex[4] = {NULL, NULL, NULL, NULL};
static Texture *parttex[2] = {NULL, NULL};
if(!parttex[0]) parttex[0] = textureload("packages/misc/base.png");
if(!parttex[1]) parttex[1] = textureload("packages/misc/smoke.png");
struct parttype { float r, g, b; int gr, tex; float sz; } parttypes[] =
static struct parttype { float r, g, b; int gr, tex; float sz; } parttypes[] =
{
{ 0.2f, 0.2f, 0.2f, 2, 0, 0.06f }, // yellow: sparks
{ 0.5f, 0.5f, 0.5f, 20, 1, 0.15f }, // grey: small smoke