mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
- Rename to Lightning Shield (it keeps fucking me up when I want to kartgiveitem it to myself) - Fix inflictors causing damage being considered damage hitlag. Fixes the player using Lightning Shield being in damage hitlag state (most notable in the DI branch because hurting someone with it lets you DI afterwards, which also fucks with your turning) - Rewrote attack function to use custom blockmap search instead of P_NukeEnemies. - It can no longer attack below you, only above & around you. - Increased the attack radius, so that it actually lines up with the sprites... - Fixed extremely inconsistent ring blockmap search by moving it to playerafterthink (don't ask me why) - Rings get joulsted by Lightning Shield when you pass by them without - Added MAXRADIUS to the blockmap checks for lightning shield & mines, to reduce blockmap inconsistencies
32 lines
913 B
C
32 lines
913 B
C
#ifndef __K_COLLIDE__
|
|
#define __K_COLLIDE__
|
|
|
|
#include "doomtype.h"
|
|
#include "p_mobj.h"
|
|
|
|
angle_t K_GetCollideAngle(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_OrbinautJawzCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_BananaBallhogCollide(mobj_t *t1, mobj_t *t2);
|
|
boolean K_EggItemCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
void K_DoMineSearch(mobj_t *actor, fixed_t size);
|
|
void K_MineExplodeAttack(mobj_t *actor, fixed_t size, boolean spin);
|
|
boolean K_MineCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_LandMineCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_DropTargetCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
void K_LightningShieldAttack(mobj_t *actor, fixed_t size);
|
|
boolean K_BubbleShieldCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_KitchenSinkCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_FallingRockCollide(mobj_t *t1, mobj_t *t2);
|
|
boolean K_SMKIceBlockCollide(mobj_t *t1, mobj_t *t2);
|
|
|
|
boolean K_PvPTouchDamage(mobj_t *t1, mobj_t *t2);
|
|
|
|
#endif
|