rename MxSmack to MxSmk (#1288)

* rename MxSmack to MxSmk

* format
This commit is contained in:
Ramen2X
2024-12-27 13:00:56 -05:00
committed by GitHub
parent 669454a194
commit fb2e9fb5ec
7 changed files with 63 additions and 63 deletions

View File

@@ -90,7 +90,7 @@ public:
// DECOMP: This could be a free function. It is static here because it has no
// reference to "this". In the beta it is called in two places:
// 1. GetBmiHeightAbs
// 2. MxSmack::LoadFrame
// 2. MxSmk::LoadFrame
// FUNCTION: BETA10 0x1002c690
static MxLong HeightAbs(MxLong p_value) { return p_value > 0 ? p_value : -p_value; }

View File

@@ -1,5 +1,5 @@
#ifndef MXSMACK_H
#define MXSMACK_H
#ifndef MXSMK_H
#define MXSMK_H
#include "decomp.h"
#include "mxrectlist.h"
@@ -28,7 +28,7 @@ extern "C"
}
// SIZE 0x6b8
struct MxSmack {
struct MxSmk {
SmackTag m_smackTag; // 0x00
undefined m_unk0x390[784]; // 0x390
MxU32* m_frameSizes; // 0x6a0
@@ -38,12 +38,12 @@ struct MxSmack {
MxU32 m_maxFrameSize; // 0x6b0
MxU8* m_unk0x6b4; // 0x6b4
static MxResult LoadHeader(MxU8* p_data, MxSmack* p_mxSmack);
static void Destroy(MxSmack* p_mxSmack);
static MxResult LoadHeader(MxU8* p_data, MxSmk* p_mxSmk);
static void Destroy(MxSmk* p_mxSmk);
static MxResult LoadFrame(
MxBITMAPINFO* p_bitmapInfo,
MxU8* p_bitmapData,
MxSmack* p_mxSmack,
MxSmk* p_mxSmk,
MxU8* p_chunkData,
MxBool p_paletteChanged,
MxRectList* p_list
@@ -51,4 +51,4 @@ struct MxSmack {
static MxBool GetRect(MxU8* p_unk0x6b4, MxU16* p_und, u32* p_smackRect, MxRect32* p_rect);
};
#endif // MXSMACK_H
#endif // MXSMK_H

View File

@@ -2,7 +2,7 @@
#define MXSMKPRESENTER_H
#include "decomp.h"
#include "mxsmack.h"
#include "mxsmk.h"
#include "mxvideopresenter.h"
// VTABLE: LEGO1 0x100dc348
@@ -48,7 +48,7 @@ private:
void Destroy(MxBool p_fromDestructor);
protected:
MxSmack m_mxSmack; // 0x64
MxSmk m_mxSmk; // 0x64
MxU32 m_currentFrame; // 0x71c
};