Rename some classes in grid system.

Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
This commit is contained in:
megamage
2011-10-18 10:53:34 -04:00
parent e3f8588a22
commit c29ff41001
39 changed files with 197 additions and 197 deletions
@@ -484,7 +484,7 @@ public:
float x, y, z;
me->GetPosition(x, y, z);
CellPair pair(Trinity::ComputeCellPair(x, y));
CellCoord pair(Trinity::ComputeCellCoord(x, y));
Cell cell(pair);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();
@@ -189,7 +189,7 @@ class boss_akilzon : public CreatureScript
for (uint8 i = 2; i < StormCount; ++i)
bp0 *= 2;
CellPair p(Trinity::ComputeCellPair(me->GetPositionX(), me->GetPositionY()));
CellCoord p(Trinity::ComputeCellCoord(me->GetPositionX(), me->GetPositionY()));
Cell cell(p);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();
@@ -233,7 +233,7 @@ class boss_janalai : public CreatureScript
me->GetPosition(x, y, z);
{
CellPair pair(Trinity::ComputeCellPair(x, y));
CellCoord pair(Trinity::ComputeCellCoord(x, y));
Cell cell(pair);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();
@@ -267,7 +267,7 @@ class boss_janalai : public CreatureScript
me->GetPosition(x, y, z);
{
CellPair pair(Trinity::ComputeCellPair(x, y));
CellCoord pair(Trinity::ComputeCellCoord(x, y));
Cell cell(pair);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();
@@ -519,7 +519,7 @@ class mob_janalai_hatcher : public CreatureScript
me->GetPosition(x, y, z);
{
CellPair pair(Trinity::ComputeCellPair(x, y));
CellCoord pair(Trinity::ComputeCellCoord(x, y));
Cell cell(pair);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();
@@ -162,7 +162,7 @@ class boss_nalorakk : public CreatureScript
me->GetPosition(x, y, z);
{
CellPair pair(Trinity::ComputeCellPair(x, y));
CellCoord pair(Trinity::ComputeCellCoord(x, y));
Cell cell(pair);
cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();