From 05d0eaf5fc4947081ae743a58e8675991e3f2422 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 31 Jul 2011 00:39:43 +0300 Subject: [PATCH] added windows icon --- minetest-icon.ico | Bin 0 -> 9662 bytes src/CMakeLists.txt | 5 +++++ src/winresource.rc | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100644 minetest-icon.ico create mode 100644 src/winresource.rc diff --git a/minetest-icon.ico b/minetest-icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..82af67bf918ad7683dfc7b63da97757d8b37d23c GIT binary patch literal 9662 zcmeI1c~o0f9>-HjSOOFhpmwx#tRCCyU|T}=5J%#VMJCHlr8f0h1>uQEGnN-bUChy22FL;;be4}YJ!axiD_>kKz#cPts5 z$1y+7dXBF#o|r4mBQy2tAGe8RI*~;9eNeP%Ft+u`a8=(KCuT=}dS3C|X=oY_T;Qwq zLjjS-wrf}Dy|0FfkPz8Ip*Zv_nPfR6qGho5eDSN?V|5fi^(mGXxBb9V8~*1*VvcB- zbA@!c2_%vMsW=20wG!GCEyF*Sk6v33ypDp(T4LXvP#cZ415j97E@^4nD+EvWFoO&w0%D^ z)l0ETr@--@Wq9wwI=r-_6gBBGWJE59rQ`6$=f}+Nk|UoXwEXTLgc9L}B~nc%i?!*R zOVM$&AUsGQ5`QWcFK2w6o}FoDPs_>}iTkHUa%Abg6VS!VP@XJC-*z*@P1zmG(bhtk z<3f;|5(WCa&HrO9^@~~)J}guyhHjKb70f`xoMj@(6EwzEDg{#0)9l<-LtMfN5;p>b zM@6IR*?%z{h7H?sM}D{yuOqwd{M~)E=&nyirg8}i$|_KK}? z3yb_@p?n415>0y0wLT!qc#O6|`6D6-e?}_9uT9k=Od*1d)aSGvaOyX|ZUb71q9^6I z>3DTdC7O(pNLMa~aZ?AX`%c^2qkV7L*2a{^%}q!rV=a{lhi{c@4lj^rd5tR~E6Xh) z%Cw*4;QYj^RMsg*scO3KFoDAef{sBi?3Z~3&)6sjE8D+^LWXH=< z($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yj%n^I)9mXZ%zbPFN0uR6XLfYMNq5-H?O`2aew=dlaBb$ zzjKKnSE#AgxS5xyxfKb|aBAg4?mH8mna64%*PLxDz^RnNYh$E~2C9SR9G|KP_!*-R z+x|F2HM_u%HbHoQ4-&r|!qP*1B*x1w8$TUK&i2?zxt+$MYb57Qls9Qklv3H#q`^$CH;=HH8pR$KIIsPPK@LD-tj(tZ$f_CI{j7+ z{O(Ey*C4^->Xq;f%eLopwkfoOZ59r(t&;EAMZ))7$);8_tNf!n0$-_sw^cFB&6N*3 zQn3vJxtl3eN9tz$o9LzR2M&}?ItGFLrSPd&pY<|}PjYo~tt0>CIKLErFTEJNU6}}a zdz`i5&1(4VNEz}niof^F7v9dw3UWYjCRT7rRt+j%^7&aV7Ys)Q5SAFWEcXL-Oz-r%C;@`+am@ z?!15C+?xQ-D#akl+26XELJCQ{GtPNaVw%B2p891s5*-8V644;1EoMXm(ZXp||4g;9 zO~O`ImVEr*g=f&;Y`sGEa#FTM_|fRvc+Sl%ILI=J=g(Guv()Y!x5AKojxl7~`|(-g z`K{UCJTPMqfH_z!Vm5;8VuABFjMyLjM(ioK5xa@pBlpQpaU-=qvRF4zdy2*Kp!PUP zoYYbh@^PM86^lh4W3l{LtW(swT{&y(*T!Mv!Y0B&E|?APD5w9Z4H>nnQA>4__ve7I jY{n1gSssjEh$Swg?TlCuZ_sNTSB=>3h@scaF|qwW_8REx literal 0 HcmV?d00001 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8ce69b2a..9bb26678 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -128,6 +128,11 @@ set(common_SRCS base64.cpp ) +# This gives us the icon +if(WIN32 AND MSVC) + set(common_SRCS ${common_SRCS} winresource.rc) +endif() + # Client sources set(minetest_SRCS ${common_SRCS} diff --git a/src/winresource.rc b/src/winresource.rc new file mode 100644 index 00000000..24ec445a --- /dev/null +++ b/src/winresource.rc @@ -0,0 +1,6 @@ +#include +#include +#include +LANGUAGE 0, SUBLANG_NEUTRAL +130 ICON "..\\minetest-icon.ico" +//131 BITMAP "..\\minetest-icon.bmp" -- 2.30.2