NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_lytbase.hpp
1#pragma once
2#include <game/bases/d_2d.hpp>
3#include <game/bases/d_lyttextBox.hpp>
4#include <lib/nw4r/lyt/lyt_pane.hpp>
5#include <lib/nw4r/lyt/lyt_window.hpp>
6#include <lib/nw4r/lyt/lyt_picture.hpp>
7#include <_dummy_classes.hpp>
8
9class LytBase_c : public d2d::Multi_c {
10public:
11 LytBase_c();
12 ~LytBase_c();
13 virtual bool build(const char *, d2d::ResAccMult_c *);
14
15 LytTextBox_c *findTextBox(const char *);
16 void allocStringBuffer(nw4r::lyt::Pane *);
17
18 bool ReadResourceEx(const char *, int, bool);
19 bool ReadResource(const char *, bool);
20 bool ReadResource2(const char *, int);
21 bool ReadResource3(const char *, int);
22
23 void NPaneRegister(const char **, nw4r::lyt::Pane **, int);
24 void WPaneRegister(const char **, nw4r::lyt::Window **, int);
25 void PPaneRegister(const char **, nw4r::lyt::Picture **, int);
26 void TPaneRegister(const char **, LytTextBox_c **, int);
27 void TPaneNameRegister(const char **, const int *, int, int);
28 void AnimeResRegister(const char **, int);
29 void GroupRegister(const char **, const int *, int);
30
31 void AnimeStartBaseSetup(int);
32 void AnimeStartSetup(int, bool);
33 void LoopAnimeStartSetup(int);
34 void ReverseAnimeStartSetup(int, bool);
35 void AnimeEndSetup(int);
36 void AllAnimeEndSetup();
37
38 void AnimePlay();
39 bool isAnime(int);
40 bool isAllAnime();
41
42 void FUN_800c9770(void *, float *);
43
44 bool doDelete();
45
46private:
47 d2d::ResAccMultLoader_c mResAccessorLoader;
48
49 m2d::AnmResV2_c *mpAnimRes;
50 m2d::AnmGroup_c *mpAnimGroup;
51
52 bool *mpEnabledAnims;
53 int mAnimCount;
54
55 int mGroupCount;
56
57 int mLastStartedAnimNum;
58};
void FUN_800c9770(void *, float *)
bool ReadResource3(const char *, int)