comparison 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
comparison
equal deleted inserted replaced
278:c222f9d56776 279:d3968e9cb98d
512 void doctor(void); 512 void doctor(void);
513 void door_open(struct room *rp); 513 void door_open(struct room *rp);
514 void drop(void); 514 void drop(void);
515 bool dropcheck(THING *op); 515 bool dropcheck(THING *op);
516 void eat(void); 516 void eat(void);
517 int encread(void *starta, int size, int inf); 517 int encread(void *starta, int size, FILE *inf);
518 void encwrite(void *starta, int size, FILE *outf); 518 void encwrite(void *starta, int size, FILE *outf);
519 void end_line(void); 519 void end_line(void);
520 void endmsg(void); 520 void endmsg(void);
521 void enter_room(coord *cp); 521 void enter_room(coord *cp);
522 void extinguish(void (*func)()); 522 void extinguish(void (*func)());