2025-05-29 19:00:39 +02:00

33 lines
467 B
C

#ifndef ENGINE_H
#define ENGINE_H
#pragma once
#include <raylib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
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