Extend GC stage and TUMO parsing

This commit is contained in:
2026-08-15 13:01:11 +02:00
parent 8c4e1bcacb
commit c9575e1a9b
7 changed files with 406 additions and 150 deletions
+3 -1
View File
@@ -17,9 +17,11 @@ struct TumoGeometry {
std::vector<TumoVertex> triangles;
std::vector<TumoVertex> solidLines;
std::vector<TumoVertex> wireframeLines;
std::uint32_t meshCount = 0;
std::uint32_t nodeCount = 0;
};
// Decodes the common one-mesh TUMO layout used by gameplay stage objects.
// Decodes and aggregates every static TUMO mesh used by gameplay stage objects.
// Polygon fans are expanded on the host so the PSP only has to submit flat
// GU_TRIANGLES/GU_LINES arrays.
bool LoadTumoGeometry(const std::string& path, TumoGeometry* out, std::string* error);