finalising fonts

Former-commit-id: e85038e433c9e451761a25ce93fa976b847c9e1e
Former-commit-id: 0f59fe3a1b5a174ff63f5a79f11007f0e9d4a204
This commit is contained in:
Song Minjae
2017-02-14 18:51:55 +09:00
parent b1b13b6f9c
commit 3f0ad0e563
6 changed files with 41 additions and 55 deletions

View File

@@ -3,7 +3,7 @@ package net.torvald.terrarum
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import com.google.gson.JsonPrimitive
import net.torvald.imagefont.GameFontWhite
import net.torvald.imagefont.GameFontImpl
import net.torvald.JsonFetcher
import net.torvald.JsonWriter
import net.torvald.imagefont.TinyAlphNum
@@ -94,7 +94,7 @@ constructor(gamename: String) : StateBasedGame(gamename) {
override fun initStatesList(gc: GameContainer) {
gc.input.enableKeyRepeat()
fontGame = GameFontWhite()
fontGame = GameFontImpl()
fontSmallNumbers = TinyAlphNum()
// search for real controller
@@ -130,14 +130,14 @@ constructor(gamename: String) : StateBasedGame(gamename) {
//addState(StateTestingLightning())
//addState(StateSplash())
//addState(StateMonitorCheck())
addState(StateFontTester())
//addState(StateFontTester())
//addState(StateNoiseTexGen())
//addState(StateBlurTest())
//addState(StateShaderTest())
//addState(StateNoiseTester())
//ingame = StateInGame()
//addState(ingame)
ingame = StateInGame()
addState(ingame)
// foolproof