kimeera/src/main.c

30 lines
466 B
C
Raw Normal View History

#include "disp.h"
#include "entity.h"
2021-05-26 13:32:32 +02:00
#include <gint/display.h>
#include <gint/keyboard.h>
int
main(void)
{
struct Entity player;
struct Entity enemy;
2021-05-26 13:32:32 +02:00
/* init */
disp_init();
player = entity_p_init();
enemy = entity_e_init();
disp_print("Hello, World!\n");
disp_print("Draw me an unicorn!\n");
disp_print("<Hackcell> UwU\n");
entity_print_desc(player);
entity_print_desc(enemy);
2021-05-26 13:32:32 +02:00
dclear(C_WHITE);
disp_display();
2021-05-26 13:32:32 +02:00
dupdate();
getkey();
return 1;
}