Replace display options tab with custom sprites
@@ -3,6 +3,7 @@
|
||||
- Improved: [#21767] RCT Classic for macOS can now be used as the source game.
|
||||
- Improved: [#23982] The scenario objective window has been merged into the scenario options window.
|
||||
- Change: [#23803] Lightning strikes and thunder happen at the same frequency independently of the game speed.
|
||||
- Change: [#23857] Replace display options tab with custom sprites.
|
||||
- Change: [#24069] [Plugin] Plugins are now available in the scenario editor and track designer.
|
||||
- Change: [#24135] Compress Emscripten js/wasm files.
|
||||
- Fix: [#21919] Non-recolourable cars still show colour picker.
|
||||
|
||||
BIN
resources/g2/icons/monitor_0.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
resources/g2/icons/monitor_1.png
Normal file
|
After Width: | Height: | Size: 884 B |
BIN
resources/g2/icons/monitor_10.png
Normal file
|
After Width: | Height: | Size: 982 B |
BIN
resources/g2/icons/monitor_11.png
Normal file
|
After Width: | Height: | Size: 955 B |
BIN
resources/g2/icons/monitor_12.png
Normal file
|
After Width: | Height: | Size: 996 B |
BIN
resources/g2/icons/monitor_13.png
Normal file
|
After Width: | Height: | Size: 1008 B |
BIN
resources/g2/icons/monitor_14.png
Normal file
|
After Width: | Height: | Size: 989 B |
BIN
resources/g2/icons/monitor_15.png
Normal file
|
After Width: | Height: | Size: 880 B |
BIN
resources/g2/icons/monitor_2.png
Normal file
|
After Width: | Height: | Size: 960 B |
BIN
resources/g2/icons/monitor_3.png
Normal file
|
After Width: | Height: | Size: 969 B |
BIN
resources/g2/icons/monitor_4.png
Normal file
|
After Width: | Height: | Size: 981 B |
BIN
resources/g2/icons/monitor_5.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
resources/g2/icons/monitor_6.png
Normal file
|
After Width: | Height: | Size: 975 B |
BIN
resources/g2/icons/monitor_7.png
Normal file
|
After Width: | Height: | Size: 981 B |
BIN
resources/g2/icons/monitor_8.png
Normal file
|
After Width: | Height: | Size: 971 B |
BIN
resources/g2/icons/monitor_9.png
Normal file
|
After Width: | Height: | Size: 995 B |
@@ -363,6 +363,86 @@
|
||||
"path": "icons/weather_blizzard.png",
|
||||
"x": 1
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_0.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_1.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_2.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_3.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_4.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_5.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_6.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_7.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_8.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_9.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_10.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_11.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_12.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_13.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_14.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "icons/monitor_15.png",
|
||||
"x": 3,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"path": "logo_mono_dithered.png"
|
||||
},
|
||||
|
||||
@@ -2140,7 +2140,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
|
||||
void DrawTabImages(DrawPixelInfo& dpi)
|
||||
{
|
||||
DrawTabImage(dpi, WINDOW_OPTIONS_PAGE_DISPLAY, SPR_TAB_PAINT_0);
|
||||
DrawTabImage(dpi, WINDOW_OPTIONS_PAGE_DISPLAY, SPR_G2_MONITOR_TAB_START);
|
||||
DrawTabImage(dpi, WINDOW_OPTIONS_PAGE_RENDERING, SPR_G2_TAB_TREE);
|
||||
DrawTabImage(dpi, WINDOW_OPTIONS_PAGE_CULTURE, SPR_TAB_TIMER_0);
|
||||
DrawTabImage(dpi, WINDOW_OPTIONS_PAGE_AUDIO, SPR_TAB_MUSIC_0);
|
||||
@@ -2245,13 +2245,13 @@ namespace OpenRCT2::Ui::Windows
|
||||
};
|
||||
|
||||
static constexpr int32_t TabAnimationFrames[] = {
|
||||
8, // WINDOW_OPTIONS_PAGE_DISPLAY,
|
||||
1, // WINDOW_OPTIONS_PAGE_RENDERING,
|
||||
8, // WINDOW_OPTIONS_PAGE_CULTURE,
|
||||
16, // WINDOW_OPTIONS_PAGE_AUDIO,
|
||||
4, // WINDOW_OPTIONS_PAGE_CONTROLS_AND_INTERFACE,
|
||||
16, // WINDOW_OPTIONS_PAGE_MISC,
|
||||
16, // WINDOW_OPTIONS_PAGE_ADVANCED,
|
||||
SPR_G2_MONITOR_TAB_END - SPR_G2_MONITOR_TAB_START, // WINDOW_OPTIONS_PAGE_DISPLAY,
|
||||
1, // WINDOW_OPTIONS_PAGE_RENDERING,
|
||||
8, // WINDOW_OPTIONS_PAGE_CULTURE,
|
||||
16, // WINDOW_OPTIONS_PAGE_AUDIO,
|
||||
4, // WINDOW_OPTIONS_PAGE_CONTROLS_AND_INTERFACE,
|
||||
16, // WINDOW_OPTIONS_PAGE_MISC,
|
||||
16, // WINDOW_OPTIONS_PAGE_ADVANCED,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -983,11 +983,14 @@ enum : ImageIndex
|
||||
SPR_G2_WEATHER_SNOW,
|
||||
SPR_G2_WEATHER_HEAVY_SNOW,
|
||||
SPR_G2_WEATHER_BLIZZARD,
|
||||
SPR_G2_MONITOR_TAB_START,
|
||||
SPR_G2_MONITOR_TAB_END = SPR_G2_MONITOR_TAB_START + 15,
|
||||
SPR_G2_LOGO_MONO_DITHERED,
|
||||
|
||||
// G2 Loading progress
|
||||
|
||||
SPR_G2_LOADER_HYBRID_SUPPORTS,
|
||||
SPR_G2_LOADER_START = SPR_G2_LOGO_MONO_DITHERED + 1,
|
||||
SPR_G2_LOADER_HYBRID_SUPPORTS = SPR_G2_LOADER_START,
|
||||
SPR_G2_LOADER_HYBRID_TRACK,
|
||||
SPR_G2_LOADER_HYBRID_VEHICLE,
|
||||
SPR_G2_LOADER_STEEL_SUPPORTS,
|
||||
|
||||
@@ -169,6 +169,8 @@ namespace OpenRCT2::Scripting
|
||||
{ "selection_edge_se", SPR_G2_SELECTION_EDGE_SE },
|
||||
{ "palette_invisible", SPR_G2_ICON_PALETTE_INVISIBLE },
|
||||
{ "palette_invisible_pressed", SPR_G2_ICON_PALETTE_INVISIBLE_PRESSED },
|
||||
{ "monitor_start", SPR_G2_MONITOR_TAB_START },
|
||||
{ "monitor_end", SPR_G2_MONITOR_TAB_END },
|
||||
};
|
||||
|
||||
// Maps legacy G2 icons sprite indices to new sprite indices
|
||||
|
||||