This commit is contained in:
Gentoo
2026-01-26 23:28:05 -05:00
parent 1ff8d450c4
commit 895b3661fc
+3 -5
View File
@@ -16,11 +16,9 @@
#include <range/v3/view/cartesian_product.hpp> #include <range/v3/view/cartesian_product.hpp>
#include <range/v3/view/iota.hpp> #include <range/v3/view/iota.hpp>
// namespace rv = ranges::views; // namespace rv = ranges::views;
std::string assets = "/Users/andrew/personal/Projects/CPP/engine/assets/";
#else #else
#include <ranges> // #include <ranges>
namespace rv = std::views; // namespace rv = std::views;
std::string assets = "/home/andrew/personal/Projects/CPP/engine/assets/";
#endif #endif
#include "data.hpp" #include "data.hpp"
@@ -43,7 +41,7 @@ main()
Player player { player_data }; Player player { player_data };
sf::Font font(assets + "pixel.ttf"); sf::Font font("$HOME/personal/Projects/CPP/engine/assets/pixel.ttf");
sf::Text text(font, "0, 0", 16); sf::Text text(font, "0, 0", 16);
text.setPosition({ WIDTH - (TILESIZE * 11.5), HEIGHT - (int)(TILESIZE / 1.5) }); text.setPosition({ WIDTH - (TILESIZE * 11.5), HEIGHT - (int)(TILESIZE / 1.5) });