Skip to content

Commit

Permalink
移除没用的代码
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Jul 10, 2019
1 parent 1d6fe90 commit 84c10a0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 40 deletions.
4 changes: 0 additions & 4 deletions Development/Plugin/WE/YDTrigger/Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ void All_Hook()
base::hook::install((uintptr_t*)&CC_Main, (uintptr_t)CC_Main_Hook);
base::hook::install((uintptr_t*)&CC_Put_globals, (uintptr_t)CC_Put_globals_Hook);
base::hook::install((uintptr_t*)&CC_Put_endglobals, (uintptr_t)CC_Put_endglobals_Hook);
//base::hook::install((uintptr_t*)&ConvertTriggerName, (uintptr_t)ConvertTriggerName_Hook);
//base::hook::install((uintptr_t*)&GetGlobalVarName, (uintptr_t)GetGlobalVarName_Hook);
base::hook::install((uintptr_t*)&ChangeGUIType, (uintptr_t)ChangeGUIType_Hook);

TriggerParameterDialog_FuncList_Hook();
Expand All @@ -84,8 +82,6 @@ void All_Unhook()
//base::hook::inline_uninstall((uintptr_t*)&CC_Main, (uintptr_t)CC_Main_Hook);
//base::hook::inline_uninstall((uintptr_t*)&CC_Put_globals, (uintptr_t)CC_Put_globals_Hook);
//base::hook::inline_uninstall((uintptr_t*)&CC_Put_endglobals, (uintptr_t)CC_Put_endglobals_Hook);
//base::hook::inline_uninstall((uintptr_t*)ConvertTriggerName, (uintptr_t)ConvertTriggerName_Hook);
//base::hook::inline_install((uintptr_t*)&GetGlobalVarName, (uintptr_t)GetGlobalVarName_Hook);
//base::hook::inline_uninstall((uintptr_t*)&ChangeGUIType, (uintptr_t)ChangeGUIType_Hook);

//TriggerParameterDialog_FuncList_Unhook();
Expand Down
6 changes: 0 additions & 6 deletions Development/Plugin/WE/YDTrigger/ConvertTriggerName_Hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
#include "ConvertString/ConvertString.h"
#include "Common.h"

void _fastcall
ConvertTriggerName_Hook(char* src, char* dst, int len)
{
ConvertString(src, dst, len);
}

void _fastcall
GetTriggerName_Trig(DWORD This, char* dst, int len)
{
Expand Down
21 changes: 0 additions & 21 deletions Development/Plugin/WE/YDTrigger/GetGlobalVarName_Hook.cpp

This file was deleted.

1 change: 0 additions & 1 deletion Development/Plugin/WE/YDTrigger/YDTrigger.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
<ClCompile Include="Core\trigger_data_ui.cpp" />
<ClCompile Include="CreateYDTriggerImportFile.cpp" />
<ClCompile Include="DllMain.cpp" />
<ClCompile Include="GetGlobalVarName_Hook.cpp" />
<ClCompile Include="Hook.cpp" />
<ClCompile Include="SetGUIId_Hook.cpp" />
<ClCompile Include="SetGUI_Hook.cpp" />
Expand Down
3 changes: 0 additions & 3 deletions Development/Plugin/WE/YDTrigger/YDTrigger.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<ClCompile Include="CreateYDTriggerImportFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GetGlobalVarName_Hook.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Hook.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down
5 changes: 0 additions & 5 deletions OpenSource/Detours/project/Detours.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
<ClInclude Include="..\src\detours.h" />
<ClInclude Include="..\src\detver.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\bee.lua\project\bee.vcxproj">
<Project>{355c2493-0a78-490b-971a-bbdb0e2819ef}</Project>
</ProjectReference>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{198D08D6-92BA-46E3-B430-8351244FB61C}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
Expand Down

0 comments on commit 84c10a0

Please sign in to comment.