mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
5b99929394
Supports most of the grain types now while maintaining compatibility with the old stuff (at least the subset of things jak1 uses) Would benefit from some testing in Jak 1 to make sure I didn't break anything. Sorry the git history is a mess, I'll do something about it later.
20 lines
387 B
C++
20 lines
387 B
C++
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
namespace snd {
|
|
|
|
class MusicBank;
|
|
class SoundBank;
|
|
struct MIDIBlock;
|
|
|
|
class locator {
|
|
public:
|
|
virtual ~locator() = default;
|
|
virtual SoundBank* get_bank_by_handle(u32 id) = 0;
|
|
virtual MusicBank* get_bank_by_id(u32 id) = 0;
|
|
virtual u8* get_bank_samples(u32 id) = 0;
|
|
virtual MIDIBlock* get_midi(u32 id) = 0;
|
|
};
|
|
} // namespace snd
|