mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-25 19:43:22 +00:00
Challenges Chao Key usage: Eggman numbers to REALLY drive home that you have to hold the button, and that you can release it early
This commit is contained in:
parent
19e73f4fe3
commit
9a35a39f5d
3 changed files with 7 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ static patch_t *kp_localtag[4][2];
|
|||
static patch_t *kp_talk;
|
||||
static patch_t *kp_typdot;
|
||||
|
||||
static patch_t *kp_eggnum[6];
|
||||
patch_t *kp_eggnum[6];
|
||||
|
||||
static patch_t *kp_flameshieldmeter[FLAMESHIELD_MAX][2];
|
||||
static patch_t *kp_flameshieldmeter_bg[FLAMESHIELD_MAX][2];
|
||||
|
|
|
|||
|
|
@ -75,6 +75,8 @@ extern patch_t *kp_button_down[2];
|
|||
extern patch_t *kp_button_right[2];
|
||||
extern patch_t *kp_button_left[2];
|
||||
|
||||
extern patch_t *kp_eggnum[6];
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5988,6 +5988,10 @@ challengedesc:
|
|||
|
||||
keyholdrotation = 360 * ((challengesmenu.chaokeyhold - CHAOHOLD_BEGIN))
|
||||
* (FRACUNIT/(CHAOHOLD_MAX - (CHAOHOLD_BEGIN + CHAOHOLD_END)));
|
||||
|
||||
INT32 time = 3 - (keyholdrotation - 1) / (90 * FRACUNIT);
|
||||
if (time <= 5 && time >= 0)
|
||||
V_DrawScaledPatch(selectx + 2, selecty - 2, 0, kp_eggnum[time]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue