mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
- Spawns on player when they use their first power-up - Lasts as long as player has any power-up - A hexagon of animated, additive, fullbright papersprites surround and move with the player, takes player's angle
20 lines
435 B
C
20 lines
435 B
C
#ifndef __K_POWERUP__
|
|
#define __K_POWERUP__
|
|
|
|
#include "doomtype.h"
|
|
#include "d_player.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
tic_t K_PowerUpRemaining(const player_t *player, kartitems_t powerup);
|
|
boolean K_AnyPowerUpRemaining(const player_t *player);
|
|
void K_GivePowerUp(player_t *player, kartitems_t powerup, tic_t timer);
|
|
void K_DropPowerUps(player_t *player);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // __K_POWERUP__
|