Home
last modified time | relevance | path

Searched refs:particle_list (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp55 particle *particle_list; member in NWindowScreen
253 free(particle_list); in ScreenConnected()
288 particle_list = (particle *)malloc(sizeof(particle)*particle_count); in MyCode()
291particle_list[i].init_velocity = -((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max)*3.33… in MyCode()
292particle_list[i].gravity = -(((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max))*0.599; /… in MyCode()
295 particle_list[i].lx = 0; in MyCode()
296 particle_list[i].ly = 0; in MyCode()
297 particle_list[i].last_draw = INVALID; in MyCode()
298 particle_list[i].timeval = random() & 64; in MyCode()
299 particle_list[i].x = 0; // this gets figured out at drawtime in MyCode()
[all …]