1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-19 02:12:37 +01:00

Add: Identify cities on the main viewport by appending an icon to their names (#14504)

Co-authored-by: Peter Nelson <peter1138@openttd.org>
This commit is contained in:
Su
2025-08-15 21:49:25 +01:00
committed by GitHub
parent 3d806d6a65
commit 85af200788
10 changed files with 36 additions and 6 deletions

View File

@@ -437,6 +437,8 @@ std::string TranslateTTDPatchCodes(uint32_t grfid, uint8_t language_id, bool all
break;
}
case 0x9B: builder.PutUtf8(SCC_TOWN); break;
case 0x9C: builder.PutUtf8(SCC_CITY); break;
case 0x9E: builder.PutUtf8(0x20AC); break; // Euro
case 0x9F: builder.PutUtf8(0x0178); break; // Y with diaeresis
case 0xA0: builder.PutUtf8(SCC_UP_ARROW); break;