mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
removing unused and failed opus impl attempts
This commit is contained in:
3
.idea/kotlinc.xml
generated
3
.idea/kotlinc.xml
generated
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Kotlin2JsCompilerArguments">
|
||||
<option name="sourceMapEmbedSources" />
|
||||
</component>
|
||||
<component name="Kotlin2JvmCompilerArguments">
|
||||
<option name="jvmTarget" value="1.8" />
|
||||
</component>
|
||||
|
||||
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -38,7 +38,7 @@
|
||||
<property name="caretWidth" class="java.lang.Integer" />
|
||||
</properties>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -29,8 +29,7 @@ repositories {
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||
compile fileTree(dir: 'lib', include: ['*.jar'])
|
||||
//testCompile("org.junit.jupiter:junit-jupiter-api:5.3.2")
|
||||
//testRuntime("org.junit.jupiter:junit-jupiter-engine:5.3.2")
|
||||
implementation 'org.junit:junit-bom:5.2.0'
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
package net.torvald.gdx.backends.lwjgl.audio
|
||||
|
||||
import com.badlogic.gdx.backends.lwjgl.audio.OggInputStream
|
||||
import com.badlogic.gdx.backends.lwjgl.audio.OpenALAudio
|
||||
import com.badlogic.gdx.backends.lwjgl.audio.OpenALMusic
|
||||
import com.badlogic.gdx.backends.lwjgl.audio.OpenALSound
|
||||
import com.badlogic.gdx.files.FileHandle
|
||||
import com.badlogic.gdx.utils.StreamUtils
|
||||
import java.io.ByteArrayOutputStream
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2017-06-26.
|
||||
*/
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
package net.torvald.gdx.backends.lwjgl.audio;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2017-06-26.
|
||||
*/
|
||||
public class OpusInputStream extends InputStream {
|
||||
public OpusInputStream() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int read(@NotNull byte[] b) throws IOException {
|
||||
return super.read(b);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int read(@NotNull byte[] b, int off, int len) throws IOException {
|
||||
return super.read(b, off, len);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long skip(long n) throws IOException {
|
||||
return super.skip(n);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int available() throws IOException {
|
||||
return super.available();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
super.close();
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void mark(int readlimit) {
|
||||
super.mark(readlimit);
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void reset() throws IOException {
|
||||
super.reset();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean markSupported() {
|
||||
return super.markSupported();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int read() throws IOException {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package net.torvald.terrarum.tests
|
||||
|
||||
import net.torvald.terrarum.modulebasegame.gameworld.WorldTime
|
||||
//import org.junit.Test
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2018-12-02.
|
||||
@@ -11,10 +12,26 @@ class TestWorldTime {
|
||||
|
||||
//@Test
|
||||
fun testEndOfYear() {
|
||||
repeat(3) {
|
||||
println(time.getShortTime())
|
||||
repeat(5) {
|
||||
println(time.getFormattedTime())
|
||||
time.addTime(1)
|
||||
}
|
||||
|
||||
println()
|
||||
time.addTime(86400 - 5)
|
||||
|
||||
repeat(5) {
|
||||
println(time.getFormattedTime())
|
||||
time.addTime(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
TestWorldTime().testEndOfYear()
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/net/torvald/terrarum/tests" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="jdk" jdkName="11" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
<orderEntry type="library" name="lib" level="project" />
|
||||
|
||||
Reference in New Issue
Block a user