rem: RenderTopography (TRUE);
add: RenderTopography (TRUE);*/
context: DrawStarBackGround (BOOLEAN ForPlanet){	COUNT i, j;	DWORD rand_val;	STAMP s;	DWORD old_seed;	SetContext (SpaceContext);	SetContextBGFrame ((FRAME)0);	SetContextDrawState (DEST_PIXMAP | DRAW_REPLACE);	SetContextBackGroundColor (BLACK_COLOR);	ClearDrawable ();	old_seed = SeedRandom (			MAKE_DWORD (CurStarDescPtr->star_pt.x,			CurStarDescPtr->star_pt.y)			);#define NUM_DIM_PIECES 8	s.frame = SpaceJunkFrame;	for (i = 0; i < NUM_DIM_PIECES; ++i)	{#define NUM_DIM_DRAWN 5		for (j = 0; j < NUM_DIM_DRAWN; ++j)		{			rand_val = Random ();			s.origin.x = LOWORD (rand_val) % SIS_SCREEN_WIDTH;			s.origin.y = HIWORD (rand_val) % SIS_SCREEN_HEIGHT;			DrawStamp (&s);		}		s.frame = IncFrameIndex (s.frame);	}#define NUM_BRT_PIECES 8	for (i = 0; i < NUM_BRT_PIECES; ++i)	{#define NUM_BRT_DRAWN 30		for (j = 0; j < NUM_BRT_DRAWN; ++j)		{			rand_val = Random ();			s.origin.x = LOWORD (rand_val) % SIS_SCREEN_WIDTH;			s.origin.y = HIWORD (rand_val) % SIS_SCREEN_HEIGHT;			DrawStamp (&s);		}		s.frame = IncFrameIndex (s.frame);	}	if (ForPlanet)	{		RECT r;		if (pSolarSysState->MenuState.flash_task				|| (LastActivity & CHECK_LOAD))			RenderTopography (TRUE);		BatchGraphics ();		SetContext (ScreenContext);		SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0xA, 0xA, 0xA), 0x08));		r.corner.x = SIS_ORG_X - 1;		r.corner.y = (SIS_ORG_Y + SIS_SCREEN_HEIGHT) - MAP_HEIGHT - 4;		r.extent.width = SIS_SCREEN_WIDTH + 2;		r.extent.height = 3;		DrawFilledRectangle (&r);		SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x8, 0x8, 0x8), 0x1F));		r.extent.width = 1;		r.extent.height = MAP_HEIGHT + 1;		r.corner.y = (SIS_ORG_Y + SIS_SCREEN_HEIGHT) - MAP_HEIGHT;		r.corner.x = (SIS_ORG_X + SIS_SCREEN_WIDTH) - MAP_WIDTH - 1;		DrawFilledRectangle (&r);		r.corner.x = SIS_ORG_X + SIS_SCREEN_WIDTH;		DrawFilledRectangle (&r);		r.extent.width = SIS_SCREEN_WIDTH + 1;		r.extent.height = 1;		r.corner.x = SIS_ORG_X;		r.corner.y = (SIS_ORG_Y + SIS_SCREEN_HEIGHT) - MAP_HEIGHT - 5;		DrawFilledRectangle (&r);		SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x10, 0x10, 0x10), 0x19));		r.corner.y = (SIS_ORG_Y + SIS_SCREEN_HEIGHT) - MAP_HEIGHT - 1;		r.extent.width = MAP_WIDTH + 2;		r.corner.x = (SIS_ORG_X + SIS_SCREEN_WIDTH) - MAP_WIDTH - 1;		DrawFilledRectangle (&r);		r.extent.width = 1;		r.extent.height = MAP_HEIGHT + 1;		r.corner.y = (SIS_ORG_Y + SIS_SCREEN_HEIGHT) - MAP_HEIGHT;		r.corner.x = (SIS_ORG_X + SIS_SCREEN_WIDTH) - MAP_WIDTH - 1;		DrawFilledRectangle (&r);				UnbatchGraphics ();	}	SeedRandom (old_seed);}