coastline 0.0.4
Loading...
Searching...
No Matches
MusicPlayer Struct Reference

The position of the music player in its module. More...

#include <audio.h>

Public Attributes

u16 speed
u16 tick
u16 rowsLeft
u16 pad6
u8 * orders
u8 * row
u8 order
u8 songLength
u8 restartOrder
u8 pad13 [0x18 - 0x13]

Detailed Description

The position of the music player in its module.

Member Data Documentation

◆ speed

u16 MusicPlayer::speed

The ticks of a row.

◆ tick

u16 MusicPlayer::tick

The ticks remaining of the row.

◆ rowsLeft

u16 MusicPlayer::rowsLeft

The rows remaining of the pattern.

◆ pad6

u16 MusicPlayer::pad6

Padding to the alignment of the next member.

◆ orders

u8* MusicPlayer::orders

The order table of the patterns, copied from the module.

◆ row

u8* MusicPlayer::row

The packed data of the next row.

◆ order

u8 MusicPlayer::order

The index in the order table of the pattern playing, 0xFF before the first.

◆ songLength

u8 MusicPlayer::songLength

The entries of the order table that play.

◆ restartOrder

u8 MusicPlayer::restartOrder

The index in the order table the song restarts from at its end.

◆ pad13

u8 MusicPlayer::pad13[0x18 - 0x13]

Padding to the size of the structure in the binary.


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