build time decreased
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include "LevelController.hpp"
|
||||
|
||||
#include "../settings.hpp"
|
||||
#include "../files/WorldFiles.hpp"
|
||||
#include "../debug/Logger.hpp"
|
||||
#include "../world/Level.hpp"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define LOGIC_LEVEL_CONTROLLER_HPP_
|
||||
|
||||
#include <memory>
|
||||
#include "../settings.hpp"
|
||||
|
||||
#include "PlayerController.hpp"
|
||||
#include "BlocksController.hpp"
|
||||
@@ -10,6 +9,7 @@
|
||||
|
||||
class Level;
|
||||
class Player;
|
||||
struct EngineSettings;
|
||||
|
||||
/// @brief LevelController manages other controllers
|
||||
class LevelController {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "../items/ItemStack.hpp"
|
||||
#include "../items/Inventory.hpp"
|
||||
#include "../core_defs.hpp"
|
||||
#include "../settings.hpp"
|
||||
|
||||
const float CAM_SHAKE_OFFSET = 0.025f;
|
||||
const float CAM_SHAKE_OFFSET_Y = 0.031f;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef PLAYER_CONTROL_HPP_
|
||||
#define PLAYER_CONTROL_HPP_
|
||||
|
||||
#include "../settings.hpp"
|
||||
#include "../objects/Player.hpp"
|
||||
|
||||
#include <memory>
|
||||
@@ -12,7 +11,9 @@
|
||||
class Camera;
|
||||
class Level;
|
||||
class Block;
|
||||
class Chunks;
|
||||
class BlocksController;
|
||||
struct CameraSettings;
|
||||
|
||||
class CameraControl {
|
||||
std::shared_ptr<Player> player;
|
||||
|
||||
Reference in New Issue
Block a user