rem: add_sub_frame (s.frame, NULL, tintFrame, NULL, 0);
add: add_sub_frame (s.frame, NULL, tintFrame[0], NULL, 0);
context: DrawPlanet (int x, int y, int dy, unsigned int rgb){	STAMP s;	UBYTE a = 128;	s.origin.x = x;	s.origin.y = y;	s.frame = pSolarSysState->TopoFrame;	BatchGraphics ();	if (! rgb)		DrawStamp (&s);	else	{		UBYTE r, g, b;		DWORD p;		COUNT framew;		RECT drect;		FRAME tintFrame = pSolarSysState->TintFrame[0];		FRAME tintLine = pSolarSysState->TintFrame[1];		if (rgb != pSolarSysState->Tint_rgb)		{			pSolarSysState->Tint_rgb=rgb;			// Buffer the topoMap to the tintFrame;			add_sub_frame (s.frame, NULL, tintFrame, NULL, 0);			r = (rgb & (0x1f << 10)) >> 8;			g = (rgb & (0x1f << 5)) >> 3;			b = (rgb & 0x1f) << 2;#ifdef USE_ADDITIVE_SCAN_BLIT			a = 255;#endif			p = frame_mapRGBA (tintFrame, r, g, b, a);			fill_frame_rgb (tintLine, p, 0, 0, 0, 0);		}		framew = GetFrameWidth (tintFrame);		drect.corner.x = 0;		drect.corner.y = dy;		drect.extent.width = framew;		drect.extent.height = 1;#ifdef USE_ADDITIVE_SCAN_BLIT		add_sub_frame (tintLine, NULL, tintFrame, &drect, 1);#else		add_sub_frame (tintLine, NULL, tintFrame, &drect, 0);#endif		if (GetFrameHeight (tintFrame) == dy)			pSolarSysState->Tint_rgb = 0;		s.frame = tintFrame;		DrawStamp (&s);	}	UnbatchGraphics ();}