mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
The conversion rate for Rounds to Keys is now 32:1 per popular consensus
This commit is contained in:
parent
911588a5fe
commit
5ac1854b1b
2 changed files with 10 additions and 8 deletions
|
|
@ -5919,16 +5919,22 @@ static void M_DrawChallengeKeys(INT32 tilex, INT32 tiley)
|
|||
|
||||
// Metyr of rounds played that contribute to Chao Key generation
|
||||
{
|
||||
const INT32 keybarlen = 36, keybary = 28;
|
||||
const INT32 keybarlen = 32, keybary = 28;
|
||||
|
||||
offs = keybarlen;
|
||||
if (gamedata->chaokeys < GDMAX_CHAOKEYS)
|
||||
{
|
||||
#if (GDCONVERT_ROUNDSTOKEY != 32)
|
||||
offs = ((gamedata->pendingkeyroundoffset * keybarlen)/GDCONVERT_ROUNDSTOKEY);
|
||||
#else
|
||||
offs = gamedata->pendingkeyroundoffset;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (offs > 0)
|
||||
V_DrawFill(1, keybary, offs, 1, 0);
|
||||
V_DrawFill(1+2, keybary, offs, 1, 0);
|
||||
if (offs < keybarlen)
|
||||
V_DrawFadeFill(1+offs, keybary, keybarlen-offs, 1, 0, 31, challengetransparentstrength);
|
||||
V_DrawFadeFill(1+2+offs, keybary, keybarlen-offs, 1, 0, 31, challengetransparentstrength);
|
||||
}
|
||||
|
||||
// Counter
|
||||
|
|
|
|||
|
|
@ -240,11 +240,7 @@ typedef enum {
|
|||
#define GDMAX_RINGS 999999999
|
||||
#define GDMAX_CHAOKEYS 9999
|
||||
|
||||
#ifdef DEVELOP
|
||||
#define GDCONVERT_ROUNDSTOKEY 20
|
||||
#else
|
||||
#define GDCONVERT_ROUNDSTOKEY 50
|
||||
#endif
|
||||
#define GDCONVERT_ROUNDSTOKEY 32
|
||||
|
||||
typedef enum {
|
||||
GDGT_RACE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue