(svn r24111) -Codechange: use Colour more instead of manually bitstuffing

This commit is contained in:
rubidium
2012-04-10 20:16:51 +00:00
parent 696a4bcab0
commit ddae614e74
8 changed files with 95 additions and 72 deletions

View File

@@ -47,9 +47,9 @@ public:
/**
* Look up the colour in the current palette.
*/
inline uint32 LookupColourInPalette(uint index)
inline Colour LookupColourInPalette(uint index)
{
return this->palette.palette[index].data;
return this->palette.palette[index];
}
template <BlitterMode mode> void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);