diff --git a/Crawler/Crawler.rc b/Crawler/Crawler.rc new file mode 100644 index 00000000..dac9e0e4 --- /dev/null +++ b/Crawler/Crawler.rc @@ -0,0 +1,57 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +MAINICON ICON "assets\\heart.ico" + + + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/Crawler/Crawler.vcxproj b/Crawler/Crawler.vcxproj index 0c199478..0b19cfbc 100644 --- a/Crawler/Crawler.vcxproj +++ b/Crawler/Crawler.vcxproj @@ -144,6 +144,8 @@ + + @@ -165,6 +167,12 @@ + + + + + + diff --git a/Crawler/Crawler.vcxproj.filters b/Crawler/Crawler.vcxproj.filters index e3726162..88e7fd9f 100644 --- a/Crawler/Crawler.vcxproj.filters +++ b/Crawler/Crawler.vcxproj.filters @@ -9,10 +9,13 @@ {93995380-89BD-4b04-88EB-625FBE52EBFB} h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd - + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + {50277c8c-92cf-4eef-81ed-3e70ff51ec56} + @@ -63,6 +66,12 @@ Header Files + + Header Files + + + Header Files + @@ -107,4 +116,14 @@ Documentation + + + Resource Files + + + + + Resource Files + + \ No newline at end of file diff --git a/Crawler/RCa12948 b/Crawler/RCa12948 new file mode 100644 index 00000000..2988db10 Binary files /dev/null and b/Crawler/RCa12948 differ diff --git a/Crawler/assets/heart.ico b/Crawler/assets/heart.ico new file mode 100644 index 00000000..4cdd093b Binary files /dev/null and b/Crawler/assets/heart.ico differ diff --git a/Crawler/olcPixelGameEngine.h b/Crawler/olcPixelGameEngine.h index 43fb9460..f55ab4fb 100644 --- a/Crawler/olcPixelGameEngine.h +++ b/Crawler/olcPixelGameEngine.h @@ -5414,7 +5414,11 @@ namespace olc virtual olc::rcode CreateWindowPane(const olc::vi2d& vWindowPos, olc::vi2d& vWindowSize, bool bFullScreen) override { WNDCLASS wc; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); + wc.hIcon = static_cast(::LoadImage(GetModuleHandle(nullptr), + MAKEINTRESOURCE(102), + IMAGE_ICON, + 48, 48, + LR_DEFAULTCOLOR));; wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; wc.hInstance = GetModuleHandle(nullptr); diff --git a/Crawler/resource.h b/Crawler/resource.h new file mode 100644 index 00000000..c05965c6 --- /dev/null +++ b/Crawler/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Crawler.rc +// +#define MAINICON 102 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 103 +#endif +#endif diff --git a/Crawler/resource1.h b/Crawler/resource1.h new file mode 100644 index 00000000..96294d9c --- /dev/null +++ b/Crawler/resource1.h @@ -0,0 +1,17 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Crawler1.rc +// +#define MAINICON 101 +#define IDB_PNG1 102 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 103 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif