mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
In DEVELOP builds, you can force a particular evaluation by setting cv_soundtest to the numerical equivalent of the evaluationtype_t you're looking for
Replaces the previously uncommited recompilation-based hacks the author of this commit was using to test the previous ones on this branch - 1 is Nothing - 2 is Chaos Emerald - 3 is Super Emerald - 4 is Perfect - 5, 6, 7, etc currently repeat
This commit is contained in:
parent
4e81f341f7
commit
9e816216a5
1 changed files with 13 additions and 2 deletions
|
|
@ -890,7 +890,8 @@ typedef enum
|
|||
EVAL_NOTHING,
|
||||
EVAL_CHAOS,
|
||||
EVAL_SUPER,
|
||||
EVAL_PERFECT
|
||||
EVAL_PERFECT,
|
||||
EVAL_MAX
|
||||
} evaluationtype_t;
|
||||
|
||||
static evaluationtype_t evaluationtype;
|
||||
|
|
@ -899,7 +900,12 @@ UINT16 finaleemeralds = 0;
|
|||
void F_StartGameEvaluation(void)
|
||||
{
|
||||
// Credits option in extras menu
|
||||
if (grandprixinfo.gp == false)
|
||||
if (
|
||||
grandprixinfo.gp == false
|
||||
#ifdef DEVELOP
|
||||
&& cv_soundtest.value == 0
|
||||
#endif
|
||||
)
|
||||
{
|
||||
S_FadeMusic(0, MUSICRATE/4);
|
||||
F_StartGameEnd();
|
||||
|
|
@ -925,6 +931,11 @@ void F_StartGameEvaluation(void)
|
|||
|
||||
finaleemeralds = M_CheckCupEmeralds(difficulty);
|
||||
|
||||
#ifdef DEVELOP
|
||||
if (cv_soundtest.value != 0)
|
||||
evaluationtype = (cv_soundtest.value-1) % EVAL_MAX;
|
||||
else
|
||||
#endif
|
||||
if (difficulty == KARTSPEED_EASY)
|
||||
evaluationtype = EVAL_NOTHING;
|
||||
else if (!ALLCHAOSEMERALDS(finaleemeralds))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue