blob: eae389630bbb9fb0d3a6490f2d418e908b5a7203 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef D_LYT_PAUSE_INFO_H
#define D_LYT_PAUSE_INFO_H
#include "d/lyt/d2d.h"
#include "s/s_State.hpp"
class dLytCommonTitle_c;
/** 2D UI - Pause menu - title and button help */
class dLytPauseInfo_c {
public:
dLytPauseInfo_c();
virtual ~dLytPauseInfo_c() {}
bool build();
bool remove();
bool execute();
bool draw();
void requestIn();
void requestOut();
void updateTitle();
void setInputInOut(bool inOut);
bool isChangingState() const {
return mIsChangingState;
}
private:
void updateCaption();
void startAnim(int idx);
void stopAnim(int idx);
void playBackwards(d2d::AnmGroup_c &anm);
STATE_FUNC_DECLARE(dLytPauseInfo_c, None);
STATE_FUNC_DECLARE(dLytPauseInfo_c, In);
STATE_FUNC_DECLARE(dLytPauseInfo_c, Wait);
STATE_FUNC_DECLARE(dLytPauseInfo_c, Out);
/* 0x004 */ UI_STATE_MGR_DECLARE(dLytPauseInfo_c);
/* 0x040 */ dLytCommonTitle_c *mpTitle;
/* 0x044 */ d2d::LytBase_c mLyt;
/* 0x0D4 */ d2d::AnmGroup_c mAnm[3];
/* 0x194 */ s32 mStep;
/* 0x198 */ bool mInRequest;
/* 0x199 */ bool mOutRequest;
/* 0x19A */ bool mIsChangingState;
/* 0x19B */ bool field_0x19B;
/* 0x19C */ bool mInputInOut;
};
#endif
|