Merge branch 'main' into volume-renderer

This commit is contained in:
MihailRis 2026-01-18 22:53:07 +03:00
commit b2df0a7e91
28 changed files with 642 additions and 184 deletions

View file

@ -26,6 +26,7 @@
#include "logic/scripting/scripting_hud.hpp"
#include "maths/voxmaths.hpp"
#include "objects/Players.hpp"
#include "objects/Entities.hpp"
#include "physics/Hitbox.hpp"
#include "util/stringutil.hpp"
#include "voxels/Chunks.hpp"
@ -49,6 +50,7 @@ LevelScreen::LevelScreen(
gui(engine.getGUI()),
input(engine.getInput()) {
Level* level = levelPtr.get();
level->entities->setAssets(*engine.getAssets());
auto& settings = engine.getSettings();
auto& assets = *engine.getAssets();