diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-16 17:27:41 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-16 17:28:01 +0200 |
commit | f95902fdd85f86c10b9c300099c67312fc81f11b (patch) | |
tree | 1655119602f39a366de8248cb4651321b6dfdda0 /src/openvic-simulation/map/Province.cpp | |
parent | 64d134ad20c333afa60373526d6fab27a07c6adc (diff) |
Scaffolding for `positions.txt` + modifier loading
Diffstat (limited to 'src/openvic-simulation/map/Province.cpp')
-rw-r--r-- | src/openvic-simulation/map/Province.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp index 49a9bfc..5a3543b 100644 --- a/src/openvic-simulation/map/Province.cpp +++ b/src/openvic-simulation/map/Province.cpp @@ -34,6 +34,12 @@ Province::life_rating_t Province::get_life_rating() const { return life_rating; } +bool Province::load_positions(ast::NodeCPtr root) { + // TODO - implement province position loading + // (root is the dictionary after the province identifier) + return true; +} + bool Province::add_building(Building&& building) { return buildings.add_item(std::move(building)); } |