From 5ca2b1a7fd9863582115abbe7f117cda1c57e851 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Mon, 5 May 2014 20:27:06 +0100 Subject: [PATCH 1/2] Added more strings --- src/strings.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/strings.h b/src/strings.h index 3afedf5f26..232d0b4068 100644 --- a/src/strings.h +++ b/src/strings.h @@ -354,6 +354,17 @@ enum { STR_CHANGE_BASE_LAND_TIP = 2294, STR_CHANGE_VERTICAL_LAND_TIP = 2295, + //STR_NONE = 2368, + STR_LOW = 2369, + STR_AVERAGE = 2370, + STR_HIGH = 2371, + //STR_LOW = 2372, + STR_MEDIUM = 2373, + //STR_HIGH = 2374, + STR_VERY_HIGH = 2375, + STR_EXTREME = 2376, + STR_ULTRA_EXTREME = 2377, + STR_ADJUST_SMALLER_LAND_TIP = 2378, STR_ADJUST_LARGER_LAND_TIP = 2379, STR_ADJUST_SMALLER_WATER_TIP = 2380, From c26b944b6e7d1a170c25b5a0dc127eae69b63375 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Tue, 6 May 2014 21:13:38 +0100 Subject: [PATCH 2/2] Now uses string references --- src/window_cheats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window_cheats.c b/src/window_cheats.c index 47ae59c9cd..4e9b188f53 100644 --- a/src/window_cheats.c +++ b/src/window_cheats.c @@ -56,7 +56,7 @@ static rct_widget window_cheats_money_widgets[] = { { 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_CLOSEBOX, 1, 4, 74, 47, 63, 2375, 2375 }, // high money + { WWT_CLOSEBOX, 1, 4, 74, 47, 63, STR_VERY_HIGH, STR_VERY_HIGH}, // high money { WIDGETS_END }, }; @@ -67,7 +67,7 @@ static rct_widget window_cheats_guests_widgets[] = { { 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_CLOSEBOX, 1, 4, 74, 47, 63, 2376, 2376 }, // happy guests + { WWT_CLOSEBOX, 1, 4, 74, 47, 63, STR_EXTREME, STR_EXTREME}, // happy guests { WIDGETS_END }, };