summaryrefslogtreecommitdiffhomepage
path: root/StarsEx
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-04-05 20:50:15 +0200
committerAki <please@ignore.pl>2024-04-05 20:50:15 +0200
commitbeeacf69d68f366cbbc9701bb7dabd23a898c8c7 (patch)
tree5b19e6d9374b75b88e18173d56cd94af8bb64efc /StarsEx
parent56f76f4d524ca12bef5c775da6e7282e8322a951 (diff)
downloadstarshatter-beeacf69d68f366cbbc9701bb7dabd23a898c8c7.zip
starshatter-beeacf69d68f366cbbc9701bb7dabd23a898c8c7.tar.gz
starshatter-beeacf69d68f366cbbc9701bb7dabd23a898c8c7.tar.bz2
dump_missions flag is in its own tu now
Diffstat (limited to 'StarsEx')
-rw-r--r--StarsEx/CMakeLists.txt2
-rw-r--r--StarsEx/DumpMissions.cpp10
-rw-r--r--StarsEx/DumpMissions.h10
-rw-r--r--StarsEx/test/dump_missions.cpp1
4 files changed, 21 insertions, 2 deletions
diff --git a/StarsEx/CMakeLists.txt b/StarsEx/CMakeLists.txt
index 3e9dc83..2f66d84 100644
--- a/StarsEx/CMakeLists.txt
+++ b/StarsEx/CMakeLists.txt
@@ -70,6 +70,7 @@ add_library(
DriveSprite.cpp
Drone.cpp
DropShipAI.cpp
+ DumpMissions.cpp
EditBox.cpp
Element.cpp
Encrypt.cpp
@@ -334,7 +335,6 @@ add_executable(
test/AudioConfig.cpp
test/ShipStats.cpp
test/Stardate.cpp
- test/dump_missions.cpp
)
generate_emulator(${PROJECT_NAME}_test LIBS Opcode ArchiveEx)
target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME} GTest::gtest_main)
diff --git a/StarsEx/DumpMissions.cpp b/StarsEx/DumpMissions.cpp
new file mode 100644
index 0000000..d502d46
--- /dev/null
+++ b/StarsEx/DumpMissions.cpp
@@ -0,0 +1,10 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#include "DumpMissions.h"
+
+
+int dump_missions = 0;
diff --git a/StarsEx/DumpMissions.h b/StarsEx/DumpMissions.h
new file mode 100644
index 0000000..41ad313
--- /dev/null
+++ b/StarsEx/DumpMissions.h
@@ -0,0 +1,10 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#pragma once
+
+
+extern int dump_missions;
diff --git a/StarsEx/test/dump_missions.cpp b/StarsEx/test/dump_missions.cpp
deleted file mode 100644
index a0e5ffc..0000000
--- a/StarsEx/test/dump_missions.cpp
+++ /dev/null
@@ -1 +0,0 @@
-int dump_missions = 0;