[jak2] goalc supports multiple projects (#1619)

* [jak2] goalc supports multiple projects

* disable deci2 server if not debugging
This commit is contained in:
water111
2022-07-06 21:18:08 -04:00
committed by GitHub
parent 8a18072d97
commit 28a2ecdfd3
29 changed files with 239 additions and 81 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "versions.h"
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
GameVersion game_name_to_version(const std::string& name) {
if (name == "jak1") {
return GameVersion::Jak1;
} else if (name == "jak2") {
return GameVersion::Jak2;
} else {
ASSERT_MSG(false, fmt::format("invalid game name: {}", name));
}
}