aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/research/Invention.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-07-19 20:02:25 +0200
committer hop311 <hop3114@gmail.com>2024-07-19 20:02:25 +0200
commit03647d2249f72b6545628bb844685f87c4581062 (patch)
tree435dde45bb17dc12e74cc79bd5f25cc7a7ef8dca /src/openvic-simulation/research/Invention.hpp
parenta673f89bb2705826b1c646365eab1775727372b7 (diff)
Cleanup: inheritance, const movable variables, code formattingformat-cleanup
Diffstat (limited to 'src/openvic-simulation/research/Invention.hpp')
-rw-r--r--src/openvic-simulation/research/Invention.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/openvic-simulation/research/Invention.hpp b/src/openvic-simulation/research/Invention.hpp
index 881ceab..7c6c07b 100644
--- a/src/openvic-simulation/research/Invention.hpp
+++ b/src/openvic-simulation/research/Invention.hpp
@@ -32,9 +32,16 @@ namespace OpenVic {
ConditionalWeight PROPERTY(chance);
Invention(
- std::string_view new_identifier, ModifierValue&& new_values, bool new_news, unit_set_t&& new_activated_units,
- building_set_t&& new_activated_buildings, crime_set_t&& new_enabled_crimes, bool new_unlock_gas_attack,
- bool new_unlock_gas_defence, ConditionScript&& new_limit, ConditionalWeight&& new_chance
+ std::string_view new_identifier,
+ ModifierValue&& new_values,
+ bool new_news,
+ unit_set_t&& new_activated_units,
+ building_set_t&& new_activated_buildings,
+ crime_set_t&& new_enabled_crimes,
+ bool new_unlock_gas_attack,
+ bool new_unlock_gas_defence,
+ ConditionScript&& new_limit,
+ ConditionalWeight&& new_chance
);
bool parse_scripts(DefinitionManager const& definition_manager);