taisei/src/resource/bgm.h
Andrei "Akari" Alexeyev 471f30083e WIP virtual filesystem
2017-04-20 05:02:22 +03:00

26 lines
605 B
C

/*
* This software is licensed under the terms of the MIT-License
* See COPYING for further information.
* ---
* Copyright (C) 2011, Lukas Weber <laochailan@web.de>
*/
#ifndef BGM_H
#define BGM_H
#include <stdbool.h>
typedef struct Music {
// can put some meta properties in here
void *impl;
} Music;
char* music_path(const char *name);
bool check_music_path(const char *path);
void* load_music_begin(const char *path, unsigned int flags);
void* load_music_end(void *opaque, const char *path, unsigned int flags);
void unload_music(void *snd);
#define BGM_PATH_PREFIX "res/bgm/"
#endif