diff options
author | hop311 <hop3114@gmail.com> | 2023-10-12 01:36:22 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-11-07 23:02:11 +0100 |
commit | d113649c115b687a30a2040161d8570907c9141b (patch) | |
tree | 8941329c8f93a2214f42240b4458bd4255d45446 /extension/src/openvic-extension/GameSingleton.hpp | |
parent | 57822949341b86649614b343afa2c740efe00ac2 (diff) |
Improved path CLI args + path caching setting
Diffstat (limited to 'extension/src/openvic-extension/GameSingleton.hpp')
-rw-r--r-- | extension/src/openvic-extension/GameSingleton.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/GameSingleton.hpp b/extension/src/openvic-extension/GameSingleton.hpp index 56c9e88..8145a39 100644 --- a/extension/src/openvic-extension/GameSingleton.hpp +++ b/extension/src/openvic-extension/GameSingleton.hpp @@ -44,6 +44,7 @@ namespace OpenVic { godot::Vector2 shadow_displacement, float shadow_tightness, float shadow_radius, float shadow_thickness, godot::Color trim_colour, float trim_size, float gradient_falloff, float gradient_base, bool donut, bool donut_inner_trim, float donut_inner_radius); + static godot::Ref<godot::Image> load_image(godot::String const& path); static GameSingleton* get_singleton(); @@ -58,6 +59,8 @@ namespace OpenVic { */ godot::Error load_defines_compatibility_mode(godot::PackedStringArray const& file_paths); + static godot::String search_for_game_path(godot::String hint_path = {}); + godot::String lookup_file(godot::String const& path) const; /* Post-load/restart game setup - reset the game to post-load state |