lua: pack.get_folder(pack_name) + shader fix

This commit is contained in:
MihailRis
2024-01-17 23:10:06 +03:00
parent 7d35356f9d
commit d7f2771da4
5 changed files with 31 additions and 10 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
namespace fs = std::filesystem;
class EnginePaths;
class Engine;
class Content;
class Level;
class Block;
@@ -14,11 +14,12 @@ struct item_funcs_set;
class BlocksController;
namespace scripting {
extern Engine* engine;
extern const Content* content;
extern Level* level;
extern BlocksController* blocks;
void initialize(EnginePaths* paths);
void initialize(Engine* engine);
void on_world_load(Level* level, BlocksController* blocks);
void on_world_quit();
void update_block(const Block* block, int x, int y, int z);