windmill-gint/src/main.cpp

40 lines
490 B
C++

#include "main.hpp"
Game game;
Windmill windmill;
Scene_Map scene_map;
int main(void)
{
extern bopti_image_t img_windmill;
dclear(C_WHITE);
dimage(16, 0, &img_windmill);
int key = 0;
while(key != KEY_EXE)
{
dupdate();
key = getkey().key;
}
dclear(C_BLACK);
dupdate();
scene_map.launch();
while(1)
{
scene_map.draw();
scene_map.update();
}
scene_map.terminate();
getkey();
return 1;
}