mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Update sync icons, new multiplayer toolbar button
The multiplayer toolbar button is the same globe used for the multiplayer option on the title screen, since it seems like a nicer (and better?) looking option than the two riders. Also conflicts less with the new sync icons.
This commit is contained in:
committed by
Aaron van Geffen
parent
8c4de40239
commit
c075eec224
Binary file not shown.
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 976 B |
Binary file not shown.
|
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 972 B |
BIN
resources/g2/icons/multiplayer_toolbar.png
Normal file
BIN
resources/g2/icons/multiplayer_toolbar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 910 B |
@@ -418,6 +418,11 @@
|
||||
{
|
||||
"path": "icons/map_east_pressed.png"
|
||||
},
|
||||
{
|
||||
"path": "icons/multiplayer_toolbar.png",
|
||||
"x_offset": 0,
|
||||
"y_offset": 0
|
||||
},
|
||||
{
|
||||
"path": "icons/multiplayer_sync.png",
|
||||
"x_offset": 0,
|
||||
|
||||
@@ -996,8 +996,8 @@ static void window_top_toolbar_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
y = w->y + window_top_toolbar_widgets[WIDX_NETWORK].top + 0;
|
||||
if (widget_is_pressed(w, WIDX_NETWORK))
|
||||
y++;
|
||||
imgId = SPR_SHOW_GUESTS_ON_THIS_RIDE_ATTRACTION;
|
||||
gfx_draw_sprite(dpi, imgId, x, y, 0);
|
||||
imgId = SPR_G2_MULTIPLAYER_TOOLBAR;
|
||||
gfx_draw_sprite(dpi, imgId, x - 2, y - 2, 0);
|
||||
gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM;
|
||||
imgId = (network_is_desynchronised() ? SPR_G2_MULTIPLAYER_DESYNC : SPR_G2_MULTIPLAYER_SYNC);
|
||||
gfx_draw_sprite(dpi, imgId, x + 3, y + 11, 0);
|
||||
|
||||
@@ -838,10 +838,11 @@ enum
|
||||
SPR_G2_MAP_EAST = SPR_G2_BEGIN + 120,
|
||||
SPR_G2_MAP_EAST_PRESSED = SPR_G2_BEGIN + 121,
|
||||
|
||||
SPR_G2_MULTIPLAYER_SYNC = SPR_G2_BEGIN + 122,
|
||||
SPR_G2_MULTIPLAYER_DESYNC = SPR_G2_BEGIN + 123,
|
||||
SPR_G2_MULTIPLAYER_TOOLBAR = SPR_G2_BEGIN + 122,
|
||||
SPR_G2_MULTIPLAYER_SYNC = SPR_G2_BEGIN + 123,
|
||||
SPR_G2_MULTIPLAYER_DESYNC = SPR_G2_BEGIN + 124,
|
||||
|
||||
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 124,
|
||||
SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 125,
|
||||
|
||||
SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN,
|
||||
SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,
|
||||
|
||||
Reference in New Issue
Block a user