Files
bigmak94andClaude Opus 5.5 4b395efe5c Add the Petari decompilation (SMGCommunity/Petari@0a5c660)
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>
2026-10-01 01:59:38 +02:00

66 lines
2.6 KiB
C++

#pragma once
#include <JSystem/JAudio2/JAISeMgr.hpp>
namespace AudParams {
extern const f32 scCtgVolume[][16];
extern const int numFreeSe;
extern const int numFreeSeq;
extern const int numFreeStream;
extern const int numFreeSoundChild;
extern const int aramAddr;
extern const int aramSize;
extern const int workAreaSize;
extern const int audioThreadPriority;
extern const int dvdThreadPriority;
extern const int dvdThreadSwitchID;
extern const int audioThreadSwitchID;
extern const int numFreeTracks;
extern const int numFreeTrackChannels;
extern const int streamBlockSize;
extern const int numStreamChannels;
extern const f32 outputGain;
extern const int maxSeqDataSize;
extern const s32 numInspectableSoundObj;
extern const f32 masterVolBgm;
extern const f32 masterVolSe;
extern const f32 masterVolStream;
extern const JAISeCategoryArrangementItem arrangeSE_SY;
extern const JAISeCategoryArrangementItem arrangeSE_PV;
extern const JAISeCategoryArrangementItem arrangeSE_PM;
extern const JAISeCategoryArrangementItem arrangeSE_BV;
extern const JAISeCategoryArrangementItem arrangeSE_BM;
extern const JAISeCategoryArrangementItem arrangeSE_EV;
extern const JAISeCategoryArrangementItem arrangeSE_EM;
extern const JAISeCategoryArrangementItem arrangeSE_SV;
extern const JAISeCategoryArrangementItem arrangeSE_SM;
extern const JAISeCategoryArrangementItem arrangeSE_OJ;
extern const JAISeCategoryArrangementItem arrangeSE_AT;
extern const JAISeCategoryArrangementItem arrangeSE_DM;
extern const JAISeCategoryArrangementItem arrangeSE_RS;
extern const JAISeCategoryArrangementItem arrangeHOMESE;
extern const s32 streamAramBlocks_perChunk;
extern const f32 streamSampleRate;
extern const f32 faderVolZeroVolume;
extern const f32 faderVolDownVolume;
extern const f32 faderInterruptedVolume;
extern const s32 faderVolZeroTime;
extern const s32 faderVolDownTime;
extern const s32 faderInterruptedTime;
extern const s32 faderVolZeroRecoverTime;
extern const s32 faderVolDownRecoverTime;
extern const s32 faderInterruptedRecoverTime;
extern const f32 micFarDistance;
extern const f32 micNearDistance;
extern const f32 micMinVolume;
extern const f32 micFrontDolbyZ;
extern const f32 micBehindDolbyZ;
extern const f32 micMaxDolby;
extern const f32 micMinDolby;
extern const f32 micCenterDolby;
extern const f32 micPanAmplitude;
extern const f32 micSonicSpeed;
extern const f32 micPitchDeltaRatioRange;
extern const s32 micPriorityDownRange;
}; // namespace AudParams