summaryrefslogtreecommitdiff
path: root/campaign/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-13 18:58:56 +0100
committerAki <please@ignore.pl>2022-12-13 18:58:56 +0100
commit867393652a1199d4803c5707902f215f36c45350 (patch)
treeac6599385ab234f00716ae54abcb1716bcababc2 /campaign/include
parent6e3c3628687186eb17c819af2e30082fe81fc555 (diff)
downloadkurator-867393652a1199d4803c5707902f215f36c45350.zip
kurator-867393652a1199d4803c5707902f215f36c45350.tar.gz
kurator-867393652a1199d4803c5707902f215f36c45350.tar.bz2
Added naive campaign-unique ship identifiers
Diffstat (limited to 'campaign/include')
-rw-r--r--campaign/include/kurator/campaign/ShipConfig.h3
-rw-r--r--campaign/include/kurator/campaign/UniqueIdentifier.h17
2 files changed, 20 insertions, 0 deletions
diff --git a/campaign/include/kurator/campaign/ShipConfig.h b/campaign/include/kurator/campaign/ShipConfig.h
index cb5ca48..9aec2fa 100644
--- a/campaign/include/kurator/campaign/ShipConfig.h
+++ b/campaign/include/kurator/campaign/ShipConfig.h
@@ -3,6 +3,8 @@
#include <string>
#include <vector>
+#include "UniqueIdentifier.h"
+
namespace kurator
{
@@ -12,6 +14,7 @@ namespace campaign
struct ShipConfig
{
+ UniqueIdentifier identifier;
int team;
std::string type;
std::vector<std::string> turrets;
diff --git a/campaign/include/kurator/campaign/UniqueIdentifier.h b/campaign/include/kurator/campaign/UniqueIdentifier.h
new file mode 100644
index 0000000..6e3c4f5
--- /dev/null
+++ b/campaign/include/kurator/campaign/UniqueIdentifier.h
@@ -0,0 +1,17 @@
+#pragma once
+
+
+namespace kurator
+{
+namespace campaign
+{
+
+
+struct UniqueIdentifier
+{
+ int id;
+};
+
+
+} // namespace campaign
+} // namespace kurator