jak-project/game/main.cpp

16 lines
408 B
C++
Raw Normal View History

2020-08-22 22:30:12 -04:00
/*!
* @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;
}