mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
idea runconfig
This commit is contained in:
17
.idea/runConfigurations/App.xml
generated
Normal file
17
.idea/runConfigurations/App.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="App" type="Application" factoryName="Application">
|
||||
<option name="ALTERNATIVE_JRE_PATH" value="1.8.0_242" />
|
||||
<option name="MAIN_CLASS_NAME" value="net.torvald.terrarum.App" />
|
||||
<module name="terrarum.terrarum" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<extension name="coverage">
|
||||
<pattern>
|
||||
<option name="PATTERN" value="net.torvald.terrarum.*" />
|
||||
<option name="ENABLED" value="true" />
|
||||
</pattern>
|
||||
</extension>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@@ -110,8 +110,8 @@ internal class UnsafePtr(pointer: Long, allocSize: Long) {
|
||||
// You may break the glass and use this tool when some fucking incomprehensible bugs ("vittujen vitun bugit")
|
||||
// appear (e.g. getting garbage values when it fucking shouldn't)
|
||||
|
||||
// assert(!destroyed) { throw NullPointerException("The pointer is already destroyed ($this)") }
|
||||
// if (index !in 0 until size) throw IndexOutOfBoundsException("Index: $index; alloc size: $size")
|
||||
assert(!destroyed) { throw NullPointerException("The pointer is already destroyed ($this)") }
|
||||
assert(index in 0 until size) { throw IndexOutOfBoundsException("Index: $index; alloc size: $size") }
|
||||
}
|
||||
|
||||
operator fun get(index: Long): Byte {
|
||||
|
||||
@@ -34,8 +34,8 @@ import net.torvald.terrarum.langpack.Lang;
|
||||
import net.torvald.terrarum.modulebasegame.IngameRenderer;
|
||||
import net.torvald.terrarum.modulebasegame.TerrarumIngame;
|
||||
import net.torvald.terrarum.modulebasegame.ui.ItemSlotImageFactory;
|
||||
import net.torvald.terrarum.serialise.WriteConfig;
|
||||
import net.torvald.terrarum.savegame.DiskSkimmer;
|
||||
import net.torvald.terrarum.serialise.WriteConfig;
|
||||
import net.torvald.terrarum.ui.Toolkit;
|
||||
import net.torvald.terrarum.utils.JsonFetcher;
|
||||
import net.torvald.terrarum.worlddrawer.CreateTileAtlas;
|
||||
@@ -842,7 +842,7 @@ public class App implements ApplicationListener {
|
||||
tileMaker = new CreateTileAtlas();
|
||||
tileMaker.invoke(false);
|
||||
|
||||
IME.INSTANCE.invoke();
|
||||
IME.invoke();
|
||||
|
||||
Terrarum.initialise();
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ object IME {
|
||||
}
|
||||
}
|
||||
|
||||
fun invoke() {}
|
||||
@JvmStatic fun invoke() {}
|
||||
|
||||
fun getLowLayerByName(name: String): TerrarumKeyLayout {
|
||||
return lowLayers[name.lowercase()]!!
|
||||
|
||||
Reference in New Issue
Block a user