Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_s_play.h
Go to the documentation of this file.
1#ifndef D_S_D_S_PLAY_H
2#define D_S_D_S_PLAY_H
3
5#include "f_op/f_op_scene.h"
6#include "m_Do/m_Do_hostIO.h"
7
10
12public:
13 /* 0x00 */ void* vtable;
14 /* 0x04 */ f32 mFloatReg[30];
15 /* 0x7C */ s16 mShortReg[10];
16};
17
19public:
20 /* 8025AD78 */ virtual ~dScnPly_reg_HIO_c() {}
21
22 /* 0x4 */ u8 field_0x4[0x8 - 0x4];
23#ifdef DEBUG
25#endif
26};
27
29public:
30 /* 8025ADC0 */ virtual ~dScnPly_preLoad_HIO_c() {}
31};
32
34public:
35 /* 80259440 */ dScnPly_env_otherHIO_c();
36
37 /* 8025AC0C */ virtual ~dScnPly_env_otherHIO_c() {}
38
40 /* 0x8 */ u8 mLODBias;
41 /* 0x9 */ u8 field_0x9;
43};
44
46public:
47 /* 80259468 */ dScnPly_env_debugHIO_c();
48
49 /* 8025ABC4 */ virtual ~dScnPly_env_debugHIO_c() {}
50
51private:
52 /* 0x04 */ u8 field_0x4;
57};
58
60public:
61 /* 8025AD04 */ virtual ~dScnPly_env_HIO_c() {}
62
63 /* 0x04 */ s8 field_0x4;
66};
67
69extern s8 nextPauseTimer__9dScnPly_c; // sPauseTimer
70
71class dScnPly_c : public scene_class {
72public:
73 /* 80259400 */ s8 calcPauseTimer();
74 /* 80259AC4 */ bool resetGame();
75 /* 80259BFC */ void offReset();
76
77 static bool isPause() { return pauseTimer == 0; }
79
80 static s8 pauseTimer;
82
86 /* 0x1D4 */ u8 field_0x1d4;
87};
88
91
100#ifdef DEBUG
101// Morita
102#define TREG_F(i) g_regHIO.mChildReg[0].mFloatReg[i]
103#define TREG_S(i) g_regHIO.mChildReg[0].mShortReg[i]
104
105// Matsutani
106#define DREG_F(i) g_regHIO.mChildReg[1].mFloatReg[i]
107#define DREG_S(i) g_regHIO.mChildReg[1].mShortReg[i]
108
109// Iwawaki
110#define IREG_F(i) g_regHIO.mChildReg[2].mFloatReg[i]
111#define IREG_S(i) g_regHIO.mChildReg[2].mShortReg[i]
112
113// Sasa
114#define SREG_F(i) g_regHIO.mChildReg[3].mFloatReg[i]
115#define SREG_S(i) g_regHIO.mChildReg[3].mShortReg[i]
116
117// Umemiya
118#define UREG_F(i) g_regHIO.mChildReg[4].mFloatReg[i]
119#define UREG_S(i) g_regHIO.mChildReg[4].mShortReg[i]
120
121// Ogawa
122#define OREG_F(i) g_regHIO.mChildReg[5].mFloatReg[i]
123#define OREG_S(i) g_regHIO.mChildReg[5].mShortReg[i]
124
125// Sakaguchi
126#define YREG_F(i) g_regHIO.mChildReg[6].mFloatReg[i]
127#define YREG_S(i) g_regHIO.mChildReg[6].mShortReg[i]
128
129// Sakai
130#define KREG_F(i) g_regHIO.mChildReg[7].mFloatReg[i]
131#define KREG_S(i) g_regHIO.mChildReg[7].mShortReg[i]
132
133// Hara
134#define BREG_F(i) g_regHIO.mChildReg[8].mFloatReg[i]
135#define BREG_S(i) g_regHIO.mChildReg[8].mShortReg[i]
136
137// Sumiyoshi
138#define MREG_F(i) g_regHIO.mChildReg[9].mFloatReg[i]
139#define MREG_S(i) g_regHIO.mChildReg[9].mShortReg[i]
140
141// Takeshita
142#define AREG_F(i) g_regHIO.mChildReg[10].mFloatReg[i]
143#define AREG_S(i) g_regHIO.mChildReg[10].mShortReg[i]
144
145// Yoshida
146#define PREG_F(i) g_regHIO.mChildReg[11].mFloatReg[i]
147#define PREG_S(i) g_regHIO.mChildReg[11].mShortReg[i]
148
149// Noma
150#define NREG_F(i) g_regHIO.mChildReg[12].mFloatReg[i]
151#define NREG_S(i) g_regHIO.mChildReg[12].mShortReg[i]
152
153// Nishiwaki
154#define WREG_F(i) g_regHIO.mChildReg[13].mFloatReg[i]
155#define WREG_S(i) g_regHIO.mChildReg[13].mShortReg[i]
156
157// Masaro
158#define JREG_F(i) g_regHIO.mChildReg[14].mFloatReg[i]
159#define JREG_S(i) g_regHIO.mChildReg[14].mShortReg[i]
160
161// Hayakawa
162#define HREG_F(i) g_regHIO.mChildReg[15].mFloatReg[i]
163#define HREG_S(i) g_regHIO.mChildReg[15].mShortReg[i]
164
165// Sadamoto
166#define VREG_F(i) g_regHIO.mChildReg[16].mFloatReg[i]
167#define VREG_S(i) g_regHIO.mChildReg[16].mShortReg[i]
168
169// Nishikawa
170#define XREG_F(i) g_regHIO.mChildReg[17].mFloatReg[i]
171#define XREG_S(i) g_regHIO.mChildReg[17].mShortReg[i]
172
173// Suzuki
174#define ZREG_F(i) g_regHIO.mChildReg[18].mFloatReg[i]
175#define ZREG_S(i) g_regHIO.mChildReg[18].mShortReg[i]
176
177// Nakanishi
178#define nREG_F(i) g_regHIO.mChildReg[19].mFloatReg[i]
179#define nREG_S(i) g_regHIO.mChildReg[19].mShortReg[i]
180
181// Kuwajima
182#define kREG_F(i) g_regHIO.mChildReg[20].mFloatReg[i]
183#define kREG_S(i) g_regHIO.mChildReg[20].mShortReg[i]
184
185// Okajima
186#define oREG_F(i) g_regHIO.mChildReg[21].mFloatReg[i]
187#define oREG_S(i) g_regHIO.mChildReg[21].mShortReg[i]
188
189// Yamazaki
190#define yREG_F(i) g_regHIO.mChildReg[22].mFloatReg[i]
191#define yREG_S(i) g_regHIO.mChildReg[22].mShortReg[i]
192
193// Ashida
194#define aREG_F(i) g_regHIO.mChildReg[23].mFloatReg[i]
195#define aREG_S(i) g_regHIO.mChildReg[23].mShortReg[i]
196
197// Okada
198#define hREG_F(i) g_regHIO.mChildReg[24].mFloatReg[i]
199#define hREG_S(i) g_regHIO.mChildReg[24].mShortReg[i]
200
201// Takahashi
202#define tREG_F(i) g_regHIO.mChildReg[25].mFloatReg[i]
203#define tREG_S(i) g_regHIO.mChildReg[25].mShortReg[i]
204#else
205// Morita
206#define TREG_F(i) (0)
207#define TREG_S(i) (0)
208
209// Matsutani
210#define DREG_F(i) (0)
211#define DREG_S(i) (0)
212
213// Iwawaki
214#define IREG_F(i) (0)
215#define IREG_S(i) (0)
216
217// Sasa
218#define SREG_F(i) (0)
219#define SREG_S(i) (0)
220
221// Umemiya
222#define UREG_F(i) (0)
223#define UREG_S(i) (0)
224
225// Ogawa
226#define OREG_F(i) (0)
227#define OREG_S(i) (0)
228
229// Sakaguchi
230#define YREG_F(i) (0)
231#define YREG_S(i) (0)
232
233// Sakai
234#define KREG_F(i) (0)
235#define KREG_S(i) (0)
236
237// Hara
238#define BREG_F(i) (0)
239#define BREG_S(i) (0)
240
241// Sumiyoshi
242#define MREG_F(i) (0)
243#define MREG_S(i) (0)
244
245// Takeshita
246#define AREG_F(i) (0)
247#define AREG_S(i) (0)
248
249// Yoshida
250#define PREG_F(i) (0)
251#define PREG_S(i) (0)
252
253// Noma
254#define NREG_F(i) (0)
255#define NREG_S(i) (0)
256
257// Nishiwaki
258#define WREG_F(i) (0)
259#define WREG_S(i) (0)
260
261// Masaro
262#define JREG_F(i) (0)
263#define JREG_S(i) (0)
264
265// Hayakawa
266#define HREG_F(i) (0)
267#define HREG_S(i) (0)
268
269// Sadamoto
270#define VREG_F(i) (0)
271#define VREG_S(i) (0)
272
273// Nishikawa
274#define XREG_F(i) (0)
275#define XREG_S(i) (0)
276
277// Suzuki
278#define ZREG_F(i) (0)
279#define ZREG_S(i) (0)
280
281// Nakanishi
282#define nREG_F(i) (0)
283#define nREG_S(i) (0)
284
285// Kuwajima
286#define kREG_F(i) (0)
287#define kREG_S(i) (0)
288
289// Okajima
290#define oREG_F(i) (0)
291#define oREG_S(i) (0)
292
293// Yamazaki
294#define yREG_F(i) (0)
295#define yREG_S(i) (0)
296
297// Ashida
298#define aREG_F(i) (0)
299#define aREG_S(i) (0)
300
301// Okada
302#define hREG_F(i) (0)
303#define hREG_S(i) (0)
304
305// Takahashi
306#define tREG_F(i) (0)
307#define tREG_S(i) (0)
308#endif
309
310#endif /* D_S_D_S_PLAY_H */
OSTime time
Definition GXInit.c:61
Definition d_s_play.h:71
static s8 nextPauseTimer
Definition d_s_play.h:81
static void setPauseTimer(s8 time)
Definition d_s_play.h:78
request_of_phase_process_class field_0x1c4
Definition d_s_play.h:83
mDoDvdThd_toMainRam_c * sceneCommand
Definition d_s_play.h:84
static bool isPause()
Definition d_s_play.h:77
u8 field_0x1d4
Definition d_s_play.h:86
mDoDvdThd_mountXArchive_c * field_0x1d0
Definition d_s_play.h:85
static s8 pauseTimer
Definition d_s_play.h:80
s8 calcPauseTimer()
Definition d_s_play.cpp:71
bool resetGame()
Definition d_s_play.cpp:293
void offReset()
Definition d_s_play.cpp:325
Definition d_s_play.h:59
dScnPly_env_otherHIO_c mOther
Definition d_s_play.h:64
dScnPly_env_debugHIO_c mDebug
Definition d_s_play.h:65
s8 field_0x4
Definition d_s_play.h:63
virtual ~dScnPly_env_HIO_c()
Definition d_s_play.h:61
Definition d_s_play.h:45
u8 field_0x4
Definition d_s_play.h:52
cXyz mBoxCullMaxSize
Definition d_s_play.h:54
cXyz mSphereCullCenter
Definition d_s_play.h:55
dScnPly_env_debugHIO_c()
Definition d_s_play.cpp:94
f32 mSphereCullRadius
Definition d_s_play.h:56
cXyz mBoxCullMinSize
Definition d_s_play.h:53
virtual ~dScnPly_env_debugHIO_c()
Definition d_s_play.h:49
Definition d_s_play.h:33
f32 mShadowDensity
Definition d_s_play.h:39
dScnPly_env_otherHIO_c()
Definition d_s_play.cpp:87
u8 field_0x9
Definition d_s_play.h:41
u8 mLODBias
Definition d_s_play.h:40
u8 mDispTransCylinder
Definition d_s_play.h:42
virtual ~dScnPly_env_otherHIO_c()
Definition d_s_play.h:37
Definition d_s_play.h:28
virtual ~dScnPly_preLoad_HIO_c()
Definition d_s_play.h:30
Definition d_s_play.h:18
dScnPly_reg_childHIO_c mChildReg[26]
Definition d_s_play.h:24
u8 field_0x4[0x8 - 0x4]
Definition d_s_play.h:22
virtual ~dScnPly_reg_HIO_c()
Definition d_s_play.h:20
Definition d_s_play.h:11
void * vtable
Definition d_s_play.h:13
s16 mShortReg[10]
Definition d_s_play.h:15
f32 mFloatReg[30]
Definition d_s_play.h:14
Definition m_Do_dvd_thread.h:60
Definition m_Do_dvd_thread.h:26
Definition m_Do_hostIO.h:5
Definition f_op_scene.h:15
dScnPly_env_HIO_c g_envHIO
Definition d_s_play.cpp:575
dScnPly_reg_HIO_c g_regHIO
Definition d_s_play.cpp:572
s8 pauseTimer__9dScnPly_c
s8 nextPauseTimer__9dScnPly_c
Definition d_a_hozelda.cpp:20
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8