diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/table/palettes.h | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/table/palettes.h')
-rw-r--r-- | src/table/palettes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/table/palettes.h b/src/table/palettes.h index fc931c7c2..dd69085c7 100644 --- a/src/table/palettes.h +++ b/src/table/palettes.h @@ -141,7 +141,7 @@ static const Colour _palettes[][256] = { #define GET_PALETTE(x) _palettes[x] -typedef struct { +struct ExtraPaletteValues { Colour a[15]; // dark blue water Colour ac[15]; // dark blue water Toyland Colour lighthouse[12]; // lighthouse & stadium @@ -149,7 +149,7 @@ typedef struct { Colour e[15]; // ??? Colour b[45]; // glittery water Colour bc[45]; // glittery water Toyland -} ExtraPaletteValues; +}; static const ExtraPaletteValues _extra_palette_values = { { M( 32, 68, 112), M( 36, 72, 116), M( 40, 76, 120), M( 44, 80, 124), @@ -173,10 +173,10 @@ static const ExtraPaletteValues _extra_palette_values = { #undef M // Color table for colors in lang files (e.g. {BLACK}) -typedef struct StringColor { +struct StringColor { byte text; byte shadow; -} StringColor; +}; static const StringColor _string_colormap[] = { { 150, 215 }, // BLUE |