mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Return type of PutData is MxResult (#305)
* Return type of PutData is MxResult * Remove out.html
This commit is contained in:
parent
2fa70d233f
commit
10062d2b28
12 changed files with 18 additions and 18 deletions
|
@ -88,7 +88,7 @@ void MxEventPresenter::StartingTickle()
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c2ef0
|
||||
undefined4 MxEventPresenter::PutData()
|
||||
MxResult MxEventPresenter::PutData()
|
||||
{
|
||||
MxAutoLocker lock(&m_criticalSection);
|
||||
|
||||
|
@ -113,5 +113,5 @@ undefined4 MxEventPresenter::PutData()
|
|||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class MxEventPresenter : public MxMediaPresenter {
|
|||
virtual void StartingTickle() override; // vtable+0x1c
|
||||
virtual MxResult AddToManager() override; // vtable+0x34
|
||||
virtual void Destroy() override; // vtable+0x38
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual MxResult PutData() override; // vtable+0x4c
|
||||
virtual void CopyData(MxStreamChunk* p_chunk); // vtable+0x5c
|
||||
|
||||
private:
|
||||
|
|
|
@ -45,7 +45,7 @@ void MxLoopingMIDIPresenter::DoneTickle()
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c2b00
|
||||
undefined4 MxLoopingMIDIPresenter::PutData()
|
||||
MxResult MxLoopingMIDIPresenter::PutData()
|
||||
{
|
||||
m_criticalSection.Enter();
|
||||
|
||||
|
@ -55,5 +55,5 @@ undefined4 MxLoopingMIDIPresenter::PutData()
|
|||
}
|
||||
|
||||
m_criticalSection.Leave();
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ class MxLoopingMIDIPresenter : public MxMIDIPresenter {
|
|||
|
||||
virtual void StreamingTickle() override; // vtable+0x20
|
||||
virtual void DoneTickle() override; // vtable+0x2c
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual MxResult PutData() override; // vtable+0x4c
|
||||
};
|
||||
|
||||
#endif // MXLOOPINGMIDIPRESENTER_H
|
||||
|
|
|
@ -94,7 +94,7 @@ void MxMIDIPresenter::Destroy()
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c2970
|
||||
undefined4 MxMIDIPresenter::PutData()
|
||||
MxResult MxMIDIPresenter::PutData()
|
||||
{
|
||||
m_criticalSection.Enter();
|
||||
|
||||
|
@ -106,7 +106,7 @@ undefined4 MxMIDIPresenter::PutData()
|
|||
}
|
||||
|
||||
m_criticalSection.Leave();
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c29e0
|
||||
|
|
|
@ -30,7 +30,7 @@ class MxMIDIPresenter : public MxMusicPresenter {
|
|||
virtual void DoneTickle() override; // vtable+0x2c
|
||||
virtual void Destroy() override; // vtable+0x38
|
||||
virtual void EndAction() override; // vtable+0x40
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual MxResult PutData() override; // vtable+0x4c
|
||||
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60
|
||||
|
||||
private:
|
||||
|
|
|
@ -96,9 +96,9 @@ MxBool MxPresenter::HasTickleStatePassed(TickleState p_tickleState)
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000bfc0
|
||||
undefined4 MxPresenter::PutData()
|
||||
MxResult MxPresenter::PutData()
|
||||
{
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000bfd0
|
||||
|
|
|
@ -61,7 +61,7 @@ class MxPresenter : public MxCore {
|
|||
__declspec(dllexport) virtual void EndAction(); // vtable+0x40
|
||||
virtual void SetTickleState(TickleState p_tickleState); // vtable+0x44
|
||||
virtual MxBool HasTickleStatePassed(TickleState p_tickleState); // vtable+0x48
|
||||
virtual undefined4 PutData(); // vtable+0x4c
|
||||
virtual MxResult PutData(); // vtable+0x4c
|
||||
virtual MxBool IsHit(MxS32 p_x, MxS32 p_y); // vtable+0x50
|
||||
__declspec(dllexport) virtual void Enable(MxBool p_enable); // vtable+0x54
|
||||
|
||||
|
|
|
@ -477,14 +477,14 @@ void MxVideoPresenter::EndAction()
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b3280
|
||||
undefined4 MxVideoPresenter::PutData()
|
||||
MxResult MxVideoPresenter::PutData()
|
||||
{
|
||||
MxAutoLocker lock(&m_criticalSection);
|
||||
|
||||
if (IsEnabled() && m_currentTickleState >= TickleState_Streaming && m_currentTickleState <= TickleState_unk5)
|
||||
VTable0x6c();
|
||||
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b3300
|
||||
|
|
|
@ -41,7 +41,7 @@ class MxVideoPresenter : public MxMediaPresenter {
|
|||
virtual MxResult AddToManager() override; // vtable+0x34
|
||||
virtual void Destroy() override; // vtable+0x38
|
||||
virtual void EndAction() override; // vtable+0x40
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual MxResult PutData() override; // vtable+0x4c
|
||||
virtual MxBool IsHit(MxS32 p_x, MxS32 p_y) override; // vtable+0x50
|
||||
virtual void LoadHeader(MxStreamChunk* p_chunk); // vtable+0x5c
|
||||
virtual void CreateBitmap(); // vtable+0x60
|
||||
|
|
|
@ -245,7 +245,7 @@ void MxWavePresenter::AppendChunk(MxStreamChunk* p_chunk)
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b2160
|
||||
undefined4 MxWavePresenter::PutData()
|
||||
MxResult MxWavePresenter::PutData()
|
||||
{
|
||||
MxAutoLocker lock(&m_criticalSection);
|
||||
|
||||
|
@ -276,7 +276,7 @@ undefined4 MxWavePresenter::PutData()
|
|||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b2280
|
||||
|
|
|
@ -34,7 +34,7 @@ class MxWavePresenter : public MxSoundPresenter {
|
|||
virtual MxResult AddToManager() override; // vtable+0x34
|
||||
virtual void Destroy() override; // vtable+0x38
|
||||
virtual void EndAction() override; // vtable+0x40
|
||||
virtual undefined4 PutData() override; // vtable+0x4c
|
||||
virtual MxResult PutData() override; // vtable+0x4c
|
||||
virtual void Enable(MxBool p_enable) override; // vtable+0x54
|
||||
virtual void AppendChunk(MxStreamChunk* p_chunk) override; // vtable+0x58
|
||||
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60
|
||||
|
|
Loading…
Reference in a new issue