diff options
-rw-r--r-- | engines/cge/vga13h.cpp | 10 | ||||
-rw-r--r-- | engines/cge/vga13h.h | 15 |
2 files changed, 0 insertions, 25 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index 51be2ed1e8..9b063f0c02 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -118,16 +118,6 @@ Dac mkDac(uint8 r, uint8 g, uint8 b) { return x; } - -Rgb mkRgb(uint8 r, uint8 g, uint8 b) { - static Trgb x; - x._dac._r = r; - x._dac._g = g; - x._dac._b = b; - return x._rgb; -} - - Sprite *locate(int ref) { Sprite *spr = _vga->_showQ->locate(ref); return (spr) ? spr : _vga->_spareQ->locate(ref); diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h index db75b48692..d43e590084 100644 --- a/engines/cge/vga13h.h +++ b/engines/cge/vga13h.h @@ -65,20 +65,6 @@ namespace CGE { #define SPR_EXT ".SPR" -struct Rgb { - uint16 _r : 2; - uint16 _R : 6; - uint16 _g : 2; - uint16 _G : 6; - uint16 _b : 2; - uint16 _B : 6; -}; - -typedef union { - Dac _dac; - Rgb _rgb; -} Trgb; - struct VgaRegBlk { uint8 _idx; uint8 _adr; @@ -299,7 +285,6 @@ public: Dac mkDac(uint8 r, uint8 g, uint8 b); -Rgb mkRgb(uint8 r, uint8 g, uint8 b); template <class CBLK> |