From 0c114f958f0081b984b29211276ab4f8ae4ae82c Mon Sep 17 00:00:00 2001 From: Ryan Myers Date: Tue, 8 Feb 2022 11:27:00 -0500 Subject: [PATCH] Update the score to show NON_EQUIVALENT as well --- tools/python/score.py | 6 +++++- tools/python/score_display.py | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/python/score.py b/tools/python/score.py index c2cb6e70..93912948 100644 --- a/tools/python/score.py +++ b/tools/python/score.py @@ -34,6 +34,7 @@ FUNCTION_REGEX = r'(? 0: if showTopFiles > len(scoreFiles): diff --git a/tools/python/score_display.py b/tools/python/score_display.py index 4cc6c75b..73670111 100644 --- a/tools/python/score_display.py +++ b/tools/python/score_display.py @@ -106,7 +106,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, totalDocumented=0, totalUndocumented=0): + def getDisplay(self, advOnePer, 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: @@ -130,6 +130,7 @@ class ScoreDisplay: 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)) + out += self.makeLine(' ', dashLen, '# NON_EQUIVALENT WIP functions: ' + str(totalNonEquivalent)) out += advOneGameStatusDisplay[0] if showFlags & 2: out += self.makeLine('=', dashLen)