LMMS
Loading...
Searching...
No Matches
hyp.h
Go to the documentation of this file.
1/*
2 * Adplug - Replayer for many OPL2/OPL3 audio file formats.
3 * Copyright (C) 1999 - 2003 Simon Peter, <dn.tlp@gmx.net>, et al.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * [xad] HYP player, by Riven the Mage <riven@ok.ru>
20 */
21
22#include "xad.h"
23
25{
26public:
27 static CPlayer *factory(Copl *newopl);
28
29 CxadhypPlayer(Copl *newopl): CxadPlayer(newopl)
30 { }
31
32protected:
33 struct
34 {
35 unsigned short pointer;
36 } hyp;
37 //
39 {
40 if(xad.fmt == HYP)
41 return true;
42 else
43 return false;
44 }
45 void xadplayer_rewind(int subsong);
46 void xadplayer_update();
48 std::string xadplayer_gettype();
49
50private:
51 static const unsigned char hyp_adlib_registers[99];
52 static const unsigned short hyp_notes[73];
53};
CPlayer(Copl *newopl)
Definition player.cpp:34
Definition opl.h:26
@ HYP
Definition xad.h:84
CxadPlayer(Copl *newopl)
Definition xad.cpp:36
struct CxadPlayer::xad_header xad
unsigned short pointer
Definition hyp.h:35
void xadplayer_update()
Definition hyp.cpp:83
struct CxadhypPlayer::@230340227111311074075110227266010056017161005144 hyp
static const unsigned short hyp_notes[73]
Definition hyp.h:47
float xadplayer_getrefresh()
Definition hyp.cpp:117
void xadplayer_rewind(int subsong)
Definition hyp.cpp:65
static CPlayer * factory(Copl *newopl)
Definition hyp.cpp:60
static const unsigned char hyp_adlib_registers[99]
Definition hyp.h:34
bool xadplayer_load()
Definition hyp.h:38
std::string xadplayer_gettype()
Definition hyp.cpp:122
CxadhypPlayer(Copl *newopl)
Definition hyp.h:29