Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
278:c222f9d56776 | 279:d3968e9cb98d |
---|---|
1298 void dust_appear(void); | 1298 void dust_appear(void); |
1299 void eat(void); | 1299 void eat(void); |
1300 void eat_gold(struct object *obj); | 1300 void eat_gold(struct object *obj); |
1301 int effect(struct thing *att, struct thing *def, struct object *weap, | 1301 int effect(struct thing *att, struct thing *def, struct object *weap, |
1302 bool thrown, bool see_att, bool see_def); | 1302 bool thrown, bool see_att, bool see_def); |
1303 long encread(char *start, unsigned long size, int inf); | 1303 long encread(char *start, unsigned long size, FILE *inf); |
1304 long encwrite(char *start, unsigned long size, FILE *outf); | 1304 long encwrite(char *start, unsigned long size, FILE *outf); |
1305 void endit(int sig); | 1305 void endit(int sig); |
1306 void endmsg(void); | 1306 void endmsg(void); |
1307 void exit_game(int flag); | 1307 void exit_game(int flag); |
1308 void explode(struct thing *tp); | 1308 void explode(struct thing *tp); |