mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 12:44:55 -04:00
revision of events
This commit is contained in:
parent
858c4384e8
commit
669f72908e
33 changed files with 661 additions and 382 deletions
10
game/menu.c
10
game/menu.c
|
@ -365,9 +365,8 @@ int enter_menu(char open)
|
|||
|
||||
char *get_next_title(signed char control,char *filename)
|
||||
{
|
||||
/*
|
||||
static TMPFILE_RD *titles=NULL;
|
||||
static ENCFILE fl;
|
||||
|
||||
static TMPFILE_RD *titles=NULL;
|
||||
static char buffer[81];
|
||||
char *path,*c;
|
||||
|
||||
|
@ -389,13 +388,12 @@ char *get_next_title(signed char control,char *filename)
|
|||
}
|
||||
}
|
||||
return (char *)titles;
|
||||
case 0:if (titles!=NULL)fgets(buffer,80,titles);
|
||||
case 0:if (titles!=NULL)temp_storage_gets(buffer,80,titles);
|
||||
c=strchr(buffer,'\n');if (c!=NULL) *c=0;
|
||||
return buffer;
|
||||
case -1:if (titles!=NULL)enc_close(&fl);
|
||||
case -1:if (titles!=NULL)enc_close(titles);
|
||||
break;
|
||||
}
|
||||
*/
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue