Files
C2048/main.c
T

24 lines
482 B
C
Raw Normal View History

#include <stdio.h>
#include "game.h"
#include "zephr.h"
const char *font_path = "assets/fonts/Rubik/Rubik-VariableFont_wght.ttf";
/* const char *font_path = "assets/fonts/Roboto/Roboto-Bold.ttf"; */
const char *title = "C2048";
2023-09-02 00:06:08 +03:00
int main(int argc, char *argv[]) {
CORE_UNUSED(argc);
CORE_UNUSED(argv);
zephr_init(font_path, title, (Size){1200, 800});
zephr_make_window_non_resizable();
/* zephr_toggle_fullscreen(); */
game_loop();
zephr_deinit();
2023-09-02 00:06:08 +03:00
return 0;
}