-
Notifications
You must be signed in to change notification settings - Fork 6
song_parser
This exists as a wrapper for the various chart parsing libraries, and exposes all publicly needed functions for all.
SongParser(const fs::path& path, int start_delay, PlayerNum player_num)Initializes a parser object. This will grab all of the metadata for the chart by default. The start_delay parameter is used to add delay before the song starts.
get_difficulty_name();This is only used for osu charts to get the name of the difficulty that has been parsed.
std::tuple<NoteList, std::deque<NoteList>, std::deque<NoteList>, std::deque<NoteList>>
notes_to_position(int diff);Parses the note data of a specific difficulty. Returns a tuple of 1 NoteList and 3 std::deques.
the first NoteList is the notes that will be used in the gameplay. This is returned from all 3 parsers.
The 3 std::deques are branches, in the order of Normal, Expert, Master.
std::string get_song_hash();Returns the string hash for the parsed song. This will run the hashing function.
std::string get_diff_hash(int difficulty);Returns the string hash for the difficulty of the parsed song. This will run the hashing function.
Building
libs
- animation
- audio
- config
- filesystem
- global_data
- input
- logging
- ray
- scores
- screen
- script
- song_parser
- text
- texture
- video
- webcam
libs/parsers
objects
objects/game
- player
- background
- gauge
- judgment
- combo
- branch_indicator
- ending_animations
- gogo_time
- fireworks
- song_info
- transition
- result_transition
- judge_counter
- score_counter
- score_counter_animation
- balloon_counter
- drumroll_counter
- kusudama_counter
- drum_hit_effect
- lane_hit_effect
- gauge_hit_effect
- combo_announce
- note_arc
objects/global
objects/title
objects/entry
objects/settings
objects/result
objects/song_select
- player
- navigator
- box_base
- box_song
- box_folder
- neiro
- modifier
- ura_switch
- diff_sort
- search_box
- dan_transition
- genre_bg
- score_history
- song_select_script
scenes