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
+2
View File
@@ -1,4 +1,6 @@
#include "LevelController.hpp"
#include "../settings.hpp"
#include "../files/WorldFiles.hpp"
#include "../debug/Logger.hpp"
#include "../world/Level.hpp"
+1 -1
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 {
+1
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;
+2 -1
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;