Nugget
Loading...
Searching...
No Matches
Functions | Variables
modplayer.h File Reference
#include <stdint.h>
Include dependency graph for modplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned MOD_Check (const struct MODFileFormat *module)
 
uint32_t MOD_Load (const struct MODFileFormat *module)
 
unsigned MOD_LoadEx (const struct MODFileFormat *module, const uint8_t *sampleData)
 
void MOD_Poll ()
 
void MOD_Relocate (uint8_t *buffer)
 
void MOD_SetMusicVolume (uint32_t musicVolume)
 
void MOD_PlayNote (unsigned voiceID, unsigned sampleID, unsigned note, int16_t volume)
 
void MOD_PlaySoundEffect (unsigned channel, unsigned sampleID, unsigned note, int16_t volume)
 
void MOD_Silence ()
 

Variables

unsigned MOD_Channels
 
unsigned MOD_SongLength
 
unsigned MOD_CurrentOrder
 
unsigned MOD_CurrentPattern
 
unsigned MOD_CurrentRow
 
unsigned MOD_Speed
 
unsigned MOD_Tick
 
unsigned MOD_BPM
 
unsigned MOD_LoopStart
 
unsigned MOD_LoopCount
 
uint8_t MOD_PatternDelay
 
const uint8_t * MOD_RowPointer
 
int MOD_ChangeRowNextTick
 
int MOD_ChangeOrderNextTick
 
unsigned MOD_NextRow
 
unsigned MOD_NextOrder
 
const uint16_t MOD_PeriodTable []
 
int MOD_Stereo
 
uint32_t MOD_hblanks
 

Function Documentation

◆ MOD_Check()

unsigned MOD_Check ( const struct MODFileFormat module)

◆ MOD_Load()

uint32_t MOD_Load ( const struct MODFileFormat module)

◆ MOD_LoadEx()

unsigned MOD_LoadEx ( const struct MODFileFormat module,
const uint8_t *  sampleData 
)

◆ MOD_PlayNote()

void MOD_PlayNote ( unsigned  voiceID,
unsigned  sampleID,
unsigned  note,
int16_t  volume 
)

◆ MOD_PlaySoundEffect()

void MOD_PlaySoundEffect ( unsigned  channel,
unsigned  sampleID,
unsigned  note,
int16_t  volume 
)

◆ MOD_Poll()

void MOD_Poll ( )

◆ MOD_Relocate()

void MOD_Relocate ( uint8_t *  buffer)

◆ MOD_SetMusicVolume()

void MOD_SetMusicVolume ( uint32_t  musicVolume)

◆ MOD_Silence()

void MOD_Silence ( )

Variable Documentation

◆ MOD_BPM

unsigned MOD_BPM
extern

◆ MOD_ChangeOrderNextTick

int MOD_ChangeOrderNextTick
extern

◆ MOD_ChangeRowNextTick

int MOD_ChangeRowNextTick
extern

◆ MOD_Channels

unsigned MOD_Channels
extern

◆ MOD_CurrentOrder

unsigned MOD_CurrentOrder
extern

◆ MOD_CurrentPattern

unsigned MOD_CurrentPattern
extern

◆ MOD_CurrentRow

unsigned MOD_CurrentRow
extern

◆ MOD_hblanks

uint32_t MOD_hblanks
extern

◆ MOD_LoopCount

unsigned MOD_LoopCount
extern

◆ MOD_LoopStart

unsigned MOD_LoopStart
extern

◆ MOD_NextOrder

unsigned MOD_NextOrder
extern

◆ MOD_NextRow

unsigned MOD_NextRow
extern

◆ MOD_PatternDelay

uint8_t MOD_PatternDelay
extern

◆ MOD_PeriodTable

const uint16_t MOD_PeriodTable[]
extern

◆ MOD_RowPointer

const uint8_t* MOD_RowPointer
extern

◆ MOD_SongLength

unsigned MOD_SongLength
extern

◆ MOD_Speed

unsigned MOD_Speed
extern

◆ MOD_Stereo

int MOD_Stereo
extern

◆ MOD_Tick

unsigned MOD_Tick
extern