just some commenting edits and such

This commit is contained in:
AJ Kelly
2011-02-08 19:37:57 -06:00
parent 8cdab419d6
commit 638e4f2c87
3 changed files with 12 additions and 9 deletions
+8 -5
View File
@@ -8,8 +8,9 @@
#include <map>
// TODO: Use marker for default color instead of a specific color that may accidentally get written back into a lyrics file.
#define LYRICS_DEFAULT_COLOR THEME->GetMetricC("ScreenGameplay","LyricDisplayDefaultColor")
// TODO: Use a marker for default color instead of a specific color that may
// accidentally get written back into a lyrics file.
#define LYRICS_DEFAULT_COLOR THEME->GetMetricC("ScreenGameplay","LyricDisplayDefaultColor")
static int CompareLyricSegments(const LyricSegment &seg1, const LyricSegment &seg2)
{
@@ -78,11 +79,13 @@ bool LyricsLoader::LoadFromLRCFile(const RString& sPath, Song& out)
continue;
}
// todo: handle [offset:xxxx] (where xxxx is in milliseconds) tag? -aj
// todo: handle [offset:xxxx] tag? -aj (xxxx is milliseconds)
// offsets each timestamp after the offset by that amount.
//float fLyricOffset = 0.0f;
{
/* If we've gotten this far, and no other statement caught
* this value before this does, assume it's a time value. */
/* If we've gotten this far, and no other statement caught this
* value before this does, assume it's a time value. */
LyricSegment seg;
seg.m_Color = CurrentColor;