M2Model.cpp, M2Shared.cpp, M2Scene.cpp, CM2SceneRender.cpp, M2Light.cpp, M2Cache.cpp and the new M2Data.cpp/.h (0x81C000-0x834900). Only the std::sort internals for CModelBatch stay unported. AnimationData lookups in ResolveSequenceFallback/SequenceFallbackById use g_animationDataDB directly: 12340 inlines its record loads into M2Model.cpp. Shared additions: CParticleEmitter2 vtable order and the plane/sphere/spline emitters, CRibbonMat, Services/Camera.h, Base/SIMD, Base/ObjectAlloc.h (the engine-side ObjectAlloc interface), CFacet, CAaRect, CiRange, the C44Matrix 16-float constructor and CMath fequal/fnotequal/FloatToInt64. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
28 lines
818 B
C++
28 lines
818 B
C++
#ifndef ENGINE_SOURCE_MODEL2_M2MODELLIGHT_H
|
|
#define ENGINE_SOURCE_MODEL2_M2MODELLIGHT_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Model2/M2Light.h"
|
|
#include "Engine/Source/Model2/M2Model.h"
|
|
#include "Engine/Source/Tempest/C3Vector.h"
|
|
|
|
class C3Vector;
|
|
|
|
class M2ModelLight {
|
|
public:
|
|
/* 0000 */ M2ModelTrack<C3Vector> m_ambientColorTrack;
|
|
/* 0014 */ M2ModelTrack<float> m_ambientIntensityTrack;
|
|
/* 0020 */ M2ModelTrack<C3Vector> m_diffuseColorTrack;
|
|
/* 0034 */ M2ModelTrack<float> m_diffuseIntensityTrack;
|
|
/* 0040 */ M2ModelTrack<float> m_attenuationStartTrack;
|
|
/* 004C */ M2ModelTrack<float> m_attenuationEndTrack;
|
|
/* 0058 */ M2ModelTrack<uint8_t> m_visibilityTrack;
|
|
/* 0064 */ uint32_t m_enabled;
|
|
/* 0068 */ CM2Light m_light;
|
|
|
|
M2ModelLight();
|
|
};
|
|
|
|
#endif
|