update examples with the refactor file structure and its features
This commit is contained in:
@@ -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
|
||||
)) {
|
||||
|
||||
Reference in New Issue
Block a user