diff options
| author | Juan Linietsky | 2015-10-17 12:48:47 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-10-17 12:48:47 -0300 |
| commit | 6f9631fc5151b3267c6fcea5f70249fc36814db8 (patch) | |
| tree | 2aa06230d95846602aa731967264c1619baa2a39 /platform/haiku/godot_haiku.cpp | |
| parent | 63033aa646f7a49fbcecbc8cc30077cf268be10c (diff) | |
| parent | be0f7563fbff581ca072504978bedc6a55e180f1 (diff) | |
| download | godot-6f9631fc5151b3267c6fcea5f70249fc36814db8.tar.gz godot-6f9631fc5151b3267c6fcea5f70249fc36814db8.tar.zst godot-6f9631fc5151b3267c6fcea5f70249fc36814db8.zip | |
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'platform/haiku/godot_haiku.cpp')
| -rw-r--r-- | platform/haiku/godot_haiku.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/haiku/godot_haiku.cpp b/platform/haiku/godot_haiku.cpp new file mode 100644 index 000000000..b4e5e5089 --- /dev/null +++ b/platform/haiku/godot_haiku.cpp @@ -0,0 +1,19 @@ +#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(); +} |
