pikmin2/include/Caption.h
EpochFlame 393dcd1dba consistent member variable naming
requested by @intns
2023-01-25 18:02:08 -05:00

55 lines
900 B
C++

#ifndef _CAPTION_H
#define _CAPTION_H
#include "CNode.h"
struct Graphics;
struct Stream;
namespace P2JME {
namespace Caption {
struct TControl;
}
} // namespace P2JME
namespace Caption {
/**
* @size{0x28}
*/
struct Node : public CNode {
Node();
virtual ~Node() { } // _08 (weak)
virtual void read(Stream&); // _10
u32 mStartFrame; // _18
u32 mEndFrame; // _1C
char mMesgID[8]; // _20
};
/**
* @size{0x24}
*/
struct Mgr : public CNode {
Mgr();
virtual ~Mgr() { } // _08 (weak)
virtual void read(Stream&); // _10
void draw(Graphics&);
P2JME::Caption::TControl* getFreeMessage();
void reset();
void resetMessageObjs();
void update(long);
// Unused/inlined:
void setCurrentNode(long);
P2JME::Caption::TControl* mControls; // _18
Node* mNode; // _1C
u8 _20[4]; // _20
};
} // namespace Caption
#endif