mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add struct Biome & move generator-related scripting to scripting_world_generation.cpp
This commit is contained in:
parent
810519fb4d
commit
685cd414c4
5 changed files with 181 additions and 164 deletions
11
src/logic/scripting/scripting_commons.hpp
Normal file
11
src/logic/scripting/scripting_commons.hpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
namespace scripting {
|
||||
void load_script(const std::filesystem::path& name, bool throwable);
|
||||
|
||||
[[nodiscard]]
|
||||
int load_script(int env, const std::string& type, const std::filesystem::path& file);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue