mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
UCRP_PODIUMNOCONTINUES
Fires if no continues have been used (as tracked on the Ceremony Ranking screen)
This commit is contained in:
parent
813ad52b15
commit
edd3e8bbea
3 changed files with 9 additions and 1 deletions
|
|
@ -2891,7 +2891,8 @@ static void readcondition(UINT16 set, UINT32 id, char *word2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((offset=0) || fastcmp(params[0], "PODIUMEMERALD")
|
else if ((offset=0) || fastcmp(params[0], "PODIUMEMERALD")
|
||||||
|| (++offset && fastcmp(params[0], "PODIUMPRIZE")))
|
|| (++offset && fastcmp(params[0], "PODIUMPRIZE"))
|
||||||
|
|| (++offset && fastcmp(params[0], "PODIUMNOCONTINUES")))
|
||||||
{
|
{
|
||||||
//PARAMCHECK(1);
|
//PARAMCHECK(1);
|
||||||
ty = UCRP_PODIUMEMERALD + offset;
|
ty = UCRP_PODIUMEMERALD + offset;
|
||||||
|
|
|
||||||
|
|
@ -1484,6 +1484,10 @@ boolean M_CheckCondition(condition_t *cn, player_t *player)
|
||||||
return (grandprixinfo.gp == true
|
return (grandprixinfo.gp == true
|
||||||
&& K_PodiumRanking() == true
|
&& K_PodiumRanking() == true
|
||||||
&& grandprixinfo.rank.specialWon == true);
|
&& grandprixinfo.rank.specialWon == true);
|
||||||
|
case UCRP_PODIUMNOCONTINUES:
|
||||||
|
return (grandprixinfo.gp == true
|
||||||
|
&& K_PodiumRanking() == true
|
||||||
|
&& grandprixinfo.rank.continuesUsed == 0);
|
||||||
|
|
||||||
case UCRP_FINISHCOOL:
|
case UCRP_FINISHCOOL:
|
||||||
return (player->exiting
|
return (player->exiting
|
||||||
|
|
@ -2335,6 +2339,8 @@ static const char *M_GetConditionString(condition_t *cn)
|
||||||
if (!gamedata->everseenspecial)
|
if (!gamedata->everseenspecial)
|
||||||
return "???";
|
return "???";
|
||||||
return "collect the prize";
|
return "collect the prize";
|
||||||
|
case UCRP_PODIUMNOCONTINUES:
|
||||||
|
return "without using any continues";
|
||||||
|
|
||||||
case UCRP_FINISHCOOL:
|
case UCRP_FINISHCOOL:
|
||||||
return "finish in good standing";
|
return "finish in good standing";
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@ typedef enum
|
||||||
UCRP_PODIUMCUP, // cup == [cup] [optional: >= grade OR place]
|
UCRP_PODIUMCUP, // cup == [cup] [optional: >= grade OR place]
|
||||||
UCRP_PODIUMEMERALD, // Get to podium sequence with that cup's emerald
|
UCRP_PODIUMEMERALD, // Get to podium sequence with that cup's emerald
|
||||||
UCRP_PODIUMPRIZE, // Get to podium sequence with that cup's bonus (alternate string version of UCRP_PODIUMEMERALD
|
UCRP_PODIUMPRIZE, // Get to podium sequence with that cup's bonus (alternate string version of UCRP_PODIUMEMERALD
|
||||||
|
UCRP_PODIUMNOCONTINUES, // Get to podium sequence without any continues
|
||||||
|
|
||||||
UCRP_FINISHCOOL, // Finish in good standing
|
UCRP_FINISHCOOL, // Finish in good standing
|
||||||
UCRP_FINISHPERFECT, // Finish a perfect race
|
UCRP_FINISHPERFECT, // Finish a perfect race
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue