Checkpoint 1: implement native subsystems and begin the gameplay manual
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include <faset/authoring/schema.hpp>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
namespace faset::authoring {
|
||||
struct ResolvedScene {Json scene;Json conflicts=Json::array();};
|
||||
using SceneLoader=std::function<Json(const std::string&)>;
|
||||
// Source documents are immutable inputs. Conflicting records stay in the authoring file.
|
||||
ResolvedScene resolve_templates(const Json& scene,const SchemaRegistry& schemas,const SceneLoader& loader);
|
||||
}
|
||||
Reference in New Issue
Block a user