2026-07-30 01:10:31 -04:00
|
|
|
/**
|
|
|
|
|
* @file assets.h
|
|
|
|
|
* @brief Declares the public assets API.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-08-03 10:07:35 -04:00
|
|
|
#ifndef _ASSETS_H_
|
|
|
|
|
#define _ASSETS_H_
|
|
|
|
|
|
2026-01-05 08:58:06 -05:00
|
|
|
#include <akerror.h>
|
2025-08-03 10:07:35 -04:00
|
|
|
|
2026-07-30 01:10:31 -04:00
|
|
|
/**
|
|
|
|
|
* @brief Load start bgm.
|
|
|
|
|
* @param fname Path to the input or output file.
|
|
|
|
|
* @return `NULL` on success, otherwise an error context owned by the caller.
|
|
|
|
|
* @throws AKERR_NULLPOINTER When the corresponding validation or operation fails.
|
|
|
|
|
* @throws AKGL_ERR_SDL When the corresponding validation or operation fails.
|
|
|
|
|
*/
|
2026-05-06 23:18:42 -04:00
|
|
|
akerr_ErrorContext AKERR_NOIGNORE *akgl_load_start_bgm(char *fname);
|
2025-08-03 10:07:35 -04:00
|
|
|
|
|
|
|
|
#endif //_ASSETS_H_
|