#ifndef APP_H #define APP_H #include "common.h" typedef enum { APP_MODE_EDIT, APP_MODE_PLAY, } AppMode; typedef enum { APP_FLAG_EDIT, APP_FLAG_DEBUG, } AppFlag; typedef struct { int w, h; f32 frame_time_ms; AppMode mode; AppFlag flags; bool run; } App; extern App app; void app_notify(cstr title, cstr msg); #endif