2017-12-28 10:01:38 +01:00
|
|
|
#include <SDL2/SDL.h>
|
2017-09-21 18:57:12 +02:00
|
|
|
#include "App.h"
|
2017-09-17 15:59:32 +02:00
|
|
|
|
2017-12-27 21:54:11 +01:00
|
|
|
#undef main
|
2017-09-17 13:43:13 +02:00
|
|
|
int main(int argc, char* argv[]) {
|
2017-09-21 18:57:12 +02:00
|
|
|
App app{};
|
|
|
|
int err = 1;
|
|
|
|
if (app.init()) {
|
|
|
|
err = app.start();
|
2017-09-17 13:43:13 +02:00
|
|
|
}
|
2017-09-21 18:57:12 +02:00
|
|
|
return err;
|
2017-09-17 13:43:13 +02:00
|
|
|
}
|