17 lines
319 B
C
17 lines
319 B
C
#ifndef ENGINE_SOUNDTRACK_H
|
|
#define ENGINE_SOUNDTRACK_H
|
|
|
|
#include <raylib.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct {
|
|
Music music;
|
|
bool playing;
|
|
bool paused;
|
|
} Soundtrack;
|
|
|
|
Soundtrack LoadSoundtrack(const char *musicPath);
|
|
void UpdateSoundtrack(Soundtrack *soundtrack, bool playing);
|
|
|
|
#endif // ENGINE_SOUNDTRACK_H
|