Hugo Hu / Mbed 2 deprecated BRAVEHEART

Dependencies:   mbed N5110 ShiftReg PinDetect

Revision:
18:709ea375b0df
Parent:
17:d6a3b29cab31
Child:
19:89c3eeb3761b
--- a/Global.h	Mon May 11 03:52:18 2015 +0000
+++ b/Global.h	Mon May 11 04:40:23 2015 +0000
@@ -7,6 +7,7 @@
 /// @file Global.h
 /// @brief Contains global variables and functions
 
+/// A highscore element consists of initials and a score.
 struct Highscore
 {
     std::string initials;
@@ -15,9 +16,14 @@
 
 namespace Global
 {
-    extern int score;                      /// Score in last game
-    extern Highscore highscores[3];        /// List showing the three all time highest score achieved. Sorted from highest to lowest.
-    void clearHighscoreList();                /// Clears the highscore list
+    /// Score in last game
+    extern int score;
+    
+    /// List showing the three all time highest score achieved. Sorted from highest to lowest.
+    extern Highscore highscores[3];        
+    
+    /// Clears the highscore list
+    void clearHighscoreList();
 }
 
 #endif
\ No newline at end of file