#include int update_CONV(UPDATE_FUNC_ARGS) { int r, rx, ry; if (parts[i].ctype<=0 || parts[i].ctype>=PT_NUM || (parts[i].ctype==PT_LIFE && (parts[i].tmp<0 || parts[i].tmp>=NGOLALT))) { for (rx=-1; rx<2; rx++) for (ry=-1; ry<2; ry++) if (x+rx>=0 && y+ry>=0 && x+rx>8].ctype; } } } else if(parts[i].ctype>0 && parts[i].ctype=0 && y+ry>=0 && x+rx>8, x+rx, y+ry, parts[i].ctype|(parts[i].tmp<<8)); else create_part(r>>8, x+rx, y+ry, parts[i].ctype); } } } return 0; }