mirror of
https://github.com/open-goal/jak-project
synced 2026-06-18 15:36:25 -04:00
[jak2] goalc supports multiple projects (#1619)
* [jak2] goalc supports multiple projects * disable deci2 server if not debugging
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user