Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
fvb.h
Go to the documentation of this file.
1#ifndef FVB_H
2#define FVB_H
3
7
8namespace JStudio {
9namespace fvb {
10
11class TControl;
12
13class TParse : public TParse_header_block {
14public:
15 /* 80284ADC */ TParse(JStudio::fvb::TControl*);
16 /* 80284AFC */ virtual ~TParse();
17 /* 80284B5C */ virtual bool parseHeader_next(void const**, u32*, u32);
18 /* 80284BF0 */ virtual bool parseBlock_next(void const**, u32*, u32);
19
20 TControl* getControl() const { return pControl_; }
21
22private:
24};
25
27public:
29 TObject(void const* id, u32 id_size, TFunctionValue* value);
30
32 : TObject_ID(block.get_ID(), block.get_IDSize()), pfv_(value) {
33 ASSERT(pfv_ != NULL);
34 }
35
36 virtual ~TObject() = 0;
37
38 virtual void prepare_data_(const data::TParse_TParagraph::TData& data, TControl* control) = 0;
39
40 void prepare(const data::TParse_TBlock& block, TControl* control);
41
43
44private:
46 /* 0x14 */ TFunctionValue* pfv_;
47};
48
49class TFactory {
50public:
52
53 /* 80284918 */ virtual ~TFactory();
54 /* 80284960 */ virtual TObject* create(JStudio::fvb::data::TParse_TBlock const&);
55 /* 80284AA0 */ virtual void destroy(JStudio::fvb::TObject*);
56};
57
58class TControl {
59public:
60 /* 80284668 */ TControl();
61 /* 80284698 */ virtual ~TControl();
62
63 /* 80284704 */ void appendObject(JStudio::fvb::TObject*);
64 /* 80284750 */ void removeObject(JStudio::fvb::TObject*);
65 /* 80284780 */ void destroyObject(JStudio::fvb::TObject*);
66 /* 802847D0 */ void destroyObject_all();
67 /* 80284834 */ TObject* getObject(void const*, u32);
68 /* 802848D4 */ TObject* getObject_index(u32);
69
70 TFactory* getFactory() const { return pFactory; }
72
73private:
74 /* 0x4 */ TFactory* pFactory;
76}; // Size: 0x14
77
78class TObject_composite : public TObject {
79public:
83 /* 80284F78 */ virtual ~TObject_composite() {}
84
85private:
87};
88
89class TObject_constant : public TObject {
90public:
91 /* 80284338 */ TObject_constant(data::TParse_TBlock const&);
92 /* 80284EF4 */ virtual ~TObject_constant() {}
93
94 /* 802843B8 */ virtual void prepare_data_(data::TParse_TParagraph::TData const&, TControl*);
95
96private:
98};
99
101public:
103 /* 80284E70 */ virtual ~TObject_transition() {}
104
105 /* 80284448 */ virtual void prepare_data_(data::TParse_TParagraph::TData const&, TControl*);
106
107private:
109};
110
111class TObject_list : public TObject {
112public:
113 struct ListData {
114 /* 0x0 */ f32 _0;
115 /* 0x4 */ u32 _4;
116 /* 0x8 */ f32 _8[0];
117 };
118 /* 80284460 */ TObject_list(data::TParse_TBlock const&);
119 /* 80284DEC */ virtual ~TObject_list() {}
120
121 /* 802844E0 */ virtual void prepare_data_(data::TParse_TParagraph::TData const&, TControl*);
122
123private:
125};
126
128public:
129 struct ListData {
131 f32 _4[0];
132 };
134 /* 80284D68 */ virtual ~TObject_list_parameter() {}
135
136 /* 80284580 */ virtual void prepare_data_(data::TParse_TParagraph::TData const&, TControl*);
137
138private:
140};
141
142struct TObject_hermite : public TObject {
143public:
144 struct ListData {
145 u32 _0; // u : 28, uSize : 4
146 f32 _4[0];
147 };
148 /* 802845B0 */ TObject_hermite(data::TParse_TBlock const&);
149 /* 80284CE4 */ virtual ~TObject_hermite() {}
150
151 /* 80284630 */ virtual void prepare_data_(data::TParse_TParagraph::TData const&, TControl*);
152
153private:
155};
156
157} // namespace fvb
158} // namespace JStudio
159
160#endif /* FVB_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition functionvalue.h:172
Definition functionvalue.h:155
Definition functionvalue.h:359
Definition functionvalue.h:306
Definition functionvalue.h:255
Definition functionvalue.h:230
Definition functionvalue.h:19
Definition fvb.h:58
void appendObject(JStudio::fvb::TObject *)
Definition fvb.cpp:649
TFactory * pFactory
Definition fvb.h:74
TObject * getObject(void const *, u32)
Definition fvb.cpp:672
TFactory * getFactory() const
Definition fvb.h:70
void removeObject(JStudio::fvb::TObject *)
Definition fvb.cpp:655
void destroyObject_all()
Definition fvb.cpp:667
void destroyObject(JStudio::fvb::TObject *)
Definition fvb.cpp:661
TObject * getObject_index(u32)
Definition fvb.cpp:678
virtual ~TControl()
Definition fvb.cpp:643
void setFactory(TFactory *factory)
Definition fvb.h:71
TControl()
Definition fvb.cpp:641
JGadget::TLinkList< TObject, 12 > ocObject_
Definition fvb.h:75
Definition fvb.h:49
virtual void destroy(JStudio::fvb::TObject *)
Definition fvb.cpp:705
virtual ~TFactory()
Definition fvb.cpp:682
virtual TObject * create(JStudio::fvb::data::TParse_TBlock const &)
Definition fvb.cpp:684
TFactory()
Definition fvb.h:51
TFunctionValue_composite fnValue
Definition fvb.h:86
TObject_composite(JStudio::fvb::data::TParse_TBlock const &)
virtual void prepare_data_(JStudio::fvb::data::TParse_TParagraph::TData const &, JStudio::fvb::TControl *)
virtual ~TObject_composite()
Definition fvb.h:83
TFunctionValue_constant fnValue
Definition fvb.h:97
virtual ~TObject_constant()
Definition fvb.h:92
TObject_constant(data::TParse_TBlock const &)
virtual void prepare_data_(data::TParse_TParagraph::TData const &, TControl *)
Definition fvb.cpp:552
TObject_list_parameter(data::TParse_TBlock const &)
virtual ~TObject_list_parameter()
Definition fvb.h:134
virtual void prepare_data_(data::TParse_TParagraph::TData const &, TControl *)
Definition fvb.cpp:609
TFunctionValue_list_parameter fnValue
Definition fvb.h:139
Definition fvb.h:111
TObject_list(data::TParse_TBlock const &)
virtual ~TObject_list()
Definition fvb.h:119
TFunctionValue_list fnValue
Definition fvb.h:124
virtual void prepare_data_(data::TParse_TParagraph::TData const &, TControl *)
Definition fvb.cpp:590
TObject_transition(data::TParse_TBlock const &)
virtual void prepare_data_(data::TParse_TParagraph::TData const &, TControl *)
Definition fvb.cpp:571
virtual ~TObject_transition()
Definition fvb.h:103
TFunctionValue_transition fnValue
Definition fvb.h:108
Definition fvb.h:26
TObject(void const *id, u32 id_size, TFunctionValue *value)
virtual ~TObject()=0
Definition fvb.cpp:303
JGadget::TLinkListNode mNode
Definition fvb.h:45
virtual void prepare_data_(const data::TParse_TParagraph::TData &data, TControl *control)=0
void prepare(const data::TParse_TBlock &block, TControl *control)
Definition fvb.cpp:306
TObject(const data::TParse_TBlock &block, TFunctionValue *value)
Definition fvb.h:31
TFunctionValue * pfv_
Definition fvb.h:46
TObject(const data::TParse_TBlock &block)
TFunctionValue *const & referFunctionValue()
Definition fvb.h:42
Definition fvb.h:13
TControl * getControl() const
Definition fvb.h:20
virtual bool parseBlock_next(void const **, u32 *, u32)
Definition fvb.cpp:750
virtual ~TParse()
Definition fvb.cpp:713
TControl * pControl_
Definition fvb.h:23
virtual bool parseHeader_next(void const **, u32 *, u32)
Definition fvb.cpp:715
Definition fvb-data-parse.h:10
static u8 block[48]
Definition fstload.c:39
Definition functionvalue.cpp:318
Definition linklist.h:7
f32 _4[0]
Definition fvb.h:146
Definition fvb.h:142
virtual void prepare_data_(data::TParse_TParagraph::TData const &, TControl *)
Definition fvb.cpp:628
TObject_hermite(data::TParse_TBlock const &)
virtual ~TObject_hermite()
Definition fvb.h:149
TFunctionValue_hermite fnValue
Definition fvb.h:154
f32 _8[0]
Definition fvb.h:116
Definition fvb-data-parse.h:38
Definition object-id.h:27
TObject_ID(const void *id, u32 id_size)
Definition object-id.h:28
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22