Map is way better and components::Tile is _vastly_ improved by switching to a wchar_t on display and letting nlohmann::json auto convert it for me.

This commit is contained in:
Zed A. Shaw 2025-03-22 02:10:56 -04:00
parent 2b57552152
commit 2e79cf8781
11 changed files with 70 additions and 71 deletions

View file

@ -2,7 +2,7 @@
"PLAYER_TILE": {
"placement": "fixed",
"components": [
{"_type": "Tile", "display": "\ua66b",
{"_type": "Tile", "display": 42603,
"foreground": [255, 200, 125],
"background": [30, 20, 75]
},
@ -13,7 +13,7 @@
},
"KNIGHT": {
"components": [
{"_type": "Tile", "display": "\u088d",
{"_type": "Tile", "display": 2189,
"foreground": [131, 213, 238],
"background": [30, 20, 75]
},
@ -28,7 +28,7 @@
},
"AXE_RANGER": {
"components": [
{"_type": "Tile", "display": "\u076a",
{"_type": "Tile", "display": 1898,
"foreground": [156, 172, 197],
"background": [30, 20, 75]
},
@ -43,7 +43,7 @@
},
"RAT_GIANT": {
"components": [
{"_type": "Tile", "display": "\u08ac",
{"_type": "Tile", "display": 2220,
"foreground": [205, 164, 246],
"background": [30, 20, 75]
},
@ -58,7 +58,7 @@
},
"SPIDER_GIANT_HAIRY": {
"components": [
{"_type": "Tile", "display": "\u08ea",
{"_type": "Tile", "display": 2282,
"foreground": [205, 164, 246],
"background": [30, 20, 75]
},