bahamut/tools/script-extractor.hpp
//generate a label for the current script for debugging purposes
generate a label for the current script for debugging purposes
generate a label for the current script for debugging purposes
auto Script::label(maybe<u16> block) const -> string {
  string output = {mode == Mode::Chapter ? "Chapter " : "Field ", hex(index, 2L)};
  if(block) output.append(" Block ", 1 + *block);
  return output;
}
auto Script :: label ( maybe < u16 > block ) const -> string { string output = { mode == Mode :: Chapter ? " " : " " , hex ( index , 2L ) } ; if ( block ) output . append ( " " , 1 + * block ) ; return output ; }
generate a label for the current script for debugging purposes
generate a label for the current script for debugging purposes