More conflict. Change log to writelog.

This commit is contained in:
John "Elwin" Edwards 2009-11-10 23:46:48 +00:00
parent 70a8187173
commit acb1a4fce9
3 changed files with 5 additions and 5 deletions

View file

@ -338,7 +338,7 @@ quit(int p)
move(LINES-1, 0);
draw(stdscr);
endwin();
log(purse, 1, 0);
writelog(purse, 1, 0);
score(purse, 1, 0);
exit(0);
}

View file

@ -77,7 +77,7 @@ death(int monst)
mvaddstr(18, 26, prbuf);
move(LINES-1, 0);
draw(stdscr);
log(purse, 0, monst);
writelog(purse, 0, monst);
score(purse, 0, monst);
/* Make sure all the output gets through ssh and
anything else that might be in the way. */
@ -314,7 +314,7 @@ score(int amount, int flags, int monst)
fclose(outf);
}
void log(int amount, int flags, int monst)
void writelog(int amount, int flags, int monst)
{
char logmessage[160], ltemp[80];
char *killer;
@ -473,7 +473,7 @@ total_winner()
}
mvprintw(c - 'a' + 1, 0," %5d Gold Peices ", oldpurse);
refresh();
log(purse, 2, 0);
writelog(purse, 2, 0);
score(purse, 2, 0);
exit(0);
}

View file

@ -598,7 +598,6 @@ void killed(struct linked_list *item, int pr);
char * killname(int monst);
void lengthen(void (*func)(), int xtime);
void light(coord *cp);
void log(int amount, int flags, int monst);
void look(int wakeup);
void miss(char *er, char *ee);
void missile(int ydelta, int xdelta);
@ -686,3 +685,4 @@ void waste_time(void);
void wear(void);
void whatis(void);
void wield(void);
void writelog(int amount, int flags, int monst);