f
This commit is contained in:
+3
-5
@@ -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) });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user