[7607] Improvements in support some generic achievement classes

* 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.
This commit is contained in:
VladimirMangos 2009-04-03 00:03:45 +04:00
parent 6c6703f363
commit 0c2f74bb02
6 changed files with 121 additions and 53 deletions

View file

@ -1265,6 +1265,7 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading Achievements..." );
sLog.outString();
achievementmgr.LoadAchievementReferenceList();
achievementmgr.LoadAchievementCriteriaList();
achievementmgr.LoadRewards();
achievementmgr.LoadRewardLocales();