Changed folder structure.

This commit is contained in:
Felix Ableitner 2013-08-22 23:11:40 +02:00
parent 4175ed5423
commit 21fa8ce0c5
32 changed files with 31 additions and 31 deletions

View file

@ -10,8 +10,8 @@
#include <Thor/Vectors.hpp>
#include "generator/Generator.h"
#include "items/Heal.h"
#include "items/Shield.h"
#include "sprites/items/Heal.h"
#include "sprites/items/Shield.h"
#include "sprites/Enemy.h"
#include "sprites/Player.h"
#include "util/Loader.h"

View file

@ -8,8 +8,8 @@
#ifndef DG_WORLD_H_
#define DG_WORLD_H_
#include "abstract/Character.h"
#include "abstract/Sprite.h"
#include "sprites/abstract/Character.h"
#include "sprites/abstract/Sprite.h"
class Character;
class Sprite;

View file

@ -8,7 +8,7 @@
#ifndef DG_CORPSE_H_
#define DG_CORPSE_H_
#include "../abstract/Circle.h"
#include "abstract/Circle.h"
class Corpse : public Circle {
public:

View file

@ -8,7 +8,7 @@
#ifndef DG_ENEMY_H_
#define DG_ENEMY_H
#include "../abstract/Character.h"
#include "../sprites/abstract/Character.h"
class World;

View file

@ -8,7 +8,7 @@
#ifndef DG_PLAYER_H_
#define DG_PLAYER_H_
#include "../abstract/Character.h"
#include "abstract/Character.h"
class World;

View file

@ -8,7 +8,7 @@
#ifndef DG_ROTATINGSHIELD_H_
#define DG_ROTATINGSHIELD_H_
#include "../abstract/Rectangle.h"
#include "abstract/Rectangle.h"
class RotatingShield : public Rectangle {
public:

View file

@ -8,7 +8,7 @@
#ifndef DG_TILE_H_
#define DG_TILE_H_
#include "../abstract/Rectangle.h"
#include "abstract/Rectangle.h"
class World;

View file

@ -10,11 +10,11 @@
#include <Thor/Vectors.hpp>
#include "../items/Weapon.h"
#include "../sprites/Corpse.h"
#include "../util/Log.h"
#include "../util/Yaml.h"
#include "../World.h"
#include "../Pathfinder.h"
#include "../Corpse.h"
#include "../../util/Log.h"
#include "../../util/Yaml.h"
#include "../../World.h"
#include "../../Pathfinder.h"
const float Character::VISION_DISTANCE = 500.0f;
const float Character::POINT_REACHED_DISTANCE = 1.0f;

View file

@ -8,7 +8,7 @@
#include "Circle.h"
#include "Rectangle.h"
#include "../util/Yaml.h"
#include "../../util/Yaml.h"
Circle::Circle(const Vector2f& position, Category category,
unsigned short mask, const Yaml& config,

View file

@ -13,7 +13,7 @@
#include "Circle.h"
#include "Rectangle.h"
#include "../util/Interval.h"
#include "../../util/Interval.h"
CollisionModel::~CollisionModel() {
}

View file

@ -11,7 +11,7 @@
class Circle;
class Rectangle;
#include "../util/Vector.h"
#include "../../util/Vector.h"
/**
* Abstract class providing helper functions to test for collisions between shapes.

View file

@ -8,7 +8,7 @@
#include "Rectangle.h"
#include "Circle.h"
#include "../util/Yaml.h"
#include "../../util/Yaml.h"
Rectangle::Rectangle(const Vector2f& position, Category category,
unsigned short mask, const Yaml& config,

View file

@ -9,9 +9,9 @@
#include <Thor/Vectors.hpp>
#include "../util/Loader.h"
#include "../util/Log.h"
#include "../util/ResourceManager.h"
#include "../../util/Loader.h"
#include "../../util/Log.h"
#include "../../util/ResourceManager.h"
Sprite::Sprite(const Vector2f& position, Category category,
unsigned short mask, const Vector2f& size,

View file

@ -12,7 +12,7 @@
#include <SFML/Graphics.hpp>
#include "../util/Vector.h"
#include "../../util/Vector.h"
/**
* An sprite that is rendered in the world.

View file

@ -10,7 +10,7 @@
#include <Thor/Vectors.hpp>
#include "../abstract/Character.h"
#include "../util/Yaml.h"
#include "../../util/Yaml.h"
/**

View file

@ -7,7 +7,7 @@
#include "Item.h"
#include "../World.h"
#include "../../World.h"
Item::Item(const Vector2f& size, const std::string& texture) :
Sprite(Vector2f(), CATEGORY_NONSOLID, MASK_NONE, size, texture,

View file

@ -8,8 +8,8 @@
#include "Shield.h"
#include "../abstract/Character.h"
#include "../sprites/RotatingShield.h"
#include "../World.h"
#include "../RotatingShield.h"
#include "../../World.h"
Shield::Shield() :
Gadget("Shield") {

View file

@ -9,9 +9,9 @@
#include <Thor/Vectors.hpp>
#include "../World.h"
#include "../../World.h"
#include "../effects/Bullet.h"
#include "../util/Yaml.h"
#include "../../util/Yaml.h"
Weapon::Weapon(World& world, Character& holder, const Yaml& config) :
Item(Vector2f(32, 32), "item.png"),

View file

@ -16,7 +16,7 @@
#include <Thor/Time.hpp>
#include "Item.h"
#include "../util/Yaml.h"
#include "../../util/Yaml.h"
class Character;
class World;

View file

@ -10,7 +10,7 @@
#include <Thor/Resources.hpp>
#include "../abstract/Singleton.h"
#include "../util/Singleton.h"
/**
* This class allows to set default resource folders and subfolders, which means that these

View file

@ -8,7 +8,7 @@
#ifndef DG_RESOURCEMANAGER_H_
#define DG_RESOURCEMANAGER_H_
#include "../abstract/Singleton.h"
#include "../util/Singleton.h"
/**
* Loads and manages all resources by providing Singleton access to