From 4cfc1af8dbe47168135ac22b459c1139fc72b22f Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 27 Oct 2011 21:31:34 -0500 Subject: [PATCH] remove leftover catalog stuff --- Themes/_fallback/Other/Profile Catalog.xsl | 105 --------------------- src/Profile.cpp | 2 - src/Trail.cpp | 3 +- 3 files changed, 1 insertion(+), 109 deletions(-) delete mode 100644 Themes/_fallback/Other/Profile Catalog.xsl diff --git a/Themes/_fallback/Other/Profile Catalog.xsl b/Themes/_fallback/Other/Profile Catalog.xsl deleted file mode 100644 index 8ba3b5d540..0000000000 --- a/Themes/_fallback/Other/Profile Catalog.xsl +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Totals - - - - - - - - -
- -
-
- -
- - - - - - - - - Steps - Trail - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
- - - - - - - -
- diff --git a/src/Profile.cpp b/src/Profile.cpp index 762514a2a0..1427e414c6 100644 --- a/src/Profile.cpp +++ b/src/Profile.cpp @@ -41,8 +41,6 @@ const RString RIVAL_SUBDIR = "Rivals/"; ThemeMetric SHOW_COIN_DATA( "Profile", "ShowCoinData" ); static Preference g_bProfileDataCompress( "ProfileDataCompress", false ); -static Preference g_bCopyCatalogToProfiles( "CopyCatalogToProfiles", true ); -extern Preference g_bWriteCatalog; static ThemeMetric UNLOCK_AUTH_STRING( "Profile", "UnlockAuthString" ); #define GUID_SIZE_BYTES 8 diff --git a/src/Trail.cpp b/src/Trail.cpp index be51b71e72..c5c769d32d 100644 --- a/src/Trail.cpp +++ b/src/Trail.cpp @@ -109,8 +109,7 @@ const RadarValues &Trail::GetRadarValues() const { const Steps *pSteps = e->pSteps; ASSERT( pSteps ); - /* Hack: don't calculate for autogen entries; it makes writing Catalog.xml - * take way too long. (Tournamix 4 Sample.crs takes me ~10s.) */ + // Hack: don't calculate for autogen entries if( !pSteps->IsAutogen() && e->ContainsTransformOrTurn() ) { NoteData nd;