mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
commiting minor changes cause I need to track down some bugs
- Text on small font goes dark gradually (?)
This commit is contained in:
@@ -671,12 +671,11 @@ open class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
|
||||
// set up indices
|
||||
for (i in 0..Terrarum.THREADS - 1) {
|
||||
ThreadParallel.map(
|
||||
i,
|
||||
i, "ActorUpdate",
|
||||
ThreadActorUpdate(
|
||||
actors.div(Terrarum.THREADS).times(i).roundInt(),
|
||||
actors.div(Terrarum.THREADS).times(i.plus(1)).roundInt() - 1
|
||||
),
|
||||
"ActorUpdate"
|
||||
actors.div(Terrarum.THREADS).times(i + 1).roundInt() - 1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -781,13 +781,12 @@ object WorldGenerator {
|
||||
// set up indices
|
||||
for (i in 0 until Terrarum.THREADS) {
|
||||
ThreadParallel.map(
|
||||
i,
|
||||
i, "SampleJoiseMap",
|
||||
ThreadProcessNoiseLayers(
|
||||
HEIGHT.toFloat().div(Terrarum.THREADS).times(i).roundInt(),
|
||||
HEIGHT.toFloat().div(Terrarum.THREADS).times(i.plus(1)).roundInt() - 1,
|
||||
noiseRecords
|
||||
),
|
||||
"SampleJoiseMap"
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user