Skip to content

Commit afef22a

Browse files
committed
Inital plugin.
0 parents  commit afef22a

9 files changed

+440
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* -text
2+
*.fxo binary

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/build
2+
/ipch
3+
/.vs
4+
/*.VC.*
5+
/packages
6+
/out

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "deps/relase/reshade"]
2+
path = deps/release/reshade
3+
url = https://github.com/advancedfx/reshade.git

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 advancedfx.org
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

deps/release/reshade

Submodule reshade added at 882ec0d

src/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/build
2+
/*.user
3+
/.vs

src/ReShade_advancedfx.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32519.379
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReShade_advancedfx", "ReShade_advancedfx.vcxproj", "{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Debug|x64.ActiveCfg = Debug|x64
17+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Debug|x64.Build.0 = Debug|x64
18+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Debug|x86.ActiveCfg = Debug|Win32
19+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Debug|x86.Build.0 = Debug|Win32
20+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Release|x64.ActiveCfg = Release|x64
21+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Release|x64.Build.0 = Release|x64
22+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Release|x86.ActiveCfg = Release|Win32
23+
{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {F7B21875-F211-4992-9722-F63835EEE811}
30+
EndGlobalSection
31+
EndGlobal

src/ReShade_advancedfx.vcxproj

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|Win32">
13+
<Configuration>Release</Configuration>
14+
<Platform>Win32</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<VCProjectVersion>15.0</VCProjectVersion>
23+
<ProjectGuid>{02AF14FF-5139-43C5-9AD2-D382B0E3BFF9}</ProjectGuid>
24+
<Keyword>Win32Proj</Keyword>
25+
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
26+
<WindowsTargetPlatformVersion Condition="'$(VisualStudioVersion)'&gt;='16.0'">10.0</WindowsTargetPlatformVersion>
27+
<ProjectName>ReShade_advancedfx</ProjectName>
28+
</PropertyGroup>
29+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30+
<PropertyGroup Label="Configuration">
31+
<CharacterSet>Unicode</CharacterSet>
32+
<PlatformToolset>v141</PlatformToolset>
33+
<PlatformToolset Condition="'$(VisualStudioVersion)'=='16.0'">v142</PlatformToolset>
34+
<PlatformToolset Condition="'$(VisualStudioVersion)'=='17.0'">v143</PlatformToolset>
35+
</PropertyGroup>
36+
<PropertyGroup Label="Configuration" Condition="'$(Configuration)'=='Debug'">
37+
<ConfigurationType>DynamicLibrary</ConfigurationType>
38+
<UseDebugLibraries>true</UseDebugLibraries>
39+
</PropertyGroup>
40+
<PropertyGroup Label="Configuration" Condition="'$(Configuration)'=='Release'">
41+
<ConfigurationType>DynamicLibrary</ConfigurationType>
42+
<UseDebugLibraries>false</UseDebugLibraries>
43+
<WholeProgramOptimization>true</WholeProgramOptimization>
44+
</PropertyGroup>
45+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
46+
<ImportGroup Label="PropertySheets">
47+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
48+
</ImportGroup>
49+
<PropertyGroup>
50+
<OutDir>..\build\bin\$(Platform)\$(Configuration) Examples\</OutDir>
51+
<IntDir>..\build\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
52+
<TargetName>ReShade_advancedfx</TargetName>
53+
<TargetExt>.addon</TargetExt>
54+
</PropertyGroup>
55+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56+
<ClCompile>
57+
<WarningLevel>Level4</WarningLevel>
58+
<SDLCheck>true</SDLCheck>
59+
<Optimization>Disabled</Optimization>
60+
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
61+
<ConformanceMode>true</ConformanceMode>
62+
<AdditionalIncludeDirectories>..\deps\release\reshade\include;..\deps\release\reshade\deps\imgui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
63+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
64+
<LanguageStandard>stdcpp17</LanguageStandard>
65+
</ClCompile>
66+
<Link>
67+
<SubSystem>Windows</SubSystem>
68+
<GenerateDebugInformation>true</GenerateDebugInformation>
69+
</Link>
70+
</ItemDefinitionGroup>
71+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
72+
<ClCompile>
73+
<WarningLevel>Level4</WarningLevel>
74+
<SDLCheck>true</SDLCheck>
75+
<Optimization>Disabled</Optimization>
76+
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
77+
<ConformanceMode>true</ConformanceMode>
78+
<AdditionalIncludeDirectories>..\deps\release\reshade\include;..\deps\release\reshade\deps\imgui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
79+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
80+
<LanguageStandard>stdcpp17</LanguageStandard>
81+
</ClCompile>
82+
<Link>
83+
<SubSystem>Windows</SubSystem>
84+
<GenerateDebugInformation>true</GenerateDebugInformation>
85+
</Link>
86+
</ItemDefinitionGroup>
87+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
88+
<ClCompile>
89+
<WarningLevel>Level3</WarningLevel>
90+
<Optimization>MaxSpeed</Optimization>
91+
<IntrinsicFunctions>true</IntrinsicFunctions>
92+
<FunctionLevelLinking>true</FunctionLevelLinking>
93+
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94+
<ConformanceMode>true</ConformanceMode>
95+
<AdditionalIncludeDirectories>..\deps\release\reshade\include;..\deps\release\reshade\deps\imgui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
96+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
97+
<LanguageStandard>stdcpp17</LanguageStandard>
98+
</ClCompile>
99+
<Link>
100+
<SubSystem>Windows</SubSystem>
101+
<OptimizeReferences>true</OptimizeReferences>
102+
<GenerateDebugInformation>false</GenerateDebugInformation>
103+
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
104+
</Link>
105+
</ItemDefinitionGroup>
106+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
107+
<ClCompile>
108+
<WarningLevel>Level3</WarningLevel>
109+
<Optimization>MaxSpeed</Optimization>
110+
<IntrinsicFunctions>true</IntrinsicFunctions>
111+
<FunctionLevelLinking>true</FunctionLevelLinking>
112+
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
113+
<ConformanceMode>true</ConformanceMode>
114+
<AdditionalIncludeDirectories>..\deps\release\reshade\include;..\deps\release\reshade\deps\imgui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
115+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
116+
<LanguageStandard>stdcpp17</LanguageStandard>
117+
</ClCompile>
118+
<Link>
119+
<SubSystem>Windows</SubSystem>
120+
<OptimizeReferences>true</OptimizeReferences>
121+
<GenerateDebugInformation>false</GenerateDebugInformation>
122+
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
123+
</Link>
124+
</ItemDefinitionGroup>
125+
<ItemGroup>
126+
<ClCompile Include="main.cpp" />
127+
</ItemGroup>
128+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
129+
</Project>

0 commit comments

Comments
 (0)