diff --git a/OutForDelivery/JayNakum.aps b/OutForDelivery/JayNakum.aps new file mode 100644 index 0000000..8a4ac77 Binary files /dev/null and b/OutForDelivery/JayNakum.aps differ diff --git a/OutForDelivery/JayNakum.rc b/OutForDelivery/JayNakum.rc new file mode 100644 index 0000000..ed40ab6 --- /dev/null +++ b/OutForDelivery/JayNakum.rc @@ -0,0 +1,61 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE 9, 1 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + +JayNakum ICON "logo.ico" \ No newline at end of file diff --git a/OutForDelivery/OutForDelivery.vcxproj b/OutForDelivery/OutForDelivery.vcxproj index 9ec700f..0abe164 100644 --- a/OutForDelivery/OutForDelivery.vcxproj +++ b/OutForDelivery/OutForDelivery.vcxproj @@ -171,6 +171,7 @@ + @@ -448,6 +449,9 @@ + + + diff --git a/OutForDelivery/OutForDelivery.vcxproj.filters b/OutForDelivery/OutForDelivery.vcxproj.filters index 1645f1b..fbbabe6 100644 --- a/OutForDelivery/OutForDelivery.vcxproj.filters +++ b/OutForDelivery/OutForDelivery.vcxproj.filters @@ -536,6 +536,9 @@ Header Files + + Header Files + @@ -874,4 +877,9 @@ + + + Resource Files + + \ No newline at end of file diff --git a/OutForDelivery/logo.ico b/OutForDelivery/logo.ico new file mode 100644 index 0000000..ce42792 Binary files /dev/null and b/OutForDelivery/logo.ico differ diff --git a/OutForDelivery/resource.h b/OutForDelivery/resource.h new file mode 100644 index 0000000..f71e9c4 --- /dev/null +++ b/OutForDelivery/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by JayNakum.rc + +// 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 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/OutForDelivery/src/Application.cpp b/OutForDelivery/src/Application.cpp index e8e955c..3cf72d2 100644 --- a/OutForDelivery/src/Application.cpp +++ b/OutForDelivery/src/Application.cpp @@ -89,7 +89,7 @@ void Application::run() { if (package.getPos() >= house.getPos() - 1.0f && package.getPos() <= house.getPos() + 1.0f) { - house.reset((rand() % 10) + 1); + house.reset((rand() % 10) + 2); } package.reset();