X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flib%2F16_head.c;h=7c25afa5126fc50add3dc1c8ff34c5f8b7217c73;hb=7c35eb648613504ac47e5605d79f93112f569134;hp=027693d501664062130bc257985efb7fb0ae715d;hpb=2accbf2668001e82a8fec1e75f37c195996186b0;p=16.git diff --git a/src/lib/16_head.c b/src/lib/16_head.c index 027693d5..7c25afa5 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) { @@ -95,68 +79,6 @@ US_CheckParm(char *parm,char **strings) return(-1); } -/* -========================== -= -= Quit -= -========================== -*/ - -/*void Quit(char *error, ...) -{ - short exit_code=0; - unsigned finscreen; - - va_list ap; - - va_start(ap,error); - -#ifndef CATALOG - if (!error) - { - CA_SetAllPurge (); - CA_CacheGrChunk (PIRACY); - finscreen = (unsigned)grsegs[PIRACY]; - } -#endif - - //ShutdownId (); - - if (error && *error) - { - vprintf(error,ap); - exit_code = 1; - } -#ifndef CATALOG - else - if (!NoWait) - { - movedata (finscreen,0,0xb800,0,4000); - bioskey (0); - } -#endif - - va_end(ap); - -#ifndef CATALOG - if (!error) - { - _argc = 2; - _argv[1] = "LAST.SHL"; - _argv[2] = "ENDSCN.SCN"; - _argv[3] = NULL; - if (execv("LOADSCN.EXE", _argv) == -1) - { - clrscr(); - puts("Couldn't find executable LOADSCN.EXE.\n"); - exit(1); - } - } -#endif - - exit(exit_code); -}*/ byte dirchar(byte in) {