From 54e36c4ff83d86346479bfae0e9bcef64afb1a49 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 10 Apr 2012 20:16:51 +0000 Subject: (svn r24111) -Codechange: use Colour more instead of manually bitstuffing --- src/table/palettes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/table') diff --git a/src/table/palettes.h b/src/table/palettes.h index 8e720fca8..e190134c9 100644 --- a/src/table/palettes.h +++ b/src/table/palettes.h @@ -11,13 +11,13 @@ #include "../core/endian_type.hpp" -#define M(r, g, b) { 0xFF000000U | (r) << 16 | (g) << 8 | (b) } +#define M(r, g, b) Colour(r, g, b) /** Colour palette (DOS) */ static const Palette _palette = { { /* transparent */ - { 0}, + Colour(0, 0, 0, 0), /* grey scale */ M( 16, 16, 16), M( 32, 32, 32), M( 48, 48, 48), M( 65, 64, 65), M( 82, 80, 82), M( 98, 101, 98), M(115, 117, 115), -- cgit v1.2.3-70-g09d2