#pragma once

#include <string>
#include <utility>
#include <vector>

/** -1 = pick track by most notes; 0-based index = use that track for the chart. */
using SongCatalogEntry = std::pair<std::string, int>;

inline std::vector<SongCatalogEntry> get_song_catalog()
{
    return {
        {"assets/songs/json/mary.json", 0},
        {"assets/songs/json/pallettown.json", 0},
        {"assets/songs/json/tetris.json", 0},
        {"assets/songs/json/undertale.json", 0},
    };
}

inline std::string get_default_song_path()
{
    auto catalog = get_song_catalog();
    return catalog.empty() ? "" : catalog.front().first;
}

inline int get_default_track_override()
{
    auto catalog = get_song_catalog();
    return catalog.empty() ? -1 : catalog.front().second;
}
