A DOOM/Wolfenstein style software renderer written in JAI
- Find SDL_render.jai in the bodules/SDL folder
- Add the following bindings as they are required:
// CUSTOM BINDINGS
SDL_FillRect :: (dst: *SDL_Surface, rect: *SDL_Rect, color: u32) -> s32 #foreign SDL2;
SDL_MapRGB :: (format: *SDL_PixelFormat, r: u8, g: u8, b: u8) -> u32 #foreign SDL2;
SDL_MapRGBA :: (format: *SDL_PixelFormat, r: u8, g: u8, b: u8, a: u8) -> u32 #foreign SDL2;