Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/OpenSHC/Audio/mss.func.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss.func.hpp'
path: 'OpenSHC/Audio/MSS.func.hpp'
*/

#pragma once

#include "OpenSHC/Audio/mss.hpp"
#include "OpenSHC/Audio/MSS.hpp"
#include "WinDef.h"
#include "basetsd.h"
namespace OpenSHC {
namespace Audio {
namespace mss_Func {
namespace MSS_Func {

MACRO_FUNCTION_RESOLVER(
void(__stdcall*)(UINT uTimerID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2), false,
Address::SHC_3BB0A8C1_0x0047B510, &OpenSHC::Audio::mss::SndSystemTimeCallback)
Address::SHC_3BB0A8C1_0x0047B510, &OpenSHC::Audio::MSS::SndSystemTimeCallback)
SndSystemTimeCallback;

MACRO_FUNCTION_RESOLVER(undefined4(__stdcall*)(), false, Address::SHC_3BB0A8C1_0x0057E160,
&OpenSHC::Audio::mss::RegisterMilesAILShutdown)
&OpenSHC::Audio::MSS::RegisterMilesAILShutdown)
RegisterMilesAILShutdown;

} // namespace mss_Func
} // namespace MSS_Func
} // namespace Audio
} // namespace OpenSHC
6 changes: 3 additions & 3 deletions src/OpenSHC/Audio/mss.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss.hpp'
path: 'OpenSHC/Audio/MSS.hpp'
*/

#pragma once
Expand All @@ -12,12 +12,12 @@
#include "basetsd.h"
namespace OpenSHC {
namespace Audio {
namespace mss {
namespace MSS {

void __stdcall SndSystemTimeCallback(UINT uTimerID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);

undefined4 __stdcall RegisterMilesAILShutdown();

} // namespace mss
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
24 changes: 0 additions & 24 deletions src/OpenSHC/Audio/mss/FakeDigDriver.hpp

This file was deleted.

24 changes: 0 additions & 24 deletions src/OpenSHC/Audio/mss/FakeSample.hpp

This file was deleted.

24 changes: 0 additions & 24 deletions src/OpenSHC/Audio/mss/FakeStream.hpp

This file was deleted.

21 changes: 0 additions & 21 deletions src/OpenSHC/Audio/mss/HDIGDRIVER.hpp

This file was deleted.

21 changes: 0 additions & 21 deletions src/OpenSHC/Audio/mss/HSAMPLE.hpp

This file was deleted.

21 changes: 0 additions & 21 deletions src/OpenSHC/Audio/mss/HSTREAM.hpp

This file was deleted.

6 changes: 3 additions & 3 deletions src/OpenSHC/Audio/mss/SndStreamHelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss/SndStreamHelper.hpp'
path: 'OpenSHC/Audio/MSS/SndStreamHelper.hpp'
*/

#pragma once

namespace OpenSHC {
namespace Audio {
namespace mss {
namespace MSS {

#pragma pack(push, 1)
// SIZE: 0x00000014
Expand All @@ -26,6 +26,6 @@ namespace Audio {
#pragma pack(pop)

static_assert_cpp98_obj(sizeof(SndStreamHelper) == 20, SndStreamHelper);
} // namespace mss
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
16 changes: 8 additions & 8 deletions src/OpenSHC/Audio/mss/SoundSystem.func.hpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/**
path: 'OpenSHC/Audio/mss/SoundSystem.func.hpp'
path: 'OpenSHC/Audio/MSS/SoundSystem.func.hpp'
*/

#include "OpenSHC/Audio/mss/SoundSystem.hpp"
#include "OpenSHC/Audio/mss/UnkSoundFlagsAndLoopCount.hpp"
#include "OpenSHC/Audio/mss/_enums/SHC_SoundStreamInt.hpp"
#include "OpenSHC/Audio/MSS/SoundSystem.hpp"
#include "OpenSHC/Audio/MSS/UnkSoundFlagsAndLoopCount.hpp"
#include "OpenSHC/Audio/MSS/enums/SHC_SoundStreamInt.hpp"
#include "OpenSHC/DE/SHCDE/eMusicIDsInt.hpp"
#include "OpenSHC/WindowsHelper/Enums/BOOLEnum.hpp"
namespace OpenSHC {
namespace Audio {
namespace mss {
namespace MSS {
namespace SoundSystem_Func {

using OpenSHC::Audio::mss::UnkSoundFlagsAndLoopCount;
using OpenSHC::Audio::mss::_enums::SHC_SoundStreamInt;
using OpenSHC::Audio::MSS::UnkSoundFlagsAndLoopCount;
using OpenSHC::Audio::MSS::enums::SHC_SoundStreamInt;
using OpenSHC::DE::SHCDE::eMusicIDsInt;
using OpenSHC::WindowsHelper::Enums::BOOLEnum;

Expand Down Expand Up @@ -222,6 +222,6 @@ namespace Audio {
initMiles;

} // namespace SoundSystem_Func
} // namespace mss
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
21 changes: 8 additions & 13 deletions src/OpenSHC/Audio/mss/SoundSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,24 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss/SoundSystem.hpp'
path: 'OpenSHC/Audio/MSS/SoundSystem.hpp'
*/

#pragma once

#include "OpenSHC/Audio/mss/HDIGDRIVER.hpp"
#include "OpenSHC/Audio/mss/HSAMPLE.hpp"
#include "OpenSHC/Audio/mss/HSTREAM.hpp"
#include "OpenSHC/Audio/mss/UnkSoundFlagsAndLoopCount.hpp"
#include "OpenSHC/Audio/mss/_enums/SHC_SoundStreamInt.hpp"
#include "Mss32.h"
#include "OpenSHC/Audio/MSS/UnkSoundFlagsAndLoopCount.hpp"
#include "OpenSHC/Audio/MSS/enums/SHC_SoundStreamInt.hpp"
#include "OpenSHC/DE/SHCDE/eMusicIDsInt.hpp"
#include "OpenSHC/WindowsHelper/Enums/BOOLEnum.hpp"
#include "WinDef.h"

namespace OpenSHC {
namespace Audio {
namespace mss {
namespace MSS {

using OpenSHC::Audio::mss::HDIGDRIVER;
using OpenSHC::Audio::mss::HSAMPLE;
using OpenSHC::Audio::mss::HSTREAM;
using OpenSHC::Audio::mss::UnkSoundFlagsAndLoopCount;
using OpenSHC::Audio::mss::_enums::SHC_SoundStreamInt;
using OpenSHC::Audio::MSS::UnkSoundFlagsAndLoopCount;
using OpenSHC::Audio::MSS::enums::SHC_SoundStreamInt;
using OpenSHC::DE::SHCDE::eMusicIDsInt;
using OpenSHC::WindowsHelper::Enums::BOOLEnum;

Expand Down Expand Up @@ -190,6 +185,6 @@ namespace Audio {

MACRO_STRUCT_RESOLVER(SoundSystem, false, Address::SHC_3BB0A8C1_0x01127DD0) pDAT_SoundSystem;

} // namespace mss
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
6 changes: 3 additions & 3 deletions src/OpenSHC/Audio/mss/UnkSoundFlagsAndLoopCount.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.
path: 'OpenSHC/Audio/mss/UnkSoundFlagsAndLoopCount.hpp'
path: 'OpenSHC/Audio/MSS/UnkSoundFlagsAndLoopCount.hpp'
*/

#pragma once

namespace OpenSHC {
namespace Audio {
namespace mss {
namespace MSS {

#pragma pack(push, 1)
// SIZE: 0x00000004
Expand All @@ -24,6 +24,6 @@ namespace Audio {
#pragma pack(pop)

static_assert_cpp98_obj(sizeof(UnkSoundFlagsAndLoopCount) == 4, UnkSoundFlagsAndLoopCount);
} // namespace mss
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss/_enums/AILStatus.hpp'
path: 'OpenSHC/Audio/MSS/enums/AILStatus.hpp'
*/

#pragma once

namespace OpenSHC {
namespace Audio {
namespace mss {
namespace _enums {
namespace MSS {
namespace enums {
typedef enum AILStatus {

SND_FREE = 1, // 0x00000001
Expand All @@ -23,7 +23,7 @@ namespace Audio {
} AILStatus;

static_assert_cpp98_obj(sizeof(AILStatus) == 4, AILStatus);
} // namespace _enums
} // namespace mss
} // namespace enums
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
Communicate changes to the dev team (e.g. via a Pull Request).
Changes get lost otherwise.

path: 'OpenSHC/Audio/mss/_enums/AILStatusInt.hpp'
path: 'OpenSHC/Audio/MSS/enums/AILStatusInt.hpp'
*/

#pragma once

#include "OpenSHC/Audio/mss/_enums/AILStatus.hpp"
#include "OpenSHC/Audio/MSS/enums/AILStatus.hpp"

namespace OpenSHC {
namespace Audio {
namespace mss {
namespace _enums {
namespace MSS {
namespace enums {
typedef int AILStatusInt;

static_assert_cpp98_obj(sizeof(AILStatusInt) == 4, AILStatusInt);
} // namespace _enums
} // namespace mss
} // namespace enums
} // namespace MSS
} // namespace Audio
} // namespace OpenSHC
Loading
Loading