Skip to content

Commit

Permalink
remove another bunch of lifish-specific components
Browse files Browse the repository at this point in the history
  • Loading branch information
silverweed committed Aug 22, 2024
1 parent aaca6ac commit 2914143
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 485 deletions.
74 changes: 0 additions & 74 deletions src/core/components/GuidedMoving.cpp

This file was deleted.

67 changes: 0 additions & 67 deletions src/core/components/GuidedMoving.hpp

This file was deleted.

17 changes: 0 additions & 17 deletions src/lifish/components/Absorbable.hpp

This file was deleted.

51 changes: 0 additions & 51 deletions src/lifish/components/LightSource.cpp

This file was deleted.

39 changes: 0 additions & 39 deletions src/lifish/components/LightSource.hpp

This file was deleted.

54 changes: 0 additions & 54 deletions src/lifish/entities/AbsorbFX.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions src/lifish/entities/AbsorbFX.hpp

This file was deleted.

22 changes: 0 additions & 22 deletions src/lifish/entities/ArmorFX.hpp

This file was deleted.

2 changes: 0 additions & 2 deletions src/lifish/entities/Bomb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "Explosion.hpp"
#include "Fixed.hpp"
#include "GameCache.hpp"
#include "LightSource.hpp"
#include "Player.hpp"
#include "Sounded.hpp"
#include "Spawning.hpp"
Expand Down Expand Up @@ -50,7 +49,6 @@ Bomb::Bomb(const sf::Vector2f& pos, const lif::Entity *const source,
addComponent<lif::Spawning>(*this, [this] () {
return new lif::Explosion(position, radius, sourceEntity, incendiary, lif::conf::bomb::EXPL_DAMAGE);
});
addComponent<lif::LightSource>(*this, 0);
addComponent<lif::ZIndexed>(*this, lif::conf::zindex::BOMBS);

auto& a_normal_idle = animated->addAnimation("normal_idle", {
Expand Down
2 changes: 0 additions & 2 deletions src/lifish/entities/Boss.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "Boss.hpp"
#include "Absorbable.hpp"
#include "Animated.hpp"
#include "Bonusable.hpp"
#include "BossExplosion.hpp"
Expand Down Expand Up @@ -54,7 +53,6 @@ Boss::Boss(const sf::Vector2f& pos)
lif::cache.playSound(expl->get<lif::Sounded>()->getSoundFile("explode"));
return expl;
});
addComponent<lif::Absorbable>(*this);
}

lif::Entity* Boss::init() {
Expand Down
Loading

0 comments on commit 2914143

Please sign in to comment.