fix compile errors
This commit is contained in:
parent
877c1cdb98
commit
fb80ca3f79
41 changed files with 606 additions and 562 deletions
|
|
@ -0,0 +1,38 @@
|
|||
@file:JsQualifier("defines.control_behavior")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class type {
|
||||
container,
|
||||
generic_on_off,
|
||||
inserter,
|
||||
lamp,
|
||||
logistic_container,
|
||||
roboport,
|
||||
storage_tank,
|
||||
train_stop,
|
||||
decider_combinator,
|
||||
arithmetic_combinator,
|
||||
constant_combinator,
|
||||
transport_belt,
|
||||
accumulator,
|
||||
rail_signal,
|
||||
rail_chain_signal,
|
||||
wall,
|
||||
mining_drill,
|
||||
programmable_speaker
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
@file:JsQualifier("defines.control_behavior.inserter")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.inserter
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
none,
|
||||
enable_disable,
|
||||
set_filters,
|
||||
read_hand_contents,
|
||||
set_stack_size
|
||||
}
|
||||
|
||||
external enum class hand_read_mode {
|
||||
hold,
|
||||
pulse
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
@file:JsQualifier("defines.control_behavior.lamp")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.lamp
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
use_colors
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.logistic_container")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.logistic_container
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
send_contents,
|
||||
set_requests
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.mining_drill")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.mining_drill
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class resource_read_mode {
|
||||
this_miner,
|
||||
entire_patch
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.transport_belt")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.transport_belt
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class content_read_mode {
|
||||
pulse,
|
||||
hold
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue