mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
16 lines
408 B
C++
16 lines
408 B
C++
/*!
|
|
* @file main.cpp
|
|
* Main for the game. Launches the runtime.
|
|
*/
|
|
#include <cstdio>
|
|
#include "runtime.h"
|
|
#include "common/versions.h"
|
|
|
|
int main(int argc, char** argv) {
|
|
while(true) {
|
|
// run the runtime in a loop so we can reset the game and have it restart cleanly
|
|
printf("gk %d.%d\n", versions::GOAL_VERSION_MAJOR, versions::GOAL_VERSION_MINOR);
|
|
exec_runtime(argc, argv);
|
|
}
|
|
return 0;
|
|
} |