-
Notifications
You must be signed in to change notification settings - Fork 5
/
mako.h
54 lines (41 loc) · 872 Bytes
/
mako.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
ALICE SOFT SYSTEM 3 for Win32
[ MAKO ]
*/
#ifndef _MAKO_H_
#define _MAKO_H_
#include <vector>
#include <stdio.h>
#include <limits.h>
#include <math.h>
#include "../common.h"
#include "nact.h"
class MAKO
{
public:
MAKO(NACT* parent, const char* playlist);
~MAKO();
void play_music(int page);
void stop_music();
bool check_music();
void get_mark(int* mark, int* loop);
void play_pcm(int page, bool loop);
void stop_pcm();
bool check_pcm();
#ifdef _WIN32
void on_mci_notify(SDL_SysWMmsg* msg);
#endif
// AMUS.DAT, AMSE.DAT
char amus[16];
char amse[16];
int current_music;
int next_loop; // Y19
int cd_track[100]; // Z
private:
NACT* nact;
#if !defined(__EMSCRIPTEN__) && !defined(__ANDROID__)
bool load_playlist(const char* path);
std::vector<const char*> playlist;
#endif
};
#endif