Updated with new tools and texture generation

This commit is contained in:
David Benepe
2020-06-12 17:09:01 -05:00
parent 4d038b42a5
commit d2c942115b
36 changed files with 23185 additions and 2897 deletions
+3 -2
View File
@@ -5,9 +5,10 @@ class ConfigRange:
self.size = size
self.type = type.lower()
self.properties = properties
self.start = -1
def get_range_string(self, start):
return "{:06x}".format(start) + '-' + "{:06x}".format(start + self.size)
def get_range_string(self):
return "{:06x}".format(self.start) + '-' + "{:06x}".format(self.start + self.size)
def __repr__(self):
return "{:06x}".format(self.size) + ', ' + self.type + ', ' + str(self.properties)