Represents an N-SPC command (opcodes 0xE0-0xFF). More...
#include <song_data.h>
Public Member Functions | |
| int | GetParamCount () const |
| CommandType | GetType () const |
| bool | IsSubroutine () const |
| uint16_t | GetSubroutineAddress () const |
| uint8_t | GetSubroutineRepeatCount () const |
Public Attributes | |
| uint8_t | opcode = 0 |
| std::array< uint8_t, 3 > | params = {0, 0, 0} |
Represents an N-SPC command (opcodes 0xE0-0xFF).
Definition at line 222 of file song_data.h.
|
inline |
Definition at line 227 of file song_data.h.
References yaze::zelda3::music::kCommandParamCount, and opcode.
Referenced by yaze::zelda3::music::AsmExporter::ConvertCommandToAsm(), and yaze::zelda3::music::SpcSerializer::SerializeCommand().
|
inline |
Definition at line 233 of file song_data.h.
References opcode.
|
inline |
Definition at line 236 of file song_data.h.
References opcode.
|
inline |
Definition at line 237 of file song_data.h.
References params.
|
inline |
Definition at line 241 of file song_data.h.
References params.
| uint8_t yaze::zelda3::music::MusicCommand::opcode = 0 |
Definition at line 223 of file song_data.h.
Referenced by yaze::zelda3::music::AsmExporter::ConvertCommandToAsm(), GetParamCount(), GetType(), IsSubroutine(), yaze::zelda3::music::MusicBank::LoadFromJson(), yaze::zelda3::music::AsmImporter::ResolveCommandMacro(), yaze::zelda3::music::AsmImporter::ResolveInstrumentMacro(), and yaze::zelda3::music::SpcSerializer::SerializeCommand().
| std::array<uint8_t, 3> yaze::zelda3::music::MusicCommand::params = {0, 0, 0} |
Definition at line 224 of file song_data.h.
Referenced by yaze::zelda3::music::AsmExporter::ConvertCommandToAsm(), GetSubroutineAddress(), GetSubroutineRepeatCount(), yaze::zelda3::music::MusicBank::LoadFromJson(), yaze::zelda3::music::AsmImporter::ResolveCommandMacro(), yaze::zelda3::music::AsmImporter::ResolveInstrumentMacro(), and yaze::zelda3::music::SpcSerializer::SerializeCommand().