st->particles[i].ydir = (-st->particles[i].ydir >> 2) - (random() % 2);
st->particles[i].colorindex = st->iColorCount;
}
st->particles[i].ydir = (-st->particles[i].ydir >> 2) - (random() % 2);
st->particles[i].colorindex = st->iColorCount;
}
st->fire[st->particles[i].ypos][st->particles[i].xpos] = st->particles[i].colorindex;
st->fire[st->particles[i].ypos][st->particles[i].xpos - 1] = st->particles[i].colorindex;
st->fire[st->particles[i].ypos + 1][st->particles[i].xpos] = st->particles[i].colorindex;
st->fire[st->particles[i].ypos][st->particles[i].xpos] = st->particles[i].colorindex;
st->fire[st->particles[i].ypos][st->particles[i].xpos - 1] = st->particles[i].colorindex;
st->fire[st->particles[i].ypos + 1][st->particles[i].xpos] = st->particles[i].colorindex;
/* Create the Image for drawing */
XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
/* Create the Image for drawing */
XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
st->delay = get_integer_resource(st->dpy, "delay", "Integer" );
st->cycles = get_integer_resource(st->dpy, "cycles", "Integer" );
st->delay = get_integer_resource(st->dpy, "delay", "Integer" );
st->cycles = get_integer_resource(st->dpy, "cycles", "Integer" );