mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 15:29:32 +07:00
All stats available as text characters (#4734)
This commit is contained in:
BIN
android/Images/EmojiIcons/Culture.png
Normal file
BIN
android/Images/EmojiIcons/Culture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
android/Images/EmojiIcons/Faith.png
Normal file
BIN
android/Images/EmojiIcons/Faith.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
android/Images/EmojiIcons/Food.png
Normal file
BIN
android/Images/EmojiIcons/Food.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
android/Images/EmojiIcons/Happiness.png
Normal file
BIN
android/Images/EmojiIcons/Happiness.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
android/Images/EmojiIcons/Science.png
Normal file
BIN
android/Images/EmojiIcons/Science.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
@ -90,6 +90,11 @@ class NativeBitmapFontData(val fontImplementation: NativeFontImplementation) : B
|
||||
Fonts.turn -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Turn").region)
|
||||
Fonts.production -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Production").region)
|
||||
Fonts.gold -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Gold").region)
|
||||
Fonts.food -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Food").region)
|
||||
Fonts.science -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Science").region)
|
||||
Fonts.culture -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Culture").region)
|
||||
Fonts.faith -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Faith").region)
|
||||
Fonts.happiness -> Fonts.extractPixmapFromTextureRegion(ImageGetter.getDrawable("EmojiIcons/Happiness").region)
|
||||
else -> fontImplementation.getCharPixmap(ch)
|
||||
}
|
||||
}
|
||||
@ -154,4 +159,9 @@ object Fonts {
|
||||
const val range = '…' // U+2026 'horizontal ellipsis'
|
||||
const val production = '⚙' // U+2699 'gear'
|
||||
const val gold = '¤' // U+00A4 'currency sign'
|
||||
const val food = '⁂' // U+2042 'asterism' (to avoid 🍏 U+1F34F 'green apple' needing 2 symbols in utf-16 and 4 in utf-8)
|
||||
const val science = '⍾' // U+237E 'bell symbol' (🧪 U+1F9EA 'test tube', 🔬 U+1F52C 'microscope')
|
||||
const val culture = '♪' // U+266A 'eighth note' (🎵 U+1F3B5 'musical note')
|
||||
const val happiness = '⌣' // U+2323 'smile' (😀 U+1F600 'grinning face')
|
||||
const val faith = '☮' // U+262E 'peace symbol' (🕊 U+1F54A 'dove of peace')
|
||||
}
|
||||
|
Reference in New Issue
Block a user