Mercurial > hg > early-roguelike
diff xrogue/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 | 3d4252fa2ed3 |
children | 17005af49963 |
line wrap: on
line diff
--- a/xrogue/rogue.h Sun Sep 10 17:30:13 2017 -0400 +++ b/xrogue/rogue.h Fri Sep 15 19:57:54 2017 -0400 @@ -1300,7 +1300,7 @@ void eat_gold(struct object *obj); int effect(struct thing *att, struct thing *def, struct object *weap, bool thrown, bool see_att, bool see_def); -long encread(char *start, unsigned long size, int inf); +long encread(char *start, unsigned long size, FILE *inf); long encwrite(char *start, unsigned long size, FILE *outf); void endit(int sig); void endmsg(void);