diff options
Diffstat (limited to 'src/main/main.c')
-rw-r--r-- | src/main/main.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main/main.c b/src/main/main.c index 9014c3a..0f39200 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -21,25 +21,15 @@ #include <GL/glx.h> #include <stdio.h> #include <stdlib.h> -#include "engine/ui/ui.h" #include "engine/engine.h" #include "game/game.h" #define WIDTH 640 #define HEIGHT 480 -void -draw_frame() -{ - game_draw_field(0.5, 0, 0); -} - int main(void) { - engine_init(WIDTH, HEIGHT); - ui_set_title("Tris Game"); - draw_frame(); - - engine_loop(); + game_init(WIDTH, HEIGHT); + game_start(); return EXIT_SUCCESS; } |