2016-08-12 01:42:11 +00:00
|
|
|
// SONIC ROBO BLAST 2 KART ~ ZarroTsu
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file k_kart.h
|
|
|
|
/// \brief SRB2kart stuff.
|
|
|
|
|
|
|
|
#ifndef __K_KART__
|
|
|
|
#define __K_KART__
|
|
|
|
|
2016-08-15 03:51:08 +00:00
|
|
|
#include "doomdef.h"
|
|
|
|
#include "d_player.h" // Need for player_t
|
|
|
|
|
2016-08-12 01:42:11 +00:00
|
|
|
extern const char *KartColor_Names[MAXSKINCOLORS];
|
|
|
|
void K_GenerateKartColormap(UINT8 *dest_colormap, INT32 skinnum, UINT8 color);
|
|
|
|
UINT8 K_GetKartColorByName(const char *name);
|
|
|
|
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_RegisterKartStuff(void);
|
2016-08-12 01:42:11 +00:00
|
|
|
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_KartPlayerThink(player_t *player, ticcmd_t *cmd);
|
2016-08-21 02:15:06 +00:00
|
|
|
boolean K_SpinPlayer(player_t *player, mobj_t *source);
|
|
|
|
boolean K_SquishPlayer(player_t *player, mobj_t *source);
|
|
|
|
boolean K_ExplodePlayer(player_t *player, mobj_t *source);
|
|
|
|
void K_SpawnKartExplosion(fixed_t x, fixed_t y, fixed_t z, fixed_t radius, INT32 number, mobjtype_t type, angle_t rotangle, boolean spawncenter, boolean ghostit);
|
|
|
|
void K_MoveKartPlayer(player_t *player, boolean onground);
|
2016-08-12 01:42:11 +00:00
|
|
|
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_LoadKartHUDGraphics(void);
|
|
|
|
void K_drawKartHUD(void);
|
2016-08-12 01:42:11 +00:00
|
|
|
|
|
|
|
// =========================================================================
|
|
|
|
#endif // __K_KART__
|