summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-20 22:11:12 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-20 22:11:12 +0100
commit669374ec1aa6db040267355c8b8c4ff7c77555d9 (patch)
treea09c9c3f3d54d958b49bb9e5ac27aee9cba076f1 /src
parentCullZone.dat writer start (diff)
downloadre3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar.gz
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar.bz2
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar.lz
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar.xz
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.tar.zst
re3-669374ec1aa6db040267355c8b8c4ff7c77555d9.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/ZoneCull.cpp2
-rw-r--r--src/core/ZoneCull.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp
index 4d272fb4..ab7fc9ac 100644
--- a/src/core/ZoneCull.cpp
+++ b/src/core/ZoneCull.cpp
@@ -89,6 +89,7 @@ CCullZones::ResolveVisibilities(void)
CFileMgr::Read(fd, (char*)aPointersToBigBuildingsForTreadables, sizeof(aPointersToBigBuildingsForTreadables));
CFileMgr::CloseFile(fd);
}else{
+#if 0
// TODO: implement code from mobile to generate data here
EntityIndicesUsed = 0;
BuildListForBigBuildings();
@@ -113,6 +114,7 @@ CCullZones::ResolveVisibilities(void)
CFileMgr::Write(fd, (char*)&aPointersToBigBuildingsForTreadables, sizeof(aPointersToBigBuildingsForTreadables));
CFileMgr::CloseFile(fd);
}
+#endif
}
}
diff --git a/src/core/ZoneCull.h b/src/core/ZoneCull.h
index 74625563..edaa7c4b 100644
--- a/src/core/ZoneCull.h
+++ b/src/core/ZoneCull.h
@@ -11,7 +11,6 @@ public:
float minz;
float maxz;
- // TODO: figure these out:
int32 m_indexStart;
int16 m_groupIndexCount[3];
int16 m_numBuildings;