#pragma once #include struct sapp_event; #include "app.h" typedef struct Scene { const char* name; void (*on_enter)(app_context_t* ctx); void (*on_update)(app_context_t* ctx, float dt); void (*on_render)(app_context_t* ctx); void (*on_event)(app_context_t* ctx, const struct sapp_event* ev); void (*on_exit)(app_context_t* ctx); } Scene;