Fixed the map so that it shows directional arrows instead of a compass.

This commit is contained in:
Zed A. Shaw 2025-04-06 23:29:25 -04:00
parent c7c48658bd
commit e6a8a8b338
11 changed files with 35 additions and 27 deletions

View file

@ -2,6 +2,7 @@
#include <string>
#include "color.hpp"
#include <array>
constexpr const int TEXTURE_WIDTH=256;
constexpr const int TEXTURE_HEIGHT=256;
@ -72,3 +73,8 @@ constexpr wchar_t BG_TILE = L'█';
constexpr wchar_t UI_BASE_CHAR = L'';
constexpr int BG_BOX_OFFSET=5;
constexpr const char *FONT_FILE_NAME="./assets/text.otf";
constexpr std::array<std::wstring, 8> COMPASS{
// L"E", L"SE", L"S", L"SW", L"W", L"NW", L"N", L"NE"
L"\u2192", L"\u2198", L"\uffec", L"\u21d9", L"\u2190", L"\u2196", L"\uffea", L"\u21d7" };