Skip to content

Commit

Permalink
Hopefully remove Xinput1.4 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterTh committed Jun 7, 2016
1 parent d2157ae commit abec452
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GeDoSaTo.vcxproj
Expand Up @@ -117,7 +117,7 @@
<TargetMachine>MachineX86</TargetMachine>
<ModuleDefinitionFile>
</ModuleDefinitionFile>
<AdditionalDependencies>opengl32.lib;d3d11.lib;d3dx11.lib;D3DCompiler.lib;Effects11.lib;legacy_stdio_definitions.lib;nvapi.lib;Xinput.lib;libMinHook.x86.lib;winmm.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;psapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>opengl32.lib;d3d11.lib;d3dx11.lib;D3DCompiler.lib;Effects11.lib;legacy_stdio_definitions.lib;nvapi.lib;Xinput9_1_0.lib;libMinHook.x86.lib;winmm.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;psapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand Down
Binary file modified pack/GeDoSaTo.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion source/plugins/stranger.cpp
Expand Up @@ -59,7 +59,7 @@ HRESULT StrangerOfSwordCityPlugin::redirectSetPixelShader(IDirect3DPixelShader9*
HRESULT StrangerOfSwordCityPlugin::redirectDrawPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, CONST void* pVertexStreamZeroData, UINT VertexStreamZeroStride) {
if(PrimitiveCount==2) {
//float* vertexData = (float*)pVertexStreamZeroData;
auto floatStride = VertexStreamZeroStride / sizeof(float);
size_t floatStride = VertexStreamZeroStride / sizeof(float);
//static float replacementVertexData[100];// = (float*)alloca(floatStride * 2 * sizeof(float));
//memcpy(replacementVertexData, pVertexStreamZeroData, VertexStreamZeroStride*2);
float* vertexData = (float*)pVertexStreamZeroData;
Expand Down
4 changes: 2 additions & 2 deletions source/version.cpp
Expand Up @@ -6,9 +6,9 @@ const char* VER_NAME = "How Could Hell Be Any Worse";

const unsigned VER_MAJOR = 0;
const unsigned VER_MINOR = 21;
const unsigned VER_BUILD = 2297;
const unsigned VER_BUILD = 2301;

const char* VER_STRING = "version 0.21.2297 built on 2016/06/07 17:11:48";
const char* VER_STRING = "version 0.21.2301 built on 2016/06/07 20:03:46";

#ifdef _DEBUG
const char* MODE_STRING = "DEBUG";
Expand Down

0 comments on commit abec452

Please sign in to comment.