mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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
|
// Metyr of rounds played that contribute to Chao Key generation
|
||||||
{
|
{
|
||||||
const INT32 keybarlen = 36, keybary = 28;
|
const INT32 keybarlen = 32, keybary = 28;
|
||||||
|
|
||||||
offs = keybarlen;
|
offs = keybarlen;
|
||||||
if (gamedata->chaokeys < GDMAX_CHAOKEYS)
|
if (gamedata->chaokeys < GDMAX_CHAOKEYS)
|
||||||
|
{
|
||||||
|
#if (GDCONVERT_ROUNDSTOKEY != 32)
|
||||||
offs = ((gamedata->pendingkeyroundoffset * keybarlen)/GDCONVERT_ROUNDSTOKEY);
|
offs = ((gamedata->pendingkeyroundoffset * keybarlen)/GDCONVERT_ROUNDSTOKEY);
|
||||||
|
#else
|
||||||
|
offs = gamedata->pendingkeyroundoffset;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
if (offs > 0)
|
if (offs > 0)
|
||||||
V_DrawFill(1, keybary, offs, 1, 0);
|
V_DrawFill(1+2, keybary, offs, 1, 0);
|
||||||
if (offs < keybarlen)
|
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
|
// Counter
|
||||||
|
|
|
||||||
|
|
@ -240,11 +240,7 @@ typedef enum {
|
||||||
#define GDMAX_RINGS 999999999
|
#define GDMAX_RINGS 999999999
|
||||||
#define GDMAX_CHAOKEYS 9999
|
#define GDMAX_CHAOKEYS 9999
|
||||||
|
|
||||||
#ifdef DEVELOP
|
#define GDCONVERT_ROUNDSTOKEY 32
|
||||||
#define GDCONVERT_ROUNDSTOKEY 20
|
|
||||||
#else
|
|
||||||
#define GDCONVERT_ROUNDSTOKEY 50
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GDGT_RACE,
|
GDGT_RACE,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue