NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m_video.hpp
1#pragma once
2#include <revolution/GX.h>
3
4class mVideo {
5public:
6 static void create();
7
8 float getWidth() const { return mRenderModeObj.fbWidth; }
9 float getHeight() const { return mRenderModeObj.efbHeight; }
10
11 static float getSmth(float offs) { return (m_video->mRenderModeObj.efbHeight - offs) * 0.5f; }
12
13 GXRenderModeObj &mRenderModeObj;
14
15 static mVideo *m_video;
16};