variatka[0]=variatka[0]+1;// counter of actors i moved earlier
obszar[1+variatka[0]]=actors[i].x; // remember position x of moved actor
obszar[2+variatka[0]]=actors[i].y; // remember position y of moved actor
strcpy (varatekst[variatka[0]],actors[i].name);// remember name of moved actor
is it correct?