New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ChangePlayerNum.h
Go to the documentation of this file.
1#pragma once
2
3#include <layout_sys/AnimLayout.h>
4#include <state/FStateMgr.h>
5
6#include <layer/aglRenderInfo.h>
7
8// vtbl Address: 0x100C8CE0
10{
11public:
12 // Address: 0x02553AB8
14 // Address: 0x02553D24
15 virtual ~ChangePlayerNum();
16
17 // Address: 0x02553E28
18 void create();
19
20 // Address: 0x025546B8
21 void execute();
22
23 // Address: 0x025548D0
24 void draw(const agl::lyr::RenderInfo& render_info) const;
25 // Address: 0x0255491C
26 void drawBtn(const agl::lyr::RenderInfo& render_info) const;
27
28 // Address: 0x025549A8
29 void gather();
30
31 // Address: 0x02554A24
32 void setPlayerCharacter(s32 character, s32 player_no);
33 // Address: 0x02554A70
34 void resetPlayerCharacter(s32 character, s32 player_no);
35
36 void open()
37 {
38 mIsOpen = true;
39 }
40
41 bool isVisible() const
42 {
43 return mIsVisible;
44 }
45
46 // StateID_CloseRequest Address: 0x1020D434
47 // initializeState_CloseRequest Address: 0x02555998
48 // executeState_CloseRequest Address: 0x02555A28
49 // finalizeState_CloseRequest Address: 0x02556C04
50 DECLARE_STATE_ID(ChangePlayerNum, CloseRequest)
51
52 bool isCloseRequest() const
53 {
55 }
56
57protected:
60 u32 _ec4[(0xB798 - 0xEC4) / sizeof(u32)];
61 bool mIsOpen;
64 u32 _b79c[(0xB7A0 - 0xB79C) / sizeof(u32)];
65};
66static_assert(sizeof(ChangePlayerNum) == 0xB7A4);
Definition ChangePlayerNum.h:10
void drawBtn(const agl::lyr::RenderInfo &render_info) const
bool mIsVisible
Definition ChangePlayerNum.h:63
void open()
Definition ChangePlayerNum.h:36
void resetPlayerCharacter(s32 character, s32 player_no)
u32 _b79c[(0xB7A0 - 0xB79C)/sizeof(u32)]
Definition ChangePlayerNum.h:64
bool mIsOpen
Definition ChangePlayerNum.h:61
bool isVisible() const
Definition ChangePlayerNum.h:41
void setPlayerCharacter(s32 character, s32 player_no)
u8 _b799
Definition ChangePlayerNum.h:62
AnimLayout< 1 > mLayout
Definition ChangePlayerNum.h:59
u32 _ec4[(0xB798 - 0xEC4)/sizeof(u32)]
Definition ChangePlayerNum.h:60
virtual ~ChangePlayerNum()
void draw(const agl::lyr::RenderInfo &render_info) const