mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-21 14:53:02 +01:00
Add tooltips and new reload icon
This commit is contained in:
@@ -3627,6 +3627,9 @@ STR_6519 :Extras
|
|||||||
STR_6520 :Asset Packs
|
STR_6520 :Asset Packs
|
||||||
STR_6521 :Low Priority
|
STR_6521 :Low Priority
|
||||||
STR_6522 :High Priority
|
STR_6522 :High Priority
|
||||||
|
STR_6523 :Decrease the priority of the selected asset pack.
|
||||||
|
STR_6524 :Increase the priority of the selected asset pack.
|
||||||
|
STR_6525 :Reload all assets in the game with the enabled asset packs.
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Scenarios #
|
# Scenarios #
|
||||||
|
|||||||
BIN
resources/g2/icons/reload.png
Normal file
BIN
resources/g2/icons/reload.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 339 B |
@@ -550,6 +550,11 @@
|
|||||||
"x_offset": 5,
|
"x_offset": 5,
|
||||||
"y_offset": 5
|
"y_offset": 5
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "icons/reload.png",
|
||||||
|
"x_offset": 2,
|
||||||
|
"y_offset": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "font/latin/ae-uc-small.png",
|
"path": "font/latin/ae-uc-small.png",
|
||||||
"y_offset": 0,
|
"y_offset": 0,
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ enum WindowAssetPacksWidgetIdx {
|
|||||||
static rct_widget WindowAssetPacksWidgets[] = {
|
static rct_widget WindowAssetPacksWidgets[] = {
|
||||||
WINDOW_SHIM(WINDOW_TITLE, WW, WH),
|
WINDOW_SHIM(WINDOW_TITLE, WW, WH),
|
||||||
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::Scroll, WindowColour::Secondary, SCROLL_VERTICAL),
|
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::Scroll, WindowColour::Secondary, SCROLL_VERTICAL),
|
||||||
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_G2_ARROW_UP, STR_NONE),
|
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_G2_ARROW_UP, STR_DECREASE_PRIOTITY_TIP),
|
||||||
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_G2_ARROW_DOWN, STR_NONE),
|
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_G2_ARROW_DOWN, STR_INCREASE_PRIOTITY_TIP),
|
||||||
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_ROTATE_ARROW, STR_NONE),
|
MakeWidget({ 0, 0 }, { 0, 0 }, WindowWidgetType::FlatBtn, WindowColour::Secondary, SPR_G2_RELOAD, STR_RELOAD_ASSET_PACKS_TIP),
|
||||||
WIDGETS_END,
|
WIDGETS_END,
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|||||||
@@ -3910,6 +3910,9 @@ enum : uint16_t
|
|||||||
STR_ASSET_PACKS = 6520,
|
STR_ASSET_PACKS = 6520,
|
||||||
STR_LOW_PRIORITY = 6521,
|
STR_LOW_PRIORITY = 6521,
|
||||||
STR_HIGH_PRIORITY = 6522,
|
STR_HIGH_PRIORITY = 6522,
|
||||||
|
STR_DECREASE_PRIOTITY_TIP = 6523,
|
||||||
|
STR_INCREASE_PRIOTITY_TIP = 6524,
|
||||||
|
STR_RELOAD_ASSET_PACKS_TIP = 6525,
|
||||||
|
|
||||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||||
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
|
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
|
||||||
|
|||||||
@@ -902,8 +902,9 @@ enum
|
|||||||
|
|
||||||
SPR_G2_ARROW_UP = SPR_G2_BEGIN + 152,
|
SPR_G2_ARROW_UP = SPR_G2_BEGIN + 152,
|
||||||
SPR_G2_ARROW_DOWN = SPR_G2_BEGIN + 153,
|
SPR_G2_ARROW_DOWN = SPR_G2_BEGIN + 153,
|
||||||
|
SPR_G2_RELOAD = SPR_G2_BEGIN + 154,
|
||||||
|
|
||||||
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 154,
|
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 155,
|
||||||
|
|
||||||
SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN,
|
SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN,
|
||||||
SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,
|
SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user