int IAGSEngine::GetRawPixelColor (int32 color) { // Convert the standardized colour to the local gfx mode color int result; __my_setcolor(&result, color); return result; }
void Graphics::SetTextColor(color_t color) { if (_bitmap) { __my_setcolor(&_textColor, color, _bitmap->GetColorDepth()); } else { _textColor = color; } }
color_t Bitmap::GetCompatibleColor(color_t color) { color_t compat_color = 0; __my_setcolor(&compat_color, color, bitmap_color_depth(_alBitmap)); return compat_color; }