LMMS
Loading...
Searching...
No Matches
CxadhypPlayer Class Reference

#include <hyp.h>

Inheritance diagram for CxadhypPlayer:
CxadPlayer CPlayer

Public Member Functions

 CxadhypPlayer (Copl *newopl)
Public Member Functions inherited from CxadPlayer
 CxadPlayer (Copl *newopl)
 ~CxadPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
std::string gettitle ()
std::string getauthor ()
std::string getinstrument (unsigned int i)
unsigned int getinstruments ()
unsigned int getspeed ()
Public Member Functions inherited from CPlayer
 CPlayer (Copl *newopl)
virtual ~CPlayer ()
void seek (unsigned long ms)
unsigned long songlength (int subsong=-1)
virtual std::string getdesc ()
virtual unsigned int getpatterns ()
virtual unsigned int getpattern ()
virtual unsigned int getorders ()
virtual unsigned int getorder ()
virtual unsigned int getrow ()
virtual unsigned int getsubsongs ()
virtual unsigned int getsubsong ()

Static Public Member Functions

static CPlayerfactory (Copl *newopl)
Static Public Member Functions inherited from CxadPlayer
static CPlayerfactory (Copl *newopl)

Protected Member Functions

bool xadplayer_load ()
void xadplayer_rewind (int subsong)
void xadplayer_update ()
float xadplayer_getrefresh ()
std::string xadplayer_gettype ()
Protected Member Functions inherited from CxadPlayer
virtual std::string xadplayer_gettitle ()
virtual std::string xadplayer_getauthor ()
virtual std::string xadplayer_getinstrument (unsigned int i)
virtual unsigned int xadplayer_getinstruments ()
virtual unsigned int xadplayer_getspeed ()
void opl_write (int reg, int val)

Protected Attributes

struct { 
   unsigned short   pointer 
hyp
Protected Attributes inherited from CxadPlayer
struct CxadPlayer::xad_header xad
unsigned char * tune
unsigned long tune_size
struct { 
   int   playing 
   int   looping 
   unsigned char   speed 
   unsigned char   speed_counter 
plr
unsigned char adlib [256]
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Static Private Attributes

static const unsigned char hyp_adlib_registers [99]
static const unsigned short hyp_notes [73]

Additional Inherited Members

Protected Types inherited from CxadPlayer
enum  {
  HYP =1 , PSI , FLASH , BMF ,
  RAT , HYBRID
}
Static Protected Attributes inherited from CPlayer
static const unsigned short note_table [12]
static const unsigned char op_table [9]

Constructor & Destructor Documentation

◆ CxadhypPlayer()

CxadhypPlayer::CxadhypPlayer ( Copl * newopl)
inline

Member Function Documentation

◆ factory()

CPlayer * CxadhypPlayer::factory ( Copl * newopl)
static

◆ xadplayer_getrefresh()

float CxadhypPlayer::xadplayer_getrefresh ( )
protectedvirtual

Implements CxadPlayer.

◆ xadplayer_gettype()

std::string CxadhypPlayer::xadplayer_gettype ( )
protectedvirtual

Implements CxadPlayer.

◆ xadplayer_load()

bool CxadhypPlayer::xadplayer_load ( )
inlineprotectedvirtual

Implements CxadPlayer.

◆ xadplayer_rewind()

void CxadhypPlayer::xadplayer_rewind ( int subsong)
protectedvirtual

Implements CxadPlayer.

◆ xadplayer_update()

void CxadhypPlayer::xadplayer_update ( )
protectedvirtual

Implements CxadPlayer.

Member Data Documentation

◆ [struct]

struct { ... } CxadhypPlayer::hyp

◆ hyp_adlib_registers

const unsigned char CxadhypPlayer::hyp_adlib_registers
staticprivate
Initial value:
=
{
0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xA0, 0xB0, 0xC0,
0x21, 0x24, 0x41, 0x44, 0x61, 0x64, 0x81, 0x84, 0xA1, 0xB1, 0xC1,
0x22, 0x25, 0x42, 0x45, 0x62, 0x65, 0x82, 0x85, 0xA2, 0xB2, 0xC2,
0x28, 0x2B, 0x48, 0x4B, 0x68, 0x6B, 0x88, 0x8B, 0xA3, 0xB3, 0xC3,
0x29, 0x2C, 0x49, 0x4C, 0x69, 0x6C, 0x89, 0x8C, 0xA4, 0xB4, 0xC4,
0x2A, 0x2D, 0x4A, 0x4D, 0x6A, 0x6D, 0x8A, 0x8D, 0xA5, 0xB5, 0xC5,
0x30, 0x33, 0x50, 0x53, 0x70, 0x73, 0x90, 0x93, 0xA6, 0xB6, 0xC6,
0x31, 0x34, 0x51, 0x54, 0x71, 0x74, 0x91, 0x94, 0xA7, 0xB7, 0xC7,
0x32, 0x35, 0x52, 0x55, 0x72, 0x75, 0x92, 0x95, 0xA8, 0xB8, 0xC8
}

◆ hyp_notes

const unsigned short CxadhypPlayer::hyp_notes
staticprivate
Initial value:
=
{
0x0000,
0x0956, 0x096B, 0x0980, 0x0998, 0x09B1, 0x09C9, 0x09E5, 0x0A03, 0x0A21,
0x0A41, 0x0A63, 0x0A86, 0x0D56, 0x0D6B, 0x0D80, 0x0D98, 0x0DB1, 0x0DC9,
0x0DE5, 0x0E03, 0x0E21, 0x0E41, 0x0E63, 0x0E86, 0x1156, 0x116B, 0x1180,
0x1198, 0x11B1, 0x11C9, 0x11E5, 0x1203, 0x1221, 0x1241, 0x1263, 0x1286,
0x1556, 0x156B, 0x1580, 0x1598, 0x15B1, 0x15C9, 0x15E5, 0x1603, 0x1621,
0x1641, 0x1663, 0x1686, 0x1956, 0x196B, 0x1980, 0x1998, 0x19B1, 0x19C9,
0x19E5, 0x1A03, 0x1A21, 0x1A41, 0x1A63, 0x1A86, 0x1D56, 0x1D6B, 0x1D80,
0x1D98, 0x1DB1, 0x1DC9, 0x1DE5, 0x1E03, 0x1E21, 0x1E41, 0x1E63, 0x1E86
}

◆ pointer

unsigned short CxadhypPlayer::pointer

The documentation for this class was generated from the following files: