metaforce/Runtime/GuiSys/CGuiTableGroup.cpp

39 lines
852 B
C++
Raw Normal View History

2016-03-11 00:23:16 +00:00
#include "CGuiTableGroup.hpp"
namespace urde
{
CGuiTableGroup::CGuiTableGroup(const CGuiWidgetParms& parms, int a, int b, bool c)
2016-03-18 02:45:45 +00:00
: CGuiCompoundWidget(parms),
xc0_(a), xc4_(b),
xc8_(b), xcc_(b),
xd0_(c)
{}
2016-03-11 00:23:16 +00:00
2016-03-18 02:45:45 +00:00
CGuiTableGroup* CGuiTableGroup::Create(CGuiFrame* frame, CInputStream& in, bool flag)
{
CGuiWidgetParms parms = ReadWidgetHeader(frame, in, flag);
int a = in.readInt16Big();
in.readInt16Big();
in.readUint32Big();
2016-03-18 02:45:45 +00:00
int b = in.readInt16Big();
in.readInt16Big();
bool c = in.readBool();
in.readBool();
in.readFloatBig();
in.readFloatBig();
in.readBool();
in.readFloatBig();
in.readInt16Big();
in.readInt16Big();
in.readInt16Big();
in.readInt16Big();
CGuiTableGroup* ret = new CGuiTableGroup(parms, a, b, c);
2016-03-18 02:45:45 +00:00
ret->ParseBaseInfo(frame, in, parms);
return ret;
}
2016-03-11 00:23:16 +00:00
}