NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_2d.hpp
1#pragma once
2#include <game/bases/d_resource.hpp>
3#include <game/mLib/m2d/base.hpp>
4#include <lib/nw4r/lyt/lyt_layout.hpp>
5#include <lib/nw4r/lyt/lyt_resource.hpp>
6#include <lib/nw4r/lyt/lyt_draw_info.hpp>
7#include <lib/nw4r/math/vec.hpp>
8
9namespace d2d {
10
11class Multi_c : public m2d::Base_c {
12public:
13 virtual ~Multi_c();
14 virtual void draw();
15 virtual void calc();
16 virtual bool build(const char *, ResAccMult_c *);
17
18 void entry();
19 nw4r::lyt::Pane *getRootPane();
20
21private:
22 nw4r::lyt::Layout mLayout;
23 nw4r::lyt::DrawInfo mDrawInfo;
24 ResAccMult_c *mpResAccessor;
25
27
28 nw4r::math::VEC2 mClipPos;
29 nw4r::math::VEC2 mClipSize;
30 bool mClipEnabled;
31
32 u32 mFlags;
33 u32 mUnknown_98;
34};
35
36} // namespace d2d