Introduce minimal Android support (#8)
This commit is contained in:
1 parent
2b556a4a58
commit
8913022044
43 files changed
+917
-130
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package org.opengamestudio
|
||||
|
||||
fun otherPrintStderr(txt: String) {
|
||||
System.err.println(txt)
|
||||
}
|
||||
|
||||
fun otherSetupConsoleLogging(
|
||||
ctrl: DialectController,
|
||||
prefix: String
|
||||
) {
|
||||
ctrl.registerCallback { c ->
|
||||
val value = c.fieldAny(c.recentField)
|
||||
val line = "ИГР $prefix k/v: '${c.recentField}'/'$value'"
|
||||
otherPrintStderr(line)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user