migrate from std::filesystem::path to io::path (WIP)
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user