aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Types.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-08 19:37:30 +0200
committer Hop311 <hop3114@gmail.com>2023-04-08 19:37:30 +0200
commit12d2e458b0c8f0b57b0e42f3dd9fe992e3ebc5b8 (patch)
treec0b0f8494a4b1dec763ee1fa4b53a48e19258ea6 /extension/src/openvic2/Types.hpp
parentd8a747ad3cc643a2320d798646d7c0f74c1babb1 (diff)
Map modes + moved province index image to SIM side
Diffstat (limited to 'extension/src/openvic2/Types.hpp')
-rw-r--r--extension/src/openvic2/Types.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/extension/src/openvic2/Types.hpp b/extension/src/openvic2/Types.hpp
new file mode 100644
index 0000000..0fb1c8b
--- /dev/null
+++ b/extension/src/openvic2/Types.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+namespace OpenVic2 {
+ using return_t = bool;
+ // This mirrors godot::Error, where `OK = 0` and `FAILED = 1`.
+ static const return_t SUCCESS = false, FAILURE = true;
+}