Skip to content

Commit

Permalink
Add Discord Rich Presence mod
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-k0 committed Jun 11, 2023
1 parent 0895273 commit 76f0671
Show file tree
Hide file tree
Showing 72 changed files with 2,809 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"tuple": "cpp"
}
}
202 changes: 202 additions & 0 deletions LoopHero_DiscordPresence/DiscordPresence.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
<?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>{31910930-bdd4-4f92-bf37-337e79b5c41e}</ProjectGuid>
<RootNamespace>LoopHeroModExample</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</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;LOOPHEROMODEXAMPLE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(SolutionDir)SDK;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
<AdditionalDependencies>discord-rpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;LOOPHEROMODEXAMPLE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(SolutionDir)SDK;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
<AdditionalDependencies>discord-rpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;LOOPHEROMODEXAMPLE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(SolutionDir)SDK;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
<AdditionalDependencies>discord-rpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;LOOPHEROMODEXAMPLE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(SolutionDir)SDK;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
<AdditionalDependencies>discord-rpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="SDK\Plugins\API Definitions\APIDefs.cpp" />
<ClCompile Include="SDK\Plugins\Plugins.cpp" />
<ClCompile Include="SDK\Structures\Documented\CDynamicArray\CDynamicArray.cpp" />
<ClCompile Include="SDK\Structures\Documented\RefThing\RefThing.cpp" />
<ClCompile Include="SDK\Structures\Documented\YYRValue\YYRValue.cpp" />
<ClCompile Include="TKEventManager.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="MyHelper.h" />
<ClInclude Include="SDK\Enums\Enums.hpp" />
<ClInclude Include="SDK\FwdDecls\FwdDecls.hpp" />
<ClInclude Include="SDK\Plugins\API Definitions\APIDefs.hpp" />
<ClInclude Include="SDK\Plugins\Plugins.hpp" />
<ClInclude Include="SDK\Plugins\YYTKEvent\YYTKEvent.hpp" />
<ClInclude Include="SDK\SDK.hpp" />
<ClInclude Include="SDK\Structures\Documented\APIVars\APIVars.hpp" />
<ClInclude Include="SDK\Structures\Documented\CCode\CCode.hpp" />
<ClInclude Include="SDK\Structures\Documented\CDynamicArray\CDynamicArray.hpp" />
<ClInclude Include="SDK\Structures\Documented\CHashMap\CHashMap.hpp" />
<ClInclude Include="SDK\Structures\Documented\FunctionInfo\FunctionInfo.hpp" />
<ClInclude Include="SDK\Structures\Documented\Math\Math.hpp" />
<ClInclude Include="SDK\Structures\Documented\RefThing\RefThing.hpp" />
<ClInclude Include="SDK\Structures\Documented\RToken\RToken.hpp" />
<ClInclude Include="SDK\Structures\Documented\VMBuffer\VMBuffer.hpp" />
<ClInclude Include="SDK\Structures\Documented\YYRValue\YYRValue.hpp" />
<ClInclude Include="SDK\Structures\Undocumented\CScript\CScript.hpp" />
<ClInclude Include="SDK\Structures\Undocumented\VMExec\VMExec.hpp" />
<ClInclude Include="SDK\Structures\Undocumented\YYGMLFuncs\YYGMLFuncs.hpp" />
<ClInclude Include="SDK\Structures\Undocumented\YYObjectBase\YYObjectBase.hpp" />
<ClInclude Include="SDK\Structures\Undocumented\YYVAR\YYVAR.hpp" />
<ClInclude Include="TKEventManager.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
94 changes: 94 additions & 0 deletions LoopHero_DiscordPresence/DiscordPresence.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>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="TKEventManager.cpp" />
<ClCompile Include="SDK\Plugins\API Definitions\APIDefs.cpp">
<Filter>YYTK</Filter>
</ClCompile>
<ClCompile Include="SDK\Structures\Documented\CDynamicArray\CDynamicArray.cpp">
<Filter>YYTK</Filter>
</ClCompile>
<ClCompile Include="SDK\Plugins\Plugins.cpp">
<Filter>YYTK</Filter>
</ClCompile>
<ClCompile Include="SDK\Structures\Documented\RefThing\RefThing.cpp">
<Filter>YYTK</Filter>
</ClCompile>
<ClCompile Include="SDK\Structures\Documented\YYRValue\YYRValue.cpp">
<Filter>YYTK</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="MyHelper.h" />
<ClInclude Include="TKEventManager.h" />
<ClInclude Include="SDK\Plugins\API Definitions\APIDefs.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\APIVars\APIVars.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\CCode\CCode.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\CDynamicArray\CDynamicArray.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\CHashMap\CHashMap.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Undocumented\CScript\CScript.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Enums\Enums.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\FunctionInfo\FunctionInfo.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\FwdDecls\FwdDecls.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\Math\Math.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Plugins\Plugins.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\RefThing\RefThing.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\RToken\RToken.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\SDK.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\VMBuffer\VMBuffer.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Undocumented\VMExec\VMExec.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Undocumented\YYGMLFuncs\YYGMLFuncs.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Undocumented\YYObjectBase\YYObjectBase.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Documented\YYRValue\YYRValue.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Plugins\YYTKEvent\YYTKEvent.hpp">
<Filter>YYTK</Filter>
</ClInclude>
<ClInclude Include="SDK\Structures\Undocumented\YYVAR\YYVAR.hpp">
<Filter>YYTK</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="YYTK">
<UniqueIdentifier>{b418483c-1671-4fdb-a7d7-a07e832f6ee1}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
Loading

0 comments on commit 76f0671

Please sign in to comment.