mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
c249dbc437
Add a debug window for the loader to show levels and fix an issue with jak 2 level unloading. I never really thought about how this works for > 2 levels, and there is a chance that you could unload the wrong level in some cases. The problem is some combination of merc-only levels not counting toward the "in use" detection, and the unloader ignoring what the game wants to load. I don't remember why using merc models doesn't contribute to "in use" but I'm afraid to change this for jak 1. Instead, we can have the unloader avoid unloading levels that the game is telling us are loaded. This is what we should have done originally, but there was a time when Jak 1 didn't tell the loader anything, and we had this stupid detection thing. I think this is the first step toward just getting rid of the "in use" detection and trusting the game for everything. |
||
---|---|---|
.. | ||
assets | ||
common | ||
graphics | ||
kernel | ||
mips2c | ||
overlord | ||
sce | ||
sound | ||
system | ||
tools | ||
CMakeLists.txt | ||
discord.cpp | ||
discord.h | ||
main.cpp | ||
runtime.cpp | ||
runtime.h |