X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_head.c;h=e56baa94bc86fb44c4efc521450b67d872afef18;hb=fb97121f7d0be4408d8e2ed98a2f7b10b852a915;hp=69f69db2c06d757abd653fcc690895f74cc2fd4b;hpb=0c47a862860b6ae769429092860ecd9ae1591ba9;p=16.git diff --git a/src/lib/16_head.c b/src/lib/16_head.c index 69f69db2..e56baa94 100755 --- a/src/lib/16_head.c +++ b/src/lib/16_head.c @@ -22,22 +22,6 @@ #include "src/lib/16_head.h" -/* Function: Wait ********************************************************** -* -* Parameters: wait - time in microseconds -* -* Description: pauses for a specified number of microseconds. -* -*/ -void wait(clock_t wait){ - clock_t goal; - - if(!wait) return; - - goal = wait + clock(); - while((goal > clock()) && !kbhit()) ; -} /* End of wait */ - long int filesize(FILE *fp) { @@ -94,7 +78,7 @@ US_CheckParm(char *parm,char **strings) } return(-1); } - +#ifdef __BORLANDC__ //=========================================================================== /* @@ -131,9 +115,11 @@ void Quit (char *error) if (error && *error) { - movedata ((unsigned)screen,7,0xb800,0,7*160); + //movedata ((unsigned)screen,7,0xb800,0,7*160); //gotoxy (10,4); + printf("\n"); puts(error); + printf("\n"); //gotoxy (1,8); exit(1); } @@ -156,7 +142,7 @@ void Quit (char *error) } //=========================================================================== - +#endif byte dirchar(byte in) {