mirror of
https://github.com/zeldaret/tp
synced 2026-06-03 10:31:57 -04:00
a072e71c33
* Z2SoundHandles: decomp portions
* start decomping: Z2SpeechMgr2, Z2SoundHandles
* Z2SoundHandles::stopAllSounds(): ok
* Z2SoundHandles::getHandleUserData(): ok
* Z2SoundInfo: header
* Z2SoundObjBase::framework(): ok
* Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok
* Z2SoundObjBase::~Z2SoundObjBase(): ok
* Z2SoundObjBase::stopOK(): ok
* Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose()
* clang-format
* Z2SoundObjBase::dispose(): ok
* JAISound::operator->(): null assert
* JAIAudience: stub
* Z2SoundObject::{init, deleteObject, isAlive}: ok
* Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this)
* start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init()
* Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok
* Z2MultiSeMgr::resetMultiSePos(): ok
* Z2WolfHowlMgr.h: decls
* Z2SoundStarter: move to decls and fix postprocess.py symbol pass
* Z2AudioArcLoader: decls
* Z2SoundObjMgr: ok some fns
- deleteEnemyAll()
- isTwilightBattle()
- setGhostEnemyState()
additionally elaborates parts of the Z2Creature hierarchy
* delete unused .s files and add tool to find them (only runs on linux)
* run clang-format
* postprocess.py: comment out debugging
* add python step to ok-check workflow
* address review comments
* address review comments
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
32 lines
824 B
C
32 lines
824 B
C
#ifndef Z2SOUNDSTARTER_H_
|
|
#define Z2SOUNDSTARTER_H_
|
|
|
|
#include "JSystem/JAudio2/JAISound/JAISound.h"
|
|
#include "JSystem/JGeometry/JGeometry.h"
|
|
|
|
struct Z2SoundStarter_vtable {
|
|
void* field_0x0;
|
|
void* field_0x4;
|
|
void* dtor;
|
|
void* startSound1;
|
|
void* startSound2;
|
|
};
|
|
|
|
struct Z2SoundStarter {
|
|
// Z2SoundStarter_vtable* vtable;
|
|
|
|
Z2SoundStarter(bool);
|
|
virtual ~Z2SoundStarter();
|
|
|
|
virtual void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
|
|
virtual void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*, u32, float,
|
|
float, float, float, float, u32);
|
|
|
|
void setPortData(JAISoundHandle*, u32, u16, s8);
|
|
void getPortData(JAISoundHandle*, u32, s8);
|
|
};
|
|
|
|
extern Z2SoundStarter* lbl_80450B74;
|
|
|
|
#endif // Z2SOUNDSTARTER_H_
|