Files
software_rasterizer/platform.h
2022-02-13 12:23:13 +01:00

20 lines
293 B
C

#include "main.h"
#include <stdint.h>
struct Image {
uint32_t* pixels;
int x;
int 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);