mirror of https://github.com/AxioDL/metaforce.git
52 lines
1004 B
C++
52 lines
1004 B
C++
#pragma once
|
|
|
|
#include "RetroTypes.hpp"
|
|
#include "IOStreams.hpp"
|
|
#include "zeus/CColor.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
struct CBeamInfo
|
|
{
|
|
u32 x0_;
|
|
u32 x4_;
|
|
CAssetId x8_;
|
|
CAssetId xc_;
|
|
CAssetId x10_;
|
|
CAssetId x14_;
|
|
s32 x18_;
|
|
float x1c_;
|
|
float x20_;
|
|
float x24_;
|
|
float x28_;
|
|
float x2c_;
|
|
float x30_;
|
|
float x34_;
|
|
float x38_;
|
|
zeus::CColor x3c_;
|
|
zeus::CColor x40_;
|
|
|
|
CBeamInfo(CInputStream& in)
|
|
: x0_(in.readUint32Big())
|
|
, x4_(in.readUint32Big())
|
|
, x8_(in.readUint32Big())
|
|
, xc_(in.readUint32Big())
|
|
, x10_(in.readUint32Big())
|
|
, x14_(in.readUint32Big())
|
|
, x18_(in.readFloatBig())
|
|
, x1c_(in.readFloatBig())
|
|
, x20_(in.readFloatBig())
|
|
, x24_(in.readFloatBig())
|
|
, x28_(in.readFloatBig())
|
|
, x2c_(in.readFloatBig())
|
|
, x30_(in.readFloatBig())
|
|
, x34_(in.readFloatBig())
|
|
, x38_(in.readFloatBig())
|
|
, x3c_(zeus::CColor::ReadRGBABig(in))
|
|
, x40_(zeus::CColor::ReadRGBABig(in))
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|