minor refactor

This commit is contained in:
MihailRis 2024-05-05 20:08:25 +03:00
parent 75e56ebd83
commit 7f8a86b740
35 changed files with 76 additions and 83 deletions

View file

@ -10,8 +10,8 @@
#include "../../../logic/LevelController.h"
#include "../../../logic/EngineController.hpp"
#include "../../../world/Level.h"
#include "../../../window/Events.h"
#include "../../../window/Window.h"
#include "../../../window/Events.hpp"
#include "../../../window/Window.hpp"
#include "../../../world/WorldGenerators.h"
#include "../scripting.h"

View file

@ -2,8 +2,8 @@
#include "lua_commons.h"
#include "../scripting.h"
#include "../../../window/input.h"
#include "../../../window/Events.h"
#include "../../../window/input.hpp"
#include "../../../window/Events.hpp"
#include "../../../frontend/screens/Screen.hpp"
#include "../../../frontend/hud.h"
#include "../../../engine.h"

View file

@ -4,7 +4,7 @@
#include "../../../world/Level.h"
#include "../../../objects/Player.h"
#include "../../../physics/Hitbox.h"
#include "../../../window/Camera.h"
#include "../../../window/Camera.hpp"
#include "../../../items/Inventory.h"
#include <glm/glm.hpp>

View file

@ -2,7 +2,7 @@
#include "lua_commons.h"
#include "../scripting.h"
#include "../../../engine.h"
#include "../../../window/Window.h"
#include "../../../window/Window.hpp"
static int l_time_uptime(lua_State* L) {
lua_pushnumber(L, Window::time());