engine/dep
2026-07-23 21:45:57 -05:00
..
dreamcast/include/tremor fixed simd normalize because i guess you needed to check for dot > eps2, actually enabled use of custom allocator for uf::stl containers, updated nlohmann/json wrapper to use supplied types (should fully remove the need to glue on float64_t to it for dreamcast, even though either -m4/-m4-single fixed that last i checked), fixed weird issue with debug draw having frame % 3 draw the wireframe without a transformation matrix presumably because the camera viewport was [4] instead of [6] (even-even though it fixed itself when i only set the specialization constant for debug text only), mostly corrected source-engine physics state even though it should probably get defined in the bsp loader or something 2026-07-23 21:45:57 -05:00
include cleanup (strictly de-interleaved meshes, cleaned up atlas packing and xatlas unwrapping, dropped mesh attribute ID since it's not necessary with draw command/instance indirectin) 2026-06-04 19:56:45 -05:00
src fixed DC texconv having some weird quad issue by just rebasing from the original file and de-QTing / reconverting 2025-08-19 00:30:34 -05:00
README.md more cleanup, crammed DC texconv into here for later use 2025-08-18 20:47:25 -05:00

Dependencies

This folder stores any code for external dependencies because my environment has been a nightmare under MSYS2 for years.

Separate per-target copies of dependencies may exist here as well, such as:

  • Dreamcast

All code under this folder is not mine and are licensed under their respective licenses.

Forked Dependencies

Some dependencies of mine rely on some modifications of the original dependencies for extra features or to function on other platforms.

  • nlohmann/json: Dreamcast only; requires some hacks for m4-single-only due to sizeof(float) == sizeof(double) (for prior toolchains, this allegedly changed but I still get a crash with an unmodified nlohmann/json)
    • this is a header-only project so its changes live locally under ./dep/dreamcast/include/nlohmann/
  • DanielChappuis/reactphysics3d: adds in support for float16/bfloat16/quantized uint16_t triangle meshes
    • Dreamcast requires some edits due to sizeof(int) != sizeof(int32) / sizeof(uint) != sizeof(uint32), extra compile flags, and disabling exceptions
  • simulant/GLdc: Dreamcast only; adds in support for float16/bfloat16/quantized uint16_t vertex data
  • GPUOpen-Effects/FidelityFX-FSR2: modifications required for compiling under GCC (despite being a soft-dependency that I'm not making use of anyways)
  • KallistiOS/KallistiOS: Dreamcast only; specifically commit e4171afb .
    • this version requires commenting out this line at kernel/arch/dreamcast/hardware/cdrom.c#L839 to boot under emulators (I've yet to test )
    • later version require compiling with kos-c++ instead of $(KOS_CCPLUS) and removing the -T/opt/dreamcast/kos/utils/ldscripts/shlelf.xc line when compiling the .elf, but crashes later during some maple initialization.
  • tvspelsfreak/texconv: For converting images to .dtex for the Dreamcast.
    • this is actually included to allow scene processing to automatically output processed .dtex textures...
    • ...or allow files to be converted on the fly on the Dreamcast (although this is a bad idea for large image files)