mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-11 00:14:05 +09:00
runic letters
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
@@ -693,6 +693,10 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
sheetX = ipaIndexX(ch)
|
sheetX = ipaIndexX(ch)
|
||||||
sheetY = ipaIndexY(ch)
|
sheetY = ipaIndexY(ch)
|
||||||
}
|
}
|
||||||
|
SHEET_RUNIC -> {
|
||||||
|
sheetX = runicIndexX(ch)
|
||||||
|
sheetY = runicIndexY(ch)
|
||||||
|
}
|
||||||
else -> {
|
else -> {
|
||||||
sheetX = ch.toInt() % 16
|
sheetX = ch.toInt() % 16
|
||||||
sheetY = ch.toInt() / 16
|
sheetY = ch.toInt() / 16
|
||||||
|
|||||||
@@ -699,6 +699,10 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false) : Font {
|
|||||||
sheetX = ipaIndexX(ch)
|
sheetX = ipaIndexX(ch)
|
||||||
sheetY = ipaIndexY(ch)
|
sheetY = ipaIndexY(ch)
|
||||||
}
|
}
|
||||||
|
SHEET_RUNIC -> {
|
||||||
|
sheetX = runicIndexX(ch)
|
||||||
|
sheetY = runicIndexY(ch)
|
||||||
|
}
|
||||||
else -> {
|
else -> {
|
||||||
sheetX = ch.toInt() % 16
|
sheetX = ch.toInt() % 16
|
||||||
sheetY = ch.toInt() / 16
|
sheetY = ch.toInt() / 16
|
||||||
|
|||||||
Reference in New Issue
Block a user