Added consistent names for methods for textures

This commit is contained in:
_ 2018-05-17 16:34:07 -07:00
parent 058e395735
commit 6b5931c979

View File

@ -95,7 +95,7 @@ class pyTexturePack:
def show(self): def show(self):
devil1tex.printheader(self.cstruct) devil1tex.printheader(self.cstruct)
def getbatchno(self): def getbatchnumber(self):
return self.cstruct.contents.batchNumber return self.cstruct.contents.batchNumber
def getfirstbatchoffset(self): def getfirstbatchoffset(self):
@ -123,7 +123,7 @@ class pyTextureBatchDescriptor:
def gethash(self): def gethash(self):
return self.cstruct.contents.hash return self.cstruct.contents.hash
def gettexno(self): def gettexnumber(self):
return self.cstruct.contents.texNumber return self.cstruct.contents.texNumber
def gettexturesize(self): def gettexturesize(self):