5#include "GameConstantsAndTypes.h"
23DifficultyToString(Difficulty dc) ->
const std::string&;
25StringToDifficulty(
const std::string& sDC) -> Difficulty;
26LuaDeclareType(Difficulty);
29OldStyleStringToDifficulty(
const std::string& sDC)
36GetCustomDifficulty(StepsType st, Difficulty dc) -> std::string;
38CustomDifficultyToLocalizedString(
const std::string& sCustomDifficulty)
41StepsToCustomDifficulty(
const Steps* pSteps) -> std::string;
48 Difficulty lastdiff = Difficulty_Invalid;
53 auto IsLoaded() ->
bool {
return loaded; }
56 void FromKey(
const std::string& ck);
57 [[nodiscard]]
auto CreateNode(
bool includerate)
const ->
XNode*;
58 void LoadFromNode(
const XNode* node);
59 void PushSelf(lua_State* L);
65 std::vector<Chart> chartlist{};
67 void Add(
const Chart& ch) { chartlist.emplace_back(ch); }
68 void AddChart(
const std::string& ck);
71 std::vector<std::vector<std::string>> courseruns;
73 [[nodiscard]]
auto CreateNode()
const ->
XNode*;
74 void LoadFromNode(
const XNode* node);
75 auto GetNumCharts() ->
size_t {
return chartlist.size(); }
76 auto GetKeys() -> std::vector<std::string>;
77 auto GetName() -> std::string {
return name; }
78 auto GetAverageRating() -> float;
79 void DeleteChart(
int i);
81 void DownloadOnline();
83 void PushSelf(lua_State* L);
91 std::map<int, float> version_history;
97 std::map<std::string, CalcTest> filemapping;
98 [[nodiscard]]
auto CreateNode()
const ->
XNode*;
Holds all music metadata and steps for one song.
Definition Song.h:65
Holds note information for a Song.
Definition Steps.h:42
Definition Difficulty.h:95
Definition Difficulty.h:87
Definition Difficulty.h:44
Definition Difficulty.h:63