mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
[decomp] Partial implementation of tie (#1916)
Some stuff isn't working fully yet: - fog color - time of day - draw order for multiple passes (currently all draws in the default tie bucket) - possibly settings for transparent stuff (untested, but might work) - the "vanish" effect (we might not want this anyway?) - environment mapping/etie completely not implemented.  
This commit is contained in:
@@ -72,6 +72,13 @@ TEST(VuDisasm, SpriteGlow_Jak2) {
|
||||
EXPECT_EQ(disasm.to_string(prog), get_expected("jak2/sprite-glow"));
|
||||
}
|
||||
|
||||
TEST(VuDisasm, Tie_Jak2) {
|
||||
auto data = get_test_data("jak2/tie");
|
||||
VuDisassembler disasm(VuDisassembler::VuKind::VU1);
|
||||
auto prog = disasm.disassemble(data.data(), data.size() * 4, false);
|
||||
EXPECT_EQ(disasm.to_string(prog), get_expected("jak2/tie"));
|
||||
}
|
||||
|
||||
TEST(VuDisasm, SpriteDistort) {
|
||||
auto data = get_test_data("sprite-distort");
|
||||
VuDisassembler disasm(VuDisassembler::VuKind::VU1);
|
||||
|
||||
Reference in New Issue
Block a user