29 lines
437 B
C++
29 lines
437 B
C++
#ifndef AOBLIPPLAYER_H
|
|
#define AOBLIPPLAYER_H
|
|
|
|
#include "bass.h"
|
|
#include "aoapplication.h"
|
|
|
|
#include <QWidget>
|
|
|
|
class AOBlipPlayer
|
|
{
|
|
public:
|
|
AOBlipPlayer(QWidget *parent, AOApplication *p_ao_app);
|
|
|
|
void set_blips(QString p_sfx);
|
|
void blip_tick();
|
|
void set_volume(int p_volume);
|
|
|
|
int m_cycle = 0;
|
|
|
|
private:
|
|
QWidget *m_parent;
|
|
AOApplication *ao_app;
|
|
|
|
int m_volume;
|
|
HSTREAM m_stream_list[5];
|
|
};
|
|
|
|
#endif // AOBLIPPLAYER_H
|