#ifndef TOOLS_UTIL_TSCN_H_ #define TOOLS_UTIL_TSCN_H_ #include #include #include #include #include #include namespace com::fourisland::lingo2_archipelago { struct GodotExtResource { std::string type; std::string path; }; struct GodotExtResourceRef { std::string id; }; using GodotInstanceType = std::variant; struct GodotNode { std::string name; std::string parent; GodotInstanceType instance_type; std::string GetPath() const; }; class GodotScene { public: GodotScene(std::map ext_resources, std::vector nodes) : ext_resources_(std::move(ext_resources)), nodes_(std::move(nodes)) {} const GodotExtResource* GetExtResource(const std::string& id) const { auto it = ext_resources_.find(id); if (it != ext_resources_.end()) { return &it->second; } else { return nullptr; } } const std::vector& GetNodes() const { return nodes_; } private: std::map ext_resources_; std::vector nodes_; }; GodotScene ReadGodotSceneFromFile(const std::string& path); } // namespace com::fourisland::lingo2_archipelago #endif /* TOOLS_UTIL_TSCN_H_ */ GO 2 using Archipelago Multiworld
about summary refs log tree commit diff stats
blob: 76a0f50d442eaf7c7a6bf7ea2724ab897a30367f (plain) (blame)
1
2
3
4
5
6
display_name: "The Repetitive"
# These paintings are directly above/behind panels and thus can't be entered.
excluded_nodes: "Meshes/eyeRed3"
excluded_nodes: "Meshes/eyeRed4"
# This has something to do with the magenta room entrance proxy panel.
excluded_nodes: "Panels/Eval/panel_26_proxyied_fake"