aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-05-07 23:05:55 +0200
committer hop311 <hop3114@gmail.com>2024-05-08 01:37:25 +0200
commitac1504f6fa981947bd9543d24325b3751236e925 (patch)
treeeab5713eb9343605683b315cc1d0baa2a8988d7c /extension/src/openvic-extension/singletons/GameSingleton.hpp
parent2ac43ba7df3b2c3dc40c6b87c2bc57c4b02ffa42 (diff)
Generate army and navy models
Diffstat (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/GameSingleton.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp
index f793fae..7f86eb2 100644
--- a/extension/src/openvic-extension/singletons/GameSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp
@@ -70,6 +70,7 @@ namespace OpenVic {
int32_t get_map_height() const;
godot::Vector2i get_map_dims() const;
float get_map_aspect_ratio() const;
+ godot::Vector2 map_position_to_world_coords(fvec2_t const& position) const;
/* The cosmetic terrain textures stored in a Texture2DArray. */
godot::Ref<godot::Texture2DArray> get_terrain_texture() const;