summaryrefslogtreecommitdiff
path: root/src/factories/DisplayListFactory.h
diff options
context:
space:
mode:
authorLywx <kiritodev01@gmail.com>2026-07-02 20:42:38 -0600
committerGitHub <noreply@github.com>2026-07-02 20:42:38 -0600
commit58527d7bf8778bc67179454a19ad8c84a74aff13 (patch)
tree37df9df3eb558977b84b5a33b8143f3859c5d057 /src/factories/DisplayListFactory.h
parentb42a4fa16f7a75e2a96a7c107e6359c80b685863 (diff)
Implemented UI Framework (#225)
* Implemented base renderer among main UI framework implementation * Implemented basic geo layout rendering * Implemented animation support among fixing lightning among other things * Implemented multiple ui factories for sm64 * Implemented first iteration of the custom sequence driver * Added export buttons on multiple factories * More sequence player fixes among f3dex2 working correctly * Implemented pm64 viewers * Implemented audio support for pm64 * Fully implemented pm64 factories * Implemented more sm64 factories * Added tons of missing sf64 factories * Implemented all assets among sf64 wrong padding * Run formatting * Fixed wrong spacing on gfx too * Fixed CI * Fixed bad pipeline
Diffstat (limited to 'src/factories/DisplayListFactory.h')
-rw-r--r--src/factories/DisplayListFactory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/factories/DisplayListFactory.h b/src/factories/DisplayListFactory.h
index e46ab22..705ef74 100644
--- a/src/factories/DisplayListFactory.h
+++ b/src/factories/DisplayListFactory.h
@@ -42,3 +42,13 @@ public:
return 8;
}
};
+
+#ifdef BUILD_UI
+// Previews the display list as a shaded model via Fast3D. Requires the
+// asset's .o2r archive to be mounted.
+class DListFactoryUI : public BaseFactoryUI {
+public:
+ float GetItemHeight(const ParseResultData& data) override;
+ void DrawUI(const ParseResultData& data) override;
+};
+#endif