diff --git a/src/Group.cpp b/src/Group.cpp index 4d539b1179..2a9018348d 100644 --- a/src/Group.cpp +++ b/src/Group.cpp @@ -25,24 +25,19 @@ Group::Group() { m_bHasPackIni = false; m_iYearReleased = 0; m_sBannerPath = ""; - m_sCredits.clear(); - m_sAuthorsNotes = ""; } Group::~Group() { SONGMAN->GetGroupGroupMap().clear(); - m_sCredits.clear(); } Group::Group(const RString& sDir, const RString& sGroupDirName) { RString sPackIniPath = sDir + sGroupDirName + "/pack.ini"; - RString credits = ""; RString sDisplayTitle = sGroupDirName; RString SortTitle = sGroupDirName; RString TranslitTitle = ""; RString Series = ""; RString bannerPath = ""; - RString authorsNotes = ""; float fOffset = PREFSMAN->m_fMachineSyncBias; if (FILEMAN->DoesFileExist(sPackIniPath)) { @@ -79,8 +74,6 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) { } } ini.GetValue("Group", "Year", m_iYearReleased); - ini.GetValue("Group", "Credits", credits); - ini.GetValue("Group", "AuthorsNotes", authorsNotes); } else { m_bHasPackIni = false; fOffset = PREFSMAN->m_fMachineSyncBias; @@ -152,10 +145,6 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) { m_sSeries = Series; m_sPath = sDir + sGroupDirName; m_sGroupName = sGroupDirName; - std::vector credits_vector; - split(credits, ";", credits_vector); - m_sCredits = credits_vector; - m_sAuthorsNotes = authorsNotes; m_fSyncOffset = fOffset; } @@ -219,19 +208,6 @@ public: return 1; } - static int GetStepArtistCredits(T* p, lua_State *L) - { - std::vector v = p->GetStepArtistCredits(); - LuaHelpers::CreateTableFromArray(v, L); - return 1; - } - - static int GetAuthorsNotes(T* p, lua_State *L) - { - lua_pushstring(L, p->GetAuthorsNotes()); - return 1; - } - static int GetYearReleased(T* p, lua_State *L) { lua_pushnumber(L, p->GetYearReleased()); @@ -248,8 +224,6 @@ public: ADD_METHOD(GetSyncOffset); ADD_METHOD(HasPackIni); ADD_METHOD(GetBannerPath); - ADD_METHOD(GetStepArtistCredits); - ADD_METHOD(GetAuthorsNotes); ADD_METHOD(GetYearReleased); } diff --git a/src/Group.h b/src/Group.h index 96cce1f42a..f0614a6435 100644 --- a/src/Group.h +++ b/src/Group.h @@ -92,20 +92,6 @@ public: */ const RString GetBannerPath() const { return m_sBannerPath; }; - /** - * @brief The persons who worked with the group who should be credited. - * - * @return const std::vector - */ - const std::vector GetStepArtistCredits() const { return m_sCredits; }; - - /** - * @brief Additional notes about the group. - * - * @return const RString - */ - const RString GetAuthorsNotes() const { return m_sAuthorsNotes; }; - /** * @brief Get the songs in the group. * @return the songs that belong in the group. */ @@ -148,12 +134,6 @@ public: /** @brief The path to the group's banner. */ RString m_sBannerPath; - /** @brief The persons who worked with the group who should be credited. */ - std::vector m_sCredits; - - /** @brief Additional notes about the group. */ - RString m_sAuthorsNotes; - /** @brief The year the group was released */ int m_iYearReleased;