summaryrefslogtreecommitdiff
path: root/apps/codecs/libasap/asap.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libasap/asap.h')
-rw-r--r--apps/codecs/libasap/asap.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/codecs/libasap/asap.h b/apps/codecs/libasap/asap.h
index b43b3ce0c2..0758b60bfb 100644
--- a/apps/codecs/libasap/asap.h
+++ b/apps/codecs/libasap/asap.h
@@ -31,8 +31,8 @@ extern "C" {
31/* ASAP version. */ 31/* ASAP version. */
32#define ASAP_VERSION_MAJOR 2 32#define ASAP_VERSION_MAJOR 2
33#define ASAP_VERSION_MINOR 1 33#define ASAP_VERSION_MINOR 1
34#define ASAP_VERSION_MICRO 0 34#define ASAP_VERSION_MICRO 2
35#define ASAP_VERSION "2.1.0" 35#define ASAP_VERSION "2.1.2"
36 36
37/* Short credits of the ASAP engine. */ 37/* Short credits of the ASAP engine. */
38#define ASAP_YEARS "2005-2010" 38#define ASAP_YEARS "2005-2010"
@@ -98,6 +98,7 @@ typedef struct {
98 int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ 98 int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */
99 abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ 99 abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */
100 /* the following technical information should not be used outside ASAP. */ 100 /* the following technical information should not be used outside ASAP. */
101 abool ntsc;
101 int type; 102 int type;
102 int fastplay; 103 int fastplay;
103 int music; 104 int music;
@@ -216,6 +217,9 @@ abool ASAP_ChangeExt(char *filename, const char *ext);
216abool ASAP_GetModuleInfo(ASAP_ModuleInfo *module_info, const char *filename, 217abool ASAP_GetModuleInfo(ASAP_ModuleInfo *module_info, const char *filename,
217 const byte module[], int module_len); 218 const byte module[], int module_len);
218 219
220/* Extracts year from date. */
221abool ASAP_DateToYear(const char *date, char *year);
222
219/* Loads music data. 223/* Loads music data.
220 "ast" is the destination structure. 224 "ast" is the destination structure.
221 "filename" determines file format. 225 "filename" determines file format.