Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.

(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.

--HG--
branch : trunk
This commit is contained in:
click
2010-12-13 22:37:56 +01:00
parent 89a33bbf61
commit 2642894342
58 changed files with 1625 additions and 1502 deletions
@@ -55,7 +55,7 @@ void BattlegroundDS::Update(uint32 diff)
UpdateArenaWorldState();
CheckArenaAfterTimerConditions();
}
}
}
if (getWaterFallTimer() < diff)
{
@@ -55,7 +55,7 @@ void BattlegroundNA::Update(uint32 diff)
UpdateArenaWorldState();
CheckArenaAfterTimerConditions();
}
}
}
}
void BattlegroundNA::StartingEventCloseDoors()
@@ -55,7 +55,7 @@ void BattlegroundRL::Update(uint32 diff)
UpdateArenaWorldState();
CheckArenaAfterTimerConditions();
}
}
}
}
void BattlegroundRL::StartingEventCloseDoors()
@@ -55,7 +55,7 @@ void BattlegroundRV::Update(uint32 diff)
UpdateArenaWorldState();
CheckArenaAfterTimerConditions();
}
}
}
if (getTimer() < diff)
{