mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
20 lines
276 B
C++
20 lines
276 B
C++
#include "main/main.h"
|
|
#include "os_haiku.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
OS_Haiku os;
|
|
|
|
Error error = Main::setup(argv[0], argc-1, &argv[1]);
|
|
if (error != OK) {
|
|
return 255;
|
|
}
|
|
|
|
if (Main::start()) {
|
|
os.run();
|
|
}
|
|
|
|
Main::cleanup();
|
|
|
|
return os.get_exit_code();
|
|
}
|