-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81f00dd
commit 31f55d5
Showing
8 changed files
with
173 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# this file is auto-generated by the pre-commit hook increment_version.py | ||
VERSION = "2024.11.26" | ||
COMMIT_HASH = "9370da3ac" | ||
COMMIT_TIME = "Tue Nov 26 16:24:55 2024 +0100" | ||
COMMIT_HASH = "81f00ddc4" | ||
COMMIT_TIME = "Tue Nov 26 18:32:43 2024 +0100" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from generated.formats.ovl_base.compounds.MemStruct import MemStruct | ||
from generated.formats.tex.imports import name_type_map | ||
|
||
|
||
class TexelHeader(MemStruct): | ||
|
||
""" | ||
PC2: 8 bytes | ||
""" | ||
|
||
__name__ = 'TexelHeader' | ||
|
||
|
||
def __init__(self, context, arg=0, template=None, set_default=True): | ||
super().__init__(context, arg, template, set_default=False) | ||
self.zero = name_type_map['Uint64'].from_value(0) | ||
if set_default: | ||
self.set_defaults() | ||
|
||
@classmethod | ||
def _get_attribute_list(cls): | ||
yield from super()._get_attribute_list() | ||
yield 'zero', name_type_map['Uint64'], (0, None), (True, 0), (None, None) | ||
|
||
@classmethod | ||
def _get_filtered_attribute_list(cls, instance, include_abstract=True): | ||
yield from super()._get_filtered_attribute_list(instance, include_abstract) | ||
yield 'zero', name_type_map['Uint64'], (0, None), (True, 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters