diff rogue4/rogue.h @ 235:2dcf10d45d5b

Rogue V4: add two more function declarations. Though it was called with different numbers of arguments, add_line() does not need to be a variadic function. Making the second argument mandatory is a better solution.
author John "Elwin" Edwards
date Mon, 07 Mar 2016 19:26:08 -0500
parents 0990adf580ee
children d3968e9cb98d
line wrap: on
line diff
--- a/rogue4/rogue.h	Sun Mar 06 21:02:59 2016 -0500
+++ b/rogue4/rogue.h	Mon Mar 07 19:26:08 2016 -0500
@@ -484,6 +484,7 @@
 void    _detach(THING **list, THING *item);
 void    _free_list(THING **ptr);
 bool    add_haste(bool potion);
+void    add_line(char *fmt, char *arg);
 void    add_pack(THING *obj, bool silent);
 void    add_str(str_t *sp, int amt);
 void    addmsg(char *fmt, ...);
@@ -515,6 +516,7 @@
 void    eat(void);
 int     encread(void *starta, int size, int inf);
 void    encwrite(void *starta, int size, FILE *outf);
+void    end_line(void);
 void    endmsg(void);
 void    enter_room(coord *cp);
 void    extinguish(void (*func)());