j
jaipkg.dev
packages / library / JaiShooter

JaiShooter

769efealibrary

A DOOM/Wolfenstein style software renderer written in JAI

MIT · updated 3 months ago

JaiShooter

A DOOM/Wolfenstein style software renderer written in JAI

TO RUN:

  1. Find SDL_render.jai in the bodules/SDL folder
  2. 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;