ref: f3fbdbe6a9917607b29ee8673a549b6851651347
parent: 3202125056967596f1e82e3fe1a74d5df0ae28a6
author: Iliyas Jorio <[email protected]>
date: Wed Feb 2 11:28:08 EST 2022
Nuke win32 cruft
binary files a/CandyCrisis.icns /dev/null differ
binary files a/CandyCrisis.ico /dev/null differ
binary files a/CandyCrisis.rc /dev/null differ
--- a/CandyCrisis.sln
+++ /dev/null
@@ -1,28 +1,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.23107.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CandyCrisis", "CandyCrisis.vcxproj", "{53197AA2-3589-4E6F-9003-F8FA129A931A}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
- Release|x64 = Release|x64
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Debug|x64.ActiveCfg = Debug|x64
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Debug|x64.Build.0 = Debug|x64
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Debug|x86.ActiveCfg = Debug|Win32
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Debug|x86.Build.0 = Debug|Win32
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Release|x64.ActiveCfg = Release|x64
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Release|x64.Build.0 = Release|x64
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Release|x86.ActiveCfg = Release|Win32
- {53197AA2-3589-4E6F-9003-F8FA129A931A}.Release|x86.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
--- a/CandyCrisis.vcxproj
+++ /dev/null
@@ -1,239 +1,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{53197AA2-3589-4E6F-9003-F8FA129A931A}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>CandyCrisis</RootNamespace>
- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="Shared">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>SDL2-2.0.3/include;SDL2_image-2.0.0/include;FMOD/inc</AdditionalIncludeDirectories>
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>SDL2.lib;SDL2_image.lib;fmodex_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>SDL2-2.0.3/lib/x86;SDL2_image-2.0.0/lib/x86;FMOD/lib</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>SDL2-2.0.3/include;SDL2_image-2.0.0/include;FMOD/inc</AdditionalIncludeDirectories>
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>SDL2.lib;SDL2_image.lib;fmodex64_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>SDL2-2.0.3/lib/x64;SDL2_image-2.0.0/lib/x64;FMOD/lib</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>SDL2-2.0.3/include;SDL2_image-2.0.0/include;FMOD/inc</AdditionalIncludeDirectories>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>SDL2.lib;SDL2_image.lib;fmodex_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>SDL2-2.0.3/lib/x86;SDL2_image-2.0.0/lib/x86;FMOD/lib</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>SDL2-2.0.3/include;SDL2_image-2.0.0/include;FMOD/inc</AdditionalIncludeDirectories>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>SDL2.lib;SDL2_image.lib;fmodex64_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>SDL2-2.0.3/lib/x64;SDL2_image-2.0.0/lib/x64;FMOD/lib</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClInclude Include="blitter.h" />
- <ClInclude Include="CandyCrisis.h" />
- <ClInclude Include="control.h" />
- <ClInclude Include="font.h" />
- <ClInclude Include="gameticks.h" />
- <ClInclude Include="graphics.h" />
- <ClInclude Include="graymonitor.h" />
- <ClInclude Include="grays.h" />
- <ClInclude Include="gworld.h" />
- <ClInclude Include="hiscore.h" />
- <ClInclude Include="keyselect.h" />
- <ClInclude Include="level.h" />
- <ClInclude Include="main.h" />
- <ClInclude Include="moving.h" />
- <ClInclude Include="MTypes.h" />
- <ClInclude Include="music.h" />
- <ClInclude Include="next.h" />
- <ClInclude Include="opponent.h" />
- <ClInclude Include="pause.h" />
- <ClInclude Include="players.h" />
- <ClInclude Include="prefs.h" />
- <ClInclude Include="random.h" />
- <ClInclude Include="Resource.h" />
- <ClInclude Include="score.h" />
- <ClInclude Include="SDLU.h" />
- <ClInclude Include="soundfx.h" />
- <ClInclude Include="stdafx.h" />
- <ClInclude Include="targetver.h" />
- <ClInclude Include="tutorial.h" />
- <ClInclude Include="tweak.h" />
- <ClInclude Include="victory.h" />
- <ClInclude Include="zap.h" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="blitter.cpp" />
- <ClCompile Include="control.cpp" />
- <ClCompile Include="font.cpp" />
- <ClCompile Include="gameticks.cpp" />
- <ClCompile Include="graphics.cpp" />
- <ClCompile Include="graymonitor.cpp" />
- <ClCompile Include="grays.cpp" />
- <ClCompile Include="gworld.cpp" />
- <ClCompile Include="hiscore.cpp" />
- <ClCompile Include="keyselect.cpp" />
- <ClCompile Include="level.cpp" />
- <ClCompile Include="main.cpp" />
- <ClCompile Include="moving.cpp" />
- <ClCompile Include="MTypes.cpp" />
- <ClCompile Include="music.cpp" />
- <ClCompile Include="next.cpp" />
- <ClCompile Include="opponent.cpp" />
- <ClCompile Include="pause.cpp" />
- <ClCompile Include="players.cpp" />
- <ClCompile Include="prefs.cpp" />
- <ClCompile Include="random.cpp" />
- <ClCompile Include="score.cpp" />
- <ClCompile Include="SDLU.cpp" />
- <ClCompile Include="soundfx.cpp" />
- <ClCompile Include="stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="tutorial.cpp" />
- <ClCompile Include="tweak.cpp" />
- <ClCompile Include="victory.cpp" />
- <ClCompile Include="zap.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="CandyCrisis.rc" />
- </ItemGroup>
- <ItemGroup>
- <Image Include="CandyCrisis.ico" />
- <Image Include="small.ico" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file
--- a/CandyCrisis.vcxproj.filters
+++ /dev/null
@@ -1,217 +1,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="stdafx.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="targetver.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="Resource.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="CandyCrisis.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="blitter.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="control.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="gworld.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="hiscore.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="font.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="gameticks.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="graphics.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="graymonitor.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="grays.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="level.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="keyselect.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="main.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="pause.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="moving.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="MTypes.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="music.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="next.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="opponent.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="random.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="players.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="prefs.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="SDLU.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="score.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="soundfx.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="tweak.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="victory.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="zap.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="tutorial.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="blitter.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="control.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="font.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="gameticks.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="graphics.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="graymonitor.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="grays.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="gworld.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="hiscore.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="keyselect.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="level.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="main.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="players.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="prefs.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="random.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="score.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="SDLU.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="soundfx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="tutorial.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="tweak.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="victory.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="zap.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="opponent.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="pause.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="MTypes.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="moving.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="music.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="next.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="CandyCrisis.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- </ItemGroup>
- <ItemGroup>
- <Image Include="small.ico">
- <Filter>Resource Files</Filter>
- </Image>
- <Image Include="CandyCrisis.ico">
- <Filter>Resource Files</Filter>
- </Image>
- </ItemGroup>
-</Project>
\ No newline at end of file
--- a/CandyCrisis.vcxproj.user
+++ /dev/null
@@ -1,4 +1,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup />
-</Project>
\ No newline at end of file
binary files /dev/null b/packaging/CandyCrisis.icns differ
binary files /dev/null b/packaging/CandyCrisis.ico differ
binary files a/small.ico /dev/null differ
--- a/src/CandyCrisis.cpp
+++ /dev/null
@@ -1,182 +1,0 @@
-// CandyCrisis.cpp : Defines the entry point for the application.
-//
-
-#include "stdafx.h"
-#include "CandyCrisis.h"
-
-#define MAX_LOADSTRING 100
-
-#if 0
-// Global Variables:
-HINSTANCE hInst; // current instance
-WCHAR szTitle[MAX_LOADSTRING]; // The title bar text
-WCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
-
-// Forward declarations of functions included in this code module:
-ATOM MyRegisterClass(HINSTANCE hInstance);
-BOOL InitInstance(HINSTANCE, int);
-LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
-INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
-
-int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
- _In_opt_ HINSTANCE hPrevInstance,
- _In_ LPWSTR lpCmdLine,
- _In_ int nCmdShow)
-{
- UNREFERENCED_PARAMETER(hPrevInstance);
- UNREFERENCED_PARAMETER(lpCmdLine);
-
- // TODO: Place code here.
-
- // Initialize global strings
- LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
- LoadStringW(hInstance, IDC_CANDYCRISIS, szWindowClass, MAX_LOADSTRING);
- MyRegisterClass(hInstance);
-
- // Perform application initialization:
- if (!InitInstance (hInstance, nCmdShow))
- {
- return FALSE;
- }
-
- HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_CANDYCRISIS));
-
- MSG msg;
-
- // Main message loop:
- while (GetMessage(&msg, nullptr, 0, 0))
- {
- if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
- {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }
-
- return (int) msg.wParam;
-}
-
-
-
-//
-// FUNCTION: MyRegisterClass()
-//
-// PURPOSE: Registers the window class.
-//
-ATOM MyRegisterClass(HINSTANCE hInstance)
-{
- WNDCLASSEXW wcex;
-
- wcex.cbSize = sizeof(WNDCLASSEX);
-
- wcex.style = CS_HREDRAW | CS_VREDRAW;
- wcex.lpfnWndProc = WndProc;
- wcex.cbClsExtra = 0;
- wcex.cbWndExtra = 0;
- wcex.hInstance = hInstance;
- wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_CANDYCRISIS));
- wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
- wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
- wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_CANDYCRISIS);
- wcex.lpszClassName = szWindowClass;
- wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
-
- return RegisterClassExW(&wcex);
-}
-
-//
-// FUNCTION: InitInstance(HINSTANCE, int)
-//
-// PURPOSE: Saves instance handle and creates main window
-//
-// COMMENTS:
-//
-// In this function, we save the instance handle in a global variable and
-// create and display the main program window.
-//
-BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
-{
- hInst = hInstance; // Store instance handle in our global variable
-
- HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
- CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr);
-
- if (!hWnd)
- {
- return FALSE;
- }
-
- ShowWindow(hWnd, nCmdShow);
- UpdateWindow(hWnd);
-
- return TRUE;
-}
-
-//
-// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)
-//
-// PURPOSE: Processes messages for the main window.
-//
-// WM_COMMAND - process the application menu
-// WM_PAINT - Paint the main window
-// WM_DESTROY - post a quit message and return
-//
-//
-LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
-{
- switch (message)
- {
- case WM_COMMAND:
- {
- int wmId = LOWORD(wParam);
- // Parse the menu selections:
- switch (wmId)
- {
- case IDM_ABOUT:
- DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
- break;
- case IDM_EXIT:
- DestroyWindow(hWnd);
- break;
- default:
- return DefWindowProc(hWnd, message, wParam, lParam);
- }
- }
- break;
- case WM_PAINT:
- {
- PAINTSTRUCT ps;
- HDC hdc = BeginPaint(hWnd, &ps);
- // TODO: Add any drawing code that uses hdc here...
- EndPaint(hWnd, &ps);
- }
- break;
- case WM_DESTROY:
- PostQuitMessage(0);
- break;
- default:
- return DefWindowProc(hWnd, message, wParam, lParam);
- }
- return 0;
-}
-
-// Message handler for about box.
-INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
-{
- UNREFERENCED_PARAMETER(lParam);
- switch (message)
- {
- case WM_INITDIALOG:
- return (INT_PTR)TRUE;
-
- case WM_COMMAND:
- if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
- {
- EndDialog(hDlg, LOWORD(wParam));
- return (INT_PTR)TRUE;
- }
- break;
- }
- return (INT_PTR)FALSE;
-}
-#endif
--- a/src/CandyCrisis.h
+++ /dev/null
@@ -1,3 +1,0 @@
-#pragma once
-
-#include "Resource.h"
--- a/src/Resource.h
+++ /dev/null
@@ -1,31 +1,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by CandyCrisis.rc
-//
-
-#define IDS_APP_TITLE 103
-
-#define IDR_MAINFRAME 128
-#define IDD_CANDYCRISIS_DIALOG 102
-#define IDD_ABOUTBOX 103
-#define IDM_ABOUT 104
-#define IDM_EXIT 105
-#define IDI_CANDYCRISIS 107
-#define IDI_SMALL 108
-#define IDC_CANDYCRISIS 109
-#define IDC_MYICON 2
-#ifndef IDC_STATIC
-#define IDC_STATIC -1
-#endif
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-
-#define _APS_NO_MFC 130
-#define _APS_NEXT_RESOURCE_VALUE 129
-#define _APS_NEXT_COMMAND_VALUE 32771
-#define _APS_NEXT_CONTROL_VALUE 1000
-#define _APS_NEXT_SYMED_VALUE 110
-#endif
-#endif
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -27,9 +27,3 @@
#include "SDL_endian.h"
#endif
-#if __APPLE__
-
-#include <SDL2/SDL.h>
-#include <SDL2/SDL_endian.h>
-
-#endif
\ No newline at end of file
--- a/src/targetver.h
+++ /dev/null
@@ -1,8 +1,0 @@
-#pragma once
-
-// Including SDKDDKVer.h defines the highest available Windows platform.
-
-// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
-// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
-
-#include <SDKDDKVer.h>