MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / PrintSequence

Method PrintSequence

Source/SequenceParser.cpp:368–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368std::string CSequenceParser::PrintSequence() const
369{
370 std::string str;
371
372 const int Loop = m_pSequence->GetLoopPoint();
373 const int Release = m_pSequence->GetReleasePoint();
374
375 for (int i = 0, Count = m_pSequence->GetItemCount(); i < Count; ++i) {
376 if (i == Loop)
377 str.append("| ");
378 if (i == Release)
379 str.append("/ ");
380 str.append(m_pConversion->ToString(m_pSequence->GetItem(i)));
381 str.push_back(' ');
382 }
383
384 return str;
385}

Callers 3

UpdateSequenceStringMethod · 0.80
UpdateSequenceStringMethod · 0.80
mainFunction · 0.80

Calls 5

GetLoopPointMethod · 0.80
GetReleasePointMethod · 0.80
ToStringMethod · 0.80
GetItemMethod · 0.80
GetItemCountMethod · 0.45

Tested by 1

mainFunction · 0.64