Changed folder structure, moved files.

This commit is contained in:
Felix Ableitner 2012-10-14 18:14:06 +02:00
parent 2be3f13810
commit bb3ecf637b
28 changed files with 677 additions and 678 deletions

View file

@ -9,13 +9,13 @@
#include <Thor/Graphics.hpp> #include <Thor/Graphics.hpp>
#include "util/Instances.h"
#include "abstract/Character.h" #include "abstract/Character.h"
#include "sprite/Cover.h" #include "sprites/Cover.h"
#include "sprite/Enemy.h" #include "sprites/Enemy.h"
#include "types/Instances.h"
#include "types/String.h"
#include "util/Loader.h" #include "util/Loader.h"
#include "util/ResourceManager.h" #include "util/ResourceManager.h"
#include "util/String.h"
/// Goal amount of frames per second. /// Goal amount of frames per second.
const int Game::FPS_GOAL = 60; const int Game::FPS_GOAL = 60;

View file

@ -15,11 +15,11 @@
#include <Box2D/Box2D.h> #include <Box2D/Box2D.h>
#include "Pathfinder.h" #include "sprites/TileManager.h"
#include "TileManager.h" #include "sprites/Player.h"
#include "sprite/Player.h" #include "types/String.h"
#include "util/Collection.h" #include "util/Collection.h"
#include "util/String.h" #include "util/Pathfinder.h"
class Player; class Player;
class Collection; class Collection;

View file

@ -12,7 +12,7 @@
#include <Thor/Vectors.hpp> #include <Thor/Vectors.hpp>
#include "../sprite/Body.h" #include "../sprites/Body.h"
#include "../util/Log.h" #include "../util/Log.h"
const String Character::KEY_HEALTH = "health"; const String Character::KEY_HEALTH = "health";

View file

@ -12,8 +12,8 @@
#include "Sprite.h" #include "Sprite.h"
#include "../items/Weapon.h" #include "../items/Weapon.h"
#include "../util/Instances.h" #include "../types/Instances.h"
#include "../util/String.h" #include "../types/String.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Weapon; class Weapon;

View file

@ -10,8 +10,8 @@
#include <Box2D/Box2D.h> #include <Box2D/Box2D.h>
#include "../util/String.h" #include "../types/String.h"
#include "../util/Vector.h" #include "../types/Vector.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Yaml; class Yaml;

View file

@ -13,8 +13,8 @@
#include <Thor/Resources.hpp> #include <Thor/Resources.hpp>
#include "Physical.h" #include "Physical.h"
#include "../util/String.h" #include "../types/String.h"
#include "../util/Vector.h" #include "../types/Vector.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Physical; class Physical;

View file

@ -9,7 +9,7 @@
#define DG_BULLET_H_ #define DG_BULLET_H_
#include "../particle/Particle.h" #include "../particle/Particle.h"
#include "../util/String.h" #include "../types/String.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Particle; class Particle;

View file

@ -10,9 +10,9 @@
#include <Thor/Particles.hpp> #include <Thor/Particles.hpp>
#include "../util/Instances.h"
#include "../abstract/Physical.h" #include "../abstract/Physical.h"
#include "../particle/Emitter.h" #include "../particle/Emitter.h"
#include "../types/Instances.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Emitter; class Emitter;

0
source/sprite/Body.cpp → source/sprites/Body.cpp Executable file → Normal file
View file

0
source/sprite/Body.h → source/sprites/Body.h Executable file → Normal file
View file

0
source/sprite/Cover.cpp → source/sprites/Cover.cpp Executable file → Normal file
View file

0
source/sprite/Cover.h → source/sprites/Cover.h Executable file → Normal file
View file

View file

@ -8,10 +8,10 @@
#ifndef DG_ENEMY_H_ #ifndef DG_ENEMY_H_
#define DG_ENEMY_H #define DG_ENEMY_H
#include "../util/Instances.h" #include "../types/Instances.h"
#include "../abstract/Character.h" #include "../abstract/Character.h"
#include "../util/Collection.h" #include "../util/Collection.h"
#include "../util/Vector.h" #include "../types/Vector.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Character; class Character;

View file

@ -9,9 +9,9 @@
#include <Thor/Vectors.hpp> #include <Thor/Vectors.hpp>
#include "../util/Vector.h"
#include "../items/Weapon.h" #include "../items/Weapon.h"
#include "../util/String.h" #include "../types/String.h"
#include "../types/Vector.h"
/** /**
* Initializes Sprite. * Initializes Sprite.

View file

@ -11,11 +11,11 @@
#include <SFML/System.hpp> #include <SFML/System.hpp>
#include <SFML/Graphics.hpp> #include <SFML/Graphics.hpp>
#include "../util/Instances.h"
#include "../Pathfinder.h"
#include "../abstract/Character.h" #include "../abstract/Character.h"
#include "../items/Weapon.h" #include "../items/Weapon.h"
#include "../util/Vector.h" #include "../types/Instances.h"
#include "../types/Vector.h"
#include "../util/Pathfinder.h"
#include "../util/Yaml.h" #include "../util/Yaml.h"
class Character; class Character;

View file

@ -9,10 +9,10 @@
#include <Thor/Resources.hpp> #include <Thor/Resources.hpp>
#include "abstract/Sprite.h" #include "../abstract/Sprite.h"
#include "util/Loader.h" #include "../types/String.h"
#include "util/ResourceManager.h" #include "../util/Loader.h"
#include "util/String.h" #include "../util/ResourceManager.h"
const Vector2i TileManager::TILE_SIZE = Vector2i(100, 100); const Vector2i TileManager::TILE_SIZE = Vector2i(100, 100);

6
source/TileManager.h → source/sprites/TileManager.h Executable file → Normal file
View file

@ -14,9 +14,9 @@
#include <Box2D/Box2D.h> #include <Box2D/Box2D.h>
#include "util/Vector.h" #include "../abstract/Sprite.h"
#include "abstract/Sprite.h" #include "../types/Vector.h"
#include "util/String.h" #include "../types/String.h"
class Sprite; class Sprite;

View file

@ -10,9 +10,9 @@
#include <Box2D/Box2D.h> #include <Box2D/Box2D.h>
#include "../Pathfinder.h" #include "../sprites/TileManager.h"
#include "../TileManager.h" #include "../util/Collection.h"
#include "Collection.h" #include "../util/Pathfinder.h"
class Pathfinder; class Pathfinder;
class TileManager; class TileManager;

0
source/util/Vector.h → source/types/Vector.h Executable file → Normal file
View file

View file

@ -16,7 +16,7 @@
#include <Thor/Resources.hpp> #include <Thor/Resources.hpp>
#include "Singleton.h" #include "../abstract/Singleton.h"
template <class T> template <class T>
class Singleton; class Singleton;

View file

@ -10,7 +10,7 @@
#include <iostream> #include <iostream>
#include "Vector.h" #include "../types/Vector.h"
/** /**
* Logging functions for different levels. * Logging functions for different levels.

View file

@ -23,8 +23,7 @@
#include <boost/graph/filtered_graph.hpp> #include <boost/graph/filtered_graph.hpp>
#include <boost/graph/astar_search.hpp> #include <boost/graph/astar_search.hpp>
#include "util/Log.h" #include "../util/Log.h"
#include <typeinfo>
// Boost interface type declarations. // Boost interface type declarations.
enum class Direction; enum class Direction;

View file

@ -10,8 +10,8 @@
#include <Box2D/Box2D.h> #include <Box2D/Box2D.h>
#include "abstract/Physical.h" #include "../abstract/Physical.h"
#include "util/Vector.h" #include "../types/Vector.h"
/** /**
* Interface class for Boost Graph A* library. * Interface class for Boost Graph A* library.

View file

@ -12,7 +12,7 @@
#include <Thor/Resources.hpp> #include <Thor/Resources.hpp>
#include "Singleton.h" #include "../abstract/Singleton.h"
template <class T> template <class T>
class Singleton; class Singleton;

View file

@ -12,8 +12,8 @@
#include <yaml-cpp/yaml.h> #include <yaml-cpp/yaml.h>
#include "String.h" #include "../types/String.h"
#include "Vector.h" #include "../types/Vector.h"
namespace details {}; namespace details {};