From dfddd07b8b5cbff7c09103a694aed40bda254a2d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 13 Mar 2025 12:47:54 -0400 Subject: Obsolete savefile reader + IPC solves Now, panel solve state is all read from the sync fields in datastorage. The "show hunt panels" field in settings is now a radio box, and you can choose to show all panels. --- src/godot_variant.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/godot_variant.h (limited to 'src/godot_variant.h') diff --git a/src/godot_variant.h b/src/godot_variant.h deleted file mode 100644 index 620e569..0000000 --- a/src/godot_variant.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef GODOT_VARIANT_H_ED7F2EB6 -#define GODOT_VARIANT_H_ED7F2EB6 - -#include -#include -#include - -struct GodotVariant { - using value_type = std::variant, std::vector>; - - value_type value; - - GodotVariant(value_type v) : value(v) {} - - bool AsBool() const { return std::get(value); } - - const std::vector& AsNodePath() const { - return std::get>(value); - } - - const std::vector& AsArray() const { - return std::get>(value); - } -}; - -GodotVariant ParseGodotFile(std::string filename); - -#endif /* end of include guard: GODOT_VARIANT_H_ED7F2EB6 */ -- cgit 1.4.1