#ifndef ENGINE_H #define ENGINE_H #pragma once #include #include #include #include typedef enum { STATE_RUNNING = 1 << 0, STATE_CLOSING = 1 << 1, } ENGINE_STATE_ENUM; typedef enum { CAM_FP, CAM_TP, CAM_FREE } ENGINE_CAMERA_ENUM; #define ENGINE_CAMERA_NUMBER 3 typedef struct { uint32_t w_height; uint32_t w_width; uint16_t state; Camera3D camera[ENGINE_CAMERA_NUMBER]; uint8_t current_cam; } context; #endif