2021-01-11 20:08:16 +00:00
|
|
|
#define ZPL_IMPL
|
|
|
|
#include "zpl.h"
|
2021-01-10 16:42:01 +00:00
|
|
|
#include "game.h"
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
game_init();
|
|
|
|
|
2021-01-11 20:08:16 +00:00
|
|
|
while (game_is_running())
|
2021-01-10 16:42:01 +00:00
|
|
|
{
|
|
|
|
game_input();
|
|
|
|
game_update();
|
|
|
|
game_render();
|
|
|
|
}
|
|
|
|
|
|
|
|
game_shutdown();
|
|
|
|
return 0;
|
|
|
|
}
|