rem: t.baseline.x = 50;
add: t.baseline.x = 50 + SUMMARY_X_OFFS;
context: DrawCargo (COUNT redraw_state){	BYTE i;	RECT r;	extern FRAME misc_data;	SetContext (SpaceContext);	if (redraw_state)	{		STAMP s;		if (redraw_state == 2)		{			SetContextForeGroundColor (BLACK_COLOR);			r.corner.x = 1;			r.corner.y = 12;			r.extent.width = ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1) - r.corner.x;			r.extent.height = 62 - r.corner.y;			DrawFilledRectangle (&r);			GetFrameRect (SetRelFrameIndex (					pLocMenuState->ModuleFrame, MAX_SAVED_GAMES * 2 + 1					), &r);			DrawFilledRectangle (&r);		}		else		{			s.origin.x = s.origin.y = 0;			s.frame = SetAbsFrameIndex (pLocMenuState->ModuleFrame,					GetFrameCount (pLocMenuState->ModuleFrame) - 1);			if (!pLocMenuState->Initialized)			{				DrawStamp (&s);				s.frame = DecFrameIndex (s.frame);				if (pLocMenuState->delta_item == SAVE_GAME)					s.frame = DecFrameIndex (s.frame);				DrawStamp (&s);				if (((SUMMARY_DESC *)pLocMenuState->CurString)						[pLocMenuState->CurState].year_index == 0)					return;			}			else			{				GetContextClipRect (&r);				r.extent.height = 136;				SetContextClipRect (&r);				DrawStamp (&s);				r.extent.height = SIS_SCREEN_HEIGHT;				SetContextClipRect (&r);			}		}		s.frame = SetAbsFrameIndex (				misc_data,				(NUM_SCANDOT_TRANSITIONS << 1) + 3				);		if (redraw_state == 2				|| (redraw_state == 1				&& !(((SUMMARY_DESC *)pLocMenuState->CurString)				[pLocMenuState->CurState].Flags & AFTER_BOMB_INSTALLED)))		{			s.origin.x = 7;			s.origin.y = 17;			for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)			{				if (i == NUM_ELEMENT_CATEGORIES >> 1)				{					s.origin.x += 36;					s.origin.y = 17;				}				DrawStamp (&s);				s.frame = SetRelFrameIndex (s.frame, 5);				s.origin.y += 12;			}		}		s.origin.x = 24;		s.origin.y = 68;		s.frame = SetAbsFrameIndex (s.frame, 68);		DrawStamp (&s);	}	else	{		TEXT t;		UNICODE buf[10];		COLOR cargo_color[] =		{			BUILD_COLOR (MAKE_RGB15 (2, 14, 19), 0x00),			BUILD_COLOR (MAKE_RGB15 (25, 0x00, 0x00), 0x00),			BUILD_COLOR (MAKE_RGB15 (0x10, 0x10, 0x10), 0x00),			BUILD_COLOR (MAKE_RGB15 (3, 5, 30), 0x00),			BUILD_COLOR (MAKE_RGB15 (0x00, 24, 0x00), 0x00),			BUILD_COLOR (MAKE_RGB15 (27, 27, 0x00), 0x00),			BUILD_COLOR (MAKE_RGB15 (30, 13, 0x00), 0x00),			BUILD_COLOR (MAKE_RGB15 (20, 0x00, 20), 0x00),			BUILD_COLOR (MAKE_RGB15 (15, 0x00, 25), 0x00),		};		r.extent.width = 23;		r.extent.height = SHIP_NAME_HEIGHT;		SetContextFont (StarConFont);		t.baseline.x = 33;		t.baseline.y = 20;		t.align = ALIGN_RIGHT;		t.pStr = buf;		for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)		{			if (i == NUM_ELEMENT_CATEGORIES >> 1)			{				t.baseline.x += 36;				t.baseline.y = 20;			}			SetContextForeGroundColor (BLACK_COLOR);			r.corner.x = t.baseline.x - r.extent.width + 1;			r.corner.y = t.baseline.y - r.extent.height + 1;			DrawFilledRectangle (&r);			SetContextForeGroundColor (cargo_color[i]);			wsprintf (buf, "%u", GLOBAL_SIS (ElementAmounts[i]));			t.CharCount = (COUNT)~0;			font_DrawText (&t);			t.baseline.y += 12;		}		t.baseline.x = 50;		t.baseline.y = 71;		SetContextForeGroundColor (BLACK_COLOR);		r.corner.x = t.baseline.x - r.extent.width + 1;		r.corner.y = t.baseline.y - r.extent.height + 1;		DrawFilledRectangle (&r);		SetContextForeGroundColor (cargo_color[i]);		wsprintf (buf, "%u", GLOBAL_SIS (TotalBioMass));		t.CharCount = (COUNT)~0;		font_DrawText (&t);	}}