forked from kdx/jtmm2-old
23 lines
310 B
C
23 lines
310 B
C
#include <gint/display.h>
|
|
#include <gint/keyboard.h>
|
|
#include "init.h"
|
|
#include "vec.h"
|
|
#include "player.h"
|
|
|
|
int main(void)
|
|
{
|
|
init(); /* initialize gint */
|
|
|
|
/* create player */
|
|
Player player = {
|
|
.position = (Vec){32, 32}
|
|
};
|
|
|
|
dclear(C_WHITE);
|
|
draw_player(&player);
|
|
dupdate();
|
|
|
|
getkey();
|
|
return 1;
|
|
}
|