mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
migrate from std::filesystem::path to io::path (WIP)
This commit is contained in:
parent
1e22882284
commit
e0314803c0
72 changed files with 1189 additions and 791 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <glm/glm.hpp>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "io/fwd.hpp"
|
||||
#include "data/dv.hpp"
|
||||
#include "delegates.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
|
@ -61,7 +61,7 @@ namespace scripting {
|
|||
void process_post_runnables();
|
||||
|
||||
std::unique_ptr<Process> start_coroutine(
|
||||
const std::filesystem::path& script
|
||||
const io::path& script
|
||||
);
|
||||
|
||||
void on_world_load(LevelController* controller);
|
||||
|
|
@ -150,7 +150,7 @@ namespace scripting {
|
|||
void load_content_script(
|
||||
const scriptenv& env,
|
||||
const std::string& prefix,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& fileName,
|
||||
BlockFuncsSet& funcsset
|
||||
);
|
||||
|
|
@ -164,7 +164,7 @@ namespace scripting {
|
|||
void load_content_script(
|
||||
const scriptenv& env,
|
||||
const std::string& prefix,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& fileName,
|
||||
ItemFuncsSet& funcsset
|
||||
);
|
||||
|
|
@ -175,13 +175,13 @@ namespace scripting {
|
|||
/// @param fileName script file path using the engine format
|
||||
void load_entity_component(
|
||||
const std::string& name,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& fileName
|
||||
);
|
||||
|
||||
std::unique_ptr<GeneratorScript> load_generator(
|
||||
const GeneratorDef& def,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& dirPath
|
||||
);
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ namespace scripting {
|
|||
void load_world_script(
|
||||
const scriptenv& env,
|
||||
const std::string& packid,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& fileName,
|
||||
WorldFuncsSet& funcsset
|
||||
);
|
||||
|
|
@ -207,7 +207,7 @@ namespace scripting {
|
|||
void load_layout_script(
|
||||
const scriptenv& env,
|
||||
const std::string& prefix,
|
||||
const std::filesystem::path& file,
|
||||
const io::path& file,
|
||||
const std::string& fileName,
|
||||
uidocscript& script
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue