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
|
|
|
|
|
2017-11-28 21:57:38 +00:00
|
|
|
UINT8 colortranslations[MAXSKINCOLORS][16];
|
2016-08-12 01:42:11 +00:00
|
|
|
extern const char *KartColor_Names[MAXSKINCOLORS];
|
2017-11-21 07:23:06 +00:00
|
|
|
void K_StarmanColormap(UINT8 *dest_colormap, UINT8 skincolor);
|
2016-08-12 01:42:11 +00:00
|
|
|
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
|
|
|
|
2017-11-03 01:40:06 +00:00
|
|
|
UINT8 K_GetKartCC(void);
|
2017-11-04 13:19:06 +00:00
|
|
|
void K_KartBouncing(mobj_t *mobj1, mobj_t *mobj2, boolean bounce);
|
2017-11-21 07:23:06 +00:00
|
|
|
void K_LakituChecker(player_t *player);
|
2017-11-04 17:32:47 +00:00
|
|
|
void K_KartMoveAnimation(player_t *player);
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_KartPlayerThink(player_t *player, ticcmd_t *cmd);
|
2017-02-07 22:19:04 +00:00
|
|
|
void K_SpinPlayer(player_t *player, mobj_t *source);
|
|
|
|
void K_SquishPlayer(player_t *player, mobj_t *source);
|
|
|
|
void K_ExplodePlayer(player_t *player, mobj_t *source);
|
2017-11-20 00:39:40 +00:00
|
|
|
void K_StealBalloon(player_t *player, player_t *victim, boolean force);
|
2017-11-05 17:15:19 +00:00
|
|
|
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, mobj_t *source);
|
2016-11-21 04:23:00 +00:00
|
|
|
void K_SpawnDriftTrail(player_t *player);
|
2017-10-25 01:47:24 +00:00
|
|
|
void K_DoMushroom(player_t *player, boolean doPFlag, boolean startboost);
|
2017-11-19 07:37:28 +00:00
|
|
|
void K_DoBouncePad(mobj_t *mo, fixed_t vertispeed);
|
2017-11-11 03:28:20 +00:00
|
|
|
boolean K_CheckPlayersRespawnColliding(INT32 playernum, fixed_t x, fixed_t y);
|
2017-03-07 01:05:18 +00:00
|
|
|
INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue);
|
2017-03-10 02:22:49 +00:00
|
|
|
void K_MomentumToFacing(player_t *player);
|
2017-02-24 01:36:43 +00:00
|
|
|
fixed_t K_GetKartSpeed(player_t *player, boolean doboostpower);
|
2017-11-17 05:48:36 +00:00
|
|
|
fixed_t K_GetKartAccel(player_t *player);
|
2017-11-21 07:23:06 +00:00
|
|
|
UINT16 K_GetKartFlashing(void);
|
2017-04-20 01:04:44 +00:00
|
|
|
fixed_t K_3dKartMovement(player_t *player, boolean onground, fixed_t forwardmove);
|
2017-03-07 01:05:18 +00:00
|
|
|
void K_MoveKartPlayer(player_t *player, boolean onground);
|
2017-10-22 07:06:35 +00:00
|
|
|
void K_CheckBalloons(void);
|
2016-08-12 01:42:11 +00:00
|
|
|
|
2017-12-25 15:05:36 +00:00
|
|
|
INT32 K_calcSplitFlags(INT32 snapflags);
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_LoadKartHUDGraphics(void);
|
2017-11-21 07:23:06 +00:00
|
|
|
fixed_t K_FindCheckX(fixed_t px, fixed_t py, angle_t ang, fixed_t mx, fixed_t my);
|
2016-08-15 03:51:08 +00:00
|
|
|
void K_drawKartHUD(void);
|
2017-12-19 00:07:38 +00:00
|
|
|
void K_LoadIconGraphics(char *facestr, INT32 skinnum);
|
2017-12-24 00:14:06 +00:00
|
|
|
void K_ReloadSkinIconGraphics(void);
|
2016-08-12 01:42:11 +00:00
|
|
|
|
|
|
|
// =========================================================================
|
|
|
|
#endif // __K_KART__
|