mirror of
https://github.com/zeldaret/ss
synced 2026-06-21 08:12:19 -04:00
32 lines
651 B
C++
32 lines
651 B
C++
#ifndef NW4R_SND_SEQ_FILE_H
|
|
#define NW4R_SND_SEQ_FILE_H
|
|
#include "common.h"
|
|
#include "ut_binaryFileFormat.h"
|
|
|
|
namespace nw4r {
|
|
namespace snd {
|
|
namespace detail {
|
|
struct SeqFile {
|
|
ut::BinaryFileHeader mHeader; // at 0x0
|
|
u32 OFFSET_0x10; // at 0x10
|
|
};
|
|
|
|
struct SeqFileReader {
|
|
struct UNKBLOCK {
|
|
ut::BinaryBlockHeader mHeader; // at 0x0
|
|
u32 OFFSET_0x8;
|
|
};
|
|
|
|
const SeqFile *mFile; // at 0x0
|
|
const UNKBLOCK *PTR_0x4;
|
|
|
|
bool IsValidFileHeader(const void *);
|
|
SeqFileReader(const void *);
|
|
const void *GetBaseAddress() const;
|
|
};
|
|
} // namespace detail
|
|
} // namespace snd
|
|
} // namespace nw4r
|
|
|
|
#endif
|