2023-12-20 20:07:48 -05:00
|
|
|
#ifndef MXSMACK_H
|
|
|
|
#define MXSMACK_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
2023-12-21 10:52:42 -05:00
|
|
|
#include "mxrectlist.h"
|
2023-12-20 20:07:48 -05:00
|
|
|
#include "mxtypes.h"
|
|
|
|
|
2024-05-16 22:11:33 -04:00
|
|
|
#include <smacker.h>
|
2023-12-20 20:07:48 -05:00
|
|
|
|
2024-05-03 12:19:12 -04:00
|
|
|
struct MxBITMAPINFO;
|
|
|
|
|
2023-12-20 20:07:48 -05:00
|
|
|
// SIZE 0x6b8
|
|
|
|
struct MxSmack {
|
2024-05-16 22:11:33 -04:00
|
|
|
smk m_smk;
|
2023-12-20 20:07:48 -05:00
|
|
|
|
2024-05-16 22:11:33 -04:00
|
|
|
static MxResult LoadHeader(MxU8* p_data, MxU32 p_length, MxSmack* p_mxSmack);
|
2023-12-20 20:07:48 -05:00
|
|
|
static void Destroy(MxSmack* p_mxSmack);
|
2023-12-21 21:11:14 -05:00
|
|
|
static MxResult LoadFrame(
|
2023-12-21 10:52:42 -05:00
|
|
|
MxBITMAPINFO* p_bitmapInfo,
|
|
|
|
MxU8* p_bitmapData,
|
|
|
|
MxSmack* p_mxSmack,
|
|
|
|
MxU8* p_chunkData,
|
2024-05-16 22:11:33 -04:00
|
|
|
MxBool& p_paletteChanged,
|
|
|
|
MxU32 p_currentFrame,
|
2023-12-21 10:52:42 -05:00
|
|
|
MxRectList* p_list
|
|
|
|
);
|
2023-12-20 20:07:48 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXSMACK_H
|