diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-08 18:12:22 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-08 18:12:22 +0200 |
commit | 7772f8871348b7b52cb0a478bb76df68d8799a07 (patch) | |
tree | fd8c4626b2cee69a9fe9250365af6b18eea63c70 /src/headless | |
parent | 7f9a9a8241ba81be9213e6606b8be4a48f1cbaab (diff) |
More refactoring and duplicate code removal
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/main.cpp | 11 |
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 |