mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
build time decreased
This commit is contained in:
parent
41ef80e938
commit
0ad3dd7ab8
15 changed files with 34 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue