jak-project/game
water111 c249dbc437
[jak2] improve loader for jak 2 levels (#2206)
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.
2023-02-09 20:44:33 -05:00
..
assets CI: Periodic Controller Database Update (#2202) 2023-02-09 19:50:07 -05:00
common [jak2] workaround for cutscene playing (#2131) 2023-01-16 13:37:29 -05:00
graphics [jak2] improve loader for jak 2 levels (#2206) 2023-02-09 20:44:33 -05:00
kernel Hook Jak 1 into ImGUI actor filter (#2157) 2023-01-28 14:17:43 -05:00
mips2c [merc2] support vertex updates, use this for blerc in jak 1 and jak 2 (#2179) 2023-01-31 18:23:39 -05:00
overlord g/jak2: Add missing DGO files to game.gp lost in the shuffle (#2178) 2023-01-30 20:45:45 -05:00
sce logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
sound Fix sound bank allocation (#2107) 2023-01-08 11:23:59 -05:00
system CI: Add a macOS Github runner (#2064) 2022-12-22 18:12:59 -05:00
tools goalc/repl: cleanup of goalc/REPL code and some QoL improvements (#2104) 2023-01-07 11:24:02 -05:00
CMakeLists.txt [jak 2] add lightning renderer (#2203) 2023-02-09 19:11:13 -05:00
discord.cpp g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
discord.h g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
main.cpp g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
runtime.cpp Minor bug fixes (#2128) 2023-01-14 16:26:17 -05:00
runtime.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00