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 | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/table/palettes.h | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.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 |