Skip to content

Commit

Permalink
remove useless includes
Browse files Browse the repository at this point in the history
  • Loading branch information
silverweed committed Sep 26, 2017
1 parent 3b079d9 commit 587ade9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion runcppclean.sh
Expand Up @@ -12,4 +12,4 @@ cppclean -I src/core \
-I src/third_party/ \
-I src/lifish/entities/ \
-I src/lifish/components/ \
-I src/lifish/level/ --exclude src/old/ src/ | grep -v old
-I src/lifish/level/ --exclude src/old/ src/ | grep -v old | grep -v 'static data'
1 change: 0 additions & 1 deletion src/lifish/entities/Grenade.hpp
@@ -1,7 +1,6 @@
#pragma once

#include "GuidedBullet.hpp"
#include "Direction.hpp"

namespace lif {

Expand Down
2 changes: 0 additions & 2 deletions src/lifish/entities/HauntingSpiritBoss.hpp
Expand Up @@ -7,10 +7,8 @@

namespace lif {

class HauntedStatue;
class Animated;
class Clock;
class ShootingPoint;
class ShootingPattern;

class HauntingSpiritBoss : public lif::Boss {
Expand Down
4 changes: 1 addition & 3 deletions src/lifish/entities/Level.hpp
Expand Up @@ -7,11 +7,9 @@
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <SFML/System/NonCopyable.hpp>
#include "game.hpp"
#include "Entity.hpp"
#include "Track.hpp"
#include "entity_type.hpp"
#include "utils.hpp"

namespace lif {

Expand Down Expand Up @@ -121,7 +119,7 @@ class Level final : public lif::Entity, private sf::NonCopyable {

const sf::Drawable& getBackground() const { return bgSprite; }
const sf::Drawable& getBorder() const { return borderSprite; }

bool hasEffect(const std::string& effectName) const {
return info.effects.find(effectName) != info.effects.end();
}
Expand Down
2 changes: 0 additions & 2 deletions src/lifish/level/LevelLoader.hpp
Expand Up @@ -6,8 +6,6 @@ namespace lif {

class Level;
class LevelManager;
class Teleport;
class EntityGroup;

class LevelLoader {
public:
Expand Down
1 change: 0 additions & 1 deletion src/ui/Screen.hpp
Expand Up @@ -7,7 +7,6 @@
#include <memory>
#include <vector>
#include "ScreenStyle.hpp"
#include "WithOrigin.hpp"
#include "Action.hpp"
#include "WindowContext.hpp"
#include "TransitionGraph.hpp"
Expand Down

0 comments on commit 587ade9

Please sign in to comment.