/* *********************************************************************** * * * Program to Remove Discontinuous Zeros From Data * * * * Program by * * Christopher D. Watkins * * * * 'C' conversion by * * Larry Sharp * * * *********************************************************************** */ #include "stdio.h" #include "stdlib.h" #include "dos.h" #include "conio.h" #include "math.h" #include "string.h" #include "math.inc" #include "graph.inc" #include "render.inc" int i, j, a, b, c; Name OF2; void main() { clrscr(); printf("z-Buffer Data correction Program\n\n"); ClearHeightBuffer(); GetObjectFile(); strcpy(OF2, ObjectFile); LoadHeightBuffer(ObjectFile); printf("\nCorrecting Height Buffer\n"); for(j=0; j<=Res; j++) { for(i=1; i