build: CMake and public headers

This commit is contained in:
Hernâni Marques 2026-07-11 23:18:44 +02:00
parent 1455cf7ac9
commit 87d99f7007
6 changed files with 107 additions and 0 deletions

9
include/ok_render.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef OK_RENDER_H
#define OK_RENDER_H
#include "ok_types.h"
#include <SDL.h>
bool ok_render_init(int w, int h);
void ok_render_draw(const OkGame *g);
void ok_render_shutdown(void);
SDL_Window *ok_render_window(void);
#endif