build time decreased

This commit is contained in:
MihailRis 2024-05-23 02:05:08 +03:00
parent 41ef80e938
commit 0ad3dd7ab8
15 changed files with 34 additions and 24 deletions

View file

@ -1,4 +1,6 @@
#include "LevelController.hpp"
#include "../settings.hpp"
#include "../files/WorldFiles.hpp"
#include "../debug/Logger.hpp"
#include "../world/Level.hpp"

View file

@ -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 {

View file

@ -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;

View file

@ -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;