diff --git a/data/language/en-GB.txt b/data/language/en-GB.txt index ac0fb12661..fad21fc48a 100644 --- a/data/language/en-GB.txt +++ b/data/language/en-GB.txt @@ -2676,7 +2676,7 @@ STR_5573 :Remove From Favourites STR_5574 :Server Name: STR_5575 :Max Players: STR_5576 :Port: -STR_5577 :South Korean Won (W) +STR_5577 :South Korean Won (₩) STR_5578 :Russian Rouble (₽) STR_5579 :Window scale factor: STR_5580 :Czech koruna (Kč) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 455da777d4..c07359d63a 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -3,6 +3,7 @@ - Feature: [#26423] [Plugin] Add `PathNavigator` and `PathConnection` for exploring the footpath network as a graph. - Feature: [#26827] [Plugin] Add map resize hook to scripting api. - Feature: [#26877] Clear Scenery can remove footpath additions or walls separately. +- Improved: [#19000] Add sprite font glyph for the Won (₩). - Improved: [#23872] Loading a park outside the game now sets the folder of the load/save window, as loading one in-game does. - Improved: [#25362] When dragging footpaths, they will now properly adapt to uneven terrain. - Improved: [#26099] The ride type selection cheat has been moved into the ride operations tab. diff --git a/resources/fonts/currency/U+20A9-won-sign-bold.png b/resources/fonts/currency/U+20A9-won-sign-bold.png new file mode 100644 index 0000000000..2da141217a Binary files /dev/null and b/resources/fonts/currency/U+20A9-won-sign-bold.png differ diff --git a/resources/fonts/currency/U+20A9-won-sign-small.png b/resources/fonts/currency/U+20A9-won-sign-small.png new file mode 100644 index 0000000000..73697c8b46 Binary files /dev/null and b/resources/fonts/currency/U+20A9-won-sign-small.png differ diff --git a/resources/fonts/currency/U+20A9-won-sign-tiny.png b/resources/fonts/currency/U+20A9-won-sign-tiny.png new file mode 100644 index 0000000000..4afaa5ad90 Binary files /dev/null and b/resources/fonts/currency/U+20A9-won-sign-tiny.png differ diff --git a/resources/fonts/sprites.json b/resources/fonts/sprites.json index 64bf24c10d..32469b7a97 100644 --- a/resources/fonts/sprites.json +++ b/resources/fonts/sprites.json @@ -1443,6 +1443,11 @@ "palette": "keep", "format": "raw" }, + { + "path": "currency/U+20A9-won-sign-small.png", + "palette": "keep", + "format": "raw" + }, { "path": "german-openquotes-small.png", "y": 6, @@ -3254,6 +3259,11 @@ "palette": "keep", "format": "raw" }, + { + "path": "currency/U+20A9-won-sign-bold.png", + "palette": "keep", + "format": "raw" + }, { "path": "german-openquotes-bold.png", "y": 5, @@ -5070,6 +5080,11 @@ "palette": "keep", "format": "raw" }, + { + "path": "currency/U+20A9-won-sign-tiny.png", + "palette": "keep", + "format": "raw" + }, { "path": "german-openquotes-tiny.png", "y": 4, diff --git a/src/openrct2/SpriteIds.h b/src/openrct2/SpriteIds.h index 258d71a0d2..0457fabc37 100644 --- a/src/openrct2/SpriteIds.h +++ b/src/openrct2/SpriteIds.h @@ -1493,6 +1493,8 @@ enum : ImageIndex SPR_FONTS_CYRILLIC_GHE_UPTURN_UPPER, SPR_FONTS_CYRILLIC_GHE_UPTURN_LOWER, + SPR_FONTS_WON_SIGN, + SPR_FONTS_GERMAN_OPENQUOTES, SPR_FONTS_GUILDER_SIGN, diff --git a/src/openrct2/core/UnicodeChar.h b/src/openrct2/core/UnicodeChar.h index 2bd3af5225..e4fccbc340 100644 --- a/src/openrct2/core/UnicodeChar.h +++ b/src/openrct2/core/UnicodeChar.h @@ -200,6 +200,7 @@ namespace OpenRCT2::UnicodeChar // Currency constexpr char32_t guilder = 0x192; constexpr char32_t euro = 0x20AC; + constexpr char32_t won = 0x20A9; constexpr char32_t rouble = 0x20BD; // Dingbats diff --git a/src/openrct2/drawing/Font.cpp b/src/openrct2/drawing/Font.cpp index 25ab4416e2..353ca17aa1 100644 --- a/src/openrct2/drawing/Font.cpp +++ b/src/openrct2/drawing/Font.cpp @@ -224,6 +224,7 @@ static const std::unordered_map codepointOffsetMap = { // Currency { UnicodeChar::guilder, SPR_FONTS_GUILDER_SIGN - SPR_FONTS_BEGIN }, { UnicodeChar::euro, CSChar::euro - kCSSpriteFontOffset }, + { UnicodeChar::won, SPR_FONTS_WON_SIGN - SPR_FONTS_BEGIN }, { UnicodeChar::rouble, SPR_FONTS_ROUBLE_SIGN - SPR_FONTS_BEGIN }, // Dingbats