[7607] Improvements in support some generic achievement classes Author: VladimirMangos

* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
    * Implement support achievement complete req. with specific count of completed critirias.
    * Avoid full achievement list scan at search achievement associated with criteria.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-03 16:36:20 -06:00
parent f7cc04e9dd
commit cb8b3fe5db
20 changed files with 363 additions and 295 deletions
+4 -4
View File
@@ -1719,7 +1719,7 @@ void BattleGroundMgr::CreateInitialBattleGrounds()
bar.step();
sLog.outString("");
sLog.outString();
sLog.outErrorDb(">> Loaded 0 battlegrounds. DB table `battleground_template` is empty.");
return;
}
@@ -1815,7 +1815,7 @@ void BattleGroundMgr::CreateInitialBattleGrounds()
delete result;
sLog.outString("");
sLog.outString();
sLog.outString( ">> Loaded %u battlegrounds", count );
}
@@ -2097,7 +2097,7 @@ void BattleGroundMgr::LoadBattleMastersEntry()
barGoLink bar( 1 );
bar.step();
sLog.outString("");
sLog.outString();
sLog.outString( ">> Loaded 0 battlemaster entries - table is empty!" );
return;
}
@@ -2125,6 +2125,6 @@ void BattleGroundMgr::LoadBattleMastersEntry()
delete result;
sLog.outString("");
sLog.outString();
sLog.outString( ">> Loaded %u battlemaster entries", count );
}