Skip to content

Commit 53325ce

Browse files
committed
Matches
1 parent c254ad1 commit 53325ce

4 files changed

Lines changed: 6 additions & 12 deletions

File tree

common/include/mabmaterialanimationitem0x18.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MabMaterialAnimationItem0x18 {
1515

1616
MabMaterialAnimationItem0x18();
1717

18-
void FUN_10025d40(undefined2, undefined2, undefined2, undefined4);
18+
void FUN_10025d40(undefined2, undefined2, undefined2, LegoS32);
1919
void FUN_10025da0(undefined4 p_arg1, undefined2 p_arg2, undefined4 p_arg3);
2020
void FUN_004103c0(const MabMaterialAnimationItem0x18& p_other);
2121
void Reset();

common/src/mabmaterialanimation0x14.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ void MabMaterialAnimation0x14::FUN_10025a40(WhiteFalcon0x140* p_renderer, GolFil
103103
// FUNCTION: LEGORACERS 0x00410140
104104
void MabMaterialAnimation0x14::FUN_10025b60(GolFileParser& p_parser)
105105
{
106-
107106
LegoU32 i;
108107

109108
if (p_parser.GetNextToken() != GolFileParser::e_unknown0x28) {

common/src/mabmaterialanimationitem0x18.cpp

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,18 @@ MabMaterialAnimationItem0x18::MabMaterialAnimationItem0x18()
1818

1919
// FUNCTION: GOLDP 0x10025d40
2020
// FUNCTION: LEGORACERS 0x00410370
21-
void MabMaterialAnimationItem0x18::FUN_10025d40(
22-
undefined2 p_arg1,
23-
undefined2 p_arg2,
24-
undefined2 p_arg3,
25-
undefined4 p_arg4
26-
)
21+
void MabMaterialAnimationItem0x18::FUN_10025d40(undefined2 p_arg1, undefined2 p_arg2, undefined2 p_arg3, LegoS32 p_arg4)
2722
{
2823
if (m_flags & c_flagBit0) {
2924
Reset();
3025
}
3126
LegoFloat f = static_cast<LegoFloat>(p_arg4);
3227
m_unk0x06 = p_arg1;
33-
m_unk0x0c = f / 1000.0f;
3428
m_unk0x08 = p_arg2;
3529
m_unk0x0a = p_arg3;
36-
m_flags = c_flagBit0;
3730
m_unk0x10 = 0.0f;
31+
m_unk0x0c = f / 1000.0f;
32+
m_flags = c_flagBit0;
3833
}
3934

4035
// FUNCTION: LEGORACERS 0x004103c0
@@ -88,7 +83,7 @@ void MabMaterialAnimationItem0x18::FUN_00410470()
8883
// FUNCTION: LEGORACERS 0x00410480
8984
void MabMaterialAnimationItem0x18::FUN_00410480()
9085
{
91-
m_unk0x10 = 0;
86+
m_unk0x10 = 0.0f;
9287
}
9388

9489
// FUNCTION: LEGORACERS 0x00410490

common/src/mabmaterialanimationitem0x8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void MabMaterialAnimationItem0x8::FUN_10026110(WhiteFalcon0x140* p_renderer, con
2222
{
2323
m_unk0x00 = p_renderer->FindMaterialByName(p_name);
2424
if (m_unk0x00 == NULL) {
25-
char message[40];
25+
LegoChar message[40];
2626
::strcpy(message, "Unable to find named material: ");
2727
size_t lenPrefix = strlen(message);
2828
::strncpy(message + lenPrefix, p_name, 8);

0 commit comments

Comments
 (0)