https://github.com/libsdl-org/Maelstrom/commit/3a1b40fa80efe7ae3b11b69eea113f67a7d33acd
From 3a1b40fa80efe7ae3b11b69eea113f67a7d33acd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 30 Oct 2011 10:27:03 -0400
Subject: [PATCH] Removed unused function
---
scores.cpp | 14 --------------
scores.h | 1 -
2 files changed, 15 deletions(-)
diff --git a/scores.cpp b/scores.cpp
index ed6e3437..15da5ad3 100644
--- a/scores.cpp
+++ b/scores.cpp
@@ -91,20 +91,6 @@ void SaveScores(void)
#endif
}
-/* Just show the high scores */
-void PrintHighScores(void)
-{
- int i;
-
- LoadScores();
- /* FIXME! -- Put all lines into a single formatted message */
- printf("Name Score Wave\n");
- for ( i=0; i<NUM_SCORES; ++i ) {
- printf("%-20s %-3.1u %u\n", hScores[i].name,
- hScores[i].score, hScores[i].wave);
- }
-}
-
void ZapHighScores(UIDialog *dialog, int status)
{
if (status) {
diff --git a/scores.h b/scores.h
index 2cae0294..4b103b73 100644
--- a/scores.h
+++ b/scores.h
@@ -26,7 +26,6 @@ class UIDialog;
extern void LoadScores(void);
extern void SaveScores(void);
extern void ZapHighScores(UIDialog *dialog, int status);
-extern void PrintHighScores(void);
/* The high scores structure */
typedef struct {