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

#include <mtk.h>

Inheritance diagram for CmtkLoader:
ChscPlayer CPlayer

Public Member Functions

 CmtkLoader (Copl *newopl)
bool load (const std::string &filename, const CFileProvider &fp)
std::string gettype ()
std::string gettitle ()
std::string getauthor ()
unsigned int getinstruments ()
std::string getinstrument (unsigned int n)
Public Member Functions inherited from ChscPlayer
 ChscPlayer (Copl *newopl)
bool update ()
void rewind (int subsong)
float getrefresh ()
unsigned int getpatterns ()
unsigned int getpattern ()
unsigned int getorders ()
unsigned int getorder ()
unsigned int getrow ()
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 getsubsongs ()
virtual unsigned int getsubsong ()

Static Public Member Functions

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

Private Attributes

char title [34]
char composer [34]
char instname [0x80][34]

Additional Inherited Members

Protected Attributes inherited from ChscPlayer
hscchan channel [9]
unsigned char instr [128][12]
unsigned char song [0x80]
hscnote patterns [50][64 *9]
unsigned char pattpos
unsigned char songpos
unsigned char pattbreak
unsigned char songend
unsigned char mode6
unsigned char bd
unsigned char fadein
unsigned int speed
unsigned int del
unsigned char adl_freq [9]
int mtkmode
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb
Static Protected Attributes inherited from CPlayer
static const unsigned short note_table [12]
static const unsigned char op_table [9]

Constructor & Destructor Documentation

◆ CmtkLoader()

CmtkLoader::CmtkLoader ( Copl * newopl)
inline

Member Function Documentation

◆ factory()

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

◆ getauthor()

std::string CmtkLoader::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getinstrument()

std::string CmtkLoader::getinstrument ( unsigned int n)
inlinevirtual

Reimplemented from CPlayer.

◆ getinstruments()

unsigned int CmtkLoader::getinstruments ( )
inlinevirtual

Reimplemented from ChscPlayer.

◆ gettitle()

std::string CmtkLoader::gettitle ( )
inlinevirtual

Reimplemented from CPlayer.

◆ gettype()

std::string CmtkLoader::gettype ( )
inlinevirtual

Reimplemented from ChscPlayer.

◆ load()

bool CmtkLoader::load ( const std::string & filename,
const CFileProvider & fp )
virtual

Reimplemented from ChscPlayer.

Member Data Documentation

◆ composer

char CmtkLoader::composer[34]
private

◆ instname

char CmtkLoader::instname[0x80][34]
private

◆ title

char CmtkLoader::title[34]
private

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