debug: Added debug flag and fps state
authorLukas Krickl <lukas@krickl.dev>
Thu, 26 Feb 2026 12:58:08 +0000 (13:58 +0100)
committerLukas Krickl <lukas@krickl.dev>
Thu, 26 Feb 2026 12:58:08 +0000 (13:58 +0100)
commit0011c44b888eae9f78755547eca4af07ebc0dfb9
tree46dfc02b170b263b4361d4279c9e5e5ca82b21fc
parent91dedb6587f3e14206f3c62e11bb0d011fc8de24
debug: Added debug flag and fps state

Added debug font renderer. Currently no font is actually loaded until
there is a good way to just grab any system font.
Added u_string.h with sprintf functions.
Added debug rendering.
Removed surface locking. This should be OK since there is only a single
thread.
makefile
src/lrts.c
src/lrts_impl.h
src/p_pc/u_string.c [new file with mode: 0644]
src/p_platform.h
src/p_r_sdl/p_draw.c
src/p_r_sdl/p_init.c
src/p_r_sdl/p_r_sdl.h [new file with mode: 0644]
src/r_render.c
src/u_defs.h
src/u_string.h [new file with mode: 0644]