summaryrefslogtreecommitdiff
path: root/include/egg/gfx/eggScreen.h
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-09-12 22:36:34 +0200
committerGitHub <noreply@github.com>2024-09-12 16:36:34 -0400
commit1180e1f4860d62bccd64bfa2a29eaeebd2c4b019 (patch)
treece6e231ef46aacbdad52ad7f6cbcd9d02dba555e /include/egg/gfx/eggScreen.h
parente2c4bb7be7fa731a335bce4bc22283d899133e39 (diff)
m3d (#13)
* Initial M3d Pass * `m_bmdl` and `m_bline` left --------- Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com> Co-authored-by: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>
Diffstat (limited to 'include/egg/gfx/eggScreen.h')
-rw-r--r--include/egg/gfx/eggScreen.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/egg/gfx/eggScreen.h b/include/egg/gfx/eggScreen.h
new file mode 100644
index 00000000..b1b1c422
--- /dev/null
+++ b/include/egg/gfx/eggScreen.h
@@ -0,0 +1,27 @@
+#ifndef EGG_SCREEN_H
+#define EGG_SCREEN_H
+
+#include <common.h>
+#include <egg/gfx/eggFrustum.h>
+
+namespace EGG {
+
+// TODO: Fill out more
+class Screen : public Frustum {
+public:
+ Screen();
+ Screen(f32, f32, f32, f32, Screen *, CanvasMode);
+
+ virtual ~Screen();
+ virtual void SetProjectionGX() const override;
+ virtual void CopyToG3D(nw4r::g3d::Camera) const override;
+
+ static void Initialize(const u16 *, const u16 *, Screen *);
+ static void SetTVModeDefault();
+
+ u8 TODO_0x3C[0x88 - 0x3C];
+};
+
+} // namespace EGG
+
+#endif