Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayveer committed Jan 19, 2021
0 parents commit 5b2a2d0
Show file tree
Hide file tree
Showing 27 changed files with 1,894 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ignore the following directories
.vs/
Debug/
Release/
X64/
mgs/3rdparty/zlib/zconf.h
mgs/3rdparty/zlib/zlib.h
mgs/3rdparty/zlib/zlib.lib
31 changes: 31 additions & 0 deletions Chrysalis.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30320.27
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chrysalis", "Chrysalis.vcxproj", "{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}"
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
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Debug|x64.ActiveCfg = Debug|x64
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Debug|x64.Build.0 = Debug|x64
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Debug|x86.ActiveCfg = Debug|Win32
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Debug|x86.Build.0 = Debug|Win32
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Release|x64.ActiveCfg = Release|x64
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Release|x64.Build.0 = Release|x64
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Release|x86.ActiveCfg = Release|Win32
{60B6BA9E-8F08-4816-84D7-8CBDB4EEB0E1}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F4778CF0-DE08-4586-96CE-247EF64424E9}
EndGlobalSection
EndGlobal
189 changes: 189 additions & 0 deletions Chrysalis.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" 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">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{60b6ba9e-8f08-4816-84d7-8cbdb4eeb0e1}</ProjectGuid>
<RootNamespace>Chrysalis</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</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)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>mgs/3rdparty/zlib/zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>mgs/3rdparty/zlib/zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>mgs/3rdparty/zlib/zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>mgs/3rdparty/zlib/zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
<ClCompile Include="mgs\3rdparty\zlib\wrapper\ZlibWrapper.cpp" />
<ClCompile Include="mgs\cnf\cnf.cpp" />
<ClCompile Include="mgs\common\decryptor\decryptor.cpp" />
<ClCompile Include="interface\cli\cli.cpp" />
<ClCompile Include="mgs\common\game\game.cpp" />
<ClCompile Include="mgs\slot\slot.cpp" />
<ClCompile Include="mgs\slot\stage\stages.cpp" />
<ClCompile Include="mgs\slot\stage\stage.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="mgs\3rdparty\zlib\wrapper\ZlibWrapper.h" />
<ClInclude Include="mgs\3rdparty\zlib\zconf.h" />
<ClInclude Include="mgs\3rdparty\zlib\zlib.h" />
<ClInclude Include="mgs\cnf\cnf.h" />
<ClInclude Include="mgs\common\decryptor\decryptor.h" />
<ClInclude Include="mgs\common\ext_table.h" />
<ClInclude Include="mgs\common\fileutil.h" />
<ClInclude Include="mgs\common\game\game.h" />
<ClInclude Include="mgs\common\strcode.h" />
<ClInclude Include="mgs\common\util.h" />
<ClInclude Include="interface\cli\cli.h" />
<ClInclude Include="mgs\slot\slot.h" />
<ClInclude Include="mgs\slot\stage\stage.h" />
</ItemGroup>
<ItemGroup>
<Library Include="mgs\3rdparty\zlib\zlib.lib" />
</ItemGroup>
<ItemGroup>
<None Include="LICENSE.md" />
<None Include="README.md" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
94 changes: 94 additions & 0 deletions Chrysalis.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?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;c++;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;h++;hm;inl;inc;ipp;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>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\common\decryptor\decryptor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\slot\slot.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\3rdparty\zlib\wrapper\ZlibWrapper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\slot\stage\stage.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\slot\stage\stages.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\cnf\cnf.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="interface\cli\cli.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mgs\common\game\game.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="mgs\common\decryptor\decryptor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\slot\slot.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\common\ext_table.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\3rdparty\zlib\zconf.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\3rdparty\zlib\zlib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\3rdparty\zlib\wrapper\ZlibWrapper.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\common\util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\slot\stage\stage.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\common\strcode.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\cnf\cnf.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\common\fileutil.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="interface\cli\cli.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mgs\common\game\game.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Library Include="mgs\3rdparty\zlib\zlib.lib" />
</ItemGroup>
<ItemGroup>
<None Include="README.md" />
<None Include="LICENSE.md" />
</ItemGroup>
</Project>
15 changes: 15 additions & 0 deletions Chrysalis.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommandArguments>
</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>"STAGEDAT.PDT" "init" "NewFolder"</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) 2021 Jayveer Kathwadia

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 5b2a2d0

Please sign in to comment.