Mercurial > hg > early-roguelike
comparison srogue/rip.c @ 43:24e6beb9e7aa
Make sure the score list appears in all situations.
author | elwin |
---|---|
date | Tue, 07 Dec 2010 16:46:07 +0000 |
parents | 5ea4a4d8f961 |
children | bb9f7d01e09c |
comparison
equal
deleted
inserted
replaced
42:30fb47f21d35 | 43:24e6beb9e7aa |
---|---|
84 mvaddstr(18, 32, prbuf); | 84 mvaddstr(18, 32, prbuf); |
85 move(LINES-1, 0); | 85 move(LINES-1, 0); |
86 refresh(); | 86 refresh(); |
87 writelog(purse, KILLED, monst); | 87 writelog(purse, KILLED, monst); |
88 score(purse, KILLED, monst); | 88 score(purse, KILLED, monst); |
89 printf("[Press return to exit]\n"); | |
90 fflush(NULL); | |
91 getchar(); | |
89 byebye(0); | 92 byebye(0); |
90 } | 93 } |
91 | 94 |
92 /* | 95 /* |
93 * top ten entry structure | 96 * top ten entry structure |
338 clear(); | 341 clear(); |
339 oldpurse = purse; | 342 oldpurse = purse; |
340 showpack(TRUE, NULL); | 343 showpack(TRUE, NULL); |
341 writelog(purse, WINNER, 0); | 344 writelog(purse, WINNER, 0); |
342 score(purse, WINNER, 0); | 345 score(purse, WINNER, 0); |
346 printf("[Press return to exit]\n"); | |
347 fflush(NULL); | |
348 getchar(); | |
343 byebye(0); | 349 byebye(0); |
344 } | 350 } |
345 | 351 |
346 /* | 352 /* |
347 * showpack: | 353 * showpack: |