From 257d3b8469deea02185ae6bfc36b49f7812b77c7 Mon Sep 17 00:00:00 2001 From: rd3k Date: Sat, 30 May 2015 02:48:31 +0100 Subject: [PATCH] proper cheat and Twitch window tooltips, fix #1167 --- data/language/english_uk.txt | 16 ++++++++++------ src/windows/cheats.c | 32 ++++++++++++++++---------------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/data/language/english_uk.txt b/data/language/english_uk.txt index 909e981311..396d783513 100644 --- a/data/language/english_uk.txt +++ b/data/language/english_uk.txt @@ -3499,15 +3499,19 @@ STR_5162 :Day/Month/Year STR_5163 :Month/Day/Year STR_5164 :Twitch Channel name STR_5165 :Name peeps after followers -STR_5166 :Will name peeps after channel's Twitch followers +STR_5166 :{SMALLFONT}{BLACK}Will name peeps after channel's Twitch followers STR_5167 :Track follower peeps -STR_5168 :Will turn on tracking information for guests named after channel's Twitch followers +STR_5168 :{SMALLFONT}{BLACK}Will turn on tracking information for guests named after channel's Twitch followers STR_5169 :Name peeps after people in Twitch chat -STR_5170 :Will name peeps after people in Twitch chat +STR_5170 :{SMALLFONT}{BLACK}Will name peeps after people in Twitch chat STR_5171 :Track chat peeps -STR_5172 :Will turn on tracking information for guests named after Twitch chat participants +STR_5172 :{SMALLFONT}{BLACK}Will turn on tracking information for guests named after Twitch chat participants STR_5173 :Pull Twitch chat as news -STR_5174 :Will use Twitch chat messages preceded by !news for in game notifications +STR_5174 :{SMALLFONT}{BLACK}Will use Twitch chat messages preceded by !news for in game notifications STR_5175 :Input the name of your Twitch channel STR_5176 :Enable Twitch integration -STR_5177 :Fullscreen mode: \ No newline at end of file +STR_5177 :Fullscreen mode: +STR_5178 :{SMALLFONT}{BLACK}Show financial cheats +STR_5179 :{SMALLFONT}{BLACK}Show guest cheats +STR_5180 :{SMALLFONT}{BLACK}Show park cheats +STR_5181 :{SMALLFONT}{BLACK}Show ride cheats \ No newline at end of file diff --git a/src/windows/cheats.c b/src/windows/cheats.c index decf02ebbc..8b681a24be 100644 --- a/src/windows/cheats.c +++ b/src/windows/cheats.c @@ -106,10 +106,10 @@ static rct_widget window_cheats_money_widgets[] = { { WWT_CAPTION, 0, 1, WW - 2, 1, 14, 3165, STR_WINDOW_TITLE_TIP}, // title bar { WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, 0x338, STR_CLOSE_WINDOW_TIP}, // close x button { WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0x0FFFFFFFF, 65535}, // tab content panel - { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 2462}, // tab 1 - { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 2462}, // tab 2 - { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 2462}, // tab 3 - { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 2462}, // tab 4 + { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 5178 }, // tab 1 + { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 5179 }, // tab 2 + { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 5180 }, // tab 3 + { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 5181 }, // tab 4 { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(1), HPL(1), 2760, STR_NONE}, // high money { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(3), HPL(3), 2761, STR_NONE}, //Park Entrance Fee Toggle { WIDGETS_END }, @@ -120,10 +120,10 @@ static rct_widget window_cheats_guests_widgets[] = { { WWT_CAPTION, 0, 1, WW - 2, 1, 14, 3165, STR_WINDOW_TITLE_TIP }, // title bar { WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, 0x338, STR_CLOSE_WINDOW_TIP }, // close x button { WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0x0FFFFFFFF, 65535 }, // tab content panel - { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 2462 }, // tab 1 - { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 2462 }, // tab 2 - { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 2462 }, // tab 3 - { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 2462}, // tab 4 + { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 5178 }, // tab 1 + { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 5179 }, // tab 2 + { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 5180 }, // tab 3 + { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 5181 }, // tab 4 { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(1), HPL(1), 2764, STR_NONE}, // happy guests { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(3), HPL(3), 2765, STR_NONE}, // large tram { WIDGETS_END }, @@ -135,10 +135,10 @@ static rct_widget window_cheats_misc_widgets[] = { { WWT_CAPTION, 0, 1, WW - 2, 1, 14, 3165, STR_WINDOW_TITLE_TIP }, // title bar { WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, 0x338, STR_CLOSE_WINDOW_TIP }, // close x button { WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0x0FFFFFFFF, 65535 }, // tab content panel - { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 2462 }, // tab 1 - { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 2462 }, // tab 2 - { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 2462}, // tab 3 - { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 2462}, // tab 4 + { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 5178 }, // tab 1 + { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 5179 }, // tab 2 + { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 5180 }, // tab 3 + { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 5181 }, // tab 4 { WWT_CLOSEBOX, 1, XPL(1), WPL(1), YPL(1), HPL(1), 2767, STR_NONE}, // Freeze climate { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(0), HPL(0), 2769, STR_NONE}, // open / close park { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(1), HPL(1), 2759, STR_NONE}, // Zero Clearance @@ -158,10 +158,10 @@ static rct_widget window_cheats_rides_widgets[] = { { WWT_CAPTION, 0, 1, WW - 2, 1, 14, 3165, STR_WINDOW_TITLE_TIP }, // title bar { WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, 0x338, STR_CLOSE_WINDOW_TIP }, // close x button { WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0x0FFFFFFFF, 65535 }, // tab content panel - { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 2462 }, // tab 1 - { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 2462 }, // tab 2 - { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 2462}, // tab 3 - { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 2462}, // tab 4 + { WWT_TAB, 1, 3, 33, 17, 43, 0x2000144E, 5178 }, // tab 1 + { WWT_TAB, 1, 34, 64, 17, 43, 0x2000144E, 5179 }, // tab 2 + { WWT_TAB, 1, 65, 95, 17, 43, 0x2000144E, 5180 }, // tab 3 + { WWT_TAB, 1, 96, 126, 17, 43, 0x2000144E, 5181 }, // tab 4 { WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(0), HPL(0), 5123, STR_NONE}, // Renew rides { WWT_CLOSEBOX, 1, XPL(1), WPL(1), YPL(0), HPL(0), 5124, STR_NONE}, // Remove flags { WWT_CLOSEBOX, 1, XPL(1), WPL(1), YPL(1), HPL(1), 5125, STR_NONE}, // Make destructable