yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::music::AsmImporter::ParseState Struct Reference

Public Attributes

int line_number = 0
 
int current_channel = -1
 
uint8_t current_duration = 0
 
std::string song_label
 
uint16_t aram_address = 0xD800
 
std::unordered_map< std::string, int > label_to_channel
 
std::unordered_map< std::string, std::vector< TrackEvent > > subroutines
 
std::vector< std::string > warnings
 
std::vector< std::string > errors
 
int bytes_generated = 0
 

Detailed Description

Definition at line 72 of file asm_importer.h.

Member Data Documentation

◆ line_number

◆ current_channel

int yaze::zelda3::music::AsmImporter::ParseState::current_channel = -1

◆ current_duration

uint8_t yaze::zelda3::music::AsmImporter::ParseState::current_duration = 0

◆ song_label

std::string yaze::zelda3::music::AsmImporter::ParseState::song_label

◆ aram_address

uint16_t yaze::zelda3::music::AsmImporter::ParseState::aram_address = 0xD800

Definition at line 77 of file asm_importer.h.

Referenced by yaze::zelda3::music::AsmImporter::ParseDirective().

◆ label_to_channel

std::unordered_map<std::string, int> yaze::zelda3::music::AsmImporter::ParseState::label_to_channel

Definition at line 78 of file asm_importer.h.

Referenced by yaze::zelda3::music::AsmImporter::ParseLabel().

◆ subroutines

std::unordered_map<std::string, std::vector<TrackEvent> > yaze::zelda3::music::AsmImporter::ParseState::subroutines

Definition at line 79 of file asm_importer.h.

◆ warnings

std::vector<std::string> yaze::zelda3::music::AsmImporter::ParseState::warnings

◆ errors

std::vector<std::string> yaze::zelda3::music::AsmImporter::ParseState::errors

Definition at line 81 of file asm_importer.h.

Referenced by yaze::zelda3::music::AsmImporter::ImportSong().

◆ bytes_generated

int yaze::zelda3::music::AsmImporter::ParseState::bytes_generated = 0

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