Add micro

This commit is contained in:
2025-10-16 01:21:57 +04:00
parent 7698d0e657
commit d00a9379a9
20 changed files with 535 additions and 106 deletions

View File

@@ -5,18 +5,31 @@
#include "log.h"
#ifdef WIN
#include "win.h"
#include "win/win.h"
#define FPS 10
#define WINDOW_WIDTH 800.0f
#define WINDOW_HEIGHT 600.0f
#define FPS 25
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 600
#define BG_COLOR BLACK_BRUSH
#define COLOR RGB(255, 255, 255)
#endif
#endif // WIN
#ifdef MICRO
#define FPS 5
#include "micro/micro.h"
#define DISPLAY_WIDTH 160
#define DISPLAY_HEIGHT 128
#define WINDOW_WIDTH DISPLAY_WIDTH
#define WINDOW_HEIGHT DISPLAY_HEIGHT
#endif // MICRO
void init_engine();
void render(Screen screen);
void tic();
void destroy();
#endif
#endif