aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/GameSingleton.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-29 15:11:24 +0100
committer hop311 <hop3114@gmail.com>2023-11-07 23:02:34 +0100
commit47fff276966d42cba6a2df9093348a5e20a37159 (patch)
tree556707348d57b81f91627bb8fda5989a305c0d21 /extension/src/openvic-extension/GameSingleton.hpp
parent9304fd4e109c27a7dfb487a15c9a52c4055ee485 (diff)
Clang-format formatting (with manual cleanup)
Diffstat (limited to 'extension/src/openvic-extension/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/GameSingleton.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/extension/src/openvic-extension/GameSingleton.hpp b/extension/src/openvic-extension/GameSingleton.hpp
index 8145a39..1d92ef0 100644
--- a/extension/src/openvic-extension/GameSingleton.hpp
+++ b/extension/src/openvic-extension/GameSingleton.hpp
@@ -33,17 +33,16 @@ namespace OpenVic {
godot::Error _update_colour_image();
void _on_state_updated();
- godot::Dictionary _distribution_to_dictionary(distribution_t const& dist) const;
-
protected:
static void _bind_methods();
public:
- static void draw_pie_chart(godot::Ref<godot::Image> image,
- godot::Array const& stopAngles, godot::Array const& colours, float radius,
+ static void draw_pie_chart(
+ godot::Ref<godot::Image> image, godot::Array const& stopAngles, godot::Array const& colours, float radius,
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);
+ 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);