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]>
14 lines
311 B
C++
14 lines
311 B
C++
#include "Engine/Source/Model2/M2Data.h"
|
|
|
|
// VERIFY: f762ece4 auto
|
|
// OFFSET: 0x0081CE60
|
|
ubyte4::operator uint32_t() const {
|
|
return *reinterpret_cast<const uint32_t*>(this->b);
|
|
}
|
|
|
|
// VERIFY: 501d6d87 auto
|
|
// OFFSET: 0x008248B0
|
|
uint8_t ubyte4::operator[](uint32_t index) const {
|
|
return this->b[index];
|
|
}
|