update project includes format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <util/stringutil.hpp>
|
||||
#include "util/stringutil.hpp"
|
||||
#include "libentity.hpp"
|
||||
|
||||
static int l_get_vel(lua::State* L) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <objects/rigging.hpp>
|
||||
#include "objects/rigging.hpp"
|
||||
#include "libentity.hpp"
|
||||
|
||||
static int index_range_check(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <audio/audio.hpp>
|
||||
#include <engine.hpp>
|
||||
#include "audio/audio.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
inline const char* DEFAULT_CHANNEL = "regular";
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include <content/Content.hpp>
|
||||
#include <lighting/Lighting.hpp>
|
||||
#include <logic/BlocksController.hpp>
|
||||
#include <logic/LevelController.hpp>
|
||||
#include <voxels/Block.hpp>
|
||||
#include <voxels/Chunk.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/voxel.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "content/Content.hpp"
|
||||
#include "lighting/Lighting.hpp"
|
||||
#include "logic/BlocksController.hpp"
|
||||
#include "logic/LevelController.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "voxels/Chunk.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "voxels/voxel.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
#include <content/Content.hpp>
|
||||
#include <window/Camera.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "content/Content.hpp"
|
||||
#include "window/Camera.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <coders/commons.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <logic/CommandsInterpreter.hpp>
|
||||
#include "coders/commons.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "logic/CommandsInterpreter.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <constants.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include <files/settings_io.hpp>
|
||||
#include <frontend/menu.hpp>
|
||||
#include <frontend/screens/MenuScreen.hpp>
|
||||
#include <logic/EngineController.hpp>
|
||||
#include <logic/LevelController.hpp>
|
||||
#include <window/Events.hpp>
|
||||
#include <window/Window.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include <world/WorldGenerators.hpp>
|
||||
#include "constants.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "files/engine_paths.hpp"
|
||||
#include "files/settings_io.hpp"
|
||||
#include "frontend/menu.hpp"
|
||||
#include "frontend/screens/MenuScreen.hpp"
|
||||
#include "logic/EngineController.hpp"
|
||||
#include "logic/LevelController.hpp"
|
||||
#include "window/Events.hpp"
|
||||
#include "window/Window.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "world/WorldGenerators.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#include "libentity.hpp"
|
||||
|
||||
#include <content/Content.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <objects/Entities.hpp>
|
||||
#include <objects/EntityDef.hpp>
|
||||
#include <objects/Player.hpp>
|
||||
#include <objects/rigging.hpp>
|
||||
#include <physics/Hitbox.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <window/Camera.hpp>
|
||||
#include "content/Content.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "objects/Entities.hpp"
|
||||
#include "objects/EntityDef.hpp"
|
||||
#include "objects/Player.hpp"
|
||||
#include "objects/rigging.hpp"
|
||||
#include "physics/Hitbox.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "window/Camera.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include <frontend/hud.hpp>
|
||||
#include <objects/Entities.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include <logic/LevelController.hpp>
|
||||
#include "frontend/hud.hpp"
|
||||
#include "objects/Entities.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "logic/LevelController.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
namespace scripting {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
#include <coders/gzip.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include <files/files.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include "coders/gzip.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "files/engine_paths.hpp"
|
||||
#include "files/files.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
#include <assets/Assets.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <frontend/UiDocument.hpp>
|
||||
#include <frontend/locale.hpp>
|
||||
#include <graphics/ui/elements/Button.hpp>
|
||||
#include <graphics/ui/elements/CheckBox.hpp>
|
||||
#include <graphics/ui/elements/Image.hpp>
|
||||
#include <graphics/ui/elements/InventoryView.hpp>
|
||||
#include <graphics/ui/elements/Menu.hpp>
|
||||
#include <graphics/ui/elements/Panel.hpp>
|
||||
#include <graphics/ui/elements/TextBox.hpp>
|
||||
#include <graphics/ui/elements/TrackBar.hpp>
|
||||
#include <graphics/ui/elements/UINode.hpp>
|
||||
#include <graphics/ui/gui_util.hpp>
|
||||
#include <items/Inventories.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "assets/Assets.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "frontend/UiDocument.hpp"
|
||||
#include "frontend/locale.hpp"
|
||||
#include "graphics/ui/elements/Button.hpp"
|
||||
#include "graphics/ui/elements/CheckBox.hpp"
|
||||
#include "graphics/ui/elements/Image.hpp"
|
||||
#include "graphics/ui/elements/InventoryView.hpp"
|
||||
#include "graphics/ui/elements/Menu.hpp"
|
||||
#include "graphics/ui/elements/Panel.hpp"
|
||||
#include "graphics/ui/elements/TextBox.hpp"
|
||||
#include "graphics/ui/elements/TrackBar.hpp"
|
||||
#include "graphics/ui/elements/UINode.hpp"
|
||||
#include "graphics/ui/gui_util.hpp"
|
||||
#include "items/Inventories.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
#include <glm/glm.hpp>
|
||||
#include <iostream>
|
||||
|
||||
#include <assets/Assets.hpp>
|
||||
#include <content/Content.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <frontend/UiDocument.hpp>
|
||||
#include <frontend/hud.hpp>
|
||||
#include <graphics/ui/elements/InventoryView.hpp>
|
||||
#include <items/Inventories.hpp>
|
||||
#include <logic/BlocksController.hpp>
|
||||
#include <objects/Player.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include <voxels/Block.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/voxel.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "assets/Assets.hpp"
|
||||
#include "content/Content.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "frontend/UiDocument.hpp"
|
||||
#include "frontend/hud.hpp"
|
||||
#include "graphics/ui/elements/InventoryView.hpp"
|
||||
#include "items/Inventories.hpp"
|
||||
#include "logic/BlocksController.hpp"
|
||||
#include "objects/Player.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "voxels/voxel.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
namespace scripting {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include <engine.hpp>
|
||||
#include <frontend/hud.hpp>
|
||||
#include <frontend/screens/Screen.hpp>
|
||||
#include <graphics/ui/GUI.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include <window/Events.hpp>
|
||||
#include <window/input.hpp>
|
||||
#include "engine.hpp"
|
||||
#include "frontend/hud.hpp"
|
||||
#include "frontend/screens/Screen.hpp"
|
||||
#include "graphics/ui/GUI.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "window/Events.hpp"
|
||||
#include "window/input.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
namespace scripting {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <content/Content.hpp>
|
||||
#include <items/Inventories.hpp>
|
||||
#include <items/ItemStack.hpp>
|
||||
#include <logic/BlocksController.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "content/Content.hpp"
|
||||
#include "items/Inventories.hpp"
|
||||
#include "items/ItemStack.hpp"
|
||||
#include "logic/BlocksController.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <content/Content.hpp>
|
||||
#include <items/ItemDef.hpp>
|
||||
#include "content/Content.hpp"
|
||||
#include "items/ItemDef.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <coders/json.hpp>
|
||||
#include <data/dynamic.hpp>
|
||||
#include "coders/json.hpp"
|
||||
#include "data/dynamic.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
static int l_json_stringify(lua::State* L) {
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#include <assets/AssetsLoader.hpp>
|
||||
#include <content/Content.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <files/WorldFiles.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "assets/AssetsLoader.hpp"
|
||||
#include "content/Content.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "files/WorldFiles.hpp"
|
||||
#include "files/engine_paths.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "world/World.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include <algorithm>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include <items/Inventory.hpp>
|
||||
#include <objects/Entities.hpp>
|
||||
#include <objects/Player.hpp>
|
||||
#include <physics/Hitbox.hpp>
|
||||
#include <window/Camera.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include "items/Inventory.hpp"
|
||||
#include "objects/Entities.hpp"
|
||||
#include "objects/Player.hpp"
|
||||
#include "physics/Hitbox.hpp"
|
||||
#include "window/Camera.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "libentity.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <engine.hpp>
|
||||
#include <window/Window.hpp>
|
||||
#include "engine.hpp"
|
||||
#include "window/Window.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
static int l_time_uptime(lua::State* L) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <coders/toml.hpp>
|
||||
#include <data/dynamic.hpp>
|
||||
#include "coders/toml.hpp"
|
||||
#include "data/dynamic.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include <cmath>
|
||||
#include <filesystem>
|
||||
|
||||
#include <assets/Assets.hpp>
|
||||
#include <assets/AssetsLoader.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "assets/Assets.hpp"
|
||||
#include "assets/AssetsLoader.hpp"
|
||||
#include "engine.hpp"
|
||||
#include "files/engine_paths.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "world/World.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "lua_commons.hpp"
|
||||
|
||||
#include <debug/Logger.hpp>
|
||||
#include "debug/Logger.hpp"
|
||||
|
||||
static debug::Logger logger("lua");
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
#ifndef LOGIC_SCRIPTING_LUA_HPP_
|
||||
#define LOGIC_SCRIPTING_LUA_HPP_
|
||||
|
||||
#include <delegates.hpp>
|
||||
#include <logic/scripting/scripting.hpp>
|
||||
#include "delegates.hpp"
|
||||
#include "logic/scripting/scripting.hpp"
|
||||
|
||||
#ifdef __linux__
|
||||
#include <luajit-2.1/luaconf.h>
|
||||
|
||||
#include <luajit-2.1/lua.hpp>
|
||||
#else
|
||||
#include <lua.hpp>
|
||||
#include <lua.hpp"
|
||||
#endif
|
||||
#include <glm/glm.hpp>
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
|
||||
#include <debug/Logger.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include "debug/Logger.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "api_lua.hpp"
|
||||
#include "lua_custom_types.hpp"
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#include <data/dynamic.hpp>
|
||||
#include <delegates.hpp>
|
||||
#include <logic/scripting/scripting_functional.hpp>
|
||||
#include "data/dynamic.hpp"
|
||||
#include "delegates.hpp"
|
||||
#include "logic/scripting/scripting_functional.hpp"
|
||||
#include "lua_util.hpp"
|
||||
|
||||
namespace lua {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <debug/Logger.hpp>
|
||||
#include "debug/Logger.hpp"
|
||||
#include "api_lua.hpp"
|
||||
|
||||
static debug::Logger logger("lua-debug");
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
|
||||
#include <util/stringutil.hpp>
|
||||
#include "util/stringutil.hpp"
|
||||
|
||||
using namespace lua;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user