aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-08 18:12:22 +0200
committer Hop311 <hop3114@gmail.com>2023-09-08 18:12:22 +0200
commit7772f8871348b7b52cb0a478bb76df68d8799a07 (patch)
treefd8c4626b2cee69a9fe9250365af6b18eea63c70 /src/headless/main.cpp
parent7f9a9a8241ba81be9213e6606b8be4a48f1cbaab (diff)
More refactoring and duplicate code removal
Diffstat (limited to 'src/headless/main.cpp')
-rw-r--r--src/headless/main.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp
index a5bfc03..3185001 100644
--- a/src/headless/main.cpp
+++ b/src/headless/main.cpp
@@ -1,8 +1,6 @@
-#ifdef OPENVIC_SIM_HEADLESS
-
-#include <openvic/GameManager.hpp>
-#include <openvic/dataloader/Dataloader.hpp>
-#include <openvic/utility/Logger.hpp>
+#include <openvic-simulation/GameManager.hpp>
+#include <openvic-simulation/dataloader/Dataloader.hpp>
+#include <openvic-simulation/utility/Logger.hpp>
using namespace OpenVic;
@@ -70,8 +68,7 @@ int main(int argc, char const* argv[]) {
std::cout << "!!! HEADLESS SIMULATION END !!!" << std::endl;
- std::cout << "\nLoad returned: " << (ret ? "true" : "false") << std::endl;
+ std::cout << "\nLoad returned: " << (ret ? "SUCCESS" : "FAILURE") << std::endl;
return ret ? 0 : -1;
}
-#endif