increased floors count, added gaps

This commit is contained in:
Sandro Sobczyński
2020-11-04 22:47:03 +01:00
parent bfd75003a4
commit 1868b714bc
5 changed files with 10 additions and 5 deletions
@@ -77,7 +77,7 @@ void FloorManager::calcSpiral(int X, int Y)
void FloorManager::initFloors()
{
PRINT_LOG("Initializing floors");
floors[0].mesh.loadObj("floor/", "floor", 2.0F, false);
floors[0].mesh.loadObj("floor/", "floor", 3.0F, false);
floors[0].mesh.shouldBeFrustumCulled = true;
floors[0].mesh.shouldBeLighted = true;
for (u8 i = 1; i < floorAmount; i++)
@@ -26,7 +26,7 @@ class FloorManager
public:
FloorManager(int t_floorAmount);
~FloorManager();
Floor floors[64]; // Temp change it also in floors.cpp
Floor floors[144]; // Temp change it also in floors.cpp
u32 floorAmount;
void update(Player &t_player);
void onAudioTick();