|
LMMS
|
#include <rat.h>
Classes | |
| struct | rat_header |
| struct | rat_event |
| struct | rat_instrument |
Public Member Functions | |
| CxadratPlayer (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 CPlayer * | factory (Copl *newopl) |
| Static Public Member Functions inherited from CxadPlayer | |
| static CPlayer * | factory (Copl *newopl) |
Protected Member Functions | |
| bool | xadplayer_load () |
| void | xadplayer_rewind (int subsong) |
| void | xadplayer_update () |
| float | xadplayer_getrefresh () |
| std::string | xadplayer_gettype () |
| std::string | xadplayer_gettitle () |
| unsigned int | xadplayer_getinstruments () |
| Protected Member Functions inherited from CxadPlayer | |
| virtual std::string | xadplayer_getauthor () |
| virtual std::string | xadplayer_getinstrument (unsigned int i) |
| virtual unsigned int | xadplayer_getspeed () |
| void | opl_write (int reg, int val) |
Protected Attributes | |
| struct { | |
| rat_header hdr | |
| unsigned char volume | |
| unsigned char order_pos | |
| unsigned char pattern_pos | |
| unsigned char * order | |
| rat_instrument * inst | |
| rat_event tracks [256][64][9] | |
| struct { | |
| unsigned char instrument | |
| unsigned char volume | |
| unsigned char fx | |
| unsigned char fxp | |
| } channel [9] | |
| } | rat |
| 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 | |
| Copl * | opl |
| CAdPlugDatabase * | db |
Private Member Functions | |
| unsigned char | __rat_calc_volume (unsigned char ivol, unsigned char cvol, unsigned char gvol) |
Static Private Attributes | |
| static const unsigned char | rat_adlib_bases [18] |
| static const unsigned short | rat_notes [16] |
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] |
|
inline |
|
private |
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
Implements CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
| struct { ... } CxadratPlayer::channel[9] |
| unsigned char CxadratPlayer::fx |
| unsigned char CxadratPlayer::fxp |
| rat_header CxadratPlayer::hdr |
| rat_instrument* CxadratPlayer::inst |
| unsigned char CxadratPlayer::instrument |
| unsigned char* CxadratPlayer::order |
| unsigned char CxadratPlayer::order_pos |
| unsigned char CxadratPlayer::pattern_pos |
| struct { ... } CxadratPlayer::rat |
|
staticprivate |
|
staticprivate |
| rat_event CxadratPlayer::tracks[256][64][9] |
| unsigned char CxadratPlayer::volume |