Use C stdio functions for score files and save files.
Switching from Unix file descriptor operations to C standard FILE* functions will reduce portability problems.
This commit is contained in:
parent
f8d1f422c8
commit
c661fd79d4
33 changed files with 426 additions and 439 deletions
|
|
@ -514,7 +514,7 @@ void door_open(struct room *rp);
|
|||
void drop(void);
|
||||
bool dropcheck(THING *op);
|
||||
void eat(void);
|
||||
int encread(void *starta, int size, int inf);
|
||||
int encread(void *starta, int size, FILE *inf);
|
||||
void encwrite(void *starta, int size, FILE *outf);
|
||||
void end_line(void);
|
||||
void endmsg(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue