add '--script', '--version' command line arguments

This commit is contained in:
MihailRis
2024-12-18 00:48:29 +03:00
parent 48d94036fd
commit fa1646a9bd
7 changed files with 48 additions and 19 deletions
+2 -1
View File
@@ -48,9 +48,10 @@ public:
struct CoreParameters {
bool headless = false;
bool testMode = false;
std::filesystem::path resFolder {"res"};
std::filesystem::path userFolder {"."};
std::filesystem::path testFile;
std::filesystem::path scriptFile;
};
class Engine : public util::ObjectsKeeper {