mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 21:31:51 +09:00
dump (another useless message)
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
work_files/graphics/fonts/ascii_variable_small.psd
LFS
Normal file
BIN
work_files/graphics/fonts/ascii_variable_small.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/graphics/fonts/ascii_variable_smallcaps.psd
LFS
Normal file
BIN
work_files/graphics/fonts/ascii_variable_smallcaps.psd
LFS
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
work_files/graphics/fonts/devanagari_conjoiners.psd
LFS
Normal file
BIN
work_files/graphics/fonts/devanagari_conjoiners.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/graphics/fonts/smallcaps_test.psd
LFS
Normal file
BIN
work_files/graphics/fonts/smallcaps_test.psd
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
work_files/graphics/fonts/tsalagi_variable.psd
LFS
Normal file
BIN
work_files/graphics/fonts/tsalagi_variable.psd
LFS
Normal file
Binary file not shown.
Binary file not shown.
73
work_files/kotlin_delegate_gen.lua
Normal file
73
work_files/kotlin_delegate_gen.lua
Normal file
@@ -0,0 +1,73 @@
|
||||
local names = {
|
||||
"layerWall",
|
||||
"layerTerrain",
|
||||
"layerWire",
|
||||
"layerWallLowBits",
|
||||
"layerTerrainLowBits",
|
||||
"layerThermal",
|
||||
"spawnX",
|
||||
"spawnY",
|
||||
"wallDamages",
|
||||
"terrainDamages",
|
||||
"globalLight",
|
||||
"averageTemperature",
|
||||
"generatorSeed",
|
||||
"terrainArray",
|
||||
"wallArray",
|
||||
"wireArray",
|
||||
"damageDataArray"
|
||||
}
|
||||
|
||||
local valvar = {
|
||||
"val",
|
||||
"val",
|
||||
"val",
|
||||
"val",
|
||||
"val",
|
||||
"val",
|
||||
"var",
|
||||
"var",
|
||||
"val",
|
||||
"val",
|
||||
"var",
|
||||
"var",
|
||||
"var",
|
||||
"val",
|
||||
"val",
|
||||
"val",
|
||||
"val"
|
||||
}
|
||||
|
||||
local types = {
|
||||
"MapLayer",
|
||||
"MapLayer",
|
||||
"MapLayer",
|
||||
"PairedMapLayer",
|
||||
"PairedMapLayer",
|
||||
"MapLayerFloat",
|
||||
"Int",
|
||||
"Int",
|
||||
"HashMap<BlockAddress, BlockDamage>",
|
||||
"HashMap<BlockAddress, BlockDamage>",
|
||||
"Color",
|
||||
"Float",
|
||||
"Long",
|
||||
"ByteArray",
|
||||
"ByteArray",
|
||||
"ByteArray",
|
||||
"ByteArray"
|
||||
}
|
||||
|
||||
|
||||
|
||||
for i = 1, #types do
|
||||
n = names[i]
|
||||
v = valvar[i]
|
||||
t = types[i]
|
||||
|
||||
if (v == "val") then
|
||||
print(string.format("%s %s: %s; get() = baseworld.%s", v, n, t, n))
|
||||
else
|
||||
print(string.format("%s %s: %s; get() = baseworld.%s; set(v) { baseworld.%s = v }", v, n, t, n, n))
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user