summaryrefslogtreecommitdiffstats
path: root/src/CullZones.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
committeraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
commitf6c767d87c5cb04710fb7e2363706d07dfcef8a6 (patch)
tree4c311a58c7989d35d9437046df6dd551be083494 /src/CullZones.cpp
parentstarted filling debug menu (diff)
downloadre3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.gz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.bz2
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.lz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.xz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.zst
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.zip
Diffstat (limited to 'src/CullZones.cpp')
-rw-r--r--src/CullZones.cpp24
1 files changed, 12 insertions, 12 deletions
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++)