mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 22:01:24 +02:00
The sources of Petari (https://github.com/SMGCommunity/Petari), the Super Mario Galaxy decompilation by the SMGCommunity, at commit 0a5c6608dc3b4c44a9aa68c2535d1793dc565f02, unchanged but for LF line endings: LICENSE (as LICENSE-Petari.txt; CC0 1.0), include/, libs/ and src/. Left out: the game data Petari keeps from the original executable, the error message archive (include/Game/System/ ErrorArchive.hpp) and two tables (src/Game/System/GalaxyID.bcsv and StoryEvent.bcsv); GalaxyQuest's converter takes them from the player's own disc. The port's changes follow in the next commit, so `git diff petari-base -- decomp` shows them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <JSystem/JAudio2/JAISound.hpp>
|
|
|
|
namespace AudBgmSetting {
|
|
struct BgmSettingInfo {
|
|
/* 0x0 */ s32 mMuteStateIndex;
|
|
/* 0x4 */ s32 mExtraChordIndex;
|
|
};
|
|
|
|
struct MuteState {
|
|
/* 0x0 */ u8 mMuteStates[8]; // 16 nibbles
|
|
/* 0x8 */ u8 mVolumeA;
|
|
/* 0x9 */ u8 mVolumeB;
|
|
};
|
|
|
|
struct MultiBgmSet {
|
|
/* 0x00 */ u32 mSeqId;
|
|
/* 0x04 */ u32 mStreamId;
|
|
/* 0x08 */ f32 mBeatMul;
|
|
/* 0x0C */ u32 mIntroBeats;
|
|
/* 0x10 */ u32 mLoopBeats;
|
|
/* 0x14 */ u32 mLoopStartSamples; // time (sec) = val / 48000
|
|
/* 0x18 */ u32 mLoopEndSamples; // time (sec) = val / 48000
|
|
};
|
|
|
|
const MuteState* getMuteState(JAISoundID, s32);
|
|
u16 getExtraChordNum(JAISoundID, s32);
|
|
u32 getSeqIdForMultiBgm(u32);
|
|
u32 getStreamIdForMultiBgm(u32);
|
|
f32 getBeatMulForMultiBgm(u32);
|
|
u32 getIntroBeatsForMultiBgm(u32);
|
|
u32 getLoopBeatsForMultiBgm(u32);
|
|
u32 getLoopStartSamplesForMultiBgm(u32);
|
|
u32 getLoopEndSamplesForMultiBgm(u32);
|
|
|
|
}; // namespace AudBgmSetting
|