aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/map/Region.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-09-09 23:49:54 +0200
committer GitHub <noreply@github.com>2023-09-09 23:49:54 +0200
commit6278a35f4704574933464700026d8deb997da5c1 (patch)
treeeb36a9b030b263d825eb93638e64deb0dbd38a78 /src/openvic/map/Region.hpp
parentbec619fc8f554cb075fcef2428f3b6bdb5e88e82 (diff)
parent3d7fbd9b376811ca0ed226fa78bcc8b6279ba8dc (diff)
Merge pull request #14 from OpenVicProject/dataloading
Dataloading scaffolding + basic culture and pop history loading
Diffstat (limited to 'src/openvic/map/Region.hpp')
-rw-r--r--src/openvic/map/Region.hpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/openvic/map/Region.hpp b/src/openvic/map/Region.hpp
deleted file mode 100644
index beeb76e..0000000
--- a/src/openvic/map/Region.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include "Province.hpp"
-
-namespace OpenVic {
-
- struct ProvinceSet {
- protected:
- std::vector<Province*> provinces;
- bool locked = false;
-
- public:
- return_t add_province(Province* province);
- void lock(bool log = false);
- bool is_locked() const;
- void reset();
- size_t get_province_count() const;
- bool contains_province(Province const* province) const;
- std::vector<Province*> const& get_provinces() const;
- };
-
- /* REQUIREMENTS:
- * MAP-6, MAP-44, MAP-48
- */
- struct Region : HasIdentifier, ProvinceSet {
- friend struct Map;
-
- private:
- Region(const std::string_view new_identifier);
-
- public:
- Region(Region&&) = default;
-
- colour_t get_colour() const;
- };
-}