rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
This commit is contained in:
1 parent
2956576d7f
commit
22ddcd78fa
941 files changed
+3364
-3364
No files matched your search
@@ -10,7 +10,7 @@
|
||||
# (tools/fixtures/_schematic_encode.luau) read back by litemapy / nbtlib
|
||||
import importlib.util, os, pickle, subprocess, sys
|
||||
|
||||
INPUTS = ["src/Formats/model/schematic", "src/Formats/codecs/model/Minecraft", "src/Formats/codecs/text/Nbt", "tools/fixtures/_schematic_encode.luau"]
|
||||
INPUTS = ["src/Rosetta/model/schematic", "src/Rosetta/codecs/model/Minecraft", "src/Rosetta/codecs/text/Nbt", "tools/fixtures/_schematic_encode.luau"]
|
||||
|
||||
_spec = importlib.util.spec_from_file_location("_model_ref", os.path.join(os.path.dirname(os.path.abspath(__file__)), "_model_ref.py"))
|
||||
R = importlib.util.module_from_spec(_spec)
|
||||
@@ -92,7 +92,7 @@ tmp = tempfile.mkdtemp()
|
||||
main = Region(0, 0, 0, 6, 5, 4); fill(main, STATES)
|
||||
neg = Region(10, 2, -3, -4, 3, -5); fill(neg, STATES[:6])
|
||||
big = Region(-20, 0, 0, 7, 3, 5); fill(big, BIG)
|
||||
sch = Schematic(name="Test", author="formats-luau", description="fixture", regions={"main": main, "neg": neg, "big": big})
|
||||
sch = Schematic(name="Test", author="rosetta", description="fixture", regions={"main": main, "neg": neg, "big": big})
|
||||
path = os.path.join(tmp, "t.litematic")
|
||||
sch.save(path)
|
||||
f = nbtlib.load(path)
|
||||
|
||||
Reference in new issue
Block a user