Permalink
Browse files

fix jRO structure

fix CAbleToMakeEffect class.
add Build Configuration for jRO.
  • Loading branch information...
sekishi1259 committed May 31, 2014
1 parent 96ff4d8 commit a2aca322bdc401e5e40db0eccffdfd8b8cfcb5b1
Showing with 133 additions and 3 deletions.
  1. +3 −1 Injection/Core/ro/object.h
  2. +76 −0 Injection/Injection.vcxproj
  3. +34 −2 SimpleROHook.sln
  4. +20 −0 SimpleROHookCS/SimpleROHookCS.csproj
@@ -479,7 +479,9 @@ class CAbleToMakeEffect : public CRenderObject {
std::list<CRagEffect*> m_effectList;
CRagEffect* m_beginSpellEffect;
CRagEffect* m_magicTargetEffect;

#ifdef JRO_CLIENT_STRUCTURE
DWORD m_pad[5];
#endif
virtual ~CAbleToMakeEffect() {};
};

@@ -5,6 +5,14 @@
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-jRO|Win32">
<Configuration>Debug-jRO</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-jRO|Win32">
<Configuration>Release-jRO</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
@@ -23,32 +31,60 @@
<CharacterSet>MultiByte</CharacterSet>
<UseOfAtl>Static</UseOfAtl>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<UseOfAtl>Static</UseOfAtl>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</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 Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'" Label="PropertySheets">
<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 Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'" Label="PropertySheets">
<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>
<IncludePath>C:\usr\vs2010\include;C:\usr\DirectXSDK9_15\Include;$(IncludePath)</IncludePath>
<LibraryPath>C:\usr\vs2010\lib;C:\usr\DirectXSDK9_15\Lib\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>C:\usr\vs2010\include;C:\usr\DirectXSDK9_15\Include;$(IncludePath)</IncludePath>
<LibraryPath>C:\usr\vs2010\lib;C:\usr\DirectXSDK9_15\Lib\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>C:\usr\vs2010\include;C:\usr\DirectXSDK9_15\Include;$(IncludePath)</IncludePath>
<LibraryPath>C:\usr\vs2010\lib;C:\usr\DirectXSDK9_15\Lib\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>C:\usr\vs2010\include;C:\usr\DirectXSDK9_15\Include;$(IncludePath)</IncludePath>
<LibraryPath>C:\usr\vs2010\lib;C:\usr\DirectXSDK9_15\Lib\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
@@ -62,6 +98,19 @@
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;INJECTION_EXPORTS;JRO_CLIENT_STRUCTURE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
@@ -81,6 +130,25 @@
</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;INJECTION_EXPORTS;JRO_CLIENT_STRUCTURE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>
</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
@@ -114,11 +182,17 @@
<ClCompile Include="Hook.cpp" />
<ClCompile Include="dllmain.cpp">
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'">
</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Core\FastFont\FastFont.cpp" />
<ClCompile Include="ProxyIDirectDraw.cpp" />
@@ -127,7 +201,9 @@
<ClCompile Include="Core\FastFont\SFastFont.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug-jRO|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release-jRO|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="tinyconsole.cpp" />
</ItemGroup>
@@ -1,6 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Injection", "Injection\Injection.vcxproj", "{46651709-BCBF-4645-8CE6-11EBA347A529}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleROHookCS", "SimpleROHookCS\SimpleROHookCS.csproj", "{DD2A9D1E-449E-4F85-B3CA-934212878CEA}"
@@ -10,31 +12,61 @@ Global
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Win32 = Debug|Win32
Debug|x86 = Debug|x86
Debug-jRO|Mixed Platforms = Debug-jRO|Mixed Platforms
Debug-jRO|Win32 = Debug-jRO|Win32
Debug-jRO|x86 = Debug-jRO|x86
Release|Mixed Platforms = Release|Mixed Platforms
Release|Win32 = Release|Win32
Release|x86 = Release|x86
Release-jRO|Mixed Platforms = Release-jRO|Mixed Platforms
Release-jRO|Win32 = Release-jRO|Win32
Release-jRO|x86 = Release-jRO|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug|Win32.ActiveCfg = Debug|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug|Win32.Build.0 = Debug|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug|x86.ActiveCfg = Debug|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|Mixed Platforms.ActiveCfg = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|Mixed Platforms.Build.0 = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|Win32.ActiveCfg = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|Win32.Build.0 = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|x86.ActiveCfg = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Debug-jRO|x86.Build.0 = Debug-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release|Mixed Platforms.ActiveCfg = Release|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release|Mixed Platforms.Build.0 = Release|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release|Win32.ActiveCfg = Release|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release|Win32.Build.0 = Release|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release|x86.ActiveCfg = Release|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|Mixed Platforms.ActiveCfg = Release-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|Mixed Platforms.Build.0 = Release-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|Win32.ActiveCfg = Release-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|Win32.Build.0 = Release-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|x86.ActiveCfg = Release-jRO|Win32
{46651709-BCBF-4645-8CE6-11EBA347A529}.Release-jRO|x86.Build.0 = Release-jRO|Win32
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug|Mixed Platforms.Build.0 = Debug|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug|Win32.ActiveCfg = Debug|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug|x86.ActiveCfg = Debug|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug|x86.Build.0 = Debug|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|Mixed Platforms.ActiveCfg = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|Mixed Platforms.Build.0 = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|Win32.ActiveCfg = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|Win32.Build.0 = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|x86.ActiveCfg = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Debug-jRO|x86.Build.0 = Debug-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release|Mixed Platforms.ActiveCfg = Release|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release|Mixed Platforms.Build.0 = Release|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release|Win32.ActiveCfg = Release|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release|x86.ActiveCfg = Release|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release|x86.Build.0 = Release|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|Mixed Platforms.ActiveCfg = Release-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|Mixed Platforms.Build.0 = Release-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|Win32.ActiveCfg = Release-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|Win32.Build.0 = Release-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|x86.ActiveCfg = Release-jRO|x86
{DD2A9D1E-449E-4F85-B3CA-934212878CEA}.Release-jRO|x86.Build.0 = Release-jRO|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -61,6 +61,26 @@
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-jRO|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\jRO-Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-jRO|x86' ">
<OutputPath>bin\x86\jRO-Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />

0 comments on commit a2aca32

Please sign in to comment.