Mercurial > hg > early-roguelike
comparison arogue7/rogue.h @ 203:aa8e1fc62926
Advanced Rogue 7: add and use more md_ functions.
md_fileno() and md_fdopen() are now included. I still hope to rewrite
everything to use FILE *'s.
author | John "Elwin" Edwards |
---|---|
date | Thu, 13 Aug 2015 07:38:57 -0400 |
parents | 3e1146666ae5 |
children | f9ef86cf22b2 |
comparison
equal
deleted
inserted
replaced
202:e69128d2e4c5 | 203:aa8e1fc62926 |
---|---|
1301 extern struct delayed_action d_list[MAXDAEMONS]; | 1301 extern struct delayed_action d_list[MAXDAEMONS]; |
1302 extern struct delayed_action f_list[MAXFUSES]; | 1302 extern struct delayed_action f_list[MAXFUSES]; |
1303 extern int demoncnt, fusecnt, between, chance; | 1303 extern int demoncnt, fusecnt, between, chance; |
1304 #define CCHAR(x) ( (char) (x & A_CHARTEXT) ) | 1304 #define CCHAR(x) ( (char) (x & A_CHARTEXT) ) |
1305 extern char *md_gethostname(), *md_getusername(), *md_gethomedir(), *md_getroguedir(), *md_crypt(); | 1305 extern char *md_gethostname(), *md_getusername(), *md_gethomedir(), *md_getroguedir(), *md_crypt(); |
1306 extern FILE * md_fdopen(int fd, char *mode); | |
1307 extern int md_fileno(FILE *fp); |