fixed packet size

This commit is contained in:
h4570
2020-11-22 13:11:41 +01:00
parent 82cab6f78b
commit 756f69d160
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void Ari::onInit()
texRepo->addByMesh("sunnyisl/", islandAddons); texRepo->addByMesh("sunnyisl/", islandAddons);
texRepo->addByMesh("skybox/", skybox); texRepo->addByMesh("skybox/", skybox);
texRepo->addByMesh("ari/", player.mesh); texRepo->addByMesh("ari/", player.mesh);
engine->audio.playSong(); // engine->audio.playSong();
} }
void Ari::initBulb() void Ari::initBulb()
+1 -1
View File
@@ -14,7 +14,7 @@ int main()
{ {
Engine engine = Engine(); Engine engine = Engine();
Ari game = Ari(&engine); Ari game = Ari(&engine);
game.engine->init(&game, 40000); game.engine->init(&game, 128);
SleepThread(); SleepThread();
return 0; return 0;
} }
+1 -1
View File
@@ -53,7 +53,7 @@ void Floors::onUpdate()
player.update(engine->pad, camera, floorManager); player.update(engine->pad, camera, floorManager);
engine->renderer->draw(player.mesh); engine->renderer->draw(player.mesh);
for (u8 i = 0; i < FLOORS_COUNT; i++) for (u8 i = 0; i < FLOORS_COUNT; i++)
engine->renderer->draw(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount); engine->renderer->drawByPath3(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount);
} }
void Floors::onAudioTick() void Floors::onAudioTick()
+1 -1
View File
@@ -14,7 +14,7 @@ int main()
{ {
Engine engine = Engine(); Engine engine = Engine();
Floors game = Floors(&engine); Floors game = Floors(&engine);
game.engine->init(&game, 40000); game.engine->init(&game, 128);
SleepThread(); SleepThread();
return 0; return 0;
} }