(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int

This commit is contained in:
rubidium
2010-05-13 09:44:44 +00:00
parent 793b0f0736
commit 398418b8fa
52 changed files with 170 additions and 251 deletions

View File

@@ -154,13 +154,11 @@ static const Colour _palettes[][256] = {
#define GET_PALETTE(x) _palettes[x]
/** Description of the length of the palette cycle animations */
enum {
EPV_CYCLES_DARK_WATER = 5, ///< length of the dark blue water animation
EPV_CYCLES_LIGHTHOUSE = 4, ///< length of the lighthouse/stadium animation
EPV_CYCLES_OIL_REFINERY = 7, ///< length of the oil refinery's fire animation
EPV_CYCLES_FIZZY_DRINK = 5, ///< length of the fizzy drinks animation
EPV_CYCLES_GLITTER_WATER = 15, ///< length of the glittery water animation
};
static const uint EPV_CYCLES_DARK_WATER = 5; ///< length of the dark blue water animation
static const uint EPV_CYCLES_LIGHTHOUSE = 4; ///< length of the lighthouse/stadium animation
static const uint EPV_CYCLES_OIL_REFINERY = 7; ///< length of the oil refinery's fire animation
static const uint EPV_CYCLES_FIZZY_DRINK = 5; ///< length of the fizzy drinks animation
static const uint EPV_CYCLES_GLITTER_WATER = 15; ///< length of the glittery water animation
/** Description of tables for the palette animation */
struct ExtraPaletteValues {