Mercurial > hg > early-roguelike
comparison xrogue/rip.c @ 146:5a77931393f4
xrogue: add an exit prompt.
This gives the player a chance to see the high score list when playing
via dgamelaunch.
| author | John "Elwin" Edwards |
|---|---|
| date | Wed, 20 May 2015 12:51:16 -0400 |
| parents | 7faf4568c295 |
| children | f54901b9c39b |
comparison
equal
deleted
inserted
replaced
| 145:aac28331e71d | 146:5a77931393f4 |
|---|---|
| 552 } | 552 } |
| 553 } | 553 } |
| 554 else printf("\n"); | 554 else printf("\n"); |
| 555 } | 555 } |
| 556 } | 556 } |
| 557 if (flags != SCOREIT) | |
| 558 { | |
| 559 printf("\n[Press return to exit]"); | |
| 560 fflush(stdout); | |
| 561 fgets(prbuf,80,stdin); | |
| 562 } | |
| 557 /* if (prflags == EDITSCORE) endwin();*/ /* End editing windowing */ | 563 /* if (prflags == EDITSCORE) endwin();*/ /* End editing windowing */ |
| 558 } | 564 } |
| 559 fseek(outf, 0L, SEEK_SET); | 565 fseek(outf, 0L, SEEK_SET); |
| 560 | 566 |
| 561 if (flags != SCOREIT) | 567 if (flags != SCOREIT) |
