Separate engine and game

This commit is contained in:
2023-11-07 16:55:14 +01:00
parent 8a13edb838
commit 20034c96e6
922 changed files with 526 additions and 29 deletions

View File

@@ -0,0 +1,4 @@
project(BreezeTests)
add_executable(window_test window_test.c)
target_link_libraries(window_test LINK_PRIVATE Breeze)

View File

@@ -0,0 +1,14 @@
#include <breeze.h>
#include <raylib.h>
void render(float dt, int *game) {
ClearBackground(WHITE);
BeginDrawing();
EndDrawing();
}
bool bzMain(BzAppDesc *appDesc, int argc, const char **argv) {
appDesc->render = (BzAppRenderFunc) render;
return true;
}