PCBrawl/src/main.c

26 lines
380 B
C
Raw Normal View History

2022-02-28 15:38:08 +01:00
#define LZY_IMPLEMENTATION
#include "lzy.h"
int main(void) {
2022-02-28 16:26:59 +01:00
if (LZY_Init("lzy example")) {
LZY_Log(LZY_GetError());
LZY_Quit();
2022-02-28 15:38:08 +01:00
return 1;
2022-02-28 16:26:59 +01:00
}
LZY_Log("init was great success!");
2022-02-28 15:38:08 +01:00
2022-02-28 16:26:59 +01:00
LZY_DrawSetColor(0xff, 0xff, 0x00);
2022-02-28 15:38:08 +01:00
LZY_DrawBegin();
LZY_DrawClear();
LZY_DrawEnd();
do {
LZY_CycleEvents();
2022-02-28 16:26:59 +01:00
} while (!LZY_ShouldQuit());
2022-02-28 15:38:08 +01:00
2022-02-28 16:26:59 +01:00
LZY_Log("cya");
LZY_Quit();
return 0;
2022-02-28 15:38:08 +01:00
}