AssemblyCraftCompiler 2.0.1__tar.gz → 2.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/AssemblyCraftCompiler.egg-info/PKG-INFO +2 -2
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/PKG-INFO +2 -2
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/README.md +1 -1
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/asmcc/__init__.py +3 -3
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/pyproject.toml +1 -1
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/AssemblyCraftCompiler.egg-info/SOURCES.txt +0 -0
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/AssemblyCraftCompiler.egg-info/dependency_links.txt +0 -0
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/AssemblyCraftCompiler.egg-info/top_level.txt +0 -0
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/LICENSE +0 -0
- {assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/setup.cfg +0 -0
{assemblycraftcompiler-2.0.1 → assemblycraftcompiler-2.0.3}/AssemblyCraftCompiler.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AssemblyCraftCompiler
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.3
|
|
4
4
|
Summary: The official Assembly Craft compiler
|
|
5
5
|
Author-email: Orbinuity <orbinuity@ratgers.nl>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -18,7 +18,7 @@ Dynamic: license-file
|
|
|
18
18
|
|
|
19
19
|
[](https://orbinuity.nl/license)
|
|
20
20
|
[](https://github.com/Orbinuity/ASMCC/commits)
|
|
21
|
-
[](https://github.com/Orbinuity/ASMCC/releases/v2.0.3)
|
|
22
22
|
[](https://orbinuity.nl/)
|
|
23
23
|
[](https://help.orbinuity.nl/doc?project=ASMCC)
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AssemblyCraftCompiler
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.3
|
|
4
4
|
Summary: The official Assembly Craft compiler
|
|
5
5
|
Author-email: Orbinuity <orbinuity@ratgers.nl>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -18,7 +18,7 @@ Dynamic: license-file
|
|
|
18
18
|
|
|
19
19
|
[](https://orbinuity.nl/license)
|
|
20
20
|
[](https://github.com/Orbinuity/ASMCC/commits)
|
|
21
|
-
[](https://github.com/Orbinuity/ASMCC/releases/v2.0.3)
|
|
22
22
|
[](https://orbinuity.nl/)
|
|
23
23
|
[](https://help.orbinuity.nl/doc?project=ASMCC)
|
|
24
24
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://orbinuity.nl/license)
|
|
4
4
|
[](https://github.com/Orbinuity/ASMCC/commits)
|
|
5
|
-
[](https://github.com/Orbinuity/ASMCC/releases/v2.0.3)
|
|
6
6
|
[](https://orbinuity.nl/)
|
|
7
7
|
[](https://help.orbinuity.nl/doc?project=ASMCC)
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = "2.0.
|
|
1
|
+
__version__ = "2.0.3"
|
|
2
2
|
import struct
|
|
3
3
|
import re
|
|
4
4
|
|
|
@@ -239,12 +239,12 @@ class AssemblyCraftCompiler:
|
|
|
239
239
|
key_table = bytearray()
|
|
240
240
|
data_payload = bytearray()
|
|
241
241
|
|
|
242
|
-
base_offset = 10 + (len(self.variables) *
|
|
242
|
+
base_offset = 10 + (len(self.variables) * 23)
|
|
243
243
|
current_data_offset = base_offset
|
|
244
244
|
|
|
245
245
|
for var_name, info in self.variables.items():
|
|
246
246
|
encoded_name = var_name.encode('utf-8')[:16].ljust(16, b'\x00')
|
|
247
|
-
key_table += struct.pack("<
|
|
247
|
+
key_table += struct.pack("<B16sIH", info['id'], encoded_name, current_data_offset, info['alloc_len'])
|
|
248
248
|
data_payload += info['data']
|
|
249
249
|
current_data_offset += info['alloc_len']
|
|
250
250
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|