rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PokemonHackSourceCode @ 291  →  /PokemonHackSourceCode/ @ 292
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonHackProject.suo
New file
/PokemonHackSourceCode/PokemonHackProject_vc10.sln
@@ -0,0 +1,50 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProcessHandler", "ProcessHandler\ProcessHandler.vcxproj", "{095E88CC-325E-451C-9638-77BA068B841E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VisualBoyHandler", "VisualBoyHandler\VisualBoyHandler.vcxproj", "{4171D1A4-A766-4327-A81B-C935B39D49E3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PokemonCodec", "PokemonCodec\PokemonCodec.vcxproj", "{897A4131-EC22-41EC-A812-E6A07E71AACC}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PokemonMemHack", "PokemonMemHack\PokemonMemHack.vcxproj", "{5EDC5D46-F35E-413E-A794-3A650E239792}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PokemonRom", "PokemonRom\PokemonRom.vcxproj", "{D71AD4C8-9511-4101-8039-17A1AF8954ED}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PokemonRomViewer", "PokemonRomViewer\PokemonRomViewer.vcxproj", "{67276B19-1E55-477A-96DC-46F1FE6528AD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{095E88CC-325E-451C-9638-77BA068B841E}.Debug|Win32.ActiveCfg = Debug|Win32
{095E88CC-325E-451C-9638-77BA068B841E}.Debug|Win32.Build.0 = Debug|Win32
{095E88CC-325E-451C-9638-77BA068B841E}.Release|Win32.ActiveCfg = Release|Win32
{095E88CC-325E-451C-9638-77BA068B841E}.Release|Win32.Build.0 = Release|Win32
{4171D1A4-A766-4327-A81B-C935B39D49E3}.Debug|Win32.ActiveCfg = Debug|Win32
{4171D1A4-A766-4327-A81B-C935B39D49E3}.Debug|Win32.Build.0 = Debug|Win32
{4171D1A4-A766-4327-A81B-C935B39D49E3}.Release|Win32.ActiveCfg = Release|Win32
{4171D1A4-A766-4327-A81B-C935B39D49E3}.Release|Win32.Build.0 = Release|Win32
{897A4131-EC22-41EC-A812-E6A07E71AACC}.Debug|Win32.ActiveCfg = Debug|Win32
{897A4131-EC22-41EC-A812-E6A07E71AACC}.Debug|Win32.Build.0 = Debug|Win32
{897A4131-EC22-41EC-A812-E6A07E71AACC}.Release|Win32.ActiveCfg = Release|Win32
{897A4131-EC22-41EC-A812-E6A07E71AACC}.Release|Win32.Build.0 = Release|Win32
{5EDC5D46-F35E-413E-A794-3A650E239792}.Debug|Win32.ActiveCfg = Debug|Win32
{5EDC5D46-F35E-413E-A794-3A650E239792}.Debug|Win32.Build.0 = Debug|Win32
{5EDC5D46-F35E-413E-A794-3A650E239792}.Release|Win32.ActiveCfg = Release|Win32
{5EDC5D46-F35E-413E-A794-3A650E239792}.Release|Win32.Build.0 = Release|Win32
{D71AD4C8-9511-4101-8039-17A1AF8954ED}.Debug|Win32.ActiveCfg = Debug|Win32
{D71AD4C8-9511-4101-8039-17A1AF8954ED}.Debug|Win32.Build.0 = Debug|Win32
{D71AD4C8-9511-4101-8039-17A1AF8954ED}.Release|Win32.ActiveCfg = Release|Win32
{D71AD4C8-9511-4101-8039-17A1AF8954ED}.Release|Win32.Build.0 = Release|Win32
{67276B19-1E55-477A-96DC-46F1FE6528AD}.Debug|Win32.ActiveCfg = Debug|Win32
{67276B19-1E55-477A-96DC-46F1FE6528AD}.Debug|Win32.Build.0 = Debug|Win32
{67276B19-1E55-477A-96DC-46F1FE6528AD}.Release|Win32.ActiveCfg = Release|Win32
{67276B19-1E55-477A-96DC-46F1FE6528AD}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
New file
/PokemonHackSourceCode/VisualBoyHandler/VisualBoyHandler.vcxproj
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{4171D1A4-A766-4327-A81B-C935B39D49E3}</ProjectGuid>
<RootNamespace>VisualBoyHandler</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\ProcessHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(Configuration)\$(ProjectName).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\ProcessHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(Configuration)\$(ProjectName).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="VisualBoyHandler.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="VisualBoyHandler.h" />
</ItemGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ProcessHandler\ProcessHandler.vcxproj">
<Project>{095e88cc-325e-451c-9638-77ba068b841e}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
New file
/PokemonHackSourceCode/ProcessHandler/ProcessHandler.vcxproj
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{095E88CC-325E-451C-9638-77BA068B841E}</ProjectGuid>
<RootNamespace>ProcessHandler</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(Configuration)\$(ProjectName).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(Configuration)\$(ProjectName).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="ProcessHandler.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="ProcessHandler.h" />
</ItemGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
/PokemonHackSourceCode/PokemonMemHack/MemPmBasicPage.cpp
@@ -541,10 +541,13 @@
{
m_ctrlLevelList.ResetContent();
pdwExpList = g_MemRom.GetExpList(bExpType);
for(bLevel = 0; bLevel < EXP_COUNT; ++bLevel)
if(pdwExpList)
{
szText.Format(_T("%-3lu:%lu"), (DWORD)(bLevel), pdwExpList[bLevel]);
m_ctrlLevelList.AddString(szText);
for(bLevel = 0; bLevel < EXP_COUNT; ++bLevel)
{
szText.Format(_T("%-3lu:%lu"), (DWORD)(bLevel), pdwExpList[bLevel]);
m_ctrlLevelList.AddString(szText);
}
}
}
 
@@ -571,12 +574,15 @@
pdwExpList = g_MemRom.GetExpList(bExpType);
dwExp = m_ppc->GetExp();
 
for(bLevel = 1; bLevel < EXP_COUNT; ++bLevel)
if(pdwExpList)
{
if(dwExp < pdwExpList[bLevel])
break;
for(bLevel = 1; bLevel < EXP_COUNT; ++bLevel)
{
if(dwExp < pdwExpList[bLevel])
break;
}
m_ctrlLevelList.SetCurSel(bLevel - 1);
}
m_ctrlLevelList.SetCurSel(bLevel - 1);
}
}
 
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonMemHack/BreedNameList.txt
/PokemonHackSourceCode/PokemonMemHack/MemPmPage.cpp
@@ -294,6 +294,10 @@
CPokemonRom::rom_breed_list |
CPokemonRom::rom_skill_list |
CPokemonRom::rom_experience_list |
CPokemonRom::rom_lvlup_learn_list |
CPokemonRom::rom_derive_learn_list |
CPokemonRom::rom_machine_learn_list |
CPokemonRom::rom_machine_skill_list |
CPokemonRom::rom_tiny_image_list))
{
AfxMessageBox(IDS_ERR_MEM_ACCESS, MB_OK | MB_ICONERROR);
/PokemonHackSourceCode/PokemonMemHack/MemPmSkillPage.h
@@ -26,6 +26,7 @@
CComboBox m_ctrlPPBoostList[4];
//CListBox m_ctrlLegalSkillList;
CSkillListBox m_ctrlLegalSkillList;
BOOL m_bROMLegelSkill;
 
void SetSkillLists(BOOL bChangeLang, BOOL bNeedSort);
void SetLegalSkillList(WORD wBreed);
@@ -38,5 +39,6 @@
afx_msg void OnStnDblclickPpBoostAll();
afx_msg void OnLbnSelchangeLegalSkillList();
afx_msg void OnStnDblclickMemPpMax();
afx_msg void OnStnDblclickLegelSkillLabel();
DECLARE_MESSAGE_MAP()
};
/PokemonHackSourceCode/PokemonMemHack/PokemonMemHack.rc
@@ -236,7 +236,7 @@
COMBOBOX IDC_MEM_PP_BOOST3,192,108,60,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "¼¼ÄܵÄ˵Ã÷",IDC_SKILL_DESC,126,126,138,48
LISTBOX IDC_LEGAL_SKILL_LIST,6,138,114,66,LBS_OWNERDRAWFIXED | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "Éý¼¶+ÒÅ´«+»úÆ÷¼¼£¨¸÷°æ×ۺϣ©",IDC_STATIC,6,126,114,10
LTEXT "Éý¼¶+ÒÅ´«+»úÆ÷¼¼£¨¸÷°æ×ۺϣ©",IDC_LEGAL_SKILL_LABEL,6,126,114,10,SS_NOTIFY
END
 
IDD_MEM_PM_MISC DIALOGEX 0, 0, 272, 206
/PokemonHackSourceCode/PokemonMemHack/resource.h
@@ -82,6 +82,7 @@
#define IDC_MEM_PP_BOOST_ALL 1184
#define IDC_SKILL_DESC 1185
#define IDC_LEGAL_SKILL_LIST 1186
#define IDC_LEGAL_SKILL_LABEL 1187
#define IDC_POKEBALL_LIST 1190
#define IDC_POKERUS 1191
#define IDC_BLACK_POINT 1192
New file
/PokemonHackSourceCode/PokemonMemHack/PokemonMemHack.vcxproj
@@ -0,0 +1,217 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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="Template|Win32">
<Configuration>Template</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{5EDC5D46-F35E-413E-A794-3A650E239792}</ProjectGuid>
<RootNamespace>PokemonMemHack</RootNamespace>
<Keyword>MFCProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<WarningLevel>3</WarningLevel>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;..\PokemonRom;..\PokemonCodec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0804</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalOptions>/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib
UnicoWS.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib secur32.lib oleacc.lib oledlg.lib sensapi.lib %(AdditionalOptions)</AdditionalOptions>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<WarningLevel>3</WarningLevel>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;..\PokemonRom;..\PokemonCodec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0804</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalOptions>/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib
UnicoWS.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib secur32.lib oleacc.lib oledlg.lib sensapi.lib %(AdditionalOptions)</AdditionalOptions>
<ShowProgress>NotSet</ShowProgress>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="PokemonMemHack.cpp" />
<ClCompile Include="PokemonMemHackCore.cpp" />
<ClCompile Include="PokemonMemHackDlg.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="StringReader.cpp" />
<ClCompile Include="MemPmAbilityPage.cpp" />
<ClCompile Include="MemPmBasicPage.cpp" />
<ClCompile Include="MemPmMiscPage.cpp" />
<ClCompile Include="MemPmPage.cpp" />
<ClCompile Include="MemPmRibbonPage.cpp" />
<ClCompile Include="MemPmSkillPage.cpp" />
<ClCompile Include="MemPmTabPage.cpp" />
<ClCompile Include="MemMiscPage0.cpp" />
<ClCompile Include="MemMiscPage1.cpp" />
<ClCompile Include="MemMiscPage2.cpp" />
<ClCompile Include="SkillComboBox.cpp" />
<ClCompile Include="SkillListBox.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="PokemonMemHack.h" />
<ClInclude Include="PokemonMemHackCore.h" />
<ClInclude Include="PokemonMemHackDlg.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="StringReader.h" />
<ClInclude Include="MemPmAbilityPage.h" />
<ClInclude Include="MemPmBasicPage.h" />
<ClInclude Include="MemPmMiscPage.h" />
<ClInclude Include="MemPmPage.h" />
<ClInclude Include="MemPmRibbonPage.h" />
<ClInclude Include="MemPmSkillPage.h" />
<ClInclude Include="MemPmTabPage.h" />
<ClInclude Include="MemMiscPage0.h" />
<ClInclude Include="MemMiscPage1.h" />
<ClInclude Include="MemMiscPage2.h" />
<ClInclude Include="SkillComboBox.h" />
<ClInclude Include="SkillListBox.h" />
</ItemGroup>
<ItemGroup>
<None Include="res\mark0.bmp" />
<None Include="res\mark1.bmp" />
<None Include="res\mark2.bmp" />
<None Include="res\mark3.bmp" />
<None Include="res\nya.ico" />
<None Include="res\PokemonMemHack.rc2" />
<None Include="AreaNameList.txt" />
<None Include="BreedNameList.txt" />
<None Include="ItemDescList.txt" />
<None Include="ItemNameList.txt" />
<None Include="PersonalityList.txt" />
<None Include="SkillDescList.txt" />
<None Include="SkillNameList.txt" />
<None Include="SpecDescList.txt" />
<None Include="SpecNameList.txt" />
<None Include="使用帮助.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="PokemonMemHack.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PokemonCodec\PokemonCodec.vcxproj">
<Project>{897a4131-ec22-41ec-a812-e6a07e71aacc}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\PokemonRom\PokemonRom.vcxproj">
<Project>{d71ad4c8-9511-4101-8039-17a1af8954ed}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\ProcessHandler\ProcessHandler.vcxproj">
<Project>{095e88cc-325e-451c-9638-77ba068b841e}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\VisualBoyHandler\VisualBoyHandler.vcxproj">
<Project>{4171d1a4-a766-4327-a81b-c935b39d49e3}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="PokemonMemHack.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>
/PokemonHackSourceCode/PokemonMemHack/MemPmSkillPage.cpp
@@ -62,6 +62,8 @@
 
ON_CONTROL_RANGE(STN_DBLCLK, IDC_MEM_SKILL_NAME0, IDC_MEM_SKILL_NAME3, &CMemPmSkillPage::SetSkillFromLegalSkillList)
ON_STN_DBLCLK(IDC_MEM_PP_MAX, &CMemPmSkillPage::OnStnDblclickMemPpMax)
 
ON_STN_DBLCLK(IDC_LEGAL_SKILL_LABEL, &CMemPmSkillPage::OnStnDblclickLegelSkillLabel)
END_MESSAGE_MAP()
 
 
@@ -328,6 +330,108 @@
SetSkillDesc(IDC_LEGAL_SKILL_LIST);
}
 
void CMemPmSkillPage::OnStnDblclickLegelSkillLabel()
{
WORD wBreed;
 
WORD * m_pDeriveLearnList;
DWORD m_dwDeriveLearnCount;
 
BYTE * m_pMachineLearnList;
WORD * m_pMachineSkillList;
 
LvlupLearnListEntry * m_pLvlupLearnList;
DWORD m_dwLvlupLearnCount;
 
WORD wSkill;
WORD wIndex;
 
 
m_ppc = GetPokemonCodec();
if(m_ppc == NULL)
return;
wBreed = m_ppc->GetBreed();
 
if(!m_bROMLegelSkill)
{
if(g_MemRom.m_bOpened)
m_pMachineSkillList = g_MemRom.m_pMachineSkillList;
else
m_pMachineSkillList = NULL;
if(g_MemRom.m_bOpened && wBreed < BREED_COUNT)
m_pMachineLearnList = g_MemRom.GetMachineLearnList(wBreed);
else
m_pMachineLearnList = NULL;
 
m_pDeriveLearnList = g_MemRom.GetDeriveLearnList(wBreed);
m_dwDeriveLearnCount = g_MemRom.GetDeriveLearnListEntryCount(wBreed);
 
m_pLvlupLearnList = g_MemRom.GetLvlupLearnList(wBreed);
m_dwLvlupLearnCount = g_MemRom.GetLvlupLearnListEntryCount(wBreed);
 
 
#if 0
CString szDbg;
CString szTmp;
 
for(wIndex = 0; wIndex < MACHINE_COUNT; ++wIndex)
{
wSkill = m_pMachineSkillList[wIndex];
if(GetBit(m_pMachineLearnList, wIndex))
{
szTmp.Format(_T("mskill=%d\n"),wSkill);
szDbg += szTmp;
}
}
 
for(wIndex = 0; wIndex < m_dwDeriveLearnCount; ++wIndex)
{
wSkill = m_pDeriveLearnList[wIndex];
szTmp.Format(_T("dskill=%d\n"),wSkill);
szDbg += szTmp;
}
 
for(wIndex = 0; wIndex < m_dwLvlupLearnCount; ++wIndex)
{
wSkill = m_pLvlupLearnList[wIndex].wSkill;
szTmp.Format(_T("lskill=%d\n"),wSkill);
szDbg += szTmp;
}
 
szTmp.Format(_T("breed=%d\n"),wBreed);
szDbg += szTmp;
MessageBox(szDbg,_T("debug"),MB_OK);
#endif
 
m_ctrlLegalSkillList.ResetContent();
for(wIndex = 0; wIndex < MACHINE_COUNT; ++wIndex)
{
wSkill = m_pMachineSkillList[wIndex];
if(GetBit(m_pMachineLearnList, wIndex))
{
m_ctrlLegalSkillList.AddString((LPCTSTR)(wSkill));
}
}
 
for(wIndex = 0; wIndex < m_dwDeriveLearnCount; ++wIndex)
{
wSkill = m_pDeriveLearnList[wIndex];
m_ctrlLegalSkillList.AddString((LPCTSTR)(wSkill));
}
 
for(wIndex = 0; wIndex < m_dwLvlupLearnCount; ++wIndex)
{
wSkill = m_pLvlupLearnList[wIndex].wSkill;
m_ctrlLegalSkillList.AddString((LPCTSTR)(wSkill));
}
m_bROMLegelSkill = true;
}
else
{
SetLegalSkillList(wBreed);
}
}
 
void CMemPmSkillPage::SetSkillFromLegalSkillList(UINT uID)
{
BYTE bIndex = (BYTE)(uID - IDC_MEM_SKILL_NAME0);
@@ -405,6 +509,8 @@
INT nCurSel;
WORD wCurSkill = -1;
 
m_bROMLegelSkill = false;
 
if(wBreed >= BREED_COUNT)
{
m_ctrlLegalSkillList.ResetContent();
New file
/PokemonHackSourceCode/PokemonCodec/PokemonCodec.vcxproj
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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="Template|Win32">
<Configuration>Template</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{897A4131-EC22-41EC-A812-E6A07E71AACC}</ProjectGuid>
<RootNamespace>PokemonCodec</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>false</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)PokemonCodec.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)PokemonCodec.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="PokemonCodec.cpp" />
<ClCompile Include="PokemonTool.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="PokemonCodec.h" />
<ClInclude Include="PokemonTool.h" />
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="\C++ Files\ProcessHandler\PokemonCodecTester\PokemonCodecTester.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonRom/PokemonRom.h
New file
/PokemonHackSourceCode/PokemonRom/PokemonRom.vcxproj
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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="Template|Win32">
<Configuration>Template</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D71AD4C8-9511-4101-8039-17A1AF8954ED}</ProjectGuid>
<RootNamespace>PokemonRom</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)PokemonRom.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\ProcessHandler;..\VisualBoyHandler;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)PokemonRom.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="PokemonRom.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="PokemonRom.h" />
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ProcessHandler\ProcessHandler.vcxproj">
<Project>{095e88cc-325e-451c-9638-77ba068b841e}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\VisualBoyHandler\VisualBoyHandler.vcxproj">
<Project>{4171d1a4-a766-4327-a81b-c935b39d49e3}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="\C++ Files\ProcessHandler\PokemonCodecTester\PokemonCodecTester.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonRom/PokemonRom.cpp
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonRomViewer/PokemonRomViewer.aps
New file
/PokemonHackSourceCode/PokemonRomViewer/PokemonRomViewer.vcxproj
@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" 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="Template|Win32">
<Configuration>Template</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{67276B19-1E55-477A-96DC-46F1FE6528AD}</ProjectGuid>
<RootNamespace>PokemonRomViewer</RootNamespace>
<Keyword>MFCProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<WarningLevel>3</WarningLevel>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\PokemonRom;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0804</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalOptions>/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib
UnicoWS.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib secur32.lib oleacc.lib oledlg.lib sensapi.lib %(AdditionalOptions)</AdditionalOptions>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<WarningLevel>3</WarningLevel>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\PokemonRom;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>false</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0804</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalOptions>/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib
UnicoWS.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib secur32.lib oleacc.lib oledlg.lib sensapi.lib %(AdditionalOptions)</AdditionalOptions>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="BaseDialog.cpp" />
<ClCompile Include="ChildView.cpp" />
<ClCompile Include="ConfigDlg.cpp" />
<ClCompile Include="MainFrm.cpp" />
<ClCompile Include="PokemonRomViewer.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="StringReader.cpp" />
<ClCompile Include="WaitDlg.cpp" />
<ClCompile Include="BreedAblPage.cpp" />
<ClCompile Include="BreedDeriveLearnPage.cpp" />
<ClCompile Include="BreedDlg.cpp" />
<ClCompile Include="BreedItemPage.cpp" />
<ClCompile Include="BreedLvlupLearnPage.cpp" />
<ClCompile Include="BreedMachineLearnPage.cpp" />
<ClCompile Include="BreedSpecPage.cpp" />
<ClCompile Include="BreedTabPage.cpp" />
<ClCompile Include="BreedTypePage.cpp" />
<ClCompile Include="EvoDlg.cpp" />
<ClCompile Include="ItemDlg.cpp" />
<ClCompile Include="SkillDlg.cpp" />
<ClCompile Include="EncDlg.cpp" />
<ClCompile Include="EncFishPage.cpp" />
<ClCompile Include="EncLandPage.cpp" />
<ClCompile Include="EncStonePage.cpp" />
<ClCompile Include="EncTabPage.cpp" />
<ClCompile Include="EncWaterPage.cpp" />
<ClCompile Include="BerryDlg.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="BaseDialog.h" />
<ClInclude Include="ChildView.h" />
<ClInclude Include="ConfigDlg.h" />
<ClInclude Include="MainFrm.h" />
<ClInclude Include="PokemonRomViewer.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="StringReader.h" />
<ClInclude Include="WaitDlg.h" />
<ClInclude Include="BreedAblPage.h" />
<ClInclude Include="BreedDeriveLearnPage.h" />
<ClInclude Include="BreedDlg.h" />
<ClInclude Include="BreedItemPage.h" />
<ClInclude Include="BreedLvlupLearnPage.h" />
<ClInclude Include="BreedMachineLearnPage.h" />
<ClInclude Include="BreedSpecPage.h" />
<ClInclude Include="BreedTabPage.h" />
<ClInclude Include="BreedTypePage.h" />
<ClInclude Include="EvoDlg.h" />
<ClInclude Include="ItemDlg.h" />
<ClInclude Include="SkillDlg.h" />
<ClInclude Include="EncDlg.h" />
<ClInclude Include="EncFishPage.h" />
<ClInclude Include="EncLandPage.h" />
<ClInclude Include="EncStonePage.h" />
<ClInclude Include="EncTabPage.h" />
<ClInclude Include="EncWaterPage.h" />
<ClInclude Include="BerryDlg.h" />
</ItemGroup>
<ItemGroup>
<None Include="res\DlgIcon.ico" />
<None Include="res\PokemonRomViewer.ico" />
<None Include="res\PokemonRomViewer.rc2" />
<None Include="res\Toolbar.bmp" />
<None Include="BreedNameList.txt" />
<None Include="EncNameList.txt" />
<None Include="ItemDescList.txt" />
<None Include="ItemNameList.txt" />
<None Include="SkillEffList.txt" />
<None Include="SkillNameList.txt" />
<None Include="SkillSpecList.txt" />
<None Include="SpecDescList.txt" />
<None Include="SpecNameList.txt" />
<None Include="帮助文档.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="PokemonRomViewer.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PokemonRom\PokemonRom.vcxproj">
<Project>{d71ad4c8-9511-4101-8039-17a1af8954ed}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\ProcessHandler\ProcessHandler.vcxproj">
<Project>{095e88cc-325e-451c-9638-77ba068b841e}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\VisualBoyHandler\VisualBoyHandler.vcxproj">
<Project>{4171d1a4-a766-4327-a81b-c935b39d49e3}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="PokemonRomViewer.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>
/PokemonHackSourceCode/PokemonRomViewer/PokemonRomViewer.cpp
@@ -332,6 +332,7 @@
// initialize
if(bResult)
{
OutputDebugString(_T("1\n"));
bResult = CreateDialogs();
}
 
@@ -344,6 +345,7 @@
 
if(bResult)
{
OutputDebugString(_T("2\n"));
pFrame->ShowWindow(SW_SHOW);
pFrame->UpdateWindow();
}
@@ -351,12 +353,14 @@
#ifdef _DEBUG
if(bResult)
{
OutputDebugString(_T("3\n"));
bResult = ReadStringLists();
}
#endif
 
if(bResult)
{
OutputDebugString(_T("4\n"));
ApplyConfig(TRUE, TRUE);
}
 
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonRomViewer/BreedNameList.txt
/PokemonHackSourceCode/PokemonRomViewer/EvoDlg.cpp
@@ -393,7 +393,7 @@
INT iItemListShow, iParamShow;
BOOL bBreedListEnable;
 
wEvoCond = m_pEvo[dwIndex].wCondition;
wEvoCond = m_pEvo[dwIndex].wCondition < dwEvoConditionsCount ? m_pEvo[dwIndex].wCondition : 0;
if(wEvoCond == 0)
bBreedListEnable = FALSE;
else
@@ -402,11 +402,6 @@
pEvoCond = &(rgEvoConditions[wEvoCond]);
switch(pEvoCond->dwParamType)
{
case evo_none:
iParamShow = SW_HIDE;
iItemListShow = SW_HIDE;
break;
 
case evo_level:
iParamShow = SW_SHOW;
iItemListShow = SW_HIDE;
@@ -426,6 +421,12 @@
wItem = min(m_pEvo[dwIndex].wValue, wItemCount - 1);
m_ctrlEvoItemList[dwIndex].SetCurSel(wItem);
break;
 
case evo_none:
default:
iParamShow = SW_HIDE;
iItemListShow = SW_HIDE;
break;
}
 
if(bForceUpdate || m_ctrlEvoCondList[dwIndex].GetCurSel() != wEvoCond)