mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
noise texture generator: multithreded
Former-commit-id: 4d9539a53aa058eff1fe47f6fce95528a44dff40 Former-commit-id: a0301f167412d1c67ca0cc6956d9e7683e82efaf
This commit is contained in:
@@ -111,10 +111,10 @@ constructor(gamename: String) : StateBasedGame(gamename) {
|
||||
//addState(StateSplash())
|
||||
//addState(StateMonitorCheck())
|
||||
//addState(StateFontTester())
|
||||
//addState(StateNoiseTexGen())
|
||||
addState(StateNoiseTexGen())
|
||||
|
||||
ingame = StateInGame()
|
||||
addState(ingame)
|
||||
//ingame = StateInGame()
|
||||
//addState(ingame)
|
||||
}
|
||||
|
||||
companion object {
|
||||
@@ -219,7 +219,7 @@ constructor(gamename: String) : StateBasedGame(gamename) {
|
||||
val CONTROLLER_DEADZONE = 0.1f
|
||||
|
||||
/** Available CPU cores */
|
||||
val CORES = Runtime.getRuntime().availableProcessors();
|
||||
val CORES = Runtime.getRuntime().availableProcessors()
|
||||
|
||||
/**
|
||||
* If the game is multithreading.
|
||||
|
||||
Reference in New Issue
Block a user