Skip to content

Commit

Permalink
its joever
Browse files Browse the repository at this point in the history
  • Loading branch information
3drosalia committed May 2, 2024
1 parent 83537f1 commit 82a35e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Encore/include/game/player.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <iostream>

#include <vector>

// clone hero defaults

Expand Down
10 changes: 5 additions & 5 deletions Encore/src/game/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ void Menu::loadMenu(SongList songList, GLFWgamepadstatefun gamepadStateCallbackS

songsLoaded = true;
}
for (Song &song: songList.songs) {
song.titleScrollTime = GetTime();
song.titleTextWidth = assets.MeasureTextRubik(song.title.c_str(), 24);
song.artistScrollTime = GetTime();
song.artistTextWidth = assets.MeasureTextRubik(song.artist.c_str(), 20);
for (Song &songi: songList.songs) {
songi.titleScrollTime = GetTime();
songi.titleTextWidth = assets.MeasureTextRubik(songi.title.c_str(), 24);
songi.artistScrollTime = GetTime();
songi.artistTextWidth = assets.MeasureTextRubik(songi.artist.c_str(), 20);
}
currentScreen = SONG_SELECT;
}
Expand Down

0 comments on commit 82a35e8

Please sign in to comment.