From a5a648ac861e3c8cac8576749e64262c31c04e60 Mon Sep 17 00:00:00 2001 From: Marty Plummer Date: Fri, 3 Mar 2017 22:45:31 -0600 Subject: [PATCH] Add icon and resource files for windows Signed-off-by: Marty Plummer --- assets/icon.ico | Bin 0 -> 16958 bytes assets/resource.h | 1 + assets/resource.rc | 4 ++++ src/main.cpp | 4 ++++ 4 files changed, 9 insertions(+) create mode 100644 assets/icon.ico create mode 100644 assets/resource.h create mode 100644 assets/resource.rc diff --git a/assets/icon.ico b/assets/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..2a10780dd1c609077bcc4a2cbd42ddfe422d5aac GIT binary patch literal 16958 zcmd^{ONbps6ozXaVaUc1L_sBw8zhY4!hj?y!W~2iJ_AwQh>Ju>LUx}W{;KYJ zoT`a2bNaWkV)VP)EI(_^{l=JOv69THm~=-gyJ~*VD#6_G*ublSbY!GWxpEiSCW0m!^WP`l%XtjI$dMu7t*r(I?;^{)25CTUKS7F-m}o&?8kqVW36fn z@;|y^>}%f``{<$4_XAt7X&Tg(k{jX-_PKdupEzplhrf@Gxu{(}_|4eI-!OJ=E~~q5 z3pQcfBKBD=?(e&Q!%AAT;`2H1v;w z?TyFo+xF}&WB0w8Yy)f`h4_|2zcZg5`l>y+J$@fP|Cz={jl;3ciZ>k(x~iKQ>)MRn zx4|pt2k?UdEOm&vG&9HX&U+ng5BDD%Xalg+Ss$>T2=7rxV_loR_p0{CR&0(jC=RA! zi1lQs%N*B+alQ(3J|CO0J;tJV)moYTL}op|k@I^VQ{885&*2AK*`A3#Rj9+duCC6q z@~8hW_VCxn@_jD9XzYXgdQ6-&@|e%dWYowi;&pg6DtggOP`QulO z-T7qUx;wWf`tosX zrYoKE8{%Zk;%NmGIf%=RGN&7grHwC`+AS6Ea7655N@5Qyk2m@Ugml*7!~RHhimz zcm7Aoe#9%P5mJY`!ER(X9S^_+wn!eBA$;s%oxf+LdEYZ$Nmk6*zeU`XsGDg6bkunt zkJ!bzRJxryuVHQUDYy#jPNa>qv_m;PgSyF_UAGot?8W4 z{GOA|H#{yvR*;XbVf!U62ew#_;{Hr3qz~hxj%5;OU6=DoGKLQ`)~VP~gsdFUs|ACz~ zKp4Lot$*aRn)>=jI#c6YSz5vR=TwZp@%mRjt5}ZWlUx5vR~gQtyu|t!?Cb%8?d%bX z>X)T&;{8u%|J%{IK^e}nyteOu!4~zk-~TGf-7#}{_*t5sceL660j8W^%KJaSpYeZj z-=?ge%ktXl{{oY6#vJ>R@bBS!@SG#9#ws8D;K2aKCQcXVTMXBi^;d-N35*558S4D-zm``*qwgn}*%v(80L7 zWB(od`&hspyY8Zr{&eck&{v{P3c&czhB+^?I4{iEnOcy6HI!2p&f zbWD}Pcfg#?{kl=?n`B+E=jJ+W2g4|IUX?=|5Xbl4ru%Sw?}>LFo3VXVT9knH-hb9O zpBU@FKCb)Ev>$CS@E**_{de$t;#|ejWIw^4D(syV4{eZ-m! z=`Q*EN5Kn({{X)NzLjv7Q1QaHsF{aMWTOLJZ6^GQ_!sf94$K!y8@5fTiwtDN_Z9WH zX~^F(^LLH>ofCiefb)0a{w#8;fB$Z+U0>3VwR*kI5XvpNjc`q0HX-e-;9tV7wYLa& zxni#18qX@YN;uamP6Zwn^3saVxatz%s!M5o y$LT}g4nFkl +#include "resource.h" + +IDI_APPICON ICON "icon.ico" diff --git a/src/main.cpp b/src/main.cpp index 4b5e234..1ad3ee2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,11 @@ #include "binding.h" +#ifdef __WINDOWS__ +#include "resource.h" +#elif __LINUX__ #include "icon.png.xxd" +#endif static void rgssThreadError(RGSSThreadData *rtData, const std::string &msg)