X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rip.c;h=e7c8edb4cdf52c7ec961f19c0cc4de5a1129ee8c;hp=1e2250d01db3daf78246dbe2746ef85133f86c02;hb=e72b287ac5cdb287c541bdc052d13823afe4930d;hpb=93bb426202ba92c389aae65c0c8ab6eb3d325eae diff --git a/rip.c b/rip.c index 1e2250d..e7c8edb 100644 --- a/rip.c +++ b/rip.c @@ -38,8 +38,6 @@ static char *rip[] = { 0 }; -char *killname(); - /* * death: * Do something really fun when he dies @@ -103,7 +101,7 @@ char monst; "killed", "quit", "A total loner", - "left for a date", + "left for a cuddle", "got the amulet and left" }; char scoreline[100]; @@ -118,7 +116,7 @@ char monst; strcpy(score_file, md_getroguedir()); if (*score_file) - strcat(score_file,"\\"); + strcat(score_file,"/"); strcat(score_file, "rogue36.scr"); @@ -211,6 +209,15 @@ char monst; putchar('n'); printf(" %s", killer); } + else if (scp->sc_flags >= 3) + { + printf(" with a"); + killer = killname(scp->sc_monster); + if (*killer == 'a' || *killer == 'e' || *killer == 'i' || + *killer == 'o' || *killer == 'u') + putchar('n'); + printf(" %s", killer); + } if (prflags == 1) { printf(" (%s)", scp->sc_login); @@ -233,15 +240,6 @@ char monst; scp--; } } - else if (prflags >= 3) - { - printf(" with a"); - killer = killname(scp->sc_monster); - if (*killer == 'a' || *killer == 'e' || *killer == 'i' || - *killer == 'o' || *killer == 'u') - putchar('n'); - printf(" %s", killer); - } else printf(".\n"); } @@ -268,10 +266,9 @@ total_loner(monster) char monster; { clear(); - standout(); addstr(" \n"); addstr(" You escaped from the caverns, but alone. \n"); - standend(); + addstr(" \n"); addstr("\nYou have joined the elite ranks of those who have escaped the\n"); addstr("Cavern of Cuties alive, but failed to meet anyone while there.\n"); addstr("You journey home and sell all your loot at a great profit and\n"); @@ -283,10 +280,11 @@ total_winner(monster) char monster; { clear(); - standout(); addstr(" \n"); addstr(" You got the amulet and a hot date. \n"); - standend(); + addstr(" \n"); + addstr(" @ <3 "); + addch(monster); total_something(4, monster); } @@ -294,10 +292,11 @@ mostly_winner(monster) char monster; { clear(); - standout(); addstr(" \n"); addstr(" You got a hot date. \n"); - standend(); + addstr(" \n"); + addstr(" @ <3 "); + addch(monster); total_something(3, monster); } @@ -313,7 +312,7 @@ char monster; mvaddstr(LINES - 1, 0, "--Press space to continue--"); refresh(); - wait_for(' '); + wait_for(cw, ' '); clear(); mvaddstr(0, 0, " Worth Item"); oldpurse = purse;