Decompile 2 functions in Source/Resource/Models/AnimatedModelResource.cpp, Source/Resource/Models/AnimatedModelResource.h
Batch #18207 by ragnarok-clanker: 2 byte-identical, 0 confirmed by peer review. - fn_07956 C3dAnimModelRes::Create: byte-identical (already on main) - fn_07979 C3dAnimModelRes::C3dAnimModelRes: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
fd7f24c97d
commit
d972c8fe94
2 changed files with 12 additions and 8 deletions
|
|
@ -67,16 +67,16 @@ AnimatedModelNode::~AnimatedModelNode() {
|
|||
|
||||
// OFFSET: 0x007550E0
|
||||
// FUNCTION: fn_07979
|
||||
C3dAnimModelRes::C3dAnimModelRes() : originX(0.0f) {
|
||||
C3dAnimModelRes::C3dAnimModelRes() {
|
||||
this->recordCount = 0;
|
||||
this->records = nullptr;
|
||||
this->frameCount = 0;
|
||||
this->animationLength = 0;
|
||||
this->speed = 1.0f;
|
||||
this->shade = 2;
|
||||
this->originX = 0.0f;
|
||||
this->originY = 0.0f;
|
||||
this->originZ = 0.0f;
|
||||
this->origin.x = 0.0f;
|
||||
this->origin.y = 0.0f;
|
||||
this->origin.z = 0.0f;
|
||||
this->padding_0150 = 0;
|
||||
this->alpha = 255;
|
||||
}
|
||||
|
|
@ -129,7 +129,7 @@ bool C3dAnimModelRes::Load(const char* name) {
|
|||
|
||||
if (major == 1 && minor >= 2) {
|
||||
file.Read(&this->speed, 4);
|
||||
file.Read(&this->originX, 12);
|
||||
file.Read(&this->origin, 12);
|
||||
}
|
||||
|
||||
if (major == 1 && minor == 3) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue