From f6c767d87c5cb04710fb7e2363706d07dfcef8a6 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 27 Jun 2019 14:17:42 +0200 Subject: CStreaming almost done --- src/CullZones.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/CullZones.cpp') diff --git a/src/CullZones.cpp b/src/CullZones.cpp index 76052351..f89d8256 100644 --- a/src/CullZones.cpp +++ b/src/CullZones.cpp @@ -233,10 +233,10 @@ CCullZone::DoStuffLeavingZone_OneBuilding(uint16 i) int j; if(i < 6000){ - CPools::GetBuildingPool()->GetSlot(i)->m_bZoneCulled = false; + CPools::GetBuildingPool()->GetSlot(i)->bZoneCulled = false; bb = CCullZones::aPointersToBigBuildingsForBuildings[i]; if(bb != -1) - CPools::GetBuildingPool()->GetSlot(bb)->m_bZoneCulled = false; + CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = false; }else{ i -= 6000; for(j = 0; j < 3; j++) @@ -251,11 +251,11 @@ CCullZone::DoStuffLeavingZone_OneTreadableBoth(uint16 i) int j; if(i < 6000){ - CPools::GetTreadablePool()->GetSlot(i)->m_bZoneCulled = false; - CPools::GetTreadablePool()->GetSlot(i)->m_bZoneCulled2 = false; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = false; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = false; bb = CCullZones::aPointersToBigBuildingsForTreadables[i]; if(bb != -1) - CPools::GetBuildingPool()->GetSlot(bb)->m_bZoneCulled = false; + CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = false; }else{ i -= 6000; for(j = 0; j < 3; j++) @@ -283,10 +283,10 @@ CCullZone::DoStuffEnteringZone_OneBuilding(uint16 i) int j; if(i < 6000){ - CPools::GetBuildingPool()->GetSlot(i)->m_bZoneCulled = true; + CPools::GetBuildingPool()->GetSlot(i)->bZoneCulled = true; bb = CCullZones::aPointersToBigBuildingsForBuildings[i]; if(bb != -1) - CPools::GetBuildingPool()->GetSlot(bb)->m_bZoneCulled = true; + CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true; }else{ i -= 6000; for(j = 0; j < 3; j++) @@ -301,11 +301,11 @@ CCullZone::DoStuffEnteringZone_OneTreadablePlus10m(uint16 i) int j; if(i < 6000){ - CPools::GetTreadablePool()->GetSlot(i)->m_bZoneCulled = true;; - CPools::GetTreadablePool()->GetSlot(i)->m_bZoneCulled2 = true;; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = true;; bb = CCullZones::aPointersToBigBuildingsForTreadables[i]; if(bb != -1) - CPools::GetBuildingPool()->GetSlot(bb)->m_bZoneCulled = true; + CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true; }else{ i -= 6000; for(j = 0; j < 3; j++) @@ -320,10 +320,10 @@ CCullZone::DoStuffEnteringZone_OneTreadable(uint16 i) int j; if(i < 6000){ - CPools::GetTreadablePool()->GetSlot(i)->m_bZoneCulled = true;; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;; bb = CCullZones::aPointersToBigBuildingsForTreadables[i]; if(bb != -1) - CPools::GetBuildingPool()->GetSlot(bb)->m_bZoneCulled = true; + CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true; }else{ i -= 6000; for(j = 0; j < 3; j++) -- cgit v1.2.3