#include <graphics.h>
Public Member Functions | |
| void | setFrom6Bit (const Common::Array< byte > &palette) |
| void | markAllDirty () |
| bool | upload () |
| bool | uploadFrom6Bit (const Common::Array< byte > &palette) |
| const Graphics::Palette & | palette () const |
Converts the game's 256-entry RGB palette to backend 8-bit components.
setFrom6Bit() scales each component by four and extends one dirty range. upload() sends only that range and reports whether it changed the backend; markAllDirty() forces a complete upload.