(svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures.

This commit is contained in:
alberth
2010-07-31 19:45:48 +00:00
parent ea05f284a9
commit 3f62ee6355
2 changed files with 15 additions and 12 deletions

View File

@@ -34,6 +34,7 @@ struct Economy {
uint16 old_max_loan_unround_fract; ///< Old: Fraction of the unrounded max loan
};
/** Score categories in the detailed performance rating. */
enum ScoreID {
SCORE_BEGIN = 0,
SCORE_VEHICLES = 0,
@@ -53,8 +54,8 @@ enum ScoreID {
};
DECLARE_POSTFIX_INCREMENT(ScoreID)
/** Data structure for storing how the score is computed for a single score id. */
struct ScoreInfo {
byte id; ///< Unique ID of the score
int needed; ///< How much you need to get the perfect score
int score; ///< How much score it will give
};