Theme element and theme metric.

This commit is contained in:
Steve Checkoway
2006-09-17 01:13:40 +00:00
parent e2a56902c9
commit 79446f6ef5
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -235,6 +235,8 @@ static const char *const LogTypeNames[] = {
"Graphic file",
"Cache file",
"Song",
"Theme element",
"Theme metric",
NULL, // General, not used.
};
@@ -254,6 +256,8 @@ void RageLog::UserLog( LogType lt, const RString &sPath, const char *fmt, ... )
case LogType_GraphicFile:
case LogType_CacheFile:
case LogType_Song:
case LogType_ThemeElement:
case LogType_ThemeMetric:
sBuf = ssprintf( "%s \"%s\" %s", LogTypeNames[lt], sPath.c_str(), sBuf.c_str() );
break;
case LogType_General:
+2
View File
@@ -18,6 +18,8 @@ public:
LogType_GraphicFile, // Refers to a .jpg, .png, etc. file.
LogType_CacheFile, // Refers to any cache file.
LogType_Song, // Refers to an actual song (directory).
LogType_ThemeElement, // Refers to a theme element.
LogType_ThemeMetric, // Refers to a theme metric.
LogType_General, // Any other type of user log message. Ignores sPath.
NUM_LogType
};