/* rotate.c */
void rotate_dir(unsigned char *d, int r);
void rotate_coord(int *x, int *y, int d, int cx, int cy);

