Skip to content

Commit

Permalink
Fixed Fencer, LabRat, MadderHatter, Raven, TurtleShell, `Mo…
Browse files Browse the repository at this point in the history
…th`, `Spring`, `Queen`, minor changes
  • Loading branch information
deathkiller committed Jan 26, 2024
1 parent b482484 commit a032e5f
Show file tree
Hide file tree
Showing 131 changed files with 246 additions and 243 deletions.
2 changes: 1 addition & 1 deletion Content/Metadata/UI/HUD.res
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@

"BossHealthBar": {
"Path": "UI/boss_health_bar.aura",
"States": [ 74 ]
"States": [ 75 ]
},

"WeaponWheel": {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/ActorBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace Jazz2::Actors

class ActorBase : public std::enable_shared_from_this<ActorBase>
{
DEATH_RTTI_OBJECT();
DEATH_RUNTIME_OBJECT();

friend class Jazz2::LevelHandler;
#if defined(WITH_MULTIPLAYER)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/AmmoCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Jazz2::Actors::Collectibles
{
class AmmoCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
AmmoCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/CarrotCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class CarrotCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
CarrotCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/CarrotFlyCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class CarrotFlyCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
CarrotFlyCollectible();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class CarrotInvincibleCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
CarrotInvincibleCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/CoinCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class CoinCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
CoinCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/CollectibleBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Jazz2::Actors::Collectibles
{
class CollectibleBase : public ActorBase
{
DEATH_RTTI_OBJECT(ActorBase);
DEATH_RUNTIME_OBJECT(ActorBase);

public:
CollectibleBase();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/FastFireCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class FastFireCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
FastFireCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/FoodCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace Jazz2::Actors::Collectibles

class FoodCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
FoodCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/GemCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class GemCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
GemCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/GemGiant.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class GemGiant : public ActorBase
{
DEATH_RTTI_OBJECT(ActorBase);
DEATH_RUNTIME_OBJECT(ActorBase);

public:
GemGiant();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/GemRing.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class GemRing : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
GemRing();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/OneUpCollectible.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class OneUpCollectible : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
OneUpCollectible();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Collectibles/Stopwatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Collectibles
{
class Stopwatch : public CollectibleBase
{
DEATH_RTTI_OBJECT(CollectibleBase);
DEATH_RUNTIME_OBJECT(CollectibleBase);

public:
Stopwatch();
Expand Down
4 changes: 2 additions & 2 deletions Sources/Jazz2/Actors/Enemies/Bat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ namespace Jazz2::Actors::Enemies
if (length < 2.0f) {
_attacking = false;
MoveInstantly(_originPos, MoveType::Absolute | MoveType::Force);
_speed.X = 0;
_speed.Y = 0;
_speed.X = 0.0f;
_speed.Y = 0.0f;
_noiseCooldown = 210.0f;
SetAnimation(AnimState::Idle);
SetTransition((AnimState)1073741826, false);
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bat.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Bat : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Bat();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bee.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Bee : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Bee();
Expand Down
4 changes: 2 additions & 2 deletions Sources/Jazz2/Actors/Enemies/Bosses/Bilsy.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Bilsy : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Bilsy();
Expand All @@ -27,7 +27,7 @@ namespace Jazz2::Actors::Bosses

class Fireball : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
bool OnHandleCollision(std::shared_ptr<ActorBase> other) override;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Bolly.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Bolly : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Bolly();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/BossBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class BossBase : public Enemies::EnemyBase
{
DEATH_RTTI_OBJECT(Enemies::EnemyBase);
DEATH_RUNTIME_OBJECT(Enemies::EnemyBase);

public:
virtual bool OnActivatedBoss() = 0;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Bubba.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Bubba : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Bubba();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Devan.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Devan : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Devan();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/DevanRemote.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Jazz2::Actors::Bosses
{
class DevanRemote : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
DevanRemote();
Expand Down
3 changes: 2 additions & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Queen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ namespace Jazz2::Actors::Bosses
case StateScreaming: {
auto& players = _levelHandler->GetPlayers();
for (auto player : players) {
player->AddExternalForce(-1.5f * timeMult, 0.0f);
//player->AddExternalForce(-1.5f * timeMult, 0.0f);
player->MoveInstantly(Vector2f(-1.5f * timeMult, 0.0f), MoveType::Relative);
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Queen.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Queen : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Queen();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Robot.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class Robot : public Enemies::EnemyBase
{
DEATH_RTTI_OBJECT(Enemies::EnemyBase);
DEATH_RUNTIME_OBJECT(Enemies::EnemyBase);

public:
Robot();
Expand Down
4 changes: 2 additions & 2 deletions Sources/Jazz2/Actors/Enemies/Bosses/TurtleBoss.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Bosses
{
class TurtleBoss : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
TurtleBoss();
Expand All @@ -31,7 +31,7 @@ namespace Jazz2::Actors::Bosses

class Mace : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
~Mace();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Bosses/Uterus.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Jazz2::Actors::Bosses
{
class Uterus : public BossBase
{
DEATH_RTTI_OBJECT(BossBase);
DEATH_RUNTIME_OBJECT(BossBase);

public:
Uterus();
Expand Down
4 changes: 2 additions & 2 deletions Sources/Jazz2/Actors/Enemies/Caterpillar.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Caterpillar : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Caterpillar();
Expand All @@ -26,7 +26,7 @@ namespace Jazz2::Actors::Enemies

class Smoke : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
bool OnHandleCollision(std::shared_ptr<ActorBase> other) override;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Crab.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Crab : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Crab();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Demon.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Demon : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Demon();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Doggy.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Doggy : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Doggy();
Expand Down
4 changes: 2 additions & 2 deletions Sources/Jazz2/Actors/Enemies/Dragon.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Dragon : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Dragon();
Expand All @@ -23,7 +23,7 @@ namespace Jazz2::Actors::Enemies

class Fire : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

protected:
Task<bool> OnActivatedAsync(const ActorActivationDetails& details) override;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/Dragonfly.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class Dragonfly : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
Dragonfly();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/EnemyBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class EnemyBase : public ActorBase
{
DEATH_RTTI_OBJECT(ActorBase);
DEATH_RUNTIME_OBJECT(ActorBase);

public:
EnemyBase();
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jazz2/Actors/Enemies/FatChick.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Jazz2::Actors::Enemies
{
class FatChick : public EnemyBase
{
DEATH_RTTI_OBJECT(EnemyBase);
DEATH_RUNTIME_OBJECT(EnemyBase);

public:
FatChick();
Expand Down
Loading

0 comments on commit a032e5f

Please sign in to comment.