Mercurial > hg > early-roguelike
diff rogue4/rogue.h @ 279:d3968e9cb98d
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.
author | John "Elwin" Edwards |
---|---|
date | Fri, 15 Sep 2017 19:57:54 -0400 |
parents | 2dcf10d45d5b |
children | e52a8a7ad4c5 |
line wrap: on
line diff
--- a/rogue4/rogue.h Sun Sep 10 17:30:13 2017 -0400 +++ b/rogue4/rogue.h Fri Sep 15 19:57:54 2017 -0400 @@ -514,7 +514,7 @@ 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);