From da3be49f342a5aa318cae887d9a6b26f3104b160 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Thu, 2 Jul 2015 21:18:36 +0100 Subject: [PATCH] update sandbox icon --- resources/g2/33.png | Bin 0 -> 506 bytes src/sprites.h | 2 ++ src/windows/top_toolbar.c | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 resources/g2/33.png diff --git a/resources/g2/33.png b/resources/g2/33.png new file mode 100644 index 0000000000000000000000000000000000000000..c6d2c04941c9c2f223b32ce5abe327cff100f7aa GIT binary patch literal 506 zcmVs30001uP)t-s0000N zBO@~}08dK`KRW|KLA532S;x!Z%Y@q+h?QikAs(&S33)TS08UP0F%2@i{Eq8+uOIp!=JCO zOJieqdoPEdUz5kDLt9&0b8~NlgF9a*KT}hWV<#^|Lv|-+5&!@I0d!JMQvg8b*k%9# z0UJp~K~#7FwUB>LgD?<=cWr5RY_%OaJYB28P{)LQ|BvUDEHV7p{_{cz$;0!$?X9i@ zLJC;j9uNR`IDpF3Z4M&SW_?FDXjJ0M9js%%VW_u@`dV7nGeq;Ss4IukTEAP?K@`?$ zw1{rAa514CCF0K8xt^d@N})sasHb|Ol6kK2$)h*>S@D3CcBs9>VL>p_%~iLk_uN;G zb^c+{k@aUNiDvDRb&dYz^#By&ti8zJw0r-k>SF_uCWlvfQRJUr-*r{hNuMm0={U6n2;-9{d|`ayP>Kx0xSP`;!IF9=L?M(T w7-G+FihUydlz(`D6nParaV~!(zWU$!1@VFv(5fDP0ssI207*qoM6N<$f`e(;Z~y=R literal 0 HcmV?d00001 diff --git a/src/sprites.h b/src/sprites.h index 1118cd3f7f..337fef7c8e 100644 --- a/src/sprites.h +++ b/src/sprites.h @@ -385,6 +385,8 @@ enum { SPR_G2_TITLE_STOP = SPR_G2_BEGIN + 30, SPR_G2_TITLE_PLAY = SPR_G2_BEGIN + 31, SPR_G2_TITLE_SKIP = SPR_G2_BEGIN + 32, + + SPR_G2_SANDBOX = SPR_G2_BEGIN + 33, }; #endif diff --git a/src/windows/top_toolbar.c b/src/windows/top_toolbar.c index b89fa750fa..0f2f0114cc 100644 --- a/src/windows/top_toolbar.c +++ b/src/windows/top_toolbar.c @@ -171,7 +171,7 @@ static rct_widget window_top_toolbar_widgets[] = { { WWT_TRNBTN, 0, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, 5148 }, // Fast forward { WWT_TRNBTN, 0, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, 5149 }, // Cheats - { WWT_TRNBTN, 0, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, STR_DEBUG_TIP }, // Debug + { WWT_TRNBTN, 0, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, STR_DEBUG_TIP }, // Debug { WWT_TRNBTN, 3, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, 3235 }, // Finances { WWT_TRNBTN, 3, 0x001E, 0x003B, 0, 27, 0x20000000 | 0x15F9, 2275 }, // Research @@ -752,7 +752,7 @@ static void window_top_toolbar_paint(rct_window *w, rct_drawpixelinfo *dpi) y = w->y + window_top_toolbar_widgets[WIDX_CHEATS].top - 1; if (widget_is_pressed(w, WIDX_CHEATS)) y++; - imgId = SPR_TAB_OBJECTIVE_0; + imgId = SPR_G2_SANDBOX; gfx_draw_sprite(dpi, imgId, x, y, 3); }