if you edit a .h file, expect more to be recompiled, since anything that includes it needs to be recompiled. Things like Simulation.h and config.h are included by a ton. If you edit something like GOLD.cpp or Simulation.cpp, then only that one will need to be recompiled.
@greymatter(View Post) parts[i] usually contains info on the particle being updated. So parts[i].life is the life value of the current particle. parts[r>>8] usually contains info on a surrounding particle. Many particles do a search loop around them where r is set to pmap[y+ry][x+rx], and it can check things like if (parts[r>>8].type == PT_FIRE) { //react } inside Also you can use (r&0xFF) to get the type instead of using parts[r>>8].type. Make sure to have the parenthesis.
@xetalim(View Post) Nope.. @mniip(View Post) What you said is the meaning of parts[i] and parts[r>>8], which i knew. I asked the function difference between them.