runes: fixed numbers not coming up

Former-commit-id: 845b721d289842d39ea47043154a06ff7069be77
This commit is contained in:
Song Minjae
2017-03-25 02:28:49 +09:00
parent b1df26f096
commit 27a91a55fd
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ class NewRunes : Font {
private val runeSize = 12
private val encPlane = IntArray(128, {
if (it < 0x10)
if (it < 0x20)
0x20 + it
else if (it < 0x30)
0x3000 + (it - 0x20)

View File

@@ -30,7 +30,8 @@ class StateNewRunesTest : BasicGameState() {
val text = arrayOf(
"ㅎㅏㅣㄹㅏㄹㅍㅏㄴㅌㅏㅈㅣ",
"ㅈㅔㄹㄷㅏㅢㅈㅓㄴㅅㅓㄹ." // <<insert troll_face here>>
"ㅈㅔㄹㄷㅏㅢㅈㅓㄴㅅㅓㄹ.", // <<insert troll_face here>>
".22884646ㄴㄱ."
)
text.forEachIndexed { index, s ->