2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 16:59:12 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -3,39 +3,36 @@
#include "../../DNACommon/Tweaks/ITweakSlideShow.hpp"
#include "zeus/CColor.hpp"
namespace DataSpec::DNAMP1
{
namespace DataSpec::DNAMP1 {
struct CTweakSlideShow final : ITweakSlideShow
{
AT_DECL_DNA_YAML
struct CTweakSlideShow final : ITweakSlideShow {
AT_DECL_DNA_YAML
String<-1> x4_pakName;
String<-1> x14_fontAssetName;
DNAColor x24_fontColor;
DNAColor x28_outlineColor;
Value<float> x2c_scanPercentInterval;
Value<float> x30_;
Value<float> x34_;
Value<float> x38_;
Value<float> x3c_;
DNAColor x40_;
Value<float> x44_;
Value<float> x48_;
Value<float> x4c_;
Value<float> x50_;
Value<float> x54_;
Value<float> x58_;
String<-1> x4_pakName;
String<-1> x14_fontAssetName;
DNAColor x24_fontColor;
DNAColor x28_outlineColor;
Value<float> x2c_scanPercentInterval;
Value<float> x30_;
Value<float> x34_;
Value<float> x38_;
Value<float> x3c_;
DNAColor x40_;
Value<float> x44_;
Value<float> x48_;
Value<float> x4c_;
Value<float> x50_;
Value<float> x54_;
Value<float> x58_;
CTweakSlideShow() = default;
CTweakSlideShow(athena::io::IStreamReader& in) { read(in); }
CTweakSlideShow() = default;
CTweakSlideShow(athena::io::IStreamReader& in) { read(in); }
std::string_view GetFont() const { return x14_fontAssetName; }
const zeus::CColor& GetFontColor() const { return x24_fontColor; }
const zeus::CColor& GetOutlineColor() const { return x28_outlineColor; }
float GetScanPercentInterval() const { return x2c_scanPercentInterval; }
float GetX54() const { return x54_; }
std::string_view GetFont() const { return x14_fontAssetName; }
const zeus::CColor& GetFontColor() const { return x24_fontColor; }
const zeus::CColor& GetOutlineColor() const { return x28_outlineColor; }
float GetScanPercentInterval() const { return x2c_scanPercentInterval; }
float GetX54() const { return x54_; }
};
}
} // namespace DataSpec::DNAMP1