ScummVM API documentation
Ultima::Nuvie::Cu6mPlayer Class Reference
Inheritance diagram for Ultima::Nuvie::Cu6mPlayer:
Ultima::Nuvie::CPlayer

Classes

struct  byte_pair
 
struct  data_block
 
struct  subsong_info
 

Public Member Functions

 Cu6mPlayer (Copl *newopl)
 
bool load (const Common::Path &filename) override
 
bool update () override
 
void rewind (int subsong) override
 
float getrefresh () override
 
Std::string gettype () override
 
- Public Member Functions inherited from Ultima::Nuvie::CPlayer
 CPlayer (Copl *newopl)
 
void seek (unsigned long ms)
 
unsigned long songlength (int subsong=-1)
 
virtual Std::string gettitle ()
 
virtual Std::string getauthor ()
 
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 getspeed ()
 
virtual unsigned int getsubsongs ()
 
virtual unsigned int getinstruments ()
 
virtual Std::string getinstrument (unsigned int n)
 

Static Public Member Functions

static CPlayerfactory (Copl *newopl)
 

Protected Member Functions

void command_loop ()
 
unsigned char read_song_byte ()
 
signed char read_signed_song_byte ()
 
void dec_clip (int &)
 
byte_pair expand_freq_byte (unsigned char)
 
void set_adlib_freq (int channel, byte_pair freq_word)
 
void set_adlib_freq_no_update (int channel, byte_pair freq_word)
 
void set_carrier_mf (int channel, unsigned char mute_factor)
 
void set_modulator_mf (int channel, unsigned char mute_factor)
 
void freq_slide (int channel)
 
void vibrato (int channel)
 
void mf_slide (int channel)
 
void command_0 (int channel)
 
void command_1 (int channel)
 
void command_2 (int channel)
 
void command_3 (int channel)
 
void command_4 (int channel)
 
void command_5 (int channel)
 
void command_6 (int channel)
 
void command_7 (int channel)
 
void command_81 ()
 
void command_82 ()
 
void command_83 ()
 
void command_85 ()
 
void command_86 ()
 
void command_E ()
 
void command_F ()
 
void out_adlib (unsigned char adlib_register, unsigned char adlib_data)
 
void out_adlib_opcell (int channel, bool carrier, unsigned char adlib_register, unsigned char out_byte)
 

Protected Attributes

long played_ticks
 
unsigned char * song_data
 
bool driver_active
 
bool songend
 
int song_pos
 
int loop_position
 
int read_delay
 
Common::Stack< subsong_infosubsong_stack
 
int instrument_offsets [9]
 
unsigned char vb_current_value [9]
 
unsigned char vb_double_amplitude [9]
 
unsigned char vb_multiplier [9]
 
unsigned char vb_direction_flag [9]
 
unsigned char carrier_mf [9]
 
signed char carrier_mf_signed_delta [9]
 
unsigned char carrier_mf_mod_delay_backup [9]
 
unsigned char carrier_mf_mod_delay [9]
 
byte_pair channel_freq [9]
 
signed char channel_freq_signed_delta [9]
 
- Protected Attributes inherited from Ultima::Nuvie::CPlayer
Coplopl
 

Additional Inherited Members

- Static Protected Attributes inherited from Ultima::Nuvie::CPlayer
static const unsigned short note_table [12]
 
static const unsigned char op_table [9]
 

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