Removing ProgressBars as they are performing badly on startup.

[**************************************************] 100%
R.I.P

--HG--
branch : trunk
This commit is contained in:
leak
2010-12-22 00:12:03 +01:00
parent a45a039e73
commit 6115b0bd5f
35 changed files with 94 additions and 824 deletions
@@ -43,7 +43,6 @@
#include "MapManager.h"
#include "Player.h"
#include "GameEventMgr.h"
#include "ProgressBar.h"
#include "SharedDefines.h"
#include "Formulas.h"
#include "DisableMgr.h"
@@ -677,20 +676,16 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
if (!result)
{
barGoLink bar(1);
bar.step();
sLog.outErrorDb(">> Loaded 0 battlegrounds. DB table `battleground_template` is empty.");
sLog.outString();
return;
}
barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
Field *fields = result->Fetch();
bar.step();
uint32 bgTypeID_ = fields[0].GetUInt32();
if (sDisableMgr.IsDisabledFor(DISABLE_TYPE_BATTLEGROUND, bgTypeID_, NULL))
@@ -1120,20 +1115,16 @@ void BattlegroundMgr::LoadBattleMastersEntry()
if (!result)
{
barGoLink bar(1);
bar.step();
sLog.outString(">> Loaded 0 battlemaster entries. DB table `battlemaster_entry` is empty!");
sLog.outString();
return;
}
barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
++count;
bar.step();
Field *fields = result->Fetch();