Files
software_rasterizer/platform.h

21 lines
306 B
C

#include "main.h"
struct Image {
U32* pixels;
I64 x;
I64 y;
};
struct OSInitArgs {
int window_x;
int window_y;
};
extern Image screen;
extern float* depth_buffer;
extern bool keydown_a;
extern bool keydown_b;
bool OS_GameLoop();
void OS_Init(OSInitArgs);
char* OS_ReadFile(const char* path);