mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Added non matching score to score script.
This commit is contained in:
@@ -107,7 +107,7 @@ class ScoreDisplay:
|
||||
out += self.makeLine(' ', dashLen, status['Msg'])
|
||||
return [out, dashLen]
|
||||
|
||||
def getDisplay(self, advOnePer, advTwoPer, showFlags=3, totalDecompFunctions=0, totalGlobalAsm=0, totalNonMatching=0, totalNonEquivalent=0, totalDocumented=0, totalUndocumented=0):
|
||||
def getDisplay(self, advOnePer, advOneNonMatchPer, advTwoPer, showFlags=3, totalDecompFunctions=0, totalGlobalAsm=0, totalNonMatching=0, totalNonEquivalent=0, totalDocumented=0, totalUndocumented=0):
|
||||
advOneStatus = self.getStatus(advOnePer)
|
||||
advTwoStatus = self.getStatus(advTwoPer)
|
||||
if showFlags == 3:
|
||||
@@ -127,7 +127,7 @@ class ScoreDisplay:
|
||||
if advOnePer >= 100.0:
|
||||
out += self.makeLine('-', dashLen, '{:5.1f}% Complete'.format(advOnePer))
|
||||
else:
|
||||
out += self.makeLine('-', dashLen, '{:5.2f}% Complete'.format(advOnePer))
|
||||
out += self.makeLine('-', dashLen, '{:5.2f}% ({:5.2f}%) Complete'.format(advOnePer, advOneNonMatchPer))
|
||||
out += self.makeLine(' ', dashLen, '# Decompiled functions: ' + str(totalDecompFunctions))
|
||||
out += self.makeLine(' ', dashLen, '# GLOBAL_ASM remaining: ' + str(totalGlobalAsm))
|
||||
out += self.makeLine(' ', dashLen, '# NON_MATCHING functions: ' + str(totalNonMatching))
|
||||
|
||||
Reference in New Issue
Block a user