mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 12:51:51 +09:00
lang update
This commit is contained in:
@@ -473,7 +473,7 @@ public class App implements ApplicationListener {
|
||||
);
|
||||
|
||||
// set some more configuration vars
|
||||
MULTITHREAD = THREAD_COUNT >= 3 && getConfigBoolean("multithread");
|
||||
MULTITHREAD = THREAD_COUNT >= 3;
|
||||
|
||||
new TerrarumLwjgl3Application(new App(appConfig), appConfig);
|
||||
}
|
||||
|
||||
@@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Terrarum Sans Bitmap
|
||||
|
||||
Copyright (c) 2017-2022 Minjae Song ("CuriousTorvald") and the contributors
|
||||
@@ -60,8 +58,6 @@ THE SOFTWARE.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Joise
|
||||
|
||||
Copyright (C) 2013 Jason Taylor
|
||||
@@ -103,8 +99,6 @@ Copyright (C) 2011 Joshua Tippetts
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Vector2.java, Epsilon.java
|
||||
|
||||
Copyright (c) 2010-2015 William Bittle http://www.dyn4j.org/
|
||||
@@ -134,8 +128,6 @@ Kotlin translated and modified code Copyright (C) 2016 Minjaesong (CuriousTorval
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET PRTree, a Priority R-Tree, a spatial index for java code
|
||||
|
||||
Copyright (c) 2008-2012 Robert Olofsson.
|
||||
@@ -170,8 +162,6 @@ SUCH DAMAGE.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET HUSLColorConverter.java
|
||||
|
||||
Copyright (c) 2016 Alexei Boronine
|
||||
@@ -196,8 +186,6 @@ SOFTWARE.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET GraalVM Community Edition
|
||||
|
||||
GraalVM Community Edition consists of multiple modules. The software as a whole,
|
||||
@@ -208,8 +196,6 @@ Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Jdsp
|
||||
|
||||
Copyright (c) 2019 Sambit Paul
|
||||
@@ -234,8 +220,6 @@ SOFTWARE.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Apache Commons Codec
|
||||
|
||||
Copyright 2002-2023 The Apache Software Foundation
|
||||
@@ -245,8 +229,6 @@ The Apache Software Foundation (https://www.apache.org/).
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Apache Commons CSV
|
||||
|
||||
Copyright 2005-2023 The Apache Software Foundation
|
||||
@@ -256,8 +238,6 @@ The Apache Software Foundation (https://www.apache.org/).
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Apache Commons Math
|
||||
|
||||
Copyright 2001-2022 The Apache Software Foundation
|
||||
@@ -271,8 +251,6 @@ Copyright 2010-2012 CS Systèmes d'Information
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$BULLET Ambient sound recordings:
|
||||
|
||||
- ambient_forest_01.ogg
|
||||
@@ -283,9 +261,7 @@ $BULLET Ambient sound recordings:
|
||||
- crickets_02.ogg
|
||||
|
||||
Copyright (C) 2012, 2013, 2015, 2016, 2017 Klankbeeld
|
||||
Sound from <http://www.freesound.org/people/klankbeeld/>
|
||||
|
||||
|
||||
Sound from <https://www.freesound.org/people/klankbeeld/>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -71,10 +71,10 @@ object FFT: Disposable {
|
||||
}
|
||||
|
||||
// org.apache.commons.math3.transform.FastFouriesTransformer.java:370
|
||||
@Synchronized fun fft(signal0: FloatArray): ComplexArray {
|
||||
// val dataRI = ComplexArray(signal0.copyOf(), FloatArray(signal0.size))
|
||||
// transformInPlace(dataRI, DftNormalization.STANDARD, TransformType.FORWARD)
|
||||
// return dataRI
|
||||
fun fft(signal0: FloatArray): ComplexArray {
|
||||
// val im = FloatArray(signal0.size)
|
||||
// transformInPlace(signal0, im, signal0.size, DftNormalization.STANDARD, TransformType.FORWARD)
|
||||
// return ComplexArray(FloatArray(signal0.size) { if (it % 2 == 0) signal0[it / 2] else im[it / 2] })
|
||||
|
||||
|
||||
// USING FFTW //
|
||||
@@ -108,9 +108,11 @@ object FFT: Disposable {
|
||||
}
|
||||
|
||||
// org.apache.commons.math3.transform.FastFouriesTransformer.java:404
|
||||
@Synchronized fun ifftAndGetReal(signal0: ComplexArray): FloatArray {
|
||||
// transformInPlace(signal0, DftNormalization.STANDARD, TransformType.INVERSE)
|
||||
// return signal0.res
|
||||
fun ifftAndGetReal(signal0: ComplexArray): FloatArray {
|
||||
// val re = FloatArray(signal0.size) { signal0.reim[it * 2] }
|
||||
// val im = FloatArray(signal0.size) { signal0.reim[it * 2 + 1] }
|
||||
// transformInPlace(re, im, re.size, DftNormalization.STANDARD, TransformType.INVERSE)
|
||||
// return re
|
||||
|
||||
|
||||
// USING FFTW //
|
||||
|
||||
@@ -29,6 +29,7 @@ class UISoundControlPanel(remoCon: UIRemoCon?) : UICanvas() {
|
||||
arrayOf("guivolume", { Lang["MENU_LABEL_INTERFACE"] }, "sliderd,0,1"),
|
||||
arrayOf("", { Lang["MENU_LABEL_HARDWARE"] }, "h1"),
|
||||
arrayOf("audiobuffersize", { Lang["MENU_OPTIONS_AUDIO_BUFFER_SIZE"] }, "spinnersel,128,256,512,1024,2048"),
|
||||
arrayOf("", { "${Lang["MENU_LABEL_AUDIO_BUFFER_INSTRUCTION"]}" }, "p"),
|
||||
arrayOf("", { "(${Lang["MENU_LABEL_RESTART_REQUIRED"]})" }, "p"),
|
||||
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user