Commit Graph

17 Commits

Author SHA1 Message Date
d758cf6db9 fixed some weird memory leak with keymap import/merge, validated allocator settings, some other things (mds-mcdonalds can now theoretically load on a real dreamcast) (to-do: asynchronous mesh loading since it stutters on streaming new mesh data) 2026-08-05 20:18:21 -05:00
f4fdf5208f fixed emitted audio crashing if not-existant, fixed GLdc non-compressed texture loading, bin lightmaps to partitions for NewDark MIS and Valve BSP loaders (NewDark doesn't group by portal-cell), validated that game scene does load on dreamcast (even though mds-mcdonalds clocks at 23MiB at runtime with gutting everything......) 2026-08-04 20:40:56 -05:00
9ac47e843f more schizophrenic fixes for the dreamcast build (for audio/graphics to still be broken), dropped freetype for stb_truetype (to shrink the DC binary down to 2.6MB) 2026-07-26 20:36:55 -05:00
c61e502dcb a bunch of schizoshit to get dreamcast target to boot (crashes from a memory pool assert) while simultaneously shrinking the .elf (3.60MB=>3.06MB) 2026-07-24 22:45:57 -05:00
65cf3887b7 finally nailed a memory leak because past me made assumptions RP3D cleared the triangle parts on body destruction per the documentation (although I still crash after a while on the DC build from fragmentation at 9MiB consumed......), crammed filetype preference to resolveURI since everything should be using that anyways, some other cruft I forget trying to nail down this memory leak 2025-08-24 20:47:32 -05:00
532c4054b6 audio cleanup or something (because it's lagging the dreamcast build when emitting sounds) 2025-08-24 11:38:37 -05:00
81a3125fcd fixed graph buffers not getting updated (for opengl, vulkan still crashes...) 2025-08-19 23:36:48 -05:00
0a29063869 realized past me realized that aliasing buffers isn't foolproof and added a system to fetch buffer descriptors by name from a source, yet never used it (re-bind buffer descriptors on mesh updates, need to fix the crash for graph storage when it resizes...) 2025-08-19 19:18:12 -05:00
8298fcec2d more cleanup, crammed DC texconv into here for later use 2025-08-18 20:47:25 -05:00
0a299a3fd2 removing unused dependencies, noted quirks with Dreamcast compilation 2025-08-17 17:53:10 -05:00
f7fba27753 fixed OpenGL crash + Dreamcast oddities (past me did in fact realize that userdata never called destructors and handled it for opengl pseudo-command buffers) 2025-08-16 15:56:41 -05:00
cb1d9c4daf some gui hook cleanup, added keyboard/controller input for selecting gui options, fixed a crash when loading larger scenes because of low buffer size (or at least I believe it was that) 2025-08-16 00:25:06 -05:00
a9b5a03f94 shuffled code around for when I figure out how I want to stream a partitioned mesh (even though this defeats the purpose of re-implementing the chunk/region system because I do not want to go about splitting each region into its own model-entity-graph-whatever) 2025-08-11 21:14:30 -05:00
cf9a4c9a9d some more cleanup, use march=native + lto for dev (non-release), only do mesh quantization when available (when using my GLdc fork), removed unused headers 2025-08-10 20:29:40 -05:00
2186e41641 fixed text rendering in opengl (and the culling issue), use libtremor for dreamcast because vorbis is too taxing on the SH4, fixed uf::io::exists by just trying to open the file instead of stating it, probably some other things 2025-08-05 18:39:56 -05:00
aeb648595f dreamcast build compiled and somewhat running (required patching kernel/arch/dreamcast/hardware/cdrom.c), also fixed GUI elements not rendering under opengl 2025-08-04 23:34:37 -05:00
c49dfb9b8c some stuff to get the dreamcast build working again (or at least compiling, reading from the CD through KOS in emulators broke so I can't test much) 2025-08-04 17:51:43 -05:00