How phoboslab/high_impact works
Main Components
Engine Core (Center):
• Entity System (entity.h, entity_def.h)
• Animation System (animation.h)
• Camera System (camera.h)
• Input Handler (input.h)
• Sound System (sound.h)
• Memory Management (alloc.h)
• System (map.h)
Platform Layer (Bottom):
• Platform Abstraction (platform.h)
• Two Platform Implementations:
• SDL2 Backend (platform_sdl.c)
• Sokol Backend (platform_sokol.c)
Rendering System (Right Side):
• Render Interface (render.h)
• Three Renderer Implementations:
• OpenGL (render_gl.c)
• Metal (render_metal.m)
• Software (render_software.c)
Asset Systems (Left Side):
• Image Loading (image.h)
• Font System (font.h)
• Sound Loading (sound.h)
• Asset Format Support:
• QOI for images
• QOA for audio
• JSON for maps
Implementation Details
• Component name
• Key files involved
• Primary responsibilities
• Supported formats/backends
External Dependencies Section
• SDL2
• Sokol (App, Audio, Time)
• Other libraries (glad, stb, QOI, QOA, pl_json)