mirror of
https://github.com/StepanovPlaton/C3DGraphicEngine.git
synced 2026-04-04 04:40:44 +04:00
Add micro
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user