VT redraw on request

Former-commit-id: 3ada71215d9291760704a982cc3952061dbc7afe
Former-commit-id: ca1495e668e88bc7214429472ad918621a650189
This commit is contained in:
Song Minjae
2017-01-24 00:50:12 +09:00
parent 92cc8ff94b
commit f46991ffbb
9 changed files with 189 additions and 43 deletions

View File

@@ -798,6 +798,3 @@ constructor() : BasicGameState() {
}
}
}
fun Color.toInt() = redByte.shl(16) or greenByte.shl(8) or blueByte
fun Color.to10bit() = redByte.shl(20) or greenByte.shl(10) or blueByte