I'm guessing lines 53/4 are these:



int x4 = x - dx / 2;
int y4 = y - dy / 2;


The compiler message is saying that it has no clue what the variables dx and dy. Possible reasons are that...