minor fixes

This commit is contained in:
h4570
2020-11-20 22:34:24 +01:00
parent 3d755e9983
commit 5e811b78cd
6 changed files with 26 additions and 14 deletions
+9
View File
@@ -55,5 +55,14 @@ all: $(EE_BIN)
clean:
rm -f $(EE_BIN) $(EE_OBJS)
run: $(EE_BIN)
killall -v ps2client || true
ps2client reset
ps2client reset
$(EE_STRIP) --strip-all $(EE_BIN)
mv $(EE_BIN) bin/$(EE_BIN)
rm $(EE_OBJS)
cd bin/ && ps2client execee host:$(EE_BIN)
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal
+2 -2
View File
@@ -51,9 +51,9 @@ void Floors::onUpdate()
camera.update(engine->pad, player.mesh);
floorManager.update(player);
player.update(engine->pad, camera, floorManager);
// engine->renderer->draw(player.mesh);
engine->renderer->draw(player.mesh);
for (u8 i = 0; i < FLOORS_COUNT; i++)
engine->renderer->drawByPath3(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount);
engine->renderer->draw(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount);
}
void Floors::onAudioTick()