mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-02 02:30:22 -04:00
project cleanup (#2895)
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
This commit is contained in:
@@ -2,18 +2,13 @@
|
||||
#include "Z2AudioLib/Z2EnvSeMgr.h"
|
||||
#include "Z2AudioLib/Z2AudioMgr.h"
|
||||
|
||||
/* 802AAB94-802AABF4 2A54D4 0060+00 0/0 4/4 0/0 .text __ct__14Z2SoundStarterFb */
|
||||
Z2SoundStarter::Z2SoundStarter(bool setInstance) :
|
||||
JAISoundStarter(setInstance), JASGlobalInstance<Z2SoundStarter>(setInstance) {}
|
||||
|
||||
/* 802AABF4-802AAC3C 2A5534 0048+00 1/0 5/0 0/0 .text
|
||||
* startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f> */
|
||||
bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr, const JGeometry::TVec3<f32>* posPtr) {
|
||||
return Z2SoundStarter::startSound(soundID, handlePtr, posPtr, 0, 0.0f, 1.0f, 1.0f, -1.0f, -1.0f, 0);
|
||||
}
|
||||
|
||||
/* 802AAC3C-802AAEDC 2A557C 02A0+00 2/1 2/2 0/0 .text
|
||||
* startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>UlfffffUl */
|
||||
bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr,
|
||||
const JGeometry::TVec3<f32>* posPtr, u32 mapinfo, f32 fxMix,
|
||||
f32 pitch, f32 volume, f32 pan, f32 dolby, u32 moveSteps) {
|
||||
@@ -73,8 +68,6 @@ bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr,
|
||||
return startSoundRes;
|
||||
}
|
||||
|
||||
/* 802AAEDC-802AAF74 2A581C 0098+00 1/1 10/10 0/0 .text
|
||||
* setPortData__14Z2SoundStarterFP14JAISoundHandleUlUsSc */
|
||||
void Z2SoundStarter::setPortData(JAISoundHandle* handlePtr, u32 portNum, u16 data, s8 childIndex) {
|
||||
if (handlePtr != NULL && *handlePtr) {
|
||||
JASTrack* track = handlePtr->getSound()->getTrack();
|
||||
@@ -90,8 +83,6 @@ void Z2SoundStarter::setPortData(JAISoundHandle* handlePtr, u32 portNum, u16 dat
|
||||
}
|
||||
}
|
||||
|
||||
/* 802AAF74-802AAFF0 2A58B4 007C+00 0/0 1/1 0/0 .text
|
||||
* getPortData__14Z2SoundStarterFP14JAISoundHandleUlSc */
|
||||
u16 Z2SoundStarter::getPortData(JAISoundHandle* handlePtr, u32 portNum, s8 childIndex) {
|
||||
if (handlePtr != NULL && *handlePtr) {
|
||||
JASTrack* track = NULL;
|
||||
|
||||
Reference in New Issue
Block a user