Initial public source release
Split reusable rendering and format support into vectorail-core and vectorail-gc.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace openroller::psp {
|
||||
|
||||
enum class AudioEffect : std::uint8_t {
|
||||
Adlib = 0,
|
||||
Tap1 = 1,
|
||||
Tap2 = 2,
|
||||
};
|
||||
|
||||
bool startAudioPlayer(
|
||||
const char* bgmPath,
|
||||
const char* shotPath,
|
||||
const char* effectDirectory);
|
||||
void stopAudioPlayer();
|
||||
bool audioPlayerRunning();
|
||||
bool audioPlayerFinished();
|
||||
std::uint32_t audioPlayerTimeMs();
|
||||
void setAudioPlayerPaused(bool paused);
|
||||
void seekAudioPlayer(std::uint32_t timeMs);
|
||||
void setAudioPlayerShotMuted(bool muted);
|
||||
void playAudioPlayerEffect(AudioEffect effect);
|
||||
|
||||
} // namespace openroller::psp
|
||||
Reference in New Issue
Block a user