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.
This commit is contained in:
parent
a6c73eb65a
commit
090622896b
2 changed files with 12 additions and 10 deletions
|
|
@ -484,6 +484,7 @@ void _attach(THING **list, THING *item);
|
|||
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 @@ bool dropcheck(THING *op);
|
|||
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)());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue