metaforce/DataSpec/DNAMP1/Tweaks/CTweakAutoMapper.hpp

101 lines
2.9 KiB
C++
Raw Normal View History

2017-01-26 10:06:18 +00:00
#ifndef __DNAMP1_CTWEAKAUTOMAPPER_HPP__
#define __DNAMP1_CTWEAKAUTOMAPPER_HPP__
#include "../../DataSpec/DNACommon/Tweaks/ITweakAutoMapper.hpp"
#include "zeus/CVector3f.hpp"
namespace DataSpec
{
namespace DNAMP1
{
struct CTweakAutoMapper : public ITweakAutoMapper
{
DECL_YAML
Value<bool> x4_24_ : 1;
Value<bool> x4_25_ : 1;
Value<bool> x4_26_ : 1;
Value<float> x8_;
Value<float> xc_;
Value<float> x10_;
Value<float> x14_;
Value<float> x18_;
Value<float> x1c_;
Value<float> x20_;
DNAColor x24_;
Value<float> x28_;
Value<float> x2c_;
Value<float> x30_;
Value<float> x34_;
DNAColor x38_;
DNAColor x3c_;
DNAColor x40_;
DNAColor x44_;
DNAColor x48_;
DNAColor x4c_;
DNAColor x50_;
Value<float> x54_;
Value<float> x58_;
Value<float> x5c_;
float x60_ = 0.4f;
Value<float> x64_;
Value<float> x68_;
Value<float> x6c_;
Value<float> x70_;
Value<float> x74_;
Value<float> x78_;
DNAColor x7c_;
DNAColor x80_;
2017-03-20 05:09:53 +00:00
Value<float> x84_alphaSurfaceVisited;
2017-01-26 10:06:18 +00:00
Value<float> x88_;
2017-03-20 05:09:53 +00:00
Value<float> x8c_alphaOutlineVisited;
2017-01-26 10:06:18 +00:00
Value<float> x90_;
2017-03-20 05:09:53 +00:00
Value<float> x94_alphaSurfaceUnvisited;
2017-01-26 10:06:18 +00:00
Value<float> x98_;
2017-03-20 05:09:53 +00:00
Value<float> x9c_alphaOutlineUnvisited;
2017-01-26 10:06:18 +00:00
Value<float> xa0_;
/* Originally 4 separate floats */
Value<zeus::CVector3f> xa4_doorCenter;
Value<float> xb0_;
Value<float> xb4_;
2017-03-20 05:09:53 +00:00
Value<float> xb8_miniMapViewportWidth;
Value<float> xbc_miniMapViewportHeight;
2017-01-26 10:06:18 +00:00
Value<float> xc0_;
Value<float> xc4_;
Value<float> xc8_;
Value<bool> xcc_;
Value<float> xd0_;
Value<float> xd4_;
Value<float> xd8_;
Value<float> xdc_;
Value<float> xe0_;
Value<float> xe4_;
Value<float> xe8_;
2017-02-12 03:17:18 +00:00
Value<float> xec_camVerticalOffset;
2017-01-26 10:06:18 +00:00
DNAColor xf0_;
DNAColor xf4_;
DNAColor xf8_;
DNAColor xfc_;
Value<atUint32> x100_doorColorCount;
Vector<DNAColor, DNA_COUNT(x100_doorColorCount)> x104_doorColors;
DNAColor x118_doorBorderColor;
DNAColor x11c_openDoorColor;
CTweakAutoMapper() = default;
CTweakAutoMapper(athena::io::IStreamReader& r) { this->read(r); }
const zeus::CVector3f& GetDoorCenter() const { return xa4_doorCenter; }
2017-02-12 03:17:18 +00:00
float GetCamVerticalOffset() const { return xec_camVerticalOffset; }
2017-03-20 05:09:53 +00:00
float GetX28() const { return x28_; }
float GetX2C() const { return x2c_; }
float GetX30() const { return x30_; }
float GetAlphaSurfaceVisited() const { return x84_alphaSurfaceVisited; }
float GetAlphaOutlineVisited() const { return x8c_alphaOutlineVisited; }
float GetAlphaSurfaceUnvisited() const { return x94_alphaSurfaceUnvisited; }
float GetAlphaOutlineUnvisited() const { return x9c_alphaOutlineUnvisited; }
float GetMiniMapViewportWidth() const { return xb8_miniMapViewportWidth; }
float GetMiniMapViewportHeight() const { return xbc_miniMapViewportHeight; }
2017-01-26 10:06:18 +00:00
};
}
}
#endif // __DNAMP1_CTWEAKAUTOMAPPER_HPP__