add ocean-vu0 mips2c and decomp ocean-texture (#1230)

* add ocean-vu0 mips2c and decomp ocean-texture

* vu1 texture setup

* temp

* unoptimized version working

* optimized version by default

* update ref test
This commit is contained in:
water111
2022-03-11 22:27:11 -05:00
committed by GitHub
parent b21f0d3397
commit bb85eaf167
35 changed files with 3438 additions and 85 deletions
+2 -2
View File
@@ -167,7 +167,7 @@ std::string write_game_text(
// - first add the strings that are the same across all languages
for (auto const& [key, val] : cfg.new_strings_same_across_langs) {
result += fmt::format("(#x{}\n ", key);
for (int i = 0; i < languages.size(); i++) {
for (u32 i = 0; i < languages.size(); i++) {
result += fmt::format("\"{}\"\n ", val);
}
result += ")\n\n";
@@ -179,7 +179,7 @@ std::string write_game_text(
for (auto const& str : val) {
result += fmt::format("\"{}\"\n ", str);
}
for (int i = 0; i < languages.size() - val.size(); i++) {
for (u32 i = 0; i < languages.size() - val.size(); i++) {
result += fmt::format("\"{}\"\n ", "TODO");
}
result += ")\n\n";