changed paths

This commit is contained in:
h4570
2020-12-07 22:05:06 +01:00
parent 96fe7c380e
commit 6d9b93998a
5 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -39,15 +39,15 @@ void Floors::onInit()
setBgColorAndAmbientColor();
engine->renderer->setCameraDefinitions(&camera.worldView, &camera.unitCirclePosition, camera.planes);
engine->audio.addSongListener(this);
engine->audio.loadSong("mafikizolo-loot.wav");
engine->audio.loadSong("sounds/mafikizolo-loot.wav");
engine->audio.playSong();
texRepo = engine->renderer->getTextureRepository();
enemy = new Enemy(texRepo);
ui = new Ui(texRepo);
engine->audio.setSongVolume(80);
texRepo->addByMesh("warrior/", player.mesh, BMP);
texRepo->addByMesh("floor/", floorManager.floors[0].mesh, BMP);
texRepo->addByMesh("meshes/player/", player.mesh, BMP);
texRepo->addByMesh("meshes/floor/", floorManager.floors[0].mesh, BMP);
for (u32 i = 1; i < floorManager.floorAmount; i++)
texRepo->getByMesh(floorManager.floors[0].mesh.getId(), floorManager.floors[0].mesh.getMaterial(0).getId())
->addLink(floorManager.floors[i].mesh.getId(), floorManager.floors[i].mesh.getMaterial(0).getId());