update examples with the refactor file structure and its features

This commit is contained in:
2026-10-06 12:31:00 +02:00
parent 5ad2d899fe
commit cc00883a57
3 changed files with 18 additions and 8 deletions
+7 -1
View File
@@ -1,4 +1,8 @@
#include "engine.h"
#include <dangerzone/engine.h>
#include <dangerzone/render/rect.h>
#include <dangerzone/render/text.h>
#include <dangerzone/render/misc.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
@@ -331,6 +335,8 @@ main()
// initialize the engine
if (engine_init(
500, 500,
"Dangerous Snake",
client_poll_event,
client_update_framebuffer
)) {