add: t.align = ALIGN_CENTER;
context: DrawMenu (PSETUP_MENU_STATE pInputState){	RECT r;	COLOR bg, dark, medium, title, oldtext;	COLOR inactive, default_color, selected;	FONT  oldfont = SetContextFont (StarConFont);	FONTEFFECT oldFontEffect = SetContextFontEffect (0, 0, 0);	TEXT t;	MENU_CATEGORY *menu;	int cat_index;		r.corner.x = 2;	r.corner.y = 2;	r.extent.width = SCREEN_WIDTH - 4;	r.extent.height = SCREEN_HEIGHT - 4;		dark = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x08), 0x01);	medium = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x10), 0x01);	bg = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1A), 0x09);	title = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x1F), 0x0F);	selected = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x00), 0x0E);	inactive = BUILD_COLOR (MAKE_RGB15 (0x18, 0x18, 0x18), 0x07);	default_color = title;		DrawShadowedBox(&r, bg, dark, medium);		oldtext = SetContextForeGroundColor (title);	t.baseline.x = r.corner.x + (r.extent.width >> 1);	t.baseline.y = r.corner.y + 8;	t.pStr = title_str;	t.align = ALIGN_CENTER;	t.valign = VALIGN_BOTTOM;	t.CharCount = ~0;	font_DrawText (&t);	t.baseline.y += 8;	t.pStr = subtitle_str;	font_DrawText (&t);	t.baseline.y += 8;	menu = cmdline_opts;	cat_index = 0;	while (menu->category)	{		int i, home_x, home_y;		t.baseline.x = r.corner.x + (r.extent.width / 8);		t.baseline.y += 16;		t.pStr = menu->category;		if (pInputState->category == cat_index)		{			SetContextForeGroundColor (selected);		}		else		{			SetContextForeGroundColor (inactive);		}		font_DrawText (&t);		home_x = t.baseline.x + (r.extent.width / 4);		home_y = t.baseline.y;		for (i = 0; i < menu->numopts; i++)		{			t.baseline.x = home_x + ((i % 3) * (r.extent.width / 4));			t.baseline.y = home_y + (8 * (i / 3));			t.pStr = menu->options[i].optname;			if ((pInputState->category == cat_index) &&			    (pInputState->option == i))			{				SetContextForeGroundColor (selected);				tooltip = menu->options[i].tooltip;			} 			else if (i == menu->selected)			{				SetContextForeGroundColor (default_color);			}			else			{				SetContextForeGroundColor (inactive);			}			font_DrawText (&t);		}		menu++;		cat_index++;	}	t.baseline.x = r.corner.x + (r.extent.width >> 1);	t.baseline.y = r.corner.y + (r.extent.height - 32);	t.pStr = tooltip[0];	SetContextForeGroundColor (title);	font_DrawText(&t);	t.baseline.y += 8;	t.pStr = tooltip[1];	font_DrawText(&t);	t.baseline.y += 8;	t.pStr = tooltip[2];	font_DrawText(&t);	SetContextFontEffect (oldFontEffect.type, oldFontEffect.from, oldFontEffect.to);	SetContextFont (oldfont);	SetContextForeGroundColor (oldtext);}