Clean up the Race Result GUI code

- Remove excessive indentations in race_result_gui.cpp
- Move the bulk of the displayPostRaceInfo function into new functions: displayHighscores, displayLapDifficulty and displayChallengeInfo
- Add comments for the closing braces of functions, for the closing braces of some large code blocks, and explaining some functions
This commit is contained in:
Alayan 2024-05-04 19:14:48 +02:00
parent 3a0a2eaf97
commit 7a75f9e541
No known key found for this signature in database
2 changed files with 1381 additions and 1341 deletions

File diff suppressed because it is too large Load Diff

View File

@ -206,6 +206,9 @@ private:
void addGPProgressWidget(GUIEngine::Widget* widget);
void displayGPProgress();
void displayPostRaceInfo();
int displayHighscores(int x, int y);
int displayLapDifficulty(int x, int y);
int displayChallengeInfo(int x, int y);
void displayCTFResults();
void displaySoccerResults();
void displayScreenShots();