These are just simple typos which should be fixed... Actually the 'tv' one is fixed, you can update your source for that. EDIT i will just post the fix anyway, one sec. a few lines above 644, there are two definitions of the function, make sure they both have 'tv' at the end and not 't' inline int create_part(int p, int x, int y, int tv)
The old_vid is a simple fix as well, move this line (3313) pixel *old_vid=(pixel *)calloc((XRES+BARSIZE)*(YRES+MENUSIZE), PIXELSIZE);
up a line or two, so it looks something like this instead. pixel *old_vid=(pixel *)calloc((XRES+BARSIZE)*(YRES+MENUSIZE), PIXELSIZE); viewcountbuffer[0] = 0;