Updated to use the latest libgit2 1.9.0 and GCC14.
This commit is contained in:
parent
62785d463c
commit
2d81f900be
10 changed files with 29 additions and 35 deletions
|
@ -14,7 +14,6 @@
|
|||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
using namespace fmt;
|
||||
using namespace nlohmann;
|
||||
using std::string;
|
||||
|
||||
|
@ -36,7 +35,7 @@ void SoundQuip::load(json &data, const char *file_key, bool loop) {
|
|||
json::string_t file_name = audio[file_key].template get<string>();
|
||||
|
||||
if(!buffer.loadFromFile(file_name)) {
|
||||
println("Failed to load sound: {} with file {}", file_key, file_name);
|
||||
fmt::println("Failed to load sound: {} with file {}", file_key, file_name);
|
||||
}
|
||||
|
||||
sound.setBuffer(buffer);
|
||||
|
@ -157,7 +156,7 @@ void SFMLBackend::update_entities() {
|
|||
|
||||
auto elapsed_time = std::chrono::system_clock::now() - clock_start;
|
||||
|
||||
string time = format("{:%H:%M:%OS}", elapsed_time);
|
||||
string time = fmt::format("{:%H:%M:%OS}", elapsed_time);
|
||||
write_text(7, 14, time, 2.0f);
|
||||
|
||||
|
||||
|
@ -215,7 +214,7 @@ void SFMLBackend::startup() {
|
|||
fmt::println("Cannot load font.");
|
||||
}
|
||||
|
||||
window.setPosition({.x=0,.y=0});
|
||||
window.setPosition({0,0});
|
||||
|
||||
window.setFramerateLimit(FPS);
|
||||
window.setVerticalSyncEnabled(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue