aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/defines/GraphicsDefines.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/defines/GraphicsDefines.hpp')
-rw-r--r--src/openvic-simulation/defines/GraphicsDefines.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/openvic-simulation/defines/GraphicsDefines.hpp b/src/openvic-simulation/defines/GraphicsDefines.hpp
new file mode 100644
index 0000000..f4cd7e2
--- /dev/null
+++ b/src/openvic-simulation/defines/GraphicsDefines.hpp
@@ -0,0 +1,30 @@
+#pragma once
+
+#include "openvic-simulation/dataloader/NodeTools.hpp"
+#include "openvic-simulation/utility/Getters.hpp"
+
+namespace OpenVic {
+ struct DefineManager;
+
+ struct GraphicsDefines {
+ friend struct DefineManager;
+
+ private:
+ size_t PROPERTY(cities_sprawl_offset);
+ size_t PROPERTY(cities_sprawl_width);
+ size_t PROPERTY(cities_sprawl_height);
+ size_t PROPERTY(cities_sprawl_iterations);
+ size_t PROPERTY(cities_mesh_pool_size_for_country);
+ size_t PROPERTY(cities_mesh_pool_size_for_culture);
+ size_t PROPERTY(cities_mesh_pool_size_for_generic);
+ size_t PROPERTY(cities_mesh_types_count);
+ size_t PROPERTY(cities_mesh_sizes_count);
+ size_t PROPERTY(cities_special_buildings_pool_size);
+ size_t PROPERTY(cities_size_max_population_k);
+
+ GraphicsDefines();
+
+ std::string_view get_name() const;
+ NodeTools::node_callback_t expect_defines();
+ };
+}