From 042af2f4aee6d62987dd80357693714ac73e7dff Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Wed, 4 Feb 2015 02:16:21 -0800 Subject: [PATCH] use bigger font for 'Vertigo' text, align to canvas size --- main/menu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main/menu.c b/main/menu.c index f9c8ab29..790293b2 100644 --- a/main/menu.c +++ b/main/menu.c @@ -162,8 +162,11 @@ void autodemo_menu_check(int nitems, newmenu_item * items, int *last_key, int ci //say this is vertigo version if (cfexist(MISSION_DIR "d2x.hog")) { - gr_set_curfont(MEDIUM2_FONT); - gr_printf(MenuHires?495:248, MenuHires?88:37, "Vertigo"); + int w, h, aw; + + gr_set_curfont(GWIDTH > 800?HUGE_FONT:MEDIUM2_FONT); + gr_get_string_size("Vertigo", &w, &h, &aw); + gr_printf(GWIDTH * 0.78, GHEIGHT * 0.19, "Vertigo"); } } -- 2.39.2