diff options
author | Willem Jan Palenstijn | 2013-04-18 23:34:29 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:44 +0200 |
commit | 01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6 (patch) | |
tree | 544b07f3aa41abe7907bcd2040cdad11ebc324bb /devtools | |
parent | 9cf2c83e5e5a35816ab153bf8443dac691829ea8 (diff) | |
parent | a41d72a44a660c72fdadbc3a8ef580e5e03cb890 (diff) | |
download | scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.tar.gz scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.tar.bz2 scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.zip |
Merge branch 'master'
Diffstat (limited to 'devtools')
89 files changed, 1684 insertions, 3351 deletions
diff --git a/devtools/convbdf.c b/devtools/convbdf.c index 4b1640dba7..e465b77a9c 100644 --- a/devtools/convbdf.c +++ b/devtools/convbdf.c @@ -721,7 +721,7 @@ int gen_c_source(struct font* pf, char *path) { char bbuf[256]; char hdr1[] = { "/* Generated by convbdf on %s. */\n" - "#include \"graphics/font.h\"\n" + "#include \"graphics/fonts/bdf.h\"\n" "\n" "/* Font information:\n" " name: %s\n" @@ -890,7 +890,7 @@ int gen_c_source(struct font* pf, char *path) { fprintf(ofp, "/* Exported structure definition. */\n" - "static const FontDesc desc = {\n" + "static const BdfFontDesc desc = {\n" "\t" "\"%s\",\n" "\t" "%d,\n" "\t" "%d,\n" @@ -917,7 +917,7 @@ int gen_c_source(struct font* pf, char *path) { pf->defaultchar); fprintf(ofp, "\n" "#if !(defined(__GP32__))\n"); - fprintf(ofp, "extern const NewFont g_sysfont(desc);\n"); + fprintf(ofp, "extern const BdfFont g_sysfont(desc);\n"); fprintf(ofp, "#else\n"); fprintf(ofp, "DEFINE_FONT(g_sysfont)\n"); fprintf(ofp, "#endif\n"); diff --git a/devtools/create_drascula/Makefile b/devtools/create_drascula/Makefile deleted file mode 100644 index 3052436b55..0000000000 --- a/devtools/create_drascula/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ - -all: - g++ -I../.. create_drascula.cpp -o create_drascula diff --git a/devtools/create_drascula/dists/msvc8/create_drascula.sln b/devtools/create_drascula/dists/msvc8/create_drascula.sln deleted file mode 100644 index dc7428bb80..0000000000 --- a/devtools/create_drascula/dists/msvc8/create_drascula.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_drascula", "create_drascula.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_drascula/dists/msvc8/create_drascula.vcproj b/devtools/create_drascula/dists/msvc8/create_drascula.vcproj deleted file mode 100644 index 3b26261a76..0000000000 --- a/devtools/create_drascula/dists/msvc8/create_drascula.vcproj +++ /dev/null @@ -1,191 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8,00" - Name="create_drascula" - ProjectGUID="{5F280130-349D-11DD-AE16-0800200C9A66}" - RootNamespace="create_drascula" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_drascula.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_drascula.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_drascula.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\create_drascula.cpp" - > - </File> - <File - RelativePath="..\..\create_drascula.h" - > - </File> - <File - RelativePath="..\..\staticdata.h" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_drascula/dists/msvc8_to_msvc9.bat b/devtools/create_drascula/dists/msvc8_to_msvc9.bat deleted file mode 100644 index 54820b34d0..0000000000 --- a/devtools/create_drascula/dists/msvc8_to_msvc9.bat +++ /dev/null @@ -1,32 +0,0 @@ -@echo off -rem This batch file is used to convert MSVC8 (Visual Studio 2005) project files to MSVC9 (Visual Studio 2008) ones -rem You need the Windows version of GNU rpl -rem Get it here: -rem http://gnuwin32.sourceforge.net/packages/rpl.htm -rem Place rpl.exe from the bin folder inside the archive in the folder where -rem this batch file resides - -if not exist rpl.exe goto no_rpl - -echo Creating MSVC9 project files from the MSVC8 ones -copy /y msvc8\*.vcproj msvc9\ -copy /y msvc8\*.sln msvc9\ -rpl -e -q "Version=\"8.00\"" "Version=\"9.00\"" msvc9\*.vcproj -rpl -e -q "Version=\"8,00\"" "Version=\"9,00\"" msvc9\*.vcproj -rpl -e -q "Keyword=\"Win32Proj\"" "Keyword=\"Win32Proj\"\n\tTargetFrameworkVersion=\"131072\"" msvc9\*.vcproj -rpl -e -q "EntryPointSymbol=\"WinMainCRTStartup\"" "EntryPointSymbol=\"WinMainCRTStartup\"\n\t\t\t\tRandomizedBaseAddress=\"1\"\n\t\t\t\tDataExecutionPrevention=\"0\"" msvc9\*.vcproj -rpl -e -q "Format Version 9.00" "Format Version 10.00" msvc9\*.sln -rpl -e -q "Format Version 9,00" "Format Version 10,00" msvc9\*.sln -rpl -e -q "# Visual C++ Express 2005" "# Visual C++ Express 2008" msvc9\*.sln -rpl -e -q "# Visual Studio 2005" "# Visual Studio 2008" msvc9\*.sln -goto the_end - -:no_rpl -echo You need the Windows version of GNU rpl -echo Get it here: -echo http://gnuwin32.sourceforge.net/packages/rpl.htm -echo Place rpl.exe from the bin folder inside the archive in the folder where -echo this batch file resides - -:the_end -pause diff --git a/devtools/create_drascula/dists/msvc9/create_drascula.sln b/devtools/create_drascula/dists/msvc9/create_drascula.sln deleted file mode 100644 index 4a39bdbe42..0000000000 --- a/devtools/create_drascula/dists/msvc9/create_drascula.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_drascula", "create_drascula.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_drascula/dists/msvc9/create_drascula.vcproj b/devtools/create_drascula/dists/msvc9/create_drascula.vcproj deleted file mode 100644 index f30d6a114b..0000000000 --- a/devtools/create_drascula/dists/msvc9/create_drascula.vcproj +++ /dev/null @@ -1,192 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9,00" - Name="create_drascula" - ProjectGUID="{5F280130-349D-11DD-AE16-0800200C9A66}" - RootNamespace="create_drascula" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_drascula.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_drascula.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_drascula.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCWebDeploymentTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\create_drascula.cpp" - > - </File> - <File - RelativePath="..\..\create_drascula.h" - > - </File> - <File - RelativePath="..\..\staticdata.h" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_drascula/dists/msvc9_to_msvc8.bat b/devtools/create_drascula/dists/msvc9_to_msvc8.bat deleted file mode 100644 index c87a524f77..0000000000 --- a/devtools/create_drascula/dists/msvc9_to_msvc8.bat +++ /dev/null @@ -1,33 +0,0 @@ -@echo off -rem This batch file is used to convert MSVC9 (Visual Studio 2008) project files to MSVC8 (Visual Studio 2005) ones -rem You need the Windows version of GNU rpl -rem Get it here: -rem http://gnuwin32.sourceforge.net/packages/rpl.htm -rem Place rpl.exe from the bin folder inside the archive in the folder where -rem this batch file resides - -if not exist rpl.exe goto no_rpl - -echo Creating MSVC8 project files from the MSVC9 ones -copy /y msvc9\*.vcproj msvc8\ -copy /y msvc9\*.sln msvc8\ -rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj -rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj -rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj -rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\*.vcproj -rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\*.vcproj -rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\*.sln -rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\*.sln -rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\*.sln -rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\*.sln -goto the_end - -:no_rpl -echo You need the Windows version of GNU rpl -echo Get it here: -echo http://gnuwin32.sourceforge.net/packages/rpl.htm -echo Place rpl.exe from the bin folder inside the archive in the folder where -echo this batch file resides - -:the_end -pause diff --git a/devtools/create_hugo/README b/devtools/create_hugo/README index 42bdd22c36..0d57d5eae5 100644 --- a/devtools/create_hugo/README +++ b/devtools/create_hugo/README @@ -4,4 +4,3 @@ is used by the engine depending on the version of the game started. In order to work properly, the content of the DATA sub-directory has to be copy next to the executable. - diff --git a/devtools/create_hugo/dists/msvc10/create_hugo.sln b/devtools/create_hugo/dists/msvc10/create_hugo.sln deleted file mode 100644 index a6f87198f6..0000000000 --- a/devtools/create_hugo/dists/msvc10/create_hugo.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_hugo", "create_hugo.vcxproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_hugo/dists/msvc10/create_hugo.vcxproj b/devtools/create_hugo/dists/msvc10/create_hugo.vcxproj deleted file mode 100644 index eae5fbc55c..0000000000 --- a/devtools/create_hugo/dists/msvc10/create_hugo.vcxproj +++ /dev/null @@ -1,113 +0,0 @@ -<?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>{5F280130-349D-11DD-AE16-0800200C9A66}</ProjectGuid> - <RootNamespace>create_hugo</RootNamespace> - <Keyword>Win32Proj</Keyword> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <CharacterSet>MultiByte</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <CharacterSet>MultiByte</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.30319.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> - <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> - <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> - <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> - <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> - <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> - <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <AdditionalOptions>/wd4996 %(AdditionalOptions)</AdditionalOptions> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <MinimalRebuild>true</MinimalRebuild> - <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>EditAndContinue</DebugInformationFormat> - </ClCompile> - <Link> - <OutputFile>$(OutDir)create_hugo.exe</OutputFile> - <IgnoreSpecificDefaultLibraries>libc.lib;libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> - <GenerateDebugInformation>true</GenerateDebugInformation> - <ProgramDatabaseFile>$(OutDir)create_hugo.pdb</ProgramDatabaseFile> - <SubSystem>Console</SubSystem> - <TargetMachine>MachineX86</TargetMachine> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <AdditionalOptions>/wd4996 %(AdditionalOptions)</AdditionalOptions> - <Optimization>Full</Optimization> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - </ClCompile> - <Link> - <OutputFile>$(OutDir)create_hugo.exe</OutputFile> - <IgnoreSpecificDefaultLibraries>libc.lib;libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Console</SubSystem> - <OptimizeReferences>true</OptimizeReferences> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <TargetMachine>MachineX86</TargetMachine> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\create_hugo.cpp" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\create_hugo.h" /> - <ClInclude Include="..\..\enums.h" /> - <ClInclude Include="..\..\staticdata.h" /> - <ClInclude Include="..\..\staticdisplay.h" /> - <ClInclude Include="..\..\staticengine.h" /> - <ClInclude Include="..\..\staticfont.h" /> - <ClInclude Include="..\..\staticintro.h" /> - <ClInclude Include="..\..\staticmouse.h" /> - <ClInclude Include="..\..\staticparser.h" /> - <ClInclude Include="..\..\staticutil.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/devtools/create_hugo/dists/msvc9/create_hugo.sln b/devtools/create_hugo/dists/msvc9/create_hugo.sln deleted file mode 100644 index 2d86ae4f19..0000000000 --- a/devtools/create_hugo/dists/msvc9/create_hugo.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_hugo", "create_hugo.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_hugo/dists/msvc9/create_hugo.vcproj b/devtools/create_hugo/dists/msvc9/create_hugo.vcproj deleted file mode 100644 index 473d89e43c..0000000000 --- a/devtools/create_hugo/dists/msvc9/create_hugo.vcproj +++ /dev/null @@ -1,219 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="create_hugo" - ProjectGUID="{5F280130-349D-11DD-AE16-0800200C9A66}" - RootNamespace="create_hugo" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_hugo.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_hugo.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_hugo.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\create_hugo.cpp" - > - </File> - <File - RelativePath="..\..\create_hugo.h" - > - </File> - <File - RelativePath="..\..\enums.h" - > - </File> - <File - RelativePath="..\..\staticdata.h" - > - </File> - <File - RelativePath="..\..\staticdisplay.h" - > - </File> - <File - RelativePath="..\..\staticengine.h" - > - </File> - <File - RelativePath="..\..\staticfont.h" - > - </File> - <File - RelativePath="..\..\staticintro.h" - > - </File> - <File - RelativePath="..\..\staticmouse.h" - > - </File> - <File - RelativePath="..\..\staticparser.h" - > - </File> - <File - RelativePath="..\..\staticutil.h" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_hugo/staticdata.h b/devtools/create_hugo/staticdata.h index 582d5aaa8e..612e044982 100644 --- a/devtools/create_hugo/staticdata.h +++ b/devtools/create_hugo/staticdata.h @@ -11682,4 +11682,3 @@ int16 def_tunes_2d[] = {-1}; int16 def_tunes_3d[] = {-1}; #endif - diff --git a/devtools/create_kyradat/create_kyradat.cpp b/devtools/create_kyradat/create_kyradat.cpp index e4686cc66c..627b517c62 100644 --- a/devtools/create_kyradat/create_kyradat.cpp +++ b/devtools/create_kyradat/create_kyradat.cpp @@ -45,7 +45,7 @@ #include <map> enum { - kKyraDatVersion = 74 + kKyraDatVersion = 78 }; const ExtractFilename extractFilenames[] = { @@ -119,6 +119,7 @@ const ExtractFilename extractFilenames[] = { // AUDIO filename table { k1AudioTracks, kTypeStringList, false }, + { k1AudioTracks2, kTypeStringList, false }, { k1AudioTracksIntro, kTypeStringList, false }, // AMULET anim @@ -219,7 +220,7 @@ const ExtractFilename extractFilenames[] = { // Ingame { kLolIngamePakFiles, kTypeStringList, false }, - { kLolCharacterDefs, kLolTypeCharData, false }, + { kLolCharacterDefs, kLolTypeCharData, true }, { kLolIngameSfxFiles, k2TypeSfxList, false }, { kLolIngameSfxIndex, kTypeRawData, false }, { kLolMusicTrackMap, kTypeRawData, false }, @@ -330,7 +331,7 @@ const TypeTable gameTable[] = { }; byte getGameID(int game) { - return std::find(gameTable, gameTable + ARRAYSIZE(gameTable) - 1, game)->value; + return std::find(gameTable, ARRAYEND(gameTable) - 1, game)->value; } const TypeTable languageTable[] = { @@ -341,11 +342,12 @@ const TypeTable languageTable[] = { { ES_ESP, 4 }, { IT_ITA, 5 }, { JA_JPN, 6 }, + { RU_RUS, 7 }, { -1, -1 } }; byte getLanguageID(int lang) { - return std::find(languageTable, languageTable + ARRAYSIZE(languageTable) - 1, lang)->value; + return std::find(languageTable, ARRAYEND(languageTable) - 1, lang)->value; } const TypeTable platformTable[] = { @@ -358,7 +360,7 @@ const TypeTable platformTable[] = { }; byte getPlatformID(int platform) { - return std::find(platformTable, platformTable + ARRAYSIZE(platformTable) - 1, platform)->value; + return std::find(platformTable, ARRAYEND(platformTable) - 1, platform)->value; } const TypeTable specialTable[] = { @@ -366,11 +368,12 @@ const TypeTable specialTable[] = { { kTalkieVersion, 1 }, { kDemoVersion, 2 }, { kTalkieDemoVersion, 3 }, + { kOldFloppy, 4 }, { -1, -1 } }; byte getSpecialID(int special) { - return std::find(specialTable, specialTable + ARRAYSIZE(specialTable) - 1, special)->value; + return std::find(specialTable, ARRAYEND(specialTable) - 1, special)->value; } // filename processing @@ -767,6 +770,8 @@ const char *getIdString(const int id) { return "k1CharacterImageFilenames"; case k1AudioTracks: return "k1AudioTracks"; + case k1AudioTracks2: + return "k1AudioTracks2"; case k1AudioTracksIntro: return "k1AudioTracksIntro"; case k1ItemNames: @@ -1433,4 +1438,3 @@ bool getExtractionData(const Game *g, Search &search, ExtractMap &map) { return result; } - diff --git a/devtools/create_kyradat/create_kyradat.h b/devtools/create_kyradat/create_kyradat.h index 22a6db4b39..cabf65706f 100644 --- a/devtools/create_kyradat/create_kyradat.h +++ b/devtools/create_kyradat/create_kyradat.h @@ -131,6 +131,7 @@ enum kExtractID { k1ConfigStrings, k1AudioTracks, + k1AudioTracks2, k1AudioTracksIntro, k1CreditsStrings, @@ -275,7 +276,8 @@ enum kSpecial { kNoSpecial = 0, kTalkieVersion, kDemoVersion, - kTalkieDemoVersion + kTalkieDemoVersion, + kOldFloppy }; enum kGame { diff --git a/devtools/create_kyradat/extract.cpp b/devtools/create_kyradat/extract.cpp index 5581dacec0..371f2f4e2b 100644 --- a/devtools/create_kyradat/extract.cpp +++ b/devtools/create_kyradat/extract.cpp @@ -127,7 +127,7 @@ const ExtractType *findExtractType(const int type) { } byte getTypeID(int type) { - return std::find(typeTable, typeTable + ARRAYSIZE(typeTable) - 1, type)->value; + return std::find(typeTable, ARRAYEND(typeTable) - 1, type)->value; } // Extractor implementation @@ -142,19 +142,56 @@ bool extractRaw(PAKFile &out, const ExtractInformation *info, const byte *data, } bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *data, const uint32 size, const char *filename, int id) { - int fmtPatch = 0; + // Skip tables for skipping English string left-overs in the hacky Russian fan translations + static const uint8 rusFanSkip_k2SeqplayStrings[] = { 1, 3, 5, 8, 10, 11, 13, 15, 17, 20, 22, 25, 26, 30, 33, 38, 40, 41, 44, 49, 51, 55, 104, 119, 121, 123 }; + static const uint8 rusFanSkip_k1IntroStrings[] = { 3, 5, 9, 11, 13, 16, 18, 21, 24, 32, 34, 36, 38, 41, 44, 49, 52, 55, 57, 59, 61, 64, 66, 69, 72, 75 }; + static const uint8 rusFanSkip_k1ThePoisonStrings[] = { 1, 4 }; + static const uint8 rusFanSkip_k1FullFlaskStrings[] = { 1, 2, 4, 5, 7 }; + static const uint8 rusFanSkip_k1WispJewelStrings[] = { 2 }; + static const uint8 rusFanSkip_k1GUIStrings[] = { 1, 3, 6, 8, 11, 13, 18 }; + uint32 rusFanSkipIdLen = 0; + const uint8 *rusFanSkipId = 0; + int rusFanEmptyId = 10000; + uint32 skipCount = 0; + + int patch = 0; // FM Towns files that need addional patches if (info->platform == kPlatformFMTowns) { if (id == k1TakenStrings || id == k1NoDropStrings || id == k1PoisonGoneString || id == k1ThePoisonStrings || id == k1FluteStrings || id == k1WispJewelStrings) - fmtPatch = 1; + patch = 1; else if (id == k1IntroStrings) - fmtPatch = 2; + patch = 2; else if (id == k2SeqplayStrings) - fmtPatch = 3; + patch = 3; } else if (info->platform == kPlatformPC) { if (id == k2IngamePakFiles) - fmtPatch = 4; + patch = 4; + + if (info->lang == Common::RU_RUS) { + patch = 5; + if (id == k2SeqplayStrings) { + rusFanSkipId = rusFanSkip_k2SeqplayStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k2SeqplayStrings); + rusFanEmptyId = 81; + } else if (id == k1IntroStrings) { + rusFanSkipId = rusFanSkip_k1IntroStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k1IntroStrings); + rusFanEmptyId = 30; + } else if (id == k1ThePoisonStrings) { + rusFanSkipId = rusFanSkip_k1ThePoisonStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k1ThePoisonStrings); + } else if (id == k1FullFlaskString) { + rusFanSkipId = rusFanSkip_k1FullFlaskStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k1FullFlaskStrings); + } else if (id == k1GUIStrings) { + rusFanSkipId = rusFanSkip_k1GUIStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k1GUIStrings); + } else if (id == k1WispJewelStrings) { + rusFanSkipId = rusFanSkip_k1WispJewelStrings; + rusFanSkipIdLen = ARRAYSIZE(rusFanSkip_k1WispJewelStrings); + } + } // HACK if (id == k2SeqplayIntroTracks && info->game == kLol) @@ -183,7 +220,7 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da break; targetsize--; } - if (fmtPatch == 1) { + if (patch == 1) { // Here is the first step of the extra treatment for all FM-TOWNS string arrays that // contain more than one string and which the original code // addresses via stringname[boolJapanese]. @@ -201,11 +238,38 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da targetsize--; } } + } else if (patch == 5) { + ++skipCount; + while (!data[i + 1]) { + if (skipCount == rusFanEmptyId) { + ++skipCount; + ++entries; + break; + } + if (++i == size) + break; + targetsize--; + } + + // Skip English string left-overs in the hacky Russian fan translation + for (uint32 ii = 0; ii < rusFanSkipIdLen; ++ii) { + if (skipCount == rusFanSkipId[ii]) { + ++skipCount; + uint32 len = strlen((const char*) data + i); + i += len; + targetsize = targetsize - 1 - len; + while (!data[i + 1]) { + if (++i == len) + break; + targetsize--; + } + } + } } } } - if (fmtPatch == 2) { + if (patch == 2) { if (info->lang == EN_ANY) { targetsize--; entries += 1; @@ -215,12 +279,12 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da } } - if (fmtPatch == 3) { + if (patch == 3) { entries++; targetsize++; } - if (fmtPatch == 4) { + if (patch == 4) { targetsize -= 9; } @@ -229,12 +293,13 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da memset(buffer, 0, targetsize); uint8 *output = buffer; const uint8 *input = (const uint8*) data; + skipCount = 0; WRITE_BE_UINT32(output, entries); output += 4; if (info->platform == kPlatformFMTowns) { const byte *c = data + size; do { - if (fmtPatch == 2 && input - data == 0x3C0 && input[0x10] == 0x32) { + if (patch == 2 && input - data == 0x3C0 && input[0x10] == 0x32) { memcpy(output, input, 0x0F); input += 0x11; output += 0x0F; } @@ -245,14 +310,14 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da // skip empty entries while (!*input) { // Write one empty string into intro strings file - if (fmtPatch == 2) { + if (patch == 2) { if ((info->lang == EN_ANY && input - data == 0x260) || (info->lang == JA_JPN && (input - data == 0x2BD || input - data == 0x2BE))) *output++ = *input; } // insert one dummy string at hof sequence strings position 59 - if (fmtPatch == 3) { + if (patch == 3) { if ((info->lang == EN_ANY && input - data == 0x695) || (info->lang == JA_JPN && input - data == 0x598)) *output++ = *input; @@ -262,7 +327,7 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da break; } - if (fmtPatch == 1) { + if (patch == 1) { // Here is the extra treatment for all FM-TOWNS string arrays that // contain more than one string and which the original code // addresses via stringname[boolJapanese]. @@ -292,9 +357,38 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da ++dstPos; } targetsize = dstPos + 4; + } else if (patch == 5) { + const byte *c = data + size; + do { + strcpy((char*) output, (const char*) input); + uint32 stringsize = strlen((const char*)output) + 1; + input += stringsize; output += stringsize; + + ++skipCount; + while (!*input) { + if (skipCount == rusFanEmptyId) { + *output++ = *input; + ++skipCount; + } + if (++input == c) + break; + } + // Skip English string left-overs in the hacky Russian fan translation + for (uint32 ii = 0; ii < rusFanSkipIdLen; ++ii) { + if (skipCount == rusFanSkipId[ii]) { + ++skipCount; + input += strlen((const char*)input); + while (!*input) { + if (++input == c) + break; + } + } + } + + } while (input < c); } else { uint32 copySize = size; - if (fmtPatch == 4) { + if (patch == 4) { memcpy(output, data, 44); output += 44; data += 44; @@ -981,4 +1075,3 @@ bool extractMrShapeAnimData(PAKFile &out, const ExtractInformation *info, const } } // end of anonymous namespace - diff --git a/devtools/create_kyradat/extract.h b/devtools/create_kyradat/extract.h index fc473b33d1..a44927427f 100644 --- a/devtools/create_kyradat/extract.h +++ b/devtools/create_kyradat/extract.h @@ -72,4 +72,3 @@ const ExtractType *findExtractType(const int type); byte getTypeID(int type); #endif - diff --git a/devtools/create_kyradat/games.cpp b/devtools/create_kyradat/games.cpp index 76d5d70186..86f3535f10 100644 --- a/devtools/create_kyradat/games.cpp +++ b/devtools/create_kyradat/games.cpp @@ -44,6 +44,7 @@ const Game kyra1Games[] = { { kKyra1, { FR_FRA, -1, -1 }, kPlatformPC, kNoSpecial, { "aa9d6d78d8b199deaf48efeca6d19af2", 0 } }, { kKyra1, { IT_ITA, -1, -1 }, kPlatformPC, kNoSpecial, { "5d7550306b369a3492f9f3402702477c", 0 } }, { kKyra1, { ES_ESP, -1, -1 }, kPlatformPC, kNoSpecial, { "9ff130d2558bcd674d4074849d93c362", 0 } }, + { kKyra1, { RU_RUS, -1, -1 }, kPlatformPC, kOldFloppy, { "3b4719e1f8a4d67813b7ada29774aead", 0 } }, // Talkie { kKyra1, { EN_ANY, -1, -1 }, kPlatformPC, kTalkieVersion, { "1ebc18f3e7fbb72474a55cb0fa089ed4", 0 } }, @@ -71,6 +72,7 @@ const Game kyra2Games[] = { { kKyra2, { FR_FRA, -1, -1 }, kPlatformPC, kNoSpecial, { "df31cc9e37e1cf68df2fdc75ddf2d87b", "fc2c6782778e6c6d5a553d1cb73c98ad" } }, { kKyra2, { DE_DEU, -1, -1 }, kPlatformPC, kNoSpecial, { "0ca4f9a1438264a4c63c3218e064ed3b", "0d9b0eb7b0ad889ec942d74d80dde1bf" } }, { kKyra2, { IT_ITA, -1, -1 }, kPlatformPC, kNoSpecial, { "178d3ab913f61bfba21d2fb196405e8c", "3a61ed6b7c00ddae383a0361799e2ba6" } }, + { kKyra2, { RU_RUS, -1, -1 }, kPlatformPC, kNoSpecial, { "fd6a388c01de9a578e24e3bbeacd8012", "3a61ed6b7c00ddae383a0361799e2ba6" } }, // talkie games { kKyra2, { EN_ANY, FR_FRA, DE_DEU }, kPlatformPC, kTalkieVersion, { "85bbc1cc6c4cef6ad31fc6ee79518efb", "e20d0d2e500f01e399ec588247a7e213" } }, @@ -98,8 +100,9 @@ const Game lolGames[] = { // DOS demo { kLol, { EN_ANY, -1, -1 }, kPlatformPC, kDemoVersion, { "30bb5af87d38adb47d3e6ce06b1cb042", 0 } }, - // DOS floppy (no language specifc strings) + // DOS floppy (no language specifc strings except character presets) { kLol, { EN_ANY, -1, -1 }, kPlatformPC, kNoSpecial, { "0cc764a204f7ba8cefe1a5f14c479619", 0 } }, + { kLol, { RU_RUS, -1, -1 }, kPlatformPC, kNoSpecial, { "80a9f9bf243bc6ed36d98584fc6988c4", 0 } }, { kLol, { DE_DEU, -1, -1 }, kPlatformPC, kNoSpecial, { "6b843869772c1b779e1386be868c15dd", 0 } }, // PC98 (no language specifc strings) @@ -108,6 +111,7 @@ const Game lolGames[] = { // DOS CD (multi language version, with no language specific strings) { kLol, { EN_ANY, FR_FRA, DE_DEU }, kPlatformPC, kTalkieVersion, { "9d1778314de80598c0b0d032e2a1a1cf", "263998ec600afca1cc7b935c473df670" } }, { kLol, { IT_ITA, FR_FRA, DE_DEU }, kPlatformPC, kTalkieVersion, { "9d1778314de80598c0b0d032e2a1a1cf", "f2af366e00f79dbf832fa19701d71ed9" } }, // Italian fan translation + { kLol, { EN_ANY, FR_FRA, RU_RUS }, kPlatformPC, kTalkieVersion, { "9d1778314de80598c0b0d032e2a1a1cf", "5b33478718968676343803911dd5e3e4" } }, // Russian fan translation GAME_DUMMY_ENTRY }; @@ -208,6 +212,93 @@ const int kyra1FloppyNeed[] = { k1NewGameString, k1ConfigStrings, k1AudioTracks, + k1AudioTracks2, + k1AudioTracksIntro, + -1 +}; + +const int kyra1FloppyOldNeed[] = { + k1KallakWritingSeq, + k1MalcolmTreeSeq, + k1WestwoodLogoSeq, + k1KyrandiaLogoSeq, + k1KallakMalcolmSeq, + k1ForestSeq, + k1IntroCPSStrings, + k1IntroCOLStrings, + k1IntroWSAStrings, + k1IntroStrings, + k1RoomList, + k1RoomFilenames, + k1CharacterImageFilenames, + k1DefaultShapes, + k1ItemNames, + k1TakenStrings, + k1PlacedStrings, + k1DroppedStrings, + k1AmuleteAnimSeq, + k1SpecialPalette1, + k1SpecialPalette2, + k1SpecialPalette3, + k1SpecialPalette4, + k1SpecialPalette5, + k1SpecialPalette6, + k1SpecialPalette7, + k1SpecialPalette8, + k1SpecialPalette9, + k1SpecialPalette10, + k1SpecialPalette11, + k1SpecialPalette12, + k1SpecialPalette13, + k1SpecialPalette14, + k1SpecialPalette15, + k1SpecialPalette16, + k1SpecialPalette17, + k1SpecialPalette18, + k1SpecialPalette19, + k1SpecialPalette20, + k1SpecialPalette21, + k1SpecialPalette22, + k1SpecialPalette23, + k1SpecialPalette24, + k1SpecialPalette25, + k1SpecialPalette26, + k1SpecialPalette27, + k1SpecialPalette28, + k1SpecialPalette29, + k1SpecialPalette30, + k1SpecialPalette31, + k1SpecialPalette32, + k1PutDownString, + k1WaitAmuletString, + k1BlackJewelString, + k1HealingTipString, + k1PoisonGoneString, + k1Healing1Shapes, + k1Healing2Shapes, + k1ThePoisonStrings, + k1FluteStrings, + k1PoisonDeathShapes, + k1FluteShapes, + k1Winter1Shapes, + k1Winter2Shapes, + k1Winter3Shapes, + k1DrinkShapes, + k1WispShapes, + k1MagicAnimShapes, + k1BranStoneShapes, + k1WispJewelStrings, + k1MagicJewelStrings, + k1FlaskFullString, + k1FullFlaskString, + k1OutroReunionSeq, + k1OutroHomeString, + k1VeryCleverString, + k1GUIStrings, + k1NewGameString, + k1ConfigStrings, + k1AudioTracks, + k1AudioTracks2, k1AudioTracksIntro, -1 }; @@ -295,6 +386,7 @@ const int kyra1CDNeed[] = { k1NewGameString, k1ConfigStrings, k1AudioTracks, + k1AudioTracks2, k1AudioTracksIntro, -1 }; @@ -938,6 +1030,7 @@ struct GameNeed { const GameNeed gameNeedTable[] = { { kKyra1, kPlatformPC, kNoSpecial, kyra1FloppyNeed }, + { kKyra1, kPlatformPC, kOldFloppy, kyra1FloppyOldNeed }, { kKyra1, kPlatformAmiga, kNoSpecial, kyra1AmigaNeed }, { kKyra1, kPlatformPC, kTalkieVersion, kyra1CDNeed }, @@ -984,4 +1077,3 @@ const int *getNeedList(const Game *g) { return 0; } - diff --git a/devtools/create_kyradat/search.cpp b/devtools/create_kyradat/search.cpp index 36b59d948c..b861ff0f5a 100644 --- a/devtools/create_kyradat/search.cpp +++ b/devtools/create_kyradat/search.cpp @@ -213,4 +213,3 @@ bool Search::search(ResultList &res) { return !res.empty(); } - diff --git a/devtools/create_kyradat/search.h b/devtools/create_kyradat/search.h index bd6aa0355b..a9e8ee2726 100644 --- a/devtools/create_kyradat/search.h +++ b/devtools/create_kyradat/search.h @@ -114,4 +114,3 @@ private: }; #endif - diff --git a/devtools/create_kyradat/tables.cpp b/devtools/create_kyradat/tables.cpp index 090b32debc..8042dcac71 100644 --- a/devtools/create_kyradat/tables.cpp +++ b/devtools/create_kyradat/tables.cpp @@ -68,6 +68,7 @@ const ExtractEntrySearchData k1KyrandiaLogoSeqProvider[] = { const ExtractEntrySearchData k1KallakMalcolmSeqProvider[] = { { UNK_LANG, kPlatformPC, { 0x0000026B, 0x00002132, { { 0x51, 0x07, 0x32, 0xA2, 0x09, 0x47, 0x97, 0x02, 0x85, 0x31, 0x39, 0x93, 0x3A, 0x53, 0x47, 0xA5 } } } }, // floppy + { UNK_LANG, kPlatformPC, { 0x00000267, 0x00002100, { { 0xD9, 0x5E, 0x59, 0xF0, 0x7B, 0xC8, 0xF1, 0x40, 0x4F, 0x68, 0x6F, 0xEC, 0xB5, 0xE8, 0x88, 0xE2 } } } }, // floppy { UNK_LANG, kPlatformUnknown, { 0x0000027B, 0x0000220A, { { 0xB7, 0xC1, 0x57, 0x04, 0x9B, 0x67, 0x82, 0x7B, 0x6E, 0xFD, 0x59, 0xF2, 0x10, 0x93, 0x89, 0x12 } } } }, // CD + Amiga { UNK_LANG, kPlatformUnknown, { 0x000002B8, 0x0000280B, { { 0x98, 0xC8, 0x36, 0x8C, 0xF8, 0x92, 0xC2, 0xB9, 0x1B, 0x71, 0x6B, 0x4C, 0xA4, 0x6C, 0xF6, 0x30 } } } }, // Amiga + CD demo @@ -134,8 +135,9 @@ const ExtractEntrySearchData k1AmuleteAnimSeqProvider[] = { const ExtractEntrySearchData k1OutroReunionSeqProvider[] = { { UNK_LANG, kPlatformPC, { 0x00000547, 0x0000781C, { { 0xCF, 0xD6, 0x1D, 0x3D, 0x14, 0x40, 0x88, 0x35, 0x36, 0x4F, 0x0B, 0x1F, 0x9A, 0x1C, 0x3D, 0xAC } } } }, // floppy + { UNK_LANG, kPlatformPC, { 0x00000547, 0x000077E0, { { 0x80, 0xC4, 0xFC, 0xD5, 0xEB, 0xAA, 0xA5, 0x87, 0x58, 0x5E, 0xAA, 0xE7, 0x01, 0x8F, 0x59, 0x3F } } } }, // floppy { UNK_LANG, kPlatformPC, { 0x000005E5, 0x00008918, { { 0x6A, 0x33, 0x8C, 0xB0, 0x16, 0x57, 0x2D, 0xEB, 0xB2, 0xE1, 0x64, 0x80, 0x98, 0x99, 0x98, 0x19 } } } }, // CD - + { UNK_LANG, kPlatformAmiga, { 0x0000054A, 0x0000785F, { { 0x55, 0xEA, 0xB8, 0x7F, 0x3A, 0x86, 0xCD, 0xA6, 0xBC, 0xA7, 0x9A, 0x39, 0xED, 0xF5, 0x30, 0x0A } } } }, { UNK_LANG, kPlatformUnknown, { 0x00000547, 0x00007876, { { 0x7A, 0xC7, 0x80, 0x34, 0x7A, 0x1B, 0xAB, 0xF8, 0xA7, 0x2F, 0x63, 0x3C, 0xDA, 0x89, 0x3F, 0x82 } } } }, // some floppy DOS + FM-TOWNS @@ -150,6 +152,7 @@ const ExtractEntrySearchData k1IntroCPSStringsProvider[] = { { UNK_LANG, kPlatformUnknown, { 0x00000014, 0x0000071D, { { 0xBA, 0xB6, 0x58, 0xB3, 0x28, 0x5E, 0x9F, 0x77, 0x69, 0x9D, 0x77, 0x53, 0x9D, 0x0D, 0xB0, 0x29 } } } }, // floppy + PC98 { UNK_LANG, kPlatformPC, { 0x00000015, 0x00000786, { { 0xCF, 0x09, 0xE1, 0xD9, 0x8E, 0x34, 0x5D, 0xEA, 0xBC, 0xAC, 0xC4, 0xF4, 0x4A, 0xEC, 0xFF, 0xC1 } } } }, // CD + { UNK_LANG, kPlatformPC, { 0x00000019, 0x000008DB, { { 0x3A, 0xDC, 0x1D, 0xAD, 0xF4, 0x5E, 0xC9, 0x19, 0xE9, 0x84, 0xD1, 0x31, 0x89, 0x6B, 0x6C, 0xF7 } } } }, // Old floppy { UNK_LANG, kPlatformPC, { 0x0000000C, 0x00000413, { { 0xA1, 0xE3, 0x06, 0x53, 0x23, 0x9A, 0xE0, 0xF1, 0xE4, 0xFD, 0xD9, 0x05, 0x22, 0xA6, 0x28, 0x46 } } } }, // demo { UNK_LANG, kPlatformAmiga, { 0x00000016, 0x0000070A, { { 0xD9, 0xDB, 0x91, 0xCD, 0x93, 0x81, 0xC4, 0x3F, 0x14, 0xF1, 0xC5, 0x02, 0xE7, 0x3F, 0x3A, 0x6C } } } }, @@ -194,6 +197,8 @@ const ExtractEntrySearchData k1IntroStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x000005CF, 0x00020415, { { 0xCC, 0xE5, 0x9F, 0xB8, 0xCA, 0xFA, 0x2D, 0x05, 0xB8, 0xAF, 0x9F, 0x1F, 0x8A, 0xA8, 0x56, 0xDE } } } }, + { RU_RUS, kPlatformPC, { 0x000004F6, 0x000131C6, { { 0x77, 0x76, 0x12, 0xB1, 0xDA, 0x9C, 0xA9, 0xB5, 0x21, 0x1E, 0x49, 0x08, 0x46, 0xB3, 0xE4, 0x61 } } } }, + { EN_ANY, kPlatformAmiga, { 0x0000050A, 0x0001A7B1, { { 0x1B, 0x74, 0x71, 0x4C, 0xAB, 0x81, 0x10, 0x59, 0x8A, 0x21, 0x50, 0xBB, 0xFE, 0x6F, 0xD0, 0xE8 } } } }, { DE_DEU, kPlatformAmiga, { 0x00000626, 0x00021319, { { 0x80, 0x55, 0x54, 0x14, 0x5D, 0x6F, 0x49, 0x04, 0x4A, 0xEF, 0x92, 0xB8, 0x5B, 0x01, 0x0F, 0x97 } } } }, @@ -219,6 +224,8 @@ const ExtractEntrySearchData k1OutroHomeStringProvider[] = { { IT_ITA, kPlatformPC, { 0x00000007, 0x000001B8, { { 0x17, 0x95, 0x5B, 0x4F, 0xE2, 0x07, 0x5A, 0x49, 0xFA, 0xCE, 0x53, 0x8B, 0xE7, 0x46, 0x69, 0xC7 } } } }, // (fan) CD + { RU_RUS, kPlatformPC, { 0x00000005, 0x000000EF, { { 0xA0, 0xB4, 0xF2, 0x11, 0x16, 0x92, 0xC8, 0xEB, 0xF2, 0x0C, 0xFE, 0x43, 0xFE, 0x18, 0xF6, 0xBB } } } }, + EXTRACT_END_ENTRY }; @@ -235,6 +242,7 @@ const ExtractEntrySearchData k1RoomListProvider[] = { { UNK_LANG, kPlatformFMTowns, { 0x000064E8, 0x0010312B, { { 0x94, 0x5C, 0x87, 0x35, 0x35, 0x6B, 0x3E, 0xBF, 0x55, 0x3D, 0xDB, 0xD9, 0xFB, 0x97, 0x27, 0x5D } } } }, { UNK_LANG, kPlatformUnknown, { 0x00004DD6, 0x0010312B, { { 0xC6, 0xF0, 0xC4, 0x2C, 0x5A, 0xD7, 0x48, 0xE4, 0x41, 0x23, 0x65, 0x6D, 0xC8, 0xC7, 0xCE, 0xF5 } } } }, // DOS + PC98 + { UNK_LANG, kPlatformUnknown, { 0x00004DD6, 0x0010315D, { { 0x4A, 0x1B, 0xA2, 0x35, 0xE1, 0x22, 0xD3, 0x7A, 0xE9, 0x69, 0x12, 0x3A, 0x9C, 0x92, 0x6F, 0x5C } } } }, // Old DOS floppy { UNK_LANG, kPlatformAmiga, { 0x00004ECC, 0x0010312B, { { 0x9A, 0x91, 0xF1, 0x9C, 0x8A, 0x96, 0x1C, 0x7B, 0xB7, 0xE4, 0xF1, 0xE9, 0x7D, 0xEF, 0x40, 0xBF } } } }, @@ -252,13 +260,19 @@ const ExtractEntrySearchData k1CharacterImageFilenamesProvider[] = { }; const ExtractEntrySearchData k1AudioTracksProvider[] = { - { UNK_LANG, kPlatformPC, { 0x00000041, 0x00000FBF, { { 0xB5, 0xA2, 0x90, 0xE9, 0x73, 0x83, 0x47, 0x5A, 0xB3, 0x3E, 0x04, 0xBB, 0xAA, 0xC8, 0x84, 0x53 } } } }, + { UNK_LANG, kPlatformPC, { 0x00000038, 0x00000D5C, { { 0x65, 0x35, 0x2F, 0xA3, 0x93, 0x22, 0x15, 0xA0, 0xC6, 0x2B, 0x73, 0x7C, 0x3E, 0xB8, 0x7A, 0xB5 } } } }, { UNK_LANG, kPlatformFMTowns, { 0x0000005D, 0x0000154E, { { 0xA7, 0x7E, 0x03, 0x0A, 0x81, 0x54, 0xD2, 0x5D, 0x7B, 0x33, 0x07, 0xBF, 0x70, 0x01, 0x4B, 0x79 } } } }, EXTRACT_END_ENTRY }; +const ExtractEntrySearchData k1AudioTracks2Provider[] = { + { UNK_LANG, kPlatformPC, { 0x00000009, 0x00000363, { { 0x16, 0xA2, 0x68, 0x21, 0x04, 0xA8, 0x39, 0x7E, 0xA1, 0x7D, 0x70, 0xFD, 0x86, 0xC7, 0x69, 0x28 } } } }, + + EXTRACT_END_ENTRY +}; + const ExtractEntrySearchData k1AudioTracksIntroProvider[] = { { UNK_LANG, kPlatformUnknown, { 0x00000006, 0x0000022C, { { 0x5F, 0xC9, 0xE1, 0x4B, 0x34, 0x52, 0xB9, 0xF8, 0xFF, 0x37, 0x8B, 0xF4, 0xEF, 0x5E, 0xC5, 0xDA } } } }, // floppy + demo { UNK_LANG, kPlatformUnknown, { 0x0000000C, 0x00000458, { { 0xEB, 0xB3, 0x96, 0xA5, 0x07, 0xE6, 0x11, 0x58, 0xDB, 0x3F, 0x34, 0x30, 0xFB, 0x7B, 0x92, 0xC8 } } } }, // CD @@ -278,6 +292,8 @@ const ExtractEntrySearchData k1ItemNamesProvider[] = { { ES_ESP, kPlatformPC, { 0x00000530, 0x0001D90A, { { 0x52, 0xFB, 0xA8, 0x3F, 0xA3, 0x6F, 0xC2, 0x67, 0x55, 0x9F, 0x66, 0x9F, 0xFD, 0x79, 0x44, 0xDF } } } }, + { RU_RUS, kPlatformPC, { 0x000004AE, 0x00011888, { { 0x6F, 0x4D, 0xBE, 0xC8, 0xAE, 0x7C, 0x12, 0x3E, 0x69, 0x0B, 0x39, 0xCB, 0x4D, 0x4B, 0xA8, 0x3A } } } }, // floppy + { EN_ANY, kPlatformAmiga, { 0x00000380, 0x00012960, { { 0x2D, 0x81, 0xCF, 0x7A, 0x9D, 0x71, 0x83, 0xB7, 0xE5, 0x00, 0xB0, 0x6E, 0x25, 0x94, 0xCB, 0xA4 } } } }, { DE_DEU, kPlatformAmiga, { 0x000003E5, 0x0001607D, { { 0x6D, 0xBE, 0xAD, 0xE5, 0xD1, 0x41, 0x6C, 0x42, 0x71, 0x79, 0x9C, 0x78, 0x93, 0x84, 0xC8, 0x11 } } } }, @@ -302,6 +318,8 @@ const ExtractEntrySearchData k1TakenStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x00000014, 0x000005D8, { { 0xD6, 0x00, 0x90, 0x6A, 0x75, 0x3B, 0xF1, 0xFE, 0xF4, 0x3E, 0x0E, 0x1D, 0x39, 0xEB, 0x2D, 0xC8 } } } }, + { RU_RUS, kPlatformPC, { 0x00000010, 0x00000262, { { 0x1E, 0x90, 0x20, 0xC8, 0xD3, 0x08, 0x53, 0x4F, 0x28, 0x95, 0x6A, 0xA4, 0x14, 0x37, 0x05, 0xF0 } } } }, + { EN_ANY, kPlatformAmiga, { 0x00000008, 0x00000261, { { 0x93, 0x5B, 0x79, 0xE8, 0x89, 0x8E, 0xB5, 0x37, 0x39, 0x2A, 0xB0, 0x04, 0x98, 0x80, 0x5A, 0x4E } } } }, { DE_DEU, kPlatformAmiga, { 0x0000000E, 0x000004E0, { { 0x52, 0x4D, 0x74, 0x91, 0x70, 0x0D, 0x4C, 0x40, 0x5C, 0x7E, 0xBA, 0xDA, 0x24, 0x49, 0xF3, 0x1A } } } }, @@ -324,8 +342,10 @@ const ExtractEntrySearchData k1PlacedStringsProvider[] = { { IT_ITA, kPlatformPC, { 0x0000000D, 0x0000040D, { { 0x9C, 0x71, 0x53, 0x35, 0xC3, 0xE8, 0x46, 0xB9, 0xD2, 0xFA, 0x1C, 0x8C, 0xC3, 0xFF, 0xBC, 0x1F } } } }, // floppy { IT_ITA, kPlatformPC, { 0x00000011, 0x000003B8, { { 0xC8, 0xA6, 0xE4, 0x8A, 0xF7, 0x4C, 0x3F, 0xA6, 0x24, 0x7F, 0xEF, 0xE4, 0x63, 0x8B, 0x72, 0xF3 } } } }, // (fan) CD - + { ES_ESP, kPlatformPC, { 0x0000000D, 0x00000439, { { 0x57, 0xAE, 0x1C, 0xC1, 0xF5, 0xE8, 0x5B, 0x9E, 0x90, 0x02, 0xB9, 0x8D, 0x86, 0x38, 0xFB, 0xA8 } } } }, + + { RU_RUS, kPlatformPC, { 0x00000009, 0x00000203, { { 0x7D, 0xAE, 0x67, 0x94, 0x8E, 0x73, 0x35, 0xC1, 0x11, 0xB4, 0x55, 0x6E, 0x92, 0x25, 0x39, 0xE4 } } } }, EXTRACT_END_ENTRY }; @@ -344,6 +364,8 @@ const ExtractEntrySearchData k1DroppedStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x00000008, 0x00000261, { { 0x1D, 0xB5, 0xFB, 0x23, 0x94, 0xA7, 0x86, 0x7A, 0xAC, 0x53, 0xDA, 0x6F, 0xCC, 0x41, 0x0F, 0xD7 } } } }, + { RU_RUS, kPlatformPC, { 0x0000000A, 0x000001F5, { { 0xAA, 0x21, 0x88, 0x6D, 0xD0, 0xAB, 0x5C, 0x15, 0x7F, 0xAD, 0x0E, 0x3B, 0x2F, 0x17, 0xBF, 0xAD } } } }, + EXTRACT_END_ENTRY }; @@ -384,6 +406,8 @@ const ExtractEntrySearchData k1PutDownStringProvider[] = { { ES_ESP, kPlatformPC, { 0x0000002D, 0x00001052, { { 0x12, 0x0A, 0x23, 0x11, 0xDF, 0x8A, 0x59, 0xD4, 0xF2, 0xCA, 0xA5, 0xA7, 0x76, 0x1B, 0x54, 0xB6 } } } }, + { RU_RUS, kPlatformPC, { 0x00000024, 0x0000099F, { { 0x05, 0xD7, 0xB8, 0x32, 0x95, 0x93, 0x29, 0x5F, 0xF3, 0x1A, 0xF0, 0x2E, 0xBA, 0x3A, 0x0D, 0x27 } } } }, + EXTRACT_END_ENTRY }; @@ -401,6 +425,8 @@ const ExtractEntrySearchData k1WaitAmuletStringProvider[] = { { ES_ESP, kPlatformPC, { 0x00000042, 0x000017FD, { { 0x0A, 0x8A, 0x7E, 0x9A, 0x5F, 0x4A, 0x35, 0x06, 0x4D, 0x6B, 0xBF, 0x29, 0x1B, 0xAD, 0xD8, 0x37 } } } }, + { RU_RUS, kPlatformPC, { 0x0000003C, 0x00000EF1, { { 0xC1, 0x0A, 0xFA, 0xBB, 0x65, 0xC3, 0x31, 0xC9, 0x80, 0x9B, 0x0C, 0x16, 0xED, 0xBF, 0x47, 0xFA } } } }, + { EN_ANY, kPlatformUnknown, { 0x0000003E, 0x0000150D, { { 0xA8, 0xBF, 0x99, 0x9B, 0xC1, 0x36, 0x21, 0x47, 0x6D, 0x99, 0x4F, 0x34, 0xE6, 0x61, 0x47, 0xFD } } } }, // Amiga + FM-TOWNS EXTRACT_END_ENTRY @@ -420,6 +446,8 @@ const ExtractEntrySearchData k1BlackJewelStringProvider[] = { { ES_ESP, kPlatformPC, { 0x00000025, 0x00000CF6, { { 0x4B, 0x13, 0x39, 0xCB, 0x3F, 0x44, 0x18, 0x46, 0x43, 0xDB, 0x94, 0xC5, 0x3E, 0x6B, 0xC4, 0x74 } } } }, + { RU_RUS, kPlatformPC, { 0x00000021, 0x000007FF, { { 0x3F, 0x26, 0xB4, 0xB4, 0x11, 0x0C, 0xEF, 0xC0, 0x6A, 0xD1, 0xCC, 0x0E, 0x68, 0x7D, 0xA5, 0x1A } } } }, + { EN_ANY, kPlatformUnknown, { 0x00000024, 0x00000B73, { { 0x8D, 0x57, 0x5F, 0x93, 0x85, 0x75, 0xF2, 0xD8, 0x36, 0xC2, 0x7C, 0x0E, 0x3B, 0xEA, 0xE0, 0x0A } } } }, // Amiga + FM-TOWNS EXTRACT_END_ENTRY @@ -438,6 +466,8 @@ const ExtractEntrySearchData k1PoisonGoneStringProvider[] = { { ES_ESP, kPlatformPC, { 0x00000033, 0x0000127E, { { 0x67, 0xEB, 0xD3, 0x00, 0xF8, 0x4F, 0xF1, 0x79, 0x48, 0xE6, 0x9C, 0xB2, 0xA7, 0xCF, 0x76, 0x07 } } } }, + { RU_RUS, kPlatformPC, { 0x00000027, 0x00000952, { { 0x36, 0x64, 0x30, 0x1C, 0x5A, 0xC0, 0x0D, 0x73, 0xE5, 0xA6, 0x2F, 0xD8, 0x64, 0x98, 0x81, 0x56 } } } }, + { EN_ANY, kPlatformAmiga, { 0x0000002E, 0x00000F59, { { 0xAD, 0x95, 0xF3, 0xA7, 0xBB, 0x04, 0x08, 0x77, 0xD0, 0x71, 0xFC, 0x8B, 0x33, 0x2A, 0x6D, 0xD3 } } } }, { DE_DEU, kPlatformAmiga, { 0x00000037, 0x00001324, { { 0xB3, 0xE6, 0x0A, 0x49, 0x37, 0x73, 0x3C, 0xAF, 0x78, 0x9E, 0x7D, 0x13, 0x75, 0xAE, 0xA8, 0x89 } } } }, @@ -463,6 +493,8 @@ const ExtractEntrySearchData k1HealingTipStringProvider[] = { { ES_ESP, kPlatformPC, { 0x00000028, 0x00000E0F, { { 0x3E, 0x40, 0xCA, 0x2A, 0x5F, 0xFE, 0x74, 0x30, 0x8C, 0x31, 0x41, 0x09, 0xBD, 0xFD, 0xA3, 0x7E } } } }, + { RU_RUS, kPlatformPC, { 0x00000026, 0x000008EE, { { 0x7C, 0xC0, 0x62, 0x39, 0x66, 0x9E, 0x63, 0xCD, 0x21, 0x3D, 0x72, 0x91, 0xB8, 0xB9, 0xB6, 0x92 } } } }, + { EN_ANY, kPlatformUnknown, { 0x0000002E, 0x00000F04, { { 0x95, 0x39, 0x36, 0x89, 0xC4, 0x60, 0x7C, 0x0C, 0xDC, 0x06, 0xF7, 0x86, 0x1A, 0xF7, 0x93, 0x2B } } } }, // Amiga + FM-TOWNS EXTRACT_END_ENTRY @@ -483,6 +515,9 @@ const ExtractEntrySearchData k1WispJewelStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x0000005F, 0x0000211E, { { 0xE7, 0x0A, 0x85, 0x25, 0x44, 0x41, 0x47, 0x3B, 0x7A, 0xA6, 0x62, 0xAE, 0xAE, 0xD5, 0x92, 0x45 } } } }, + // only one of two strings translated in the fan translation + { RU_RUS, kPlatformPC, { 0x00000053, 0x0000191F, { { 0x14, 0xEB, 0x38, 0x54, 0x40, 0x40, 0x04, 0xA6, 0xA0, 0xFE, 0xDB, 0xD0, 0x8C, 0xA6, 0x1F, 0x55 } } } }, + { EN_ANY, kPlatformAmiga, { 0x00000056, 0x00001C62, { { 0x43, 0x28, 0x3C, 0x0F, 0x78, 0x52, 0xE7, 0x2A, 0x77, 0xF3, 0x21, 0x5A, 0xF0, 0xFC, 0x9E, 0xF8 } } } }, { DE_DEU, kPlatformAmiga, { 0x00000063, 0x00002184, { { 0x6B, 0xDC, 0x6B, 0xCF, 0xD4, 0xC7, 0x2A, 0x9A, 0x2E, 0x34, 0x71, 0x4E, 0xB7, 0xF6, 0xAF, 0xDA } } } }, @@ -508,6 +543,8 @@ const ExtractEntrySearchData k1MagicJewelStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x00000011, 0x000005CD, { { 0x32, 0x2A, 0xFF, 0x9F, 0x10, 0x75, 0x6B, 0xD6, 0x46, 0xAE, 0x55, 0xD3, 0x68, 0x4F, 0xBB, 0x5A } } } }, + { RU_RUS, kPlatformPC, { 0x00000012, 0x0000047D, { { 0xB1, 0xC3, 0x66, 0xBC, 0x42, 0xAD, 0x5B, 0xD8, 0xF5, 0x3D, 0xB9, 0x50, 0x77, 0x32, 0xA7, 0x15 } } } }, + { EN_ANY, kPlatformUnknown, { 0x00000014, 0x0000069E, { { 0x6A, 0x1C, 0x9B, 0x85, 0x61, 0xC7, 0x28, 0xA9, 0xA3, 0xF4, 0xFA, 0x47, 0x90, 0x8F, 0x06, 0xB4 } } } }, // Amiga + FM-TOWNS EXTRACT_END_ENTRY @@ -525,6 +562,8 @@ const ExtractEntrySearchData k1ThePoisonStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x00000059, 0x00001DF7, { { 0x16, 0x7B, 0x5F, 0x91, 0x06, 0x5B, 0xFC, 0x9C, 0x88, 0x61, 0xCC, 0x1B, 0x52, 0x4F, 0x91, 0xC5 } } } }, + { RU_RUS, kPlatformPC, { 0x00000052, 0x0000136F, { { 0xEF, 0xD2, 0xA0, 0x5F, 0xD5, 0xE6, 0x77, 0x96, 0xFA, 0xC5, 0x60, 0x7C, 0xB7, 0xA8, 0x7C, 0x7A } } } }, + { EN_ANY, kPlatformAmiga, { 0x00000058, 0x00001C24, { { 0xBA, 0x1F, 0xBD, 0x5C, 0x85, 0x3D, 0x3C, 0x92, 0xD1, 0x13, 0xF3, 0x40, 0x2E, 0xBB, 0x1C, 0xE2 } } } }, { DE_DEU, kPlatformAmiga, { 0x00000073, 0x00002690, { { 0x44, 0xAE, 0xC9, 0xFD, 0x9F, 0x8E, 0x1B, 0xDD, 0x3F, 0xE4, 0x4D, 0x4B, 0x5A, 0x13, 0xE5, 0x99 } } } }, @@ -549,6 +588,9 @@ const ExtractEntrySearchData k1FluteStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x00000052, 0x00001D8E, { { 0x9D, 0xA5, 0xF1, 0x42, 0xD1, 0x48, 0xEB, 0x8F, 0x4B, 0xDC, 0xD9, 0x10, 0x55, 0xBD, 0x12, 0xBB } } } }, + // not translated in the fan translation + { RU_RUS, kPlatformPC, { 0x0000003C, 0x00001599, { { 0x96, 0x72, 0x5A, 0x8A, 0xA0, 0xEE, 0xA2, 0xCE, 0x4D, 0x21, 0x01, 0x6C, 0xC5, 0x1A, 0xEB, 0x21 } } } }, + { EN_ANY, kPlatformFMTowns, { 0x0000005A, 0x000024F9, { { 0xCA, 0x1F, 0x62, 0x23, 0x22, 0x25, 0x4A, 0x94, 0x8A, 0x50, 0x59, 0xD5, 0xB4, 0x4E, 0xF1, 0xA6 } } } }, { JA_JPN, kPlatformFMTowns, { 0x00000053, 0x00002745, { { 0x7A, 0xBB, 0xFC, 0x30, 0xB6, 0xCE, 0x61, 0xD4, 0xDB, 0xB0, 0xE6, 0xB2, 0xF4, 0x4D, 0x81, 0x35 } } } }, @@ -571,6 +613,8 @@ const ExtractEntrySearchData k1FlaskFullStringProvider[] = { { ES_ESP, kPlatformPC, { 0x0000001B, 0x0000099D, { { 0x13, 0x23, 0x5D, 0x38, 0x9B, 0xFB, 0x00, 0x5C, 0xA1, 0x3A, 0x22, 0xD6, 0xCD, 0x5C, 0x09, 0xAE } } } }, + { RU_RUS, kPlatformPC, { 0x0000001A, 0x0000066E, { { 0x36, 0x43, 0xB6, 0xB2, 0xED, 0xBA, 0x21, 0x0C, 0x16, 0x54, 0x99, 0xF9, 0x2E, 0x6E, 0x0A, 0x28 } } } }, + EXTRACT_END_ENTRY }; @@ -586,6 +630,8 @@ const ExtractEntrySearchData k1FullFlaskStringProvider[] = { { ES_ESP, kPlatformPC, { 0x0000009A, 0x0000363B, { { 0x38, 0x25, 0xE6, 0xB5, 0xCB, 0x78, 0x5E, 0xAD, 0x2D, 0xD4, 0x2E, 0x8B, 0x89, 0x20, 0xB1, 0x95 } } } }, + { RU_RUS, kPlatformPC, { 0x00000094, 0x0000232B, { { 0xBF, 0x68, 0xF9, 0x8F, 0x82, 0xE9, 0xE7, 0x69, 0x33, 0xD6, 0x41, 0x15, 0x2C, 0xFE, 0x72, 0xAB } } } }, + { EN_ANY, kPlatformAmiga, { 0x0000009A, 0x00003521, { { 0x26, 0xE5, 0xC8, 0x6D, 0x14, 0x81, 0x9F, 0x90, 0x38, 0x3C, 0x00, 0x9D, 0x8E, 0x72, 0xB1, 0x83 } } } }, { DE_DEU, kPlatformAmiga, { 0x000000B0, 0x00003E38, { { 0x8A, 0x6D, 0x42, 0x36, 0x29, 0x06, 0xB2, 0xCE, 0xA3, 0x41, 0x14, 0xE8, 0xB1, 0xEF, 0x6E, 0x3B } } } }, @@ -611,6 +657,9 @@ const ExtractEntrySearchData k1VeryCleverStringProvider[] = { { ES_ESP, kPlatformPC, { 0x00000036, 0x000013F8, { { 0x2D, 0x9B, 0x7D, 0x58, 0xD1, 0x94, 0x04, 0x45, 0x6E, 0x81, 0xCC, 0x1E, 0x2F, 0xC5, 0xC9, 0xEA } } } }, + // not translated in the fan translation + { RU_RUS, kPlatformPC, { 0x00000032, 0x0000118D, { { 0x4B, 0x6D, 0xD4, 0xDC, 0x3E, 0xA2, 0x2D, 0x6D, 0x2C, 0x5A, 0xF7, 0x67, 0x4B, 0x6D, 0x40, 0xEF } } } }, + EXTRACT_END_ENTRY }; @@ -628,6 +677,8 @@ const ExtractEntrySearchData k1NewGameStringProvider[] = { { ES_ESP, kPlatformPC, { 0x0000001B, 0x00000701, { { 0x2B, 0x87, 0xC3, 0x82, 0x68, 0xA5, 0xFC, 0xC5, 0x64, 0x9E, 0xAB, 0xD2, 0x8A, 0x07, 0x9C, 0x1E } } } }, + { RU_RUS, kPlatformPC, { 0x00000015, 0x0000035F, { { 0x7E, 0x49, 0xC1, 0xCB, 0x2D, 0x61, 0xA7, 0x4C, 0x20, 0xAC, 0xEC, 0x54, 0x80, 0x14, 0x6A, 0xCA } } } }, + EXTRACT_END_ENTRY }; @@ -654,7 +705,7 @@ const ExtractEntrySearchData k1Healing2ShapesProvider[] = { const ExtractEntrySearchData k1PoisonDeathShapesProvider[] = { { UNK_LANG, kPlatformUnknown, { 0x0000008C, 0x00002E90, { { 0xBC, 0x44, 0xFB, 0x98, 0xE7, 0x42, 0xF6, 0xC8, 0x87, 0xDD, 0x00, 0x42, 0x85, 0xD8, 0x1E, 0x81 } } } }, - + { UNK_LANG, kPlatformUnknown, { 0x0000008C, 0x00002E7C, { { 0xA5, 0xD7, 0x13, 0xFC, 0x43, 0x22, 0x13, 0xBC, 0x5F, 0x3F, 0xC8, 0x28, 0xDA, 0x04, 0xB0, 0xDD } } } }, // Old Dos Floppy EXTRACT_END_ENTRY }; @@ -931,6 +982,8 @@ const ExtractEntrySearchData k1GUIStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x0000023A, 0x0000C3BD, { { 0xED, 0x0D, 0xE7, 0x5B, 0xDC, 0x21, 0x41, 0x54, 0x68, 0x7D, 0x8E, 0x97, 0x1A, 0xB1, 0xA1, 0x4A } } } }, // floppy + { RU_RUS, kPlatformPC, { 0x000001B1, 0x000065E8, { { 0x91, 0x22, 0x61, 0x8B, 0xCD, 0x7C, 0x0E, 0xD4, 0x32, 0x00, 0xC3, 0x6E, 0x50, 0x7F, 0x3C, 0x82 } } } }, // floppy + { EN_ANY, kPlatformAmiga, { 0x000001DF, 0x00009042, { { 0x0D, 0xD3, 0x1A, 0x92, 0x8D, 0x9C, 0x72, 0x55, 0xEF, 0xFB, 0x81, 0x21, 0x3B, 0x43, 0xA7, 0xE8 } } } }, { DE_DEU, kPlatformAmiga, { 0x00000237, 0x0000BAF7, { { 0xD7, 0x1A, 0x8E, 0xCC, 0x6D, 0x3E, 0xA9, 0xDD, 0x9A, 0x6B, 0x71, 0xFE, 0xD4, 0x50, 0x30, 0x6E } } } }, @@ -957,6 +1010,9 @@ const ExtractEntrySearchData k1ConfigStringsProvider[] = { { ES_ESP, kPlatformPC, { 0x0000004A, 0x00001B7B, { { 0x6B, 0x69, 0x50, 0x92, 0x9B, 0x35, 0x58, 0xE1, 0xEA, 0xBF, 0x42, 0x0B, 0xEB, 0x88, 0x41, 0x8D } } } }, // floppy + // not translated in the fan translation + { RU_RUS, kPlatformPC, { 0x0000003F, 0x00000B0D, { { 0x0E, 0x60, 0x0F, 0x4A, 0xA9, 0xF0, 0x1B, 0x76, 0xBB, 0x33, 0xB2, 0x4B, 0x5C, 0xB5, 0x4A, 0x97 } } } }, // floppy + { EN_ANY, kPlatformAmiga, { 0x0000002E, 0x00000FA1, { { 0x5E, 0xFF, 0xFF, 0x3D, 0xF8, 0x11, 0x6F, 0x3B, 0xC5, 0x39, 0x8F, 0x25, 0x8F, 0x0F, 0xE9, 0x2B } } } }, { DE_DEU, kPlatformAmiga, { 0x00000043, 0x00001783, { { 0xB2, 0x2B, 0xAB, 0x27, 0x06, 0x9A, 0x1E, 0x4B, 0xA7, 0xD3, 0xFF, 0xEB, 0xFD, 0x12, 0xDC, 0x94 } } } }, @@ -1057,6 +1113,8 @@ const ExtractEntrySearchData k2SeqplayStringsProvider[] = { { IT_ITA, kPlatformPC, { 0x00000916, 0x0003188F, { { 0xDC, 0x46, 0x06, 0xE1, 0xB0, 0x66, 0xBC, 0x18, 0x2E, 0x6E, 0x9E, 0xC9, 0xA4, 0x14, 0x8D, 0x08 } } } }, // floppy { IT_ITA, kPlatformPC, { 0x000008C8, 0x00030947, { { 0x7F, 0x75, 0x5F, 0x99, 0x94, 0xFE, 0xA1, 0xE6, 0xEF, 0xB8, 0x93, 0x71, 0x83, 0x1B, 0xAC, 0x4A } } } }, // (fan) CD + { RU_RUS, kPlatformPC, { 0x000008C8, 0x00028639, { { 0xF9, 0x1D, 0x6A, 0x85, 0x23, 0x5E, 0x2A, 0x64, 0xBC, 0x45, 0xB2, 0x48, 0x13, 0x49, 0xD4, 0xF7 } } } }, // (fan) floppy + { EN_ANY, kPlatformFMTowns, { 0x00000990, 0x00030C61, { { 0x60, 0x51, 0x11, 0x83, 0x3F, 0x06, 0xC3, 0xA3, 0xE0, 0xC0, 0x2F, 0x41, 0x29, 0xDE, 0x65, 0xB1 } } } }, { JA_JPN, kPlatformFMTowns, { 0x000008A8, 0x00036831, { { 0x56, 0x5B, 0x23, 0x61, 0xE8, 0x3B, 0xE1, 0x36, 0xD6, 0x62, 0xD0, 0x84, 0x00, 0x04, 0x05, 0xAD } } } }, @@ -1281,10 +1339,15 @@ const ExtractEntrySearchData kLolIngamePakFilesProvider[] = { }; const ExtractEntrySearchData kLolCharacterDefsProvider[] = { - { UNK_LANG, kPlatformPC, { 0x00000492, 0x000046B0, { { 0x7A, 0x94, 0x8B, 0xC6, 0xF7, 0xF1, 0x2F, 0xF3, 0xBC, 0x1B, 0x0B, 0x4E, 0x00, 0xC9, 0x44, 0x58 } } } }, // floppy - { UNK_LANG, kPlatformPC, { 0x00000492, 0x000047FD, { { 0x8C, 0x0B, 0x8B, 0xCE, 0xE0, 0xB0, 0x8F, 0xA9, 0x06, 0xC3, 0x98, 0xE6, 0x2E, 0x09, 0xB6, 0x93 } } } }, // floppy - { UNK_LANG, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD - { UNK_LANG, kPlatformPC98, { 0x00000492, 0x00005893, { { 0x7C, 0x7E, 0xFB, 0x80, 0xD9, 0xB6, 0x16, 0x87, 0x80, 0xB7, 0x46, 0x9B, 0x96, 0x1A, 0x6A, 0xBE } } } }, + { RU_RUS, kPlatformPC, { 0x00000492, 0x000052BA, { { 0x52, 0x29, 0x0D, 0x49, 0xFD, 0x17, 0xD7, 0x70, 0x6D, 0xCA, 0xEB, 0xB6, 0x7E, 0xFA, 0xBE, 0x08 } } } }, // floppy + { EN_ANY, kPlatformPC, { 0x00000492, 0x000046B0, { { 0x7A, 0x94, 0x8B, 0xC6, 0xF7, 0xF1, 0x2F, 0xF3, 0xBC, 0x1B, 0x0B, 0x4E, 0x00, 0xC9, 0x44, 0x58 } } } }, // floppy + { DE_DEU, kPlatformPC, { 0x00000492, 0x000047FD, { { 0x8C, 0x0B, 0x8B, 0xCE, 0xE0, 0xB0, 0x8F, 0xA9, 0x06, 0xC3, 0x98, 0xE6, 0x2E, 0x09, 0xB6, 0x93 } } } }, // floppy + { EN_ANY, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD + { DE_DEU, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD + { FR_FRA, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD + { RU_RUS, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD + { IT_ITA, kPlatformPC, { 0x00000492, 0x00004ACD, { { 0xDF, 0x87, 0xFE, 0x89, 0x59, 0xCC, 0x01, 0xD7, 0xC7, 0xEB, 0x16, 0xA4, 0x09, 0xAF, 0x5D, 0xC0 } } } }, // CD + { JA_JPN, kPlatformPC98, { 0x00000492, 0x00005893, { { 0x7C, 0x7E, 0xFB, 0x80, 0xD9, 0xB6, 0x16, 0x87, 0x80, 0xB7, 0x46, 0x9B, 0x96, 0x1A, 0x6A, 0xBE } } } }, EXTRACT_END_ENTRY }; @@ -1766,6 +1829,7 @@ const ExtractEntry extractProviders[] = { { k1RoomList, k1RoomListProvider }, { k1CharacterImageFilenames, k1CharacterImageFilenamesProvider }, { k1AudioTracks, k1AudioTracksProvider }, + { k1AudioTracks2, k1AudioTracks2Provider }, { k1AudioTracksIntro, k1AudioTracksIntroProvider }, { k1ItemNames, k1ItemNamesProvider }, { k1TakenStrings, k1TakenStringsProvider }, @@ -1962,4 +2026,3 @@ ExtractEntryList getProvidersForId(int id) { return list; } - diff --git a/devtools/create_kyradat/tables.h b/devtools/create_kyradat/tables.h index b9687a5949..833c70a4fe 100644 --- a/devtools/create_kyradat/tables.h +++ b/devtools/create_kyradat/tables.h @@ -39,4 +39,3 @@ typedef std::list<ExtractEntrySearchData> ExtractEntryList; ExtractEntryList getProvidersForId(int id); #endif - diff --git a/devtools/create_kyradat/util.cpp b/devtools/create_kyradat/util.cpp index 3b9f621949..2420f44168 100644 --- a/devtools/create_kyradat/util.cpp +++ b/devtools/create_kyradat/util.cpp @@ -137,4 +137,3 @@ uint32 fileSize(FILE *fp) { fseek(fp, pos, SEEK_SET); return sz; } - diff --git a/devtools/create_lure/Makefile b/devtools/create_lure/Makefile deleted file mode 100644 index 1ed33b594c..0000000000 --- a/devtools/create_lure/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ - -all: - g++ -I../.. create_lure_dat.cpp process_actions.cpp -o create_lure diff --git a/devtools/create_lure/dists/msvc8/create_lure.sln b/devtools/create_lure/dists/msvc8/create_lure.sln deleted file mode 100644 index 8d74988d8c..0000000000 --- a/devtools/create_lure/dists/msvc8/create_lure.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_lure", "create_lure.vcproj", "{63E18A70-17D2-11DE-8C30-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_lure/dists/msvc8/create_lure.vcproj b/devtools/create_lure/dists/msvc8/create_lure.vcproj deleted file mode 100644 index 177466a29f..0000000000 --- a/devtools/create_lure/dists/msvc8/create_lure.vcproj +++ /dev/null @@ -1,222 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8,00" - Name="create_lure" - ProjectGUID="{63E18A70-17D2-11DE-8C30-0800200C9A66}" - RootNamespace="create_lure" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - AdditionalIncludeDirectories="../../../../" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_lure.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_lure.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_lure.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="common" - > - <File - RelativePath="..\..\..\..\common\hashmap.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\hashmap.h" - > - </File> - <File - RelativePath="..\..\..\..\common\memorypool.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\memorypool.h" - > - </File> - <File - RelativePath="..\..\..\..\common\scummsys.h" - > - </File> - <File - RelativePath="..\..\..\..\common\str.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\str.h" - > - </File> - <File - RelativePath="..\..\..\..\common\util.h" - > - </File> - </Filter> - <File - RelativePath="..\..\create_lure_dat.cpp" - > - </File> - <File - RelativePath="..\..\create_lure_dat.h" - > - </File> - <File - RelativePath="..\..\process_actions.cpp" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_lure/dists/msvc8_to_msvc9.bat b/devtools/create_lure/dists/msvc8_to_msvc9.bat deleted file mode 100644 index 54820b34d0..0000000000 --- a/devtools/create_lure/dists/msvc8_to_msvc9.bat +++ /dev/null @@ -1,32 +0,0 @@ -@echo off -rem This batch file is used to convert MSVC8 (Visual Studio 2005) project files to MSVC9 (Visual Studio 2008) ones -rem You need the Windows version of GNU rpl -rem Get it here: -rem http://gnuwin32.sourceforge.net/packages/rpl.htm -rem Place rpl.exe from the bin folder inside the archive in the folder where -rem this batch file resides - -if not exist rpl.exe goto no_rpl - -echo Creating MSVC9 project files from the MSVC8 ones -copy /y msvc8\*.vcproj msvc9\ -copy /y msvc8\*.sln msvc9\ -rpl -e -q "Version=\"8.00\"" "Version=\"9.00\"" msvc9\*.vcproj -rpl -e -q "Version=\"8,00\"" "Version=\"9,00\"" msvc9\*.vcproj -rpl -e -q "Keyword=\"Win32Proj\"" "Keyword=\"Win32Proj\"\n\tTargetFrameworkVersion=\"131072\"" msvc9\*.vcproj -rpl -e -q "EntryPointSymbol=\"WinMainCRTStartup\"" "EntryPointSymbol=\"WinMainCRTStartup\"\n\t\t\t\tRandomizedBaseAddress=\"1\"\n\t\t\t\tDataExecutionPrevention=\"0\"" msvc9\*.vcproj -rpl -e -q "Format Version 9.00" "Format Version 10.00" msvc9\*.sln -rpl -e -q "Format Version 9,00" "Format Version 10,00" msvc9\*.sln -rpl -e -q "# Visual C++ Express 2005" "# Visual C++ Express 2008" msvc9\*.sln -rpl -e -q "# Visual Studio 2005" "# Visual Studio 2008" msvc9\*.sln -goto the_end - -:no_rpl -echo You need the Windows version of GNU rpl -echo Get it here: -echo http://gnuwin32.sourceforge.net/packages/rpl.htm -echo Place rpl.exe from the bin folder inside the archive in the folder where -echo this batch file resides - -:the_end -pause diff --git a/devtools/create_lure/dists/msvc9/create_lure.sln b/devtools/create_lure/dists/msvc9/create_lure.sln deleted file mode 100644 index 4f55924eea..0000000000 --- a/devtools/create_lure/dists/msvc9/create_lure.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_lure", "create_lure.vcproj", "{63E18A70-17D2-11DE-8C30-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {63E18A70-17D2-11DE-8C30-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_lure/dists/msvc9/create_lure.vcproj b/devtools/create_lure/dists/msvc9/create_lure.vcproj deleted file mode 100644 index a611db31fa..0000000000 --- a/devtools/create_lure/dists/msvc9/create_lure.vcproj +++ /dev/null @@ -1,223 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9,00" - Name="create_lure" - ProjectGUID="{63E18A70-17D2-11DE-8C30-0800200C9A66}" - RootNamespace="create_lure" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - AdditionalIncludeDirectories="../../../../" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_lure.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_lure.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_lure.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="common" - > - <File - RelativePath="..\..\..\..\common\hashmap.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\hashmap.h" - > - </File> - <File - RelativePath="..\..\..\..\common\memorypool.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\memorypool.h" - > - </File> - <File - RelativePath="..\..\..\..\common\scummsys.h" - > - </File> - <File - RelativePath="..\..\..\..\common\str.cpp" - > - </File> - <File - RelativePath="..\..\..\..\common\str.h" - > - </File> - <File - RelativePath="..\..\..\..\common\util.h" - > - </File> - </Filter> - <File - RelativePath="..\..\create_lure_dat.cpp" - > - </File> - <File - RelativePath="..\..\create_lure_dat.h" - > - </File> - <File - RelativePath="..\..\process_actions.cpp" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_lure/dists/msvc9_to_msvc8.bat b/devtools/create_lure/dists/msvc9_to_msvc8.bat deleted file mode 100644 index c87a524f77..0000000000 --- a/devtools/create_lure/dists/msvc9_to_msvc8.bat +++ /dev/null @@ -1,33 +0,0 @@ -@echo off -rem This batch file is used to convert MSVC9 (Visual Studio 2008) project files to MSVC8 (Visual Studio 2005) ones -rem You need the Windows version of GNU rpl -rem Get it here: -rem http://gnuwin32.sourceforge.net/packages/rpl.htm -rem Place rpl.exe from the bin folder inside the archive in the folder where -rem this batch file resides - -if not exist rpl.exe goto no_rpl - -echo Creating MSVC8 project files from the MSVC9 ones -copy /y msvc9\*.vcproj msvc8\ -copy /y msvc9\*.sln msvc8\ -rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj -rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj -rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj -rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\*.vcproj -rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\*.vcproj -rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\*.sln -rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\*.sln -rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\*.sln -rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\*.sln -goto the_end - -:no_rpl -echo You need the Windows version of GNU rpl -echo Get it here: -echo http://gnuwin32.sourceforge.net/packages/rpl.htm -echo Place rpl.exe from the bin folder inside the archive in the folder where -echo this batch file resides - -:the_end -pause diff --git a/devtools/create_mads/Makefile b/devtools/create_mads/Makefile deleted file mode 100644 index c2776f5d17..0000000000 --- a/devtools/create_mads/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ - -all: - g++ -I../.. main.cpp parser.cpp -o create_mads diff --git a/devtools/create_mads/dists/msvc9/create_mads.sln b/devtools/create_mads/dists/msvc9/create_mads.sln deleted file mode 100644 index 5ddd18cffe..0000000000 --- a/devtools/create_mads/dists/msvc9/create_mads.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_mads", "create_mads.vcproj", "{0332F6FD-D511-4AF6-ABCC-24A85F1489A4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0332F6FD-D511-4AF6-ABCC-24A85F1489A4}.Debug|Win32.ActiveCfg = Debug|Win32 - {0332F6FD-D511-4AF6-ABCC-24A85F1489A4}.Debug|Win32.Build.0 = Debug|Win32 - {0332F6FD-D511-4AF6-ABCC-24A85F1489A4}.Release|Win32.ActiveCfg = Release|Win32 - {0332F6FD-D511-4AF6-ABCC-24A85F1489A4}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_mads/dists/msvc9/create_mads.vcproj b/devtools/create_mads/dists/msvc9/create_mads.vcproj deleted file mode 100644 index 1f33faa418..0000000000 --- a/devtools/create_mads/dists/msvc9/create_mads.vcproj +++ /dev/null @@ -1,187 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="create_mads" - ProjectGUID="{0332F6FD-D511-4AF6-ABCC-24A85F1489A4}" - RootNamespace="create_mads" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - AdditionalIncludeDirectories="../../../../" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_mads.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_mads.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_mads.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\main.cpp" - > - </File> - <File - RelativePath="..\..\parser.cpp" - > - </File> - <File - RelativePath="..\..\parser.h" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_mads/main.cpp b/devtools/create_mads/main.cpp index aec9e45b8b..b4de34d832 100644 --- a/devtools/create_mads/main.cpp +++ b/devtools/create_mads/main.cpp @@ -124,4 +124,4 @@ int main(int argc, char *argv[]) { } return 0; -}
\ No newline at end of file +} diff --git a/devtools/create_mads/scripts/rex_nebular.txt b/devtools/create_mads/scripts/rex_nebular.txt index f177720398..f33a574813 100644 --- a/devtools/create_mads/scripts/rex_nebular.txt +++ b/devtools/create_mads/scripts/rex_nebular.txt @@ -2239,5 +2239,3 @@ sub scene101_actions @2f6ba: RET end - - diff --git a/devtools/create_project/codeblocks.cpp b/devtools/create_project/codeblocks.cpp index e73dc11089..3458ca5a19 100644 --- a/devtools/create_project/codeblocks.cpp +++ b/devtools/create_project/codeblocks.cpp @@ -32,20 +32,20 @@ CodeBlocksProvider::CodeBlocksProvider(StringList &global_warnings, std::map<std } void CodeBlocksProvider::createWorkspace(const BuildSetup &setup) { - std::ofstream workspace((setup.outputDir + '/' + PROJECT_NAME + ".workspace").c_str()); + std::ofstream workspace((setup.outputDir + '/' + setup.projectName + ".workspace").c_str()); if (!workspace) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_NAME + ".workspace\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectName + ".workspace\" for writing"); workspace << "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?>\n" "<CodeBlocks_workspace_file>\n"; - workspace << "\t<Workspace title=\"" << PROJECT_DESCRIPTION << "\">\n"; + workspace << "\t<Workspace title=\"" << setup.projectDescription << "\">\n"; - writeReferences(workspace); + writeReferences(setup, workspace); // Note we assume that the UUID map only includes UUIDs for enabled engines! for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; workspace << "\t\t<Project filename=\"" << i->first << ".cbp\" />\n"; @@ -88,15 +88,15 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s "\t\t<Option compiler=\"gcc\" />\n" "\t\t<Build>\n"; - if (name == PROJECT_NAME) { + if (name == setup.projectName) { std::string libraries; for (StringList::const_iterator i = setup.libraries.begin(); i != setup.libraries.end(); ++i) libraries += processLibraryName(*i) + ".a;"; project << "\t\t\t<Target title=\"default\">\n" - "\t\t\t\t<Option output=\"" << PROJECT_NAME << "\\" << PROJECT_NAME << "\" prefix_auto=\"1\" extension_auto=\"1\" />\n" - "\t\t\t\t<Option object_output=\"" << PROJECT_NAME << "\" />\n" + "\t\t\t\t<Option output=\"" << setup.projectName << "\\" << setup.projectName << "\" prefix_auto=\"1\" extension_auto=\"1\" />\n" + "\t\t\t\t<Option object_output=\"" << setup.projectName << "\" />\n" "\t\t\t\t<Option external_deps=\"" << libraries /* + list of engines engines\name\name.a */ << "\" />\n" "\t\t\t\t<Option type=\"1\" />\n" "\t\t\t\t<Option compiler=\"gcc\" />\n" @@ -125,10 +125,10 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s project << "\t\t\t\t\t<Add library=\"" << processLibraryName(*i) << "\" />\n"; for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; - project << "\t\t\t\t\t<Add library=\"" << PROJECT_NAME << "\\engines\\" << i->first << "\\lib" << i->first << ".a\" />\n"; + project << "\t\t\t\t\t<Add library=\"" << setup.projectName << "\\engines\\" << i->first << "\\lib" << i->first << ".a\" />\n"; } project << "\t\t\t\t\t<Add directory=\"$(" << LIBS_DEFINE << ")lib\\mingw\" />\n" @@ -139,7 +139,7 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s // Resource compiler project << "\t\t\t\t<ResourceCompiler>\n" "\t\t\t\t\t<Add directory=\"..\\..\\dists\" />\n" - "\t\t\t\t\t<Add directory=\"..\\..\\..\\" << PROJECT_NAME << "\" />\n" + "\t\t\t\t\t<Add directory=\"..\\..\\..\\" << setup.projectName << "\" />\n" "\t\t\t\t</ResourceCompiler>\n" "\t\t\t</Target>\n" "\t\t</Build>\n"; @@ -148,9 +148,9 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s } else { project << "\t\t\t<Target title=\"default\">\n" - "\t\t\t\t<Option output=\"" << PROJECT_NAME << "\\engines\\" << name << "\\lib" << name << "\" prefix_auto=\"1\" extension_auto=\"1\" />\n" + "\t\t\t\t<Option output=\"" << setup.projectName << "\\engines\\" << name << "\\lib" << name << "\" prefix_auto=\"1\" extension_auto=\"1\" />\n" "\t\t\t\t<Option working_dir=\"\" />\n" - "\t\t\t\t<Option object_output=\"" << PROJECT_NAME << "\" />\n" + "\t\t\t\t<Option object_output=\"" << setup.projectName << "\" />\n" "\t\t\t\t<Option type=\"2\" />\n" "\t\t\t\t<Option compiler=\"gcc\" />\n" "\t\t\t\t<Option createDefFile=\"1\" />\n" @@ -161,7 +161,7 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s project << "\t\t\t\t\t<Add option=\"-g\" />\n" "\t\t\t\t\t<Add directory=\"..\\..\\engines\" />\n" - "\t\t\t\t\t<Add directory=\"..\\..\\..\\" << PROJECT_NAME << "\" />\n"; + "\t\t\t\t\t<Add directory=\"..\\..\\..\\" << setup.projectName << "\" />\n"; // Sword2.5 engine needs theora and vorbis includes if (name == "sword25") @@ -240,8 +240,8 @@ void CodeBlocksProvider::writeFileListToProject(const FileNode &dir, std::ofstre } } -void CodeBlocksProvider::writeReferences(std::ofstream &output) { - output << "\t\t<Project filename=\"" << PROJECT_NAME << ".cbp\" active=\"1\">\n"; +void CodeBlocksProvider::writeReferences(const BuildSetup &setup, std::ofstream &output) { + output << "\t\t<Project filename=\"" << setup.projectName << ".cbp\" active=\"1\">\n"; for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { if (i->first == " << PROJECT_NAME << ") diff --git a/devtools/create_project/codeblocks.h b/devtools/create_project/codeblocks.h index 8d35eb068e..f65604d925 100644 --- a/devtools/create_project/codeblocks.h +++ b/devtools/create_project/codeblocks.h @@ -43,7 +43,7 @@ protected: void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation, const StringList &duplicate, const std::string &objPrefix, const std::string &filePrefix); - void writeReferences(std::ofstream &output); + void writeReferences(const BuildSetup &setup, std::ofstream &output); const char *getProjectExtension(); diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 35d08561bf..084641608a 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -20,6 +20,8 @@ * */ +//#define ENABLE_XCODE + // HACK to allow building with the SDL backend on MinGW // see bug #1800764 "TOOLS: MinGW tools building broken" #ifdef main @@ -177,6 +179,7 @@ int main(int argc, char *argv[]) { projectType = kProjectMSVC; +#ifdef ENABLE_XCODE } else if (!std::strcmp(argv[i], "--xcode")) { if (projectType != kProjectNone) { std::cerr << "ERROR: You cannot pass more than one project type!\n"; @@ -184,6 +187,7 @@ int main(int argc, char *argv[]) { } projectType = kProjectXcode; +#endif } else if (!std::strcmp(argv[i], "--msvc-version")) { if (i + 1 >= argc) { @@ -255,6 +259,8 @@ int main(int argc, char *argv[]) { } else if (!std::strcmp(argv[i], "--installer")) { setup.runBuildEvents = true; setup.createInstaller = true; + } else if (!std::strcmp(argv[i], "--tools")) { + setup.devTools = true; } else { std::cerr << "ERROR: Unknown parameter \"" << argv[i] << "\"\n"; return -1; @@ -323,6 +329,11 @@ int main(int argc, char *argv[]) { return -1; case kProjectCodeBlocks: + if (setup.devTools) { + std::cerr << "ERROR: Building tools is not supported for the CodeBlocks project type!\n"; + return -1; + } + //////////////////////////////////////////////////////////////////////////// // Code::Blocks is using GCC behind the scenes, so we need to pass a list // of options to enable or disable warnings @@ -480,6 +491,11 @@ int main(int argc, char *argv[]) { break; case kProjectXcode: + if (setup.devTools) { + std::cerr << "ERROR: Building tools is not supported for the XCode project type!\n"; + return -1; + } + //////////////////////////////////////////////////////////////////////////// // Xcode is also using GCC behind the scenes. See Code::Blocks comment // for info on all warnings @@ -506,6 +522,15 @@ int main(int argc, char *argv[]) { break; } + // Setup project name and description + setup.projectName = PROJECT_NAME; + setup.projectDescription = PROJECT_DESCRIPTION; + + if (setup.devTools) { + setup.projectName += "-tools"; + setup.projectDescription += "Tools"; + } + provider->createProject(setup); delete provider; @@ -560,6 +585,9 @@ void displayHelp(const char *exe) { " (default: false)\n" " --installer Create NSIS installer after the build (implies --build-events)\n" " (default: false)\n" + " --tools Create project files for the devtools\n" + " (ignores --build-events and --installer, as well as engine settings)\n" + " (default: false)\n" "\n" "Engines settings:\n" " --list-engines list all available engines and their default state\n" @@ -773,6 +801,7 @@ const Feature s_features[] = { { "theora", "USE_THEORADEC", "libtheora_static", true, "Theora decoding support" }, // Feature flags + { "bink", "USE_BINK", "", true, "Bink video support" }, { "scalers", "USE_SCALERS", "", true, "Scalers" }, { "hqscalers", "USE_HQ_SCALERS", "", true, "HQ scalers" }, { "16bit", "USE_RGB_COLOR", "", true, "16bit color support" }, @@ -785,6 +814,18 @@ const Feature s_features[] = { { "langdetect", "USE_DETECTLANG", "", true, "System language detection support" } // This feature actually depends on "translation", there // is just no current way of properly detecting this... }; + +const Tool s_tools[] = { + { "create_drascula", true}, + { "create_hugo", true}, + { "create_kyradat", true}, + { "create_lure", true}, + { "create_mads", true}, + { "create_teenagent", true}, + { "create_toon", true}, + { "create_translations", true}, + { "qtable", true} +}; } // End of anonymous namespace FeatureList getAllFeatures() { @@ -831,6 +872,16 @@ bool setFeatureBuildState(const std::string &name, FeatureList &features, bool e } } +ToolList getAllTools() { + const size_t toolCount = sizeof(s_tools) / sizeof(s_tools[0]); + + ToolList tools; + for (size_t i = 0; i < toolCount; ++i) + tools.push_back(s_tools[i]); + + return tools; +} + namespace CreateProjectTool { ////////////////////////////////////////////////////////////////////////// @@ -1056,63 +1107,90 @@ ProjectProvider::ProjectProvider(StringList &global_warnings, std::map<std::stri } void ProjectProvider::createProject(const BuildSetup &setup) { - _uuidMap = createUUIDMap(setup); + if (setup.devTools) { + _uuidMap = createToolsUUIDMap(); - // We also need to add the UUID of the main project file. - const std::string svmUUID = _uuidMap[PROJECT_NAME] = createUUID(); + // We also need to add the UUID of the main project file. + const std::string svmUUID = _uuidMap[setup.projectName] = createUUID(); - // Create Solution/Workspace file - createWorkspace(setup); + createWorkspace(setup); - StringList in, ex; + StringList in, ex; - // Create engine project files - for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) - continue; + // Create tools project files + for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { + if (i->first == setup.projectName) + continue; - in.clear(); ex.clear(); - const std::string moduleDir = setup.srcDir + "/engines/" + i->first; + in.clear(); ex.clear(); + const std::string moduleDir = setup.srcDir + "/devtools/" + i->first; - createModuleList(moduleDir, setup.defines, in, ex); - createProjectFile(i->first, i->second, setup, moduleDir, in, ex); - } + createModuleList(moduleDir, setup.defines, in, ex); + createProjectFile(i->first, i->second, setup, moduleDir, in, ex); + } + + // Create other misc. build files + createOtherBuildFiles(setup); - // Last but not least create the main project file. - in.clear(); ex.clear(); - - // File list for the Project file - createModuleList(setup.srcDir + "/backends", setup.defines, in, ex); - createModuleList(setup.srcDir + "/backends/platform/sdl", setup.defines, in, ex); - createModuleList(setup.srcDir + "/base", setup.defines, in, ex); - createModuleList(setup.srcDir + "/common", setup.defines, in, ex); - createModuleList(setup.srcDir + "/engines", setup.defines, in, ex); - createModuleList(setup.srcDir + "/graphics", setup.defines, in, ex); - createModuleList(setup.srcDir + "/gui", setup.defines, in, ex); - createModuleList(setup.srcDir + "/audio", setup.defines, in, ex); - createModuleList(setup.srcDir + "/audio/softsynth/mt32", setup.defines, in, ex); + } else { + _uuidMap = createUUIDMap(setup); + + // We also need to add the UUID of the main project file. + const std::string svmUUID = _uuidMap[setup.projectName] = createUUID(); + + // Create Solution/Workspace file + createWorkspace(setup); + + StringList in, ex; + + // Create engine project files + for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { + if (i->first == setup.projectName) + continue; + + in.clear(); ex.clear(); + const std::string moduleDir = setup.srcDir + "/engines/" + i->first; + + createModuleList(moduleDir, setup.defines, in, ex); + createProjectFile(i->first, i->second, setup, moduleDir, in, ex); + } + + // Last but not least create the main project file. + in.clear(); ex.clear(); + + // File list for the Project file + createModuleList(setup.srcDir + "/backends", setup.defines, in, ex); + createModuleList(setup.srcDir + "/backends/platform/sdl", setup.defines, in, ex); + createModuleList(setup.srcDir + "/base", setup.defines, in, ex); + createModuleList(setup.srcDir + "/common", setup.defines, in, ex); + createModuleList(setup.srcDir + "/engines", setup.defines, in, ex); + createModuleList(setup.srcDir + "/graphics", setup.defines, in, ex); + createModuleList(setup.srcDir + "/gui", setup.defines, in, ex); + createModuleList(setup.srcDir + "/audio", setup.defines, in, ex); + createModuleList(setup.srcDir + "/audio/softsynth/mt32", setup.defines, in, ex); #if HAS_VIDEO_FOLDER - createModuleList(setup.srcDir + "/video", setup.defines, in, ex); + createModuleList(setup.srcDir + "/video", setup.defines, in, ex); #endif - // Resource files - in.push_back(setup.srcDir + "/icons/" + PROJECT_NAME + ".ico"); - in.push_back(setup.srcDir + "/dists/" + PROJECT_NAME + ".rc"); + // Resource files + in.push_back(setup.srcDir + "/icons/" + setup.projectName + ".ico"); + in.push_back(setup.srcDir + "/dists/" + setup.projectName + ".rc"); - // Various text files - in.push_back(setup.srcDir + "/AUTHORS"); - in.push_back(setup.srcDir + "/COPYING"); - in.push_back(setup.srcDir + "/COPYING.LGPL"); - in.push_back(setup.srcDir + "/COPYRIGHT"); - in.push_back(setup.srcDir + "/NEWS"); - in.push_back(setup.srcDir + "/README"); - in.push_back(setup.srcDir + "/TODO"); + // Various text files + in.push_back(setup.srcDir + "/AUTHORS"); + in.push_back(setup.srcDir + "/COPYING"); + in.push_back(setup.srcDir + "/COPYING.LGPL"); + in.push_back(setup.srcDir + "/COPYRIGHT"); + in.push_back(setup.srcDir + "/NEWS"); + in.push_back(setup.srcDir + "/README"); + in.push_back(setup.srcDir + "/TODO"); - // Create the main project file. - createProjectFile(PROJECT_NAME, svmUUID, setup, setup.srcDir, in, ex); + // Create the main project file. + createProjectFile(setup.projectName, svmUUID, setup, setup.srcDir, in, ex); - // Create other misc. build files - createOtherBuildFiles(setup); + // Create other misc. build files + createOtherBuildFiles(setup); + } } ProjectProvider::UUIDMap ProjectProvider::createUUIDMap(const BuildSetup &setup) const { @@ -1128,6 +1206,20 @@ ProjectProvider::UUIDMap ProjectProvider::createUUIDMap(const BuildSetup &setup) return result; } +ProjectProvider::UUIDMap ProjectProvider::createToolsUUIDMap() const { + UUIDMap result; + + ToolList tools = getAllTools(); + for (ToolList::const_iterator i = tools.begin(); i != tools.end(); ++i) { + if (!i->enable) + continue; + + result[i->name] = createUUID(); + } + + return result; +} + std::string ProjectProvider::createUUID() const { #ifdef USE_WIN32_API UUID uuid; diff --git a/devtools/create_project/create_project.h b/devtools/create_project/create_project.h index 9b9e4cfd1b..55e04be4ec 100644 --- a/devtools/create_project/create_project.h +++ b/devtools/create_project/create_project.h @@ -137,6 +137,12 @@ struct Feature { }; typedef std::list<Feature> FeatureList; +struct Tool { + const char *name; ///< Name of the tools + bool enable; ///< Whether the tools is enabled or not +}; +typedef std::list<Tool> ToolList; + /** * Creates a list of all features available for MSVC. * @@ -179,6 +185,9 @@ bool setFeatureBuildState(const std::string &name, FeatureList &features, bool e * It also contains the path to the project source root. */ struct BuildSetup { + std::string projectName; ///< Project name + std::string projectDescription; ///< Project description + std::string srcDir; ///< Path to the sources. std::string filePrefix; ///< Prefix for the relative path arguments in the project files. std::string outputDir; ///< Path where to put the MSVC project files. @@ -189,10 +198,12 @@ struct BuildSetup { StringList defines; ///< List of all defines for the build. StringList libraries; ///< List of all external libraries required for the build. + bool devTools; ///< Generate project files for the tools bool runBuildEvents; ///< Run build events as part of the build (generate revision number and copy engine/theme data & needed files to the build folder bool createInstaller; ///< Create NSIS installer after the build BuildSetup() { + devTools = false; runBuildEvents = false; createInstaller = false; } @@ -360,7 +371,7 @@ protected: * * @param output File stream to write to. */ - virtual void writeReferences(std::ofstream &) {}; + virtual void writeReferences(const BuildSetup &, std::ofstream &) {}; /** * Get the file extension for project files @@ -402,6 +413,14 @@ protected: UUIDMap createUUIDMap(const BuildSetup &setup) const; /** + * Creates an UUID for every enabled tool of the + * passed build description. + * + * @return A map, which includes UUIDs for all enabled engines. + */ + UUIDMap createToolsUUIDMap() const; + + /** * Creates an UUID and returns it in string representation. * * @return A new UUID as string. diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp index bdbc0a4074..f8768ecc73 100644 --- a/devtools/create_project/msbuild.cpp +++ b/devtools/create_project/msbuild.cpp @@ -58,9 +58,9 @@ inline void outputConfiguration(std::ostream &project, const std::string &config "\t\t</ProjectConfiguration>\n"; } -inline void outputConfigurationType(std::ostream &project, const std::string &name, const std::string &config) { +inline void outputConfigurationType(const BuildSetup &setup, std::ostream &project, const std::string &name, const std::string &config) { project << "\t<PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='" << config << "'\" Label=\"Configuration\">\n" - "\t\t<ConfigurationType>" << (name == PROJECT_NAME ? "Application" : "StaticLibrary") << "</ConfigurationType>\n" + "\t\t<ConfigurationType>" << ((name == setup.projectName || setup.devTools) ? "Application" : "StaticLibrary") << "</ConfigurationType>\n" "\t</PropertyGroup>\n"; } @@ -103,23 +103,23 @@ void MSBuildProvider::createProjectFile(const std::string &name, const std::stri // Shared configuration project << "\t<Import Project=\"$(VCTargetsPath)\\Microsoft.Cpp.Default.props\" />\n"; - outputConfigurationType(project, name, "Release|Win32"); - outputConfigurationType(project, name, "Analysis|Win32"); - outputConfigurationType(project, name, "Debug|Win32"); - outputConfigurationType(project, name, "Release|x64"); - outputConfigurationType(project, name, "Analysis|x64"); - outputConfigurationType(project, name, "Debug|x64"); + outputConfigurationType(setup, project, name, "Release|Win32"); + outputConfigurationType(setup, project, name, "Analysis|Win32"); + outputConfigurationType(setup, project, name, "Debug|Win32"); + outputConfigurationType(setup, project, name, "Release|x64"); + outputConfigurationType(setup, project, name, "Analysis|x64"); + outputConfigurationType(setup, project, name, "Debug|x64"); project << "\t<Import Project=\"$(VCTargetsPath)\\Microsoft.Cpp.props\" />\n" "\t<ImportGroup Label=\"ExtensionSettings\">\n" "\t</ImportGroup>\n"; - outputProperties(project, "Release|Win32", PROJECT_DESCRIPTION "_Release.props"); - outputProperties(project, "Analysis|Win32", PROJECT_DESCRIPTION "_Analysis.props"); - outputProperties(project, "Debug|Win32", PROJECT_DESCRIPTION "_Debug.props"); - outputProperties(project, "Release|x64", PROJECT_DESCRIPTION "_Release64.props"); - outputProperties(project, "Analysis|x64", PROJECT_DESCRIPTION "_Analysis64.props"); - outputProperties(project, "Debug|x64", PROJECT_DESCRIPTION "_Debug64.props"); + outputProperties(project, "Release|Win32", setup.projectDescription + "_Release.props"); + outputProperties(project, "Analysis|Win32", setup.projectDescription + "_Analysis.props"); + outputProperties(project, "Debug|Win32", setup.projectDescription + "_Debug.props"); + outputProperties(project, "Release|x64", setup.projectDescription + "_Release64.props"); + outputProperties(project, "Analysis|x64", setup.projectDescription + "_Analysis64.props"); + outputProperties(project, "Debug|x64", setup.projectDescription + "_Debug64.props"); project << "\t<PropertyGroup Label=\"UserMacros\" />\n"; @@ -145,8 +145,8 @@ void MSBuildProvider::createProjectFile(const std::string &name, const std::stri addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix); // Output references for the main project - if (name == PROJECT_NAME) - writeReferences(project); + if (name == setup.projectName) + writeReferences(setup, project); project << "\t<Import Project=\"$(VCTargetsPath)\\Microsoft.Cpp.targets\" />\n" "\t<ImportGroup Label=\"ExtensionTargets\">\n" @@ -213,11 +213,11 @@ void MSBuildProvider::outputFilter(std::ostream &filters, const FileEntries &fil } } -void MSBuildProvider::writeReferences(std::ofstream &output) { +void MSBuildProvider::writeReferences(const BuildSetup &setup, std::ofstream &output) { output << "\t<ItemGroup>\n"; for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; output << "\t<ProjectReference Include=\"" << i->first << ".vcxproj\">\n" @@ -235,7 +235,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s std::map<std::string, StringList>::iterator warningsIterator = _projectWarnings.find(name); // Nothing to add here, move along! - if (name != PROJECT_NAME && name != "sword25" && name != "tinsel" && name != "grim" && warningsIterator == _projectWarnings.end()) + if (!setup.devTools && name != setup.projectName && name != "sword25" && name != "tinsel" && name != "grim" && warningsIterator == _projectWarnings.end()) return; std::string warnings = ""; @@ -247,7 +247,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s "\t\t<ClCompile>\n"; // Compile configuration - if (name == PROJECT_NAME || name == "sword25" || name == "grim") { + if (setup.devTools || name == setup.projectName || name == "sword25" || name == "grim") { project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n"; } else { if (name == "tinsel" && !isRelease) @@ -260,18 +260,18 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s project << "\t\t</ClCompile>\n"; // Link configuration for main project - if (name == PROJECT_NAME) { + if (name == setup.projectName || setup.devTools) { std::string libraries; for (StringList::const_iterator i = setup.libraries.begin(); i != setup.libraries.end(); ++i) libraries += *i + ".lib;"; project << "\t\t<Link>\n" - "\t\t\t<OutputFile>$(OutDir)" << PROJECT_NAME << ".exe</OutputFile>\n" + "\t\t\t<OutputFile>$(OutDir)" << (setup.devTools ? name : setup.projectName) << ".exe</OutputFile>\n" "\t\t\t<AdditionalDependencies>" << libraries << "%(AdditionalDependencies)</AdditionalDependencies>\n" "\t\t</Link>\n"; - if (setup.runBuildEvents) { + if (!setup.devTools && setup.runBuildEvents) { project << "\t\t<PreBuildEvent>\n" "\t\t\t<Message>Generate revision</Message>\n" "\t\t\t<Command>" << getPreBuildEvent() << "</Command>\n" @@ -288,7 +288,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s project << "\t</ItemDefinitionGroup>\n"; } -void MSBuildProvider::outputGlobalPropFile(std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) { +void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) { std::string warnings; for (StringList::const_iterator i = _globalWarnings.begin(); i != _globalWarnings.end(); ++i) @@ -306,7 +306,7 @@ void MSBuildProvider::outputGlobalPropFile(std::ofstream &properties, int bits, "<Project DefaultTargets=\"Build\" ToolsVersion=\"4.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n" "\t<PropertyGroup>\n" "\t\t<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>\n" - "\t\t<_PropertySheetDisplayName>" << PROJECT_DESCRIPTION << "_Global</_PropertySheetDisplayName>\n" + "\t\t<_PropertySheetDisplayName>" << setup.projectDescription << "_Global</_PropertySheetDisplayName>\n" "\t\t<ExecutablePath>$(" << LIBS_DEFINE << ")\\bin;$(ExecutablePath)</ExecutablePath>\n" "\t\t<LibraryPath>$(" << LIBS_DEFINE << ")\\lib\\" << (bits == 32 ? "x86" : "x64") << ";$(LibraryPath)</LibraryPath>\n" "\t\t<IncludePath>$(" << LIBS_DEFINE << ")\\include;$(IncludePath)</IncludePath>\n" @@ -319,7 +319,7 @@ void MSBuildProvider::outputGlobalPropFile(std::ofstream &properties, int bits, "\t\t\t<DisableSpecificWarnings>" << warnings << ";%(DisableSpecificWarnings)</DisableSpecificWarnings>\n" "\t\t\t<AdditionalIncludeDirectories>$(" << LIBS_DEFINE << ")\\include;" << prefix << ";" << prefix << "\\engines;$(TargetDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\n" "\t\t\t<PreprocessorDefinitions>" << definesList << "%(PreprocessorDefinitions)</PreprocessorDefinitions>\n" - "\t\t\t<ExceptionHandling></ExceptionHandling>\n"; + "\t\t\t<ExceptionHandling>" << (setup.devTools ? "Sync" : "") << "</ExceptionHandling>\n"; #if NEEDS_RTTI properties << "\t\t\t<RuntimeTypeInfo>true</RuntimeTypeInfo>\n"; @@ -333,9 +333,12 @@ void MSBuildProvider::outputGlobalPropFile(std::ofstream &properties, int bits, "\t\t</ClCompile>\n" "\t\t<Link>\n" "\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n" - "\t\t\t<SubSystem>Console</SubSystem>\n" - "\t\t\t<EntryPointSymbol>WinMainCRTStartup</EntryPointSymbol>\n" - "\t\t</Link>\n" + "\t\t\t<SubSystem>Console</SubSystem>\n"; + + if (!setup.devTools) + properties << "\t\t\t<EntryPointSymbol>WinMainCRTStartup</EntryPointSymbol>\n"; + + properties << "\t\t</Link>\n" "\t\t<ResourceCompile>\n" "\t\t\t<AdditionalIncludeDirectories>" << prefix << ";%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\n" "\t\t</ResourceCompile>\n" @@ -349,18 +352,18 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, b const std::string outputType = (enableAnalysis ? "Analysis" : (isRelease ? "Release" : "Debug")); const std::string outputBitness = (isWin32 ? "32" : "64"); - std::ofstream properties((setup.outputDir + '/' + PROJECT_DESCRIPTION "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension()).c_str()); + std::ofstream properties((setup.outputDir + '/' + setup.projectDescription + "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension()).c_str()); if (!properties) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_DESCRIPTION "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension() + "\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectDescription + "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension() + "\" for writing"); properties << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" "<Project DefaultTargets=\"Build\" ToolsVersion=\"4.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n" "\t<ImportGroup Label=\"PropertySheets\">\n" - "\t\t<Import Project=\"" << PROJECT_DESCRIPTION << "_Global" << (isWin32 ? "" : "64") << ".props\" />\n" + "\t\t<Import Project=\"" << setup.projectDescription << "_Global" << (isWin32 ? "" : "64") << ".props\" />\n" "\t</ImportGroup>\n" "\t<PropertyGroup>\n" "\t\t<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>\n" - "\t\t<_PropertySheetDisplayName>" << PROJECT_DESCRIPTION << "_" << outputType << outputBitness << "</_PropertySheetDisplayName>\n" + "\t\t<_PropertySheetDisplayName>" << setup.projectDescription << "_" << outputType << outputBitness << "</_PropertySheetDisplayName>\n" "\t\t<LinkIncremental>" << (isRelease ? "false" : "true") << "</LinkIncremental>\n" "\t</PropertyGroup>\n" "\t<ItemDefinitionGroup>\n" diff --git a/devtools/create_project/msbuild.h b/devtools/create_project/msbuild.h index 681c893d95..fa6667741a 100644 --- a/devtools/create_project/msbuild.h +++ b/devtools/create_project/msbuild.h @@ -40,9 +40,9 @@ protected: void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation, const StringList &duplicate, const std::string &objPrefix, const std::string &filePrefix); - void writeReferences(std::ofstream &output); + void writeReferences(const BuildSetup &setup, std::ofstream &output); - void outputGlobalPropFile(std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents); + void outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents); void createBuildProp(const BuildSetup &setup, bool isRelease, bool isWin32, bool enableAnalysis); diff --git a/devtools/create_project/msvc.cpp b/devtools/create_project/msvc.cpp index aa347b1081..96eaf643d1 100644 --- a/devtools/create_project/msvc.cpp +++ b/devtools/create_project/msvc.cpp @@ -36,33 +36,36 @@ MSVCProvider::MSVCProvider(StringList &global_warnings, std::map<std::string, St } void MSVCProvider::createWorkspace(const BuildSetup &setup) { - UUIDMap::const_iterator svmUUID = _uuidMap.find(PROJECT_NAME); + UUIDMap::const_iterator svmUUID = _uuidMap.find(setup.projectName); if (svmUUID == _uuidMap.end()) - error("No UUID for \"" PROJECT_NAME "\" project created"); + error("No UUID for \"" + setup.projectName + "\" project created"); const std::string svmProjectUUID = svmUUID->second; assert(!svmProjectUUID.empty()); std::string solutionUUID = createUUID(); - std::ofstream solution((setup.outputDir + '/' + PROJECT_NAME ".sln").c_str()); + std::ofstream solution((setup.outputDir + '/' + setup.projectName + ".sln").c_str()); if (!solution) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_NAME ".sln\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectName + ".sln\" for writing"); solution << "Microsoft Visual Studio Solution File, Format Version " << _version + 1 << ".00\n"; solution << "# Visual Studio " << getVisualStudioVersion() << "\n"; - solution << "Project(\"{" << solutionUUID << "}\") = \"" << PROJECT_NAME << "\", \"" << PROJECT_NAME << getProjectExtension() << "\", \"{" << svmProjectUUID << "}\"\n"; + // Write main project + if (!setup.devTools) { + solution << "Project(\"{" << solutionUUID << "}\") = \"" << setup.projectName << "\", \"" << setup.projectName << getProjectExtension() << "\", \"{" << svmProjectUUID << "}\"\n"; - // Project dependencies are moved to vcxproj files in Visual Studio 2010 - if (_version < 10) - writeReferences(solution); + // Project dependencies are moved to vcxproj files in Visual Studio 2010 + if (_version < 10) + writeReferences(setup, solution); - solution << "EndProject\n"; + solution << "EndProject\n"; + } // Note we assume that the UUID map only includes UUIDs for enabled engines! for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; solution << "Project(\"{" << solutionUUID << "}\") = \"" << i->first << "\", \"" << i->first << getProjectExtension() << "\", \"{" << i->second << "}\"\n" @@ -117,16 +120,16 @@ void MSVCProvider::createOtherBuildFiles(const BuildSetup &setup) { } void MSVCProvider::createGlobalProp(const BuildSetup &setup) { - std::ofstream properties((setup.outputDir + '/' + PROJECT_DESCRIPTION "_Global" + getPropertiesExtension()).c_str()); + std::ofstream properties((setup.outputDir + '/' + setup.projectDescription + "_Global" + getPropertiesExtension()).c_str()); if (!properties) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_DESCRIPTION "_Global" + getPropertiesExtension() + "\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectDescription + "_Global" + getPropertiesExtension() + "\" for writing"); - outputGlobalPropFile(properties, 32, setup.defines, convertPathToWin(setup.filePrefix), setup.runBuildEvents); + outputGlobalPropFile(setup, properties, 32, setup.defines, convertPathToWin(setup.filePrefix), setup.runBuildEvents); properties.close(); - properties.open((setup.outputDir + '/' + PROJECT_DESCRIPTION "_Global64" + getPropertiesExtension()).c_str()); + properties.open((setup.outputDir + '/' + setup.projectDescription + "_Global64" + getPropertiesExtension()).c_str()); if (!properties) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_DESCRIPTION "_Global64" + getPropertiesExtension() + "\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectDescription + "_Global64" + getPropertiesExtension() + "\" for writing"); // HACK: We must disable the "nasm" feature for x64. To achieve that we must duplicate the feature list and // recreate a define list. @@ -140,7 +143,7 @@ void MSVCProvider::createGlobalProp(const BuildSetup &setup) { x64Defines.push_back("WIN32"); x64Defines.push_back("SDL_BACKEND"); - outputGlobalPropFile(properties, 64, x64Defines, convertPathToWin(setup.filePrefix), setup.runBuildEvents); + outputGlobalPropFile(setup, properties, 64, x64Defines, convertPathToWin(setup.filePrefix), setup.runBuildEvents); } std::string MSVCProvider::getPreBuildEvent() const { diff --git a/devtools/create_project/msvc.h b/devtools/create_project/msvc.h index ead4bf949a..0a994667fa 100644 --- a/devtools/create_project/msvc.h +++ b/devtools/create_project/msvc.h @@ -58,7 +58,7 @@ protected: * @param prefix File prefix, used to add additional include paths. * @param runBuildEvents true if generating a revision number, false otherwise */ - virtual void outputGlobalPropFile(std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) = 0; + virtual void outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) = 0; /** * Generates the project properties for debug and release settings. diff --git a/devtools/create_project/msvc10/create_project.vcxproj b/devtools/create_project/msvc10/create_project.vcxproj index 3d7f8fdd3d..40c515f26b 100644 --- a/devtools/create_project/msvc10/create_project.vcxproj +++ b/devtools/create_project/msvc10/create_project.vcxproj @@ -59,11 +59,11 @@ </Link> <PostBuildEvent> <Command>@echo off -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc10\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc9\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc8\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\iphone\</Command> +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc10\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc9\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc8\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\codeblocks\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\iphone\"</Command> </PostBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -84,10 +84,12 @@ xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\iphone\</Command> <TargetMachine>MachineX86</TargetMachine> </Link> <PostBuildEvent> - <Command>xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc10\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc9\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc8\ -xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\</Command> + <Command>@echo off +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc10\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc9\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc8\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\codeblocks\" +xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\iphone\"</Command> </PostBuildEvent> <PreBuildEvent> <Command> @@ -120,4 +122,4 @@ xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\</Command> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/devtools/create_project/msvc10/create_project.vcxproj.filters b/devtools/create_project/msvc10/create_project.vcxproj.filters index 5ecd6c3dde..b4f0b18774 100644 --- a/devtools/create_project/msvc10/create_project.vcxproj.filters +++ b/devtools/create_project/msvc10/create_project.vcxproj.filters @@ -68,4 +68,4 @@ <Filter>scripts</Filter> </None> </ItemGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/devtools/create_project/scripts/installer.vbs b/devtools/create_project/scripts/installer.vbs index d752355acd..19b4eee49b 100644 --- a/devtools/create_project/scripts/installer.vbs +++ b/devtools/create_project/scripts/installer.vbs @@ -72,10 +72,9 @@ Sub CreateInstaller() ' Build command line Dim commandLine : commandLine = """" & nsisPath & "\makensis.exe"" /V2" & _ " /Dtop_srcdir=""" & rootFolder & """" & _ - " /Dbuild_dir=""" & targetFolder & """" & _ - " /Dtext_dir=""" & rootFolder & """" & _ + " /Dstaging_dir=""" & targetFolder & """" & _ " /DARCH=""" & arch & """" & _ - " """ & rootFolder & "\dists\nsis\scummvm.nsi""" + " """ & rootFolder & "\dists\win32\scummvm.nsi""" Dim oExec: Set oExec = WshShell.Exec(commandline) If Err.Number <> 0 Then diff --git a/devtools/create_project/scripts/postbuild.cmd b/devtools/create_project/scripts/postbuild.cmd index a5051d8228..dd52c0217c 100644 --- a/devtools/create_project/scripts/postbuild.cmd +++ b/devtools/create_project/scripts/postbuild.cmd @@ -23,23 +23,7 @@ if "%~5"=="" goto error_installer echo Copying data files
echo.
-REM xcopy /F /Y "%~1/AUTHORS" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/COPYING.GPL" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/COPYING" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/COPYING.LGPL" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/COPYRIGHT" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/NEWS" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/README" %~2 1>NUL 2>&1
-
-REM xcopy /F /Y "%~1/dists/engine-data/*.dat" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/dists/engine-data/*.tbl" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/dists/engine-data/*.cpt" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/gui/themes/*.zip" %~2 1>NUL 2>&1
-REM xcopy /F /Y "%~1/gui/themes/translations.dat" %~2 1>NUL 2>&1
-
-xcopy /F /Y "%~4/lib/%~3/SDL.dll" "%~2" 1>NUL 2>&1
-xcopy /F /Y "%~4/README-SDL" "%~2" 1>NUL 2>&1
-
+xcopy /F /Y "%~4/lib/%~3/SDL.dll" "%~2" 1>NUL 2>&1
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" "%~2" 1>NUL 2>&1
if "%~5"=="0" goto done
diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp index b4c2b46ba4..a0fd239db4 100644 --- a/devtools/create_project/visualstudio.cpp +++ b/devtools/create_project/visualstudio.cpp @@ -83,7 +83,7 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: // Check for project-specific warnings: std::map< std::string, std::list<std::string> >::iterator warningsIterator = _projectWarnings.find(name); - if (name == PROJECT_NAME) { + if (setup.devTools || name == setup.projectName) { std::string libraries; for (StringList::const_iterator i = setup.libraries.begin(); i != setup.libraries.end(); ++i) @@ -115,12 +115,12 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: toolConfig += (name == "grim" ? "DisableLanguageExtensions=\"false\" " : ""); // Win32 - outputConfiguration(project, toolConfig, "Debug", "Win32", ""); - outputConfiguration(project, toolConfig, "Analysis", "Win32", ""); - outputConfiguration(project, toolConfig, "Release", "Win32", ""); - outputConfiguration(project, toolConfig, "Debug", "x64", "64"); - outputConfiguration(project, toolConfig, "Analysis", "x64", "64"); - outputConfiguration(project, toolConfig, "Release", "x64", "64"); + outputConfiguration(setup, project, toolConfig, "Debug", "Win32", ""); + outputConfiguration(setup, project, toolConfig, "Analysis", "Win32", ""); + outputConfiguration(setup, project, toolConfig, "Release", "Win32", ""); + outputConfiguration(setup, project, toolConfig, "Debug", "x64", "64"); + outputConfiguration(setup, project, toolConfig, "Analysis", "x64", "64"); + outputConfiguration(setup, project, toolConfig, "Release", "x64", "64"); } project << "\t</Configurations>\n" @@ -143,23 +143,23 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: } void VisualStudioProvider::outputConfiguration(std::ostream &project, const BuildSetup &setup, const std::string &libraries, const std::string &config, const std::string &platform, const std::string &props, const bool isWin32) { - project << "\t\t<Configuration Name=\"" << config << "|" << platform << "\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\" << PROJECT_DESCRIPTION << "_" << config << props << ".vsprops\">\n" + project << "\t\t<Configuration Name=\"" << config << "|" << platform << "\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\" << setup.projectDescription << "_" << config << props << ".vsprops\">\n" "\t\t\t<Tool\tName=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" - "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/" << PROJECT_NAME << ".exe\"\n" + "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/" << setup.projectName << ".exe\"\n" "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n" "\t\t\t/>\n"; outputBuildEvents(project, setup, isWin32); project << "\t\t</Configuration>\n"; } -void VisualStudioProvider::outputConfiguration(std::ostream &project, const std::string &toolConfig, const std::string &config, const std::string &platform, const std::string &props) { - project << "\t\t<Configuration Name=\"" << config << "|" << platform << "\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\" << PROJECT_DESCRIPTION << "_" << config << props << ".vsprops\">\n" +void VisualStudioProvider::outputConfiguration(const BuildSetup &setup, std::ostream &project, const std::string &toolConfig, const std::string &config, const std::string &platform, const std::string &props) { + project << "\t\t<Configuration Name=\"" << config << "|" << platform << "\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\" << setup.projectDescription << "_" << config << props << ".vsprops\">\n" "\t\t\t<Tool Name=\"VCCLCompilerTool\" "<< toolConfig << "/>\n" "\t\t</Configuration>\n"; } void VisualStudioProvider::outputBuildEvents(std::ostream &project, const BuildSetup &setup, const bool isWin32) { - if (setup.runBuildEvents) { + if (!setup.devTools && setup.runBuildEvents) { project << "\t\t\t<Tool\tName=\"VCPreBuildEventTool\"\n" "\t\t\t\tCommandLine=\"" << getPreBuildEvent() << "\"\n" "\t\t\t/>\n" @@ -169,11 +169,11 @@ void VisualStudioProvider::outputBuildEvents(std::ostream &project, const BuildS } } -void VisualStudioProvider::writeReferences(std::ofstream &output) { +void VisualStudioProvider::writeReferences(const BuildSetup &setup, std::ofstream &output) { output << "\tProjectSection(ProjectDependencies) = postProject\n"; for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; output << "\t\t{" << i->second << "} = {" << i->second << "}\n"; @@ -182,7 +182,7 @@ void VisualStudioProvider::writeReferences(std::ofstream &output) { output << "\tEndProjectSection\n"; } -void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) { +void VisualStudioProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents) { std::string warnings; for (StringList::const_iterator i = _globalWarnings.begin(); i != _globalWarnings.end(); ++i) warnings += *i + ';'; @@ -202,17 +202,17 @@ void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int b "<VisualStudioPropertySheet\n" "\tProjectType=\"Visual C++\"\n" "\tVersion=\"8.00\"\n" - "\tName=\"" << PROJECT_DESCRIPTION << "_Global\"\n" + "\tName=\"" << setup.projectDescription << "_Global\"\n" "\tOutputDirectory=\"$(ConfigurationName)" << bits << "\"\n" "\tIntermediateDirectory=\"$(ConfigurationName)" << bits << "/$(ProjectName)\"\n" "\t>\n" "\t<Tool\n" "\t\tName=\"VCCLCompilerTool\"\n" - "\t\tDisableLanguageExtensions=\"true\"\n" + "\t\tDisableLanguageExtensions=\"" << (setup.devTools ? "false" : "true") << "\"\n" "\t\tDisableSpecificWarnings=\"" << warnings << "\"\n" "\t\tAdditionalIncludeDirectories=\"" << prefix << ";" << prefix << "\\engines;$(" << LIBS_DEFINE << ")\\include;$(TargetDir)\"\n" "\t\tPreprocessorDefinitions=\"" << definesList << "\"\n" - "\t\tExceptionHandling=\"0\"\n"; + "\t\tExceptionHandling=\"" << (setup.devTools ? "1" : "0") << "\"\n"; #if NEEDS_RTTI properties << "\t\tRuntimeTypeInfo=\"true\"\n"; @@ -231,9 +231,12 @@ void VisualStudioProvider::outputGlobalPropFile(std::ofstream &properties, int b "\t<Tool\n" "\t\tName=\"VCLinkerTool\"\n" "\t\tIgnoreDefaultLibraryNames=\"\"\n" - "\t\tSubSystem=\"1\"\n" - "\t\tEntryPointSymbol=\"WinMainCRTStartup\"\n" - "\t\tAdditionalLibraryDirectories=\"$(" << LIBS_DEFINE << ")\\lib\\" << ((bits == 32) ? "x86" : "x64") << "\"\n" + "\t\tSubSystem=\"1\"\n"; + + if (!setup.devTools) + properties << "\t\tEntryPointSymbol=\"WinMainCRTStartup\"\n"; + + properties << "\t\tAdditionalLibraryDirectories=\"$(" << LIBS_DEFINE << ")\\lib\\" << ((bits == 32) ? "x86" : "x64") << "\"\n" "\t/>\n" "\t<Tool\n" "\t\tName=\"VCResourceCompilerTool\"\n" @@ -248,16 +251,16 @@ void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelea const std::string outputType = (enableAnalysis ? "Analysis" : (isRelease ? "Release" : "Debug")); const std::string outputBitness = (isWin32 ? "32" : "64"); - std::ofstream properties((setup.outputDir + '/' + PROJECT_DESCRIPTION "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension()).c_str()); + std::ofstream properties((setup.outputDir + '/' + setup.projectDescription + "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension()).c_str()); if (!properties) - error("Could not open \"" + setup.outputDir + '/' + PROJECT_DESCRIPTION "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension() + "\" for writing"); + error("Could not open \"" + setup.outputDir + '/' + setup.projectDescription + "_" + outputType + (isWin32 ? "" : "64") + getPropertiesExtension() + "\" for writing"); properties << "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n" "<VisualStudioPropertySheet\n" "\tProjectType=\"Visual C++\"\n" "\tVersion=\"8.00\"\n" - "\tName=\"" << PROJECT_DESCRIPTION << "_" << outputType << outputBitness << "\"\n" - "\tInheritedPropertySheets=\".\\" << PROJECT_DESCRIPTION << "_Global" << (isWin32 ? "" : "64") << ".vsprops\"\n" + "\tName=\"" << setup.projectDescription << "_" << outputType << outputBitness << "\"\n" + "\tInheritedPropertySheets=\".\\" << setup.projectDescription << "_Global" << (isWin32 ? "" : "64") << ".vsprops\"\n" "\t>\n" "\t<Tool\n" "\t\tName=\"VCCLCompilerTool\"\n"; diff --git a/devtools/create_project/visualstudio.h b/devtools/create_project/visualstudio.h index dad923e49c..845550139c 100644 --- a/devtools/create_project/visualstudio.h +++ b/devtools/create_project/visualstudio.h @@ -38,9 +38,9 @@ protected: void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation, const StringList &duplicate, const std::string &objPrefix, const std::string &filePrefix); - void writeReferences(std::ofstream &output); + void writeReferences(const BuildSetup &setup, std::ofstream &output); - void outputGlobalPropFile(std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents); + void outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, int bits, const StringList &defines, const std::string &prefix, bool runBuildEvents); void createBuildProp(const BuildSetup &setup, bool isRelease, bool isWin32, bool enableAnalysis); @@ -49,7 +49,7 @@ protected: int getVisualStudioVersion(); void outputConfiguration(std::ostream &project, const BuildSetup &setup, const std::string &libraries, const std::string &config, const std::string &platform, const std::string &props, const bool isWin32); - void outputConfiguration(std::ostream &project, const std::string &toolConfig, const std::string &config, const std::string &platform, const std::string &props); + void outputConfiguration(const BuildSetup &setup, std::ostream &project, const std::string &toolConfig, const std::string &config, const std::string &platform, const std::string &props); void outputBuildEvents(std::ostream &project, const BuildSetup &setup, const bool isWin32); }; diff --git a/devtools/create_toon/create_toon.cpp b/devtools/create_toon/create_toon.cpp index bdd57be7df..2cf8895d4b 100644 --- a/devtools/create_toon/create_toon.cpp +++ b/devtools/create_toon/create_toon.cpp @@ -77,8 +77,8 @@ int main(int argc, char *argv[]) { writeByte(outFile, TOON_DAT_VER_MAJ); writeByte(outFile, TOON_DAT_VER_MIN); - // game versions/variantes - writeUint16BE(outFile, NUM_VARIANTE); + // game versions/variants + writeUint16BE(outFile, NUM_VARIANTS); // Write locationDirNotVisited nbrElem = sizeof(locationDirNotVisited_EN) / sizeof(char *); @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) { nbrElem = sizeof(specialInfoLine_SP) / sizeof(char *); writeTextArray(outFile, specialInfoLine_SP, nbrElem); -// Not yet handled : miscTexts, endingLine and exitLine. Are they useful? + // Not yet handled: miscTexts, endingLine and exitLine. Are they useful? fclose(outFile); return 0; @@ -160,4 +160,3 @@ void writeTextArray(FILE *outFile, const char *textArray[], int nbrText) { fwrite(padBuf, pad, 1, outFile); } } - diff --git a/devtools/create_toon/create_toon.h b/devtools/create_toon/create_toon.h index 60b33013f4..b047959215 100644 --- a/devtools/create_toon/create_toon.h +++ b/devtools/create_toon/create_toon.h @@ -30,9 +30,9 @@ #define TOON_DAT_VER_MAJ 0 // 1 byte #define TOON_DAT_VER_MIN 3 // 1 byte -// Number of Variante of the game. For the moment, it's the same -// than the number of languages -#define NUM_VARIANTE 5 +// Number of variants of the game. For the moment, it's the same +// as the number of languages +#define NUM_VARIANTS 5 typedef unsigned char uint8; typedef unsigned char byte; diff --git a/devtools/create_toon/dists/msvc9/create_toon.sln b/devtools/create_toon/dists/msvc9/create_toon.sln deleted file mode 100644 index e9c3750590..0000000000 --- a/devtools/create_toon/dists/msvc9/create_toon.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_toon", "create_toon.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_toon/dists/msvc9/create_toon.vcproj b/devtools/create_toon/dists/msvc9/create_toon.vcproj deleted file mode 100644 index f860b8b201..0000000000 --- a/devtools/create_toon/dists/msvc9/create_toon.vcproj +++ /dev/null @@ -1,187 +0,0 @@ -<?xml version="1.0" encoding="windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="create_toon" - ProjectGUID="{5F280130-349D-11DD-AE16-0800200C9A66}" - RootNamespace="create_toon" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_toon.exe" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/create_toon.pdb" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalOptions="/wd4996" - Optimization="3" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/create_toon.exe" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <File - RelativePath="..\..\create_toon.cpp" - > - </File> - <File - RelativePath="..\..\create_toon.h" - > - </File> - <File - RelativePath="..\..\staticdata.h" - > - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/create_toon/staticdata.h b/devtools/create_toon/staticdata.h index 2164512337..bc49c7adaf 100644 --- a/devtools/create_toon/staticdata.h +++ b/devtools/create_toon/staticdata.h @@ -318,4 +318,3 @@ const char *exitLine_RU = "Hope you enjoyed playing ToonStruck!!"; const char* exitLine_SP = "\255\255Esperamos que te diviertas jugando a ToonStruck!!"; #endif - diff --git a/devtools/credits.pl b/devtools/credits.pl index 48ce5e28e7..5daf232b2b 100755 --- a/devtools/credits.pl +++ b/devtools/credits.pl @@ -444,657 +444,684 @@ sub add_paragraph { # begin_credits("Credits"); - begin_section("ScummVM Team"); - begin_section("Project Leaders"); - begin_persons(); - add_person("Eugene Sandulenko", "sev", ""); - end_persons(); - end_section(); - - begin_section("Retired Project Leaders"); - begin_persons(); - add_person("James Brown", "ender", ""); - add_person("Vincent Hamm", "yaz0r", "ScummVM co-founder, Original Cruise/CinE author"); - add_person("Max Horn", "Fingolfin", ""); - add_person("Ludvig Strigeus", "ludde", "Original ScummVM and SimonVM author"); - end_persons(); - end_section(); - - begin_section("Engine Teams"); - begin_section("SCUMM"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("James Brown", "ender", "(retired)"); - add_person("Jonathan Gray", "khalek", "(retired)"); - add_person("Vincent Hamm", "yaz0r", "(retired)"); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Travis Howell", "Kirben", "(retired)"); - add_person("Paweł Kołodziejski", "aquadran", "Codecs, iMUSE, Smush, etc."); - add_person("Gregory Montoir", "cyx", ""); - add_person("Eugene Sandulenko", "sev", "FT INSANE, MM NES, MM C64, game detection, Herc/CGA"); - add_person("Ludvig Strigeus", "ludde", "(retired)"); - end_section(); - - begin_section("HE"); - add_person("Jonathan Gray", "khalek", "(retired)"); - add_person("Travis Howell", "Kirben", "(retired)"); - add_person("Gregory Montoir", "cyx", ""); - add_person("Eugene Sandulenko", "sev", ""); - end_section(); - - begin_section("AGI"); - add_person("Stuart George", "darkfiber", ""); - add_person("Matthew Hoops", "clone2727", ""); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Paweł Kołodziejski", "aquadran", ""); - add_person("Walter van Niftrik", "waltervn", ""); - add_person("Kari Salminen", "Buddha^", ""); - add_person("Eugene Sandulenko", "sev", ""); - add_person("David Symonds", "dsymonds", "(retired)"); - end_section(); - - begin_section("AGOS"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Travis Howell", "Kirben", "(retired)"); - add_person("Oliver Kiehl", "olki", "(retired)"); - add_person("Ludvig Strigeus", "ludde", "(retired)"); - end_section(); - - begin_section("Cine"); - add_person("Vincent Hamm", "yaz0r", "(retired)"); - add_person("Paweł Kołodziejski", "aquadran", ""); - add_person("Gregory Montoir", "cyx", ""); - add_person("Kari Salminen", "Buddha^", ""); - add_person("Eugene Sandulenko", "sev", ""); - end_section(); - - begin_section("CruisE"); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Vincent Hamm", "yaz0r", "(retired)"); - end_section(); - - begin_section("Draci"); - add_person("Denis Kasak", "dkasak13", ""); - add_person("Robert Špalek", "spalek", ""); - end_section(); - - begin_section("Drascula"); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Paweł Kołodziejski", "aquadran", ""); - end_section(); - - begin_section("DreamWeb"); - add_person("Vladimir Menshakov", "whoozle", ""); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - end_section(); - - begin_section("Gob"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Arnaud Boutonné", "Strangerke", ""); - add_person("Sven Hesse", "DrMcCoy", ""); - add_person("Eugene Sandulenko", "sev", ""); - end_section(); - - begin_section("Groovie"); - add_person("Henry Bush", "spookypeanut", ""); - add_person("Scott Thomas", "ST", ""); - add_person("Jordi Vilalta Prat", "jvprat", ""); - end_section(); - - begin_section("Hugo"); - add_person("Arnaud Boutonné", "Strangerke", ""); - add_person("Oystein Eftevaag", "vinterstum", ""); - add_person("Eugene Sandulenko", "sev", ""); - end_section(); - - begin_section("Kyra"); - add_person("Torbjörn Andersson", "eriktorbjorn", "VQA Player"); - add_person("Oystein Eftevaag", "vinterstum", ""); - add_person("Florian Kagerer", "athrxx", ""); - add_person("Gregory Montoir", "cyx", ""); - add_person("Johannes Schickel", "LordHoto", ""); - end_section(); - - begin_section("Lastexpress"); - add_person("Matthew Hoops", "clone2727", ""); - add_person("Jordi Vilalta Prat", "jvprat", ""); - add_person("Julien Templier", "littleboy", ""); - end_section(); + begin_section("ScummVM Team"); + begin_section("Project Leader"); + begin_persons(); + add_person("Eugene Sandulenko", "sev", ""); + end_persons(); + end_section(); - begin_section("Lure"); - add_person("Paul Gilbert", "dreammaster", ""); - end_section(); - - begin_section("M4"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Benjamin Haisch", "john_doe", ""); - add_person("Filippos Karapetis", "[md5]", ""); - end_section(); - - begin_section("MADE"); - add_person("Benjamin Haisch", "john_doe", ""); - add_person("Filippos Karapetis", "[md5]", ""); - end_section(); - - begin_section("Mohawk"); - add_person("Bastien Bouclet", "bgk", ""); - add_person("Matthew Hoops", "clone2727", ""); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Alyssa Milburn", "fuzzie", ""); - add_person("Eugene Sandulenko", "sev", ""); - add_person("David Turner", "digitall", ""); - end_section(); - - begin_section("Parallaction"); - add_person("", "peres", ""); - end_section(); - - begin_section("Queen"); - add_person("David Eriksson", "twogood", "(retired)"); - add_person("Gregory Montoir", "cyx", ""); - add_person("Joost Peters", "joostp", ""); - end_section(); - - begin_section("SAGA"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Andrew Kurushin", "ajax16384", ""); - add_person("Eugene Sandulenko", "sev", ""); - end_section(); - - begin_section("SCI"); - add_person("Greg Frieger", "_FRG_", ""); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Martin Kiewitz", "m_kiewitz", ""); - add_person("Walter van Niftrik", "waltervn", ""); - add_person("Willem Jan Palenstijn", "wjp", ""); - add_person("Jordi Vilalta Prat", "jvprat", ""); - add_person("Lars Skovlund", "lskovlun", ""); - end_section(); - - begin_section("Sky"); - add_person("Robert Göffringmann", "lavosspawn", "(retired)"); - add_person("Oliver Kiehl", "olki", "(retired)"); - add_person("Joost Peters", "joostp", ""); - end_section(); - - begin_section("Sword1"); - add_person("Fabio Battaglia", "Hkz", "PSX version support"); - add_person("Thierry Crozat", "criezy", "Mac version support"); - add_person("Robert Göffringmann", "lavosspawn", "(retired)"); - end_section(); - - begin_section("Sword2"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Fabio Battaglia", "Hkz", "PSX version support"); - add_person("Jonathan Gray", "khalek", "(retired)"); - end_section(); - - begin_section("Sword25"); - add_person("Eugene Sandulenko", "sev", ""); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - end_section(); - - begin_section("TeenAgent"); - add_person("Robert Megone", "sanguine", "Help with callback rewriting"); - add_person("Vladimir Menshakov", "whoozle", ""); - end_section(); - - - begin_section("Tinsel"); - add_person("Torbjörn Andersson", "eriktorbjorn", ""); - add_person("Fabio Battaglia", "Hkz", "PSX version support"); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Sven Hesse", "DrMcCoy", ""); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Filippos Karapetis", "[md5]", ""); - add_person("Joost Peters", "joostp", ""); - end_section(); - - begin_section("Toon"); - add_person("Sylvain Dupont", "SylvainTV", ""); - end_section(); - - begin_section("Touché"); - add_person("Gregory Montoir", "cyx", ""); - end_section(); - - begin_section("TsAGE"); - add_person("Paul Gilbert", "dreammaster", ""); - add_person("Arnaud Boutonné", "Strangerke", ""); - end_section(); - - begin_section("Tucker"); - add_person("Gregory Montoir", "cyx", ""); - end_section(); - - end_section(); - - - begin_section("Backend Teams"); - begin_section("Android"); - add_person("Andre Heider", "dhewg", ""); - add_person("Angus Lees", "Gus", ""); - end_section(); - - begin_section("Dreamcast"); - add_person("Marcus Comstedt", "", ""); - end_section(); - - begin_section("GPH Devices (GP2X, GP2XWiz & Caanoo)"); - add_person("John Willis", "DJWillis", ""); - end_section(); - - begin_section("iPhone"); - add_person("Oystein Eftevaag", "vinterstum", ""); - end_section(); - - begin_section("LinuxMoto"); - add_person("Lubomyr Lisen", "", ""); - end_section(); - - begin_section("Maemo"); - add_person("Frantisek Dufka", "fanoush", ""); - end_section(); - - begin_section("Nintendo 64"); - add_person("Fabio Battaglia", "Hkz", ""); - end_section(); - - begin_section("Nintendo DS"); - add_person("Neil Millstone", "agent-q", ""); - end_section(); - - begin_section("OpenPandora"); - add_person("John Willis", "DJWillis", ""); - end_section(); - - begin_section("PocketPC / WinCE"); - add_person("Nicolas Bacca", "arisme", "(retired)"); - add_person("Ismail Khatib", "CeRiAl", ""); - add_person("Kostas Nakos", "Jubanka", "(retired)"); - end_section(); - - begin_section("PlayStation 2"); - add_person("Robert Göffringmann", "lavosspawn", "(retired)"); - add_person("Max Lingua", "sunmax", ""); - end_section(); - - begin_section("PSP (PlayStation Portable)"); - add_person("Joost Peters", "joostp", ""); - add_person("Yotam Barnoy", "bluddy", ""); - end_section(); - - begin_section("SDL (Win/Linux/OS X/etc.)"); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Eugene Sandulenko", "sev", "Asm routines, GFX layers"); - end_section(); - - begin_section("SymbianOS"); - add_person("Jurgen Braam", "SumthinWicked", ""); - add_person("Lars Persson", "AnotherGuest", ""); - end_section(); - - begin_section("WebOS"); - add_person("Klaus Reimer", "kayahr", ""); - end_section(); - - begin_section("Wii"); - add_person("Andre Heider", "dhewg", ""); - end_section(); - - end_section(); - - begin_section("Other subsystems"); - begin_section("Infrastructure"); - add_person("Max Horn", "Fingolfin", "Backend & Engine APIs, file API, sound mixer, audiostreams, data structures, etc. (retired)"); - add_person("Eugene Sandulenko", "sev", ""); - add_person("Johannes Schickel", "LordHoto", ""); - end_section(); - - begin_section("GUI"); - add_person("Vicent Marti", "tanoku", ""); - add_person("Eugene Sandulenko", "sev", ""); - add_person("Johannes Schickel", "LordHoto", ""); - end_section(); - - begin_section("Miscellaneous"); - add_person("David Corrales-Lopez", "david_corrales", "Filesystem access improvements (GSoC 2007 task) (retired)"); - add_person("Jerome Fisher", "KingGuppy", "MT-32 emulator"); - add_person("Benjamin Haisch", "john_doe", "Heavily improved de-/encoder for DXA videos"); - add_person("Jochen Hoenicke", "hoenicke", "Speaker & PCjr sound support, AdLib work (retired)"); - add_person("Chris Page", "cp88", "Return to launcher, savestate improvements, leak fixes, ... (GSoC 2008 task) (retired)"); - add_person("Robin Watts", "robinwatts", "ARM assembly routines for nice speedups on several ports; improvements to the sound mixer"); - end_section(); - end_section(); - - begin_section("Website (code)"); - begin_persons(); - add_person("Fredrik Wendel", "", "(retired)"); - end_persons(); - end_section(); - - begin_section("Website (maintenance)"); - begin_persons(); - add_person("James Brown", "Ender", "IRC Logs maintainer"); - add_person("Thierry Crozat", "criezy", "Wiki maintainer"); - add_person("Andre Heider", "dhewg", "Buildbot maintainer"); - add_person("Joost Peters", "JoostP", "Doxygen Project Documentation maintainer"); - add_person("Jordi Vilalta Prat", "jvprat", "Wiki maintainer"); - add_person("Eugene Sandulenko", "sev", "Forum, IRC channel, Screen Shots and Mailing list maintainer"); - add_person("John Willis", "DJWillis", ""); - end_persons(); - end_section(); - - begin_section("Website (content)"); - add_paragraph("All active team members"); - end_section(); - - begin_section("Documentation"); - begin_persons(); - add_person("Thierry Crozat", "criezy", "Numerous contributions to documentation"); - add_person("Joachim Eberhard", "joachimeberhard", "Numerous contributions to documentation (retired)"); - add_person("Matthew Hoops", "clone2727", "Wiki editor"); - end_persons(); - end_section(); - - begin_section("Retired Team Members"); - begin_persons(); - add_person("Chris Apers", "chrilith ", "Former PalmOS porter"); - add_person("Ralph Brorsen", "painelf", "Help with GUI implementation"); - add_person("Jamieson Christian", "jamieson630", "iMUSE, MIDI, all things musical"); - add_person("Felix Jakschitsch", "yot", "Zak256 reverse engineering"); - add_person("Mutwin Kraus", "mutle", "Original MacOS porter"); - add_person("Peter Moraliyski", "ph0x", "Port: GP32"); - add_person("Jeremy Newman", "laxdragon", "Former webmaster"); - add_person("Lionel Ulmer", "bbrox", "Port: X11"); - add_person("Won Star", "wonst719", "Former GP32 porter"); - end_persons(); - end_section(); - end_section(); - - - begin_section("Other contributions"); - - begin_section("Packages"); - begin_section("AmigaOS 4"); - add_person("Hans-Jörg Frieden", "", "(retired)"); - add_person("Hubert Maier", "Raziel_AOne", ""); - add_person("Juha Niemimäki", "", "(retired)"); - end_section(); - - begin_section("Atari/FreeMiNT"); - add_person("Keith Scroggins", "KeithS", ""); - end_section(); - - begin_section("BeOS"); - add_person("Stefan Parviainen", "", ""); - add_person("Luc Schrijvers", "Begasus", ""); - end_section(); - - begin_section("Debian GNU/Linux"); - add_person("Tore Anderson", "tore", "(retired)"); - add_person("David Weinehall", "tao", ""); - end_section(); - - begin_section("Fedora / RedHat"); - add_person("Willem Jan Palenstijn", "wjp", ""); - end_section(); - - begin_section("Mac OS X"); - add_person("Max Horn", "Fingolfin", "(retired)"); - add_person("Oystein Eftevaag", "vinterstum", ""); - end_section(); - - begin_section("Mandriva"); - add_person("Dominik Scherer", "", "(retired)"); - end_section(); - - begin_section("MorphOS"); - add_person("Fabien Coeurjoly", "fab1", ""); - add_person("Rüdiger Hanke", "", "(retired)"); - end_section(); - - begin_section("OS/2"); - add_person("Paul Smedley", "Creeping", ""); - end_section(); - - begin_section("SlackWare"); - add_person("Robert Kelsen", "", ""); - end_section(); - - begin_section("Solaris x86"); - add_person("Laurent Blume", "laurent", ""); - end_section(); - - begin_section("Solaris SPARC"); - add_person("Markus Strangl", "WooShell", ""); - end_section(); - - begin_section("Win32"); - add_person("Travis Howell", "Kirben", "(retired)"); - end_section(); - - begin_section("Win64"); - add_person("Chris Gray", "Psychoid", "(retired)"); - add_person("Johannes Schickel", "LordHoto", ""); - end_section(); - end_section(); + begin_section("PR Office"); + begin_persons(); + add_person("Arnaud Boutonné", "Strangerke", "Public Relations Officer, Project Administrator"); + add_person("Eugene Sandulenko", "sev", "Project Leader"); + end_persons(); + end_section(); - begin_section("Translations"); - begin_persons(); - add_person("Thierry Crozat", "criezy", "Translation Lead"); - end_persons(); - begin_section("Catalan"); - add_person("Jordi Vilalta Prat", "jvprat", ""); + begin_section("Core Team"); + begin_persons(); + add_person("Willem Jan Palenstijn", "wjp", ""); + add_person("Eugene Sandulenko", "sev", ""); + add_person("Johannes Schickel", "LordHoto", ""); + end_persons(); end_section(); - begin_section("Czech"); - add_person("Zbynìk Schwarz", "", ""); + + begin_section("Retired Project Leaders"); + begin_persons(); + add_person("James Brown", "ender", ""); + add_person("Vincent Hamm", "yaz0r", "ScummVM co-founder, Original Cruise/CinE author"); + add_person("Max Horn", "Fingolfin", ""); + add_person("Ludvig Strigeus", "ludde", "Original ScummVM and SimonVM author"); + end_persons(); end_section(); - begin_section("Danish"); - add_person("Steffen Nyeland", "", ""); + + begin_section("Engine Teams"); + begin_section("SCUMM"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("James Brown", "ender", "(retired)"); + add_person("Jonathan Gray", "khalek", "(retired)"); + add_person("Vincent Hamm", "yaz0r", "(retired)"); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Travis Howell", "Kirben", ""); + add_person("Paweł Kołodziejski", "aquadran", "Codecs, iMUSE, Smush, etc."); + add_person("Gregory Montoir", "cyx", ""); + add_person("Eugene Sandulenko", "sev", "FT INSANE, MM NES, MM C64, game detection, Herc/CGA"); + add_person("Ludvig Strigeus", "ludde", "(retired)"); + end_section(); + + begin_section("HE"); + add_person("Jonathan Gray", "khalek", "(retired)"); + add_person("Travis Howell", "Kirben", ""); + add_person("Gregory Montoir", "cyx", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("AGI"); + add_person("Stuart George", "darkfiber", ""); + add_person("Matthew Hoops", "clone2727", ""); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Paweł Kołodziejski", "aquadran", ""); + add_person("Walter van Niftrik", "waltervn", "(retired)"); + add_person("Kari Salminen", "Buddha^", ""); + add_person("Eugene Sandulenko", "sev", ""); + add_person("David Symonds", "dsymonds", "(retired)"); + end_section(); + + begin_section("AGOS"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Travis Howell", "Kirben", ""); + add_person("Oliver Kiehl", "olki", "(retired)"); + add_person("Ludvig Strigeus", "ludde", "(retired)"); + end_section(); + + begin_section("CGE"); + add_person("Arnaud Boutonné", "Strangerke", ""); + add_person("Paul Gilbert", "dreammaster", ""); + end_section(); + + begin_section("Cine"); + add_person("Vincent Hamm", "yaz0r", "(retired)"); + add_person("Paweł Kołodziejski", "aquadran", ""); + add_person("Gregory Montoir", "cyx", ""); + add_person("Kari Salminen", "Buddha^", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("CruisE"); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Vincent Hamm", "yaz0r", "(retired)"); + end_section(); + + begin_section("Draci"); + add_person("Denis Kasak", "dkasak13", ""); + add_person("Robert Špalek", "spalek", ""); + end_section(); + + begin_section("Drascula"); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Paweł Kołodziejski", "aquadran", ""); + end_section(); + + begin_section("DreamWeb"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Bertrand Augereau", "Tramb", ""); + add_person("Vladimir Menshakov", "whoozle", ""); + end_section(); + + begin_section("Gob"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Arnaud Boutonné", "Strangerke", ""); + add_person("Sven Hesse", "DrMcCoy", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("Groovie"); + add_person("Henry Bush", "spookypeanut", ""); + add_person("Scott Thomas", "ST", ""); + add_person("Jordi Vilalta Prat", "jvprat", ""); + end_section(); + + begin_section("Hugo"); + add_person("Arnaud Boutonné", "Strangerke", ""); + add_person("Oystein Eftevaag", "vinterstum", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("Kyra"); + add_person("Torbjörn Andersson", "eriktorbjorn", "VQA Player"); + add_person("Oystein Eftevaag", "vinterstum", ""); + add_person("Florian Kagerer", "athrxx", ""); + add_person("Gregory Montoir", "cyx", ""); + add_person("Johannes Schickel", "LordHoto", ""); + end_section(); + + begin_section("Lastexpress"); + add_person("Matthew Hoops", "clone2727", ""); + add_person("Jordi Vilalta Prat", "jvprat", ""); + add_person("Julien Templier", "littleboy", ""); + end_section(); + + begin_section("Lure"); + add_person("Paul Gilbert", "dreammaster", ""); + end_section(); + + begin_section("M4"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Benjamin Haisch", "john_doe", ""); + add_person("Filippos Karapetis", "[md5]", ""); + end_section(); + + begin_section("MADE"); + add_person("Benjamin Haisch", "john_doe", ""); + add_person("Filippos Karapetis", "[md5]", ""); + end_section(); + + begin_section("Mohawk"); + add_person("Bastien Bouclet", "bgk", ""); + add_person("Matthew Hoops", "clone2727", ""); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Alyssa Milburn", "fuzzie", ""); + add_person("Eugene Sandulenko", "sev", ""); + add_person("David Turner", "digitall", ""); + end_section(); + + begin_section("Parallaction"); + add_person("", "peres", ""); + end_section(); + + begin_section("Queen"); + add_person("David Eriksson", "twogood", "(retired)"); + add_person("Gregory Montoir", "cyx", ""); + add_person("Joost Peters", "joostp", ""); + end_section(); + + begin_section("SAGA"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Andrew Kurushin", "ajax16384", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("SCI"); + add_person("Greg Frieger", "_FRG_", ""); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Martin Kiewitz", "m_kiewitz", ""); + add_person("Walter van Niftrik", "waltervn", "(retired)"); + add_person("Willem Jan Palenstijn", "wjp", ""); + add_person("Jordi Vilalta Prat", "jvprat", ""); + add_person("Lars Skovlund", "lskovlun", ""); + end_section(); + + begin_section("Sky"); + add_person("Robert Göffringmann", "lavosspawn", "(retired)"); + add_person("Oliver Kiehl", "olki", "(retired)"); + add_person("Joost Peters", "joostp", ""); + end_section(); + + begin_section("Sword1"); + add_person("Fabio Battaglia", "Hkz", "PSX version support"); + add_person("Thierry Crozat", "criezy", "Mac version support"); + add_person("Robert Göffringmann", "lavosspawn", "(retired)"); + end_section(); + + begin_section("Sword2"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Fabio Battaglia", "Hkz", "PSX version support"); + add_person("Jonathan Gray", "khalek", "(retired)"); + end_section(); + + begin_section("Sword25"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + + begin_section("TeenAgent"); + add_person("Robert Megone", "sanguine", "Help with callback rewriting"); + add_person("Vladimir Menshakov", "whoozle", ""); + end_section(); + + begin_section("Tinsel"); + add_person("Torbjörn Andersson", "eriktorbjorn", ""); + add_person("Fabio Battaglia", "Hkz", "PSX version support"); + add_person("Paul Gilbert", "dreammaster", ""); + add_person("Sven Hesse", "DrMcCoy", ""); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Filippos Karapetis", "[md5]", ""); + add_person("Joost Peters", "joostp", ""); + end_section(); + + begin_section("Toon"); + add_person("Sylvain Dupont", "SylvainTV", ""); + end_section(); + + begin_section("Touché"); + add_person("Gregory Montoir", "cyx", ""); + end_section(); + + begin_section("TsAGE"); + add_person("Arnaud Boutonné", "Strangerke", ""); + add_person("Paul Gilbert", "dreammaster", ""); + end_section(); + + begin_section("Tucker"); + add_person("Gregory Montoir", "cyx", ""); + end_section(); + end_section(); - begin_section("French"); - add_person("Thierry Crozat", "criezy", ""); + + + begin_section("Backend Teams"); + begin_section("Android"); + add_person("Andre Heider", "dhewg", ""); + add_person("Angus Lees", "Gus", ""); + end_section(); + + begin_section("BADA"); + add_person("Chris Warren-Smith", "", ""); + end_section(); + + begin_section("Dreamcast"); + add_person("Marcus Comstedt", "", ""); + end_section(); + + begin_section("GPH Devices (GP2X, GP2XWiz & Caanoo)"); + add_person("John Willis", "DJWillis", ""); + end_section(); + + begin_section("iPhone"); + add_person("Oystein Eftevaag", "vinterstum", ""); + end_section(); + + begin_section("LinuxMoto"); + add_person("Lubomyr Lisen", "", ""); + end_section(); + + begin_section("Maemo"); + add_person("Frantisek Dufka", "fanoush", "(retired)"); + add_person("Tarek Soliman", "tsoliman", ""); + end_section(); + + begin_section("Nintendo 64"); + add_person("Fabio Battaglia", "Hkz", ""); + end_section(); + + begin_section("Nintendo DS"); + add_person("Bertrand Augereau", "Tramb", "HQ software scaler"); + add_person("Neil Millstone", "agent-q", ""); + end_section(); + + begin_section("OpenPandora"); + add_person("John Willis", "DJWillis", ""); + end_section(); + + begin_section("PocketPC / WinCE"); + add_person("Nicolas Bacca", "arisme", "(retired)"); + add_person("Ismail Khatib", "CeRiAl", ""); + add_person("Kostas Nakos", "Jubanka", "(retired)"); + end_section(); + + begin_section("PlayStation 2"); + add_person("Robert Göffringmann", "lavosspawn", "(retired)"); + add_person("Max Lingua", "sunmax", ""); + end_section(); + + begin_section("PSP (PlayStation Portable)"); + add_person("Yotam Barnoy", "bluddy", ""); + add_person("Joost Peters", "joostp", ""); + end_section(); + + begin_section("SDL (Win/Linux/OS X/etc.)"); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Eugene Sandulenko", "sev", "Asm routines, GFX layers"); + end_section(); + + begin_section("SymbianOS"); + add_person("Jurgen Braam", "SumthinWicked", ""); + add_person("Lars Persson", "AnotherGuest", ""); + end_section(); + + begin_section("WebOS"); + add_person("Klaus Reimer", "kayahr", ""); + end_section(); + + begin_section("Wii"); + add_person("Andre Heider", "dhewg", ""); + end_section(); + end_section(); - begin_section("German"); - add_person("Simon Sawatzki", "SimSaw", ""); - add_person("Lothar Serra Mari", "Lothar93", ""); + + begin_section("Other subsystems"); + begin_section("Infrastructure"); + add_person("Max Horn", "Fingolfin", "Backend & Engine APIs, file API, sound mixer, audiostreams, data structures, etc. (retired)"); + add_person("Eugene Sandulenko", "sev", ""); + add_person("Johannes Schickel", "LordHoto", ""); + end_section(); + + begin_section("GUI"); + add_person("Vicent Marti", "tanoku", ""); + add_person("Eugene Sandulenko", "sev", ""); + add_person("Johannes Schickel", "LordHoto", ""); + end_section(); + + begin_section("Miscellaneous"); + add_person("David Corrales-Lopez", "david_corrales", "Filesystem access improvements (GSoC 2007 task) (retired)"); + add_person("Jerome Fisher", "KingGuppy", "MT-32 emulator"); + add_person("Benjamin Haisch", "john_doe", "Heavily improved de-/encoder for DXA videos"); + add_person("Jochen Hoenicke", "hoenicke", "Speaker & PCjr sound support, AdLib work (retired)"); + add_person("Chris Page", "cp88", "Return to launcher, savestate improvements, leak fixes, ... (GSoC 2008 task) (retired)"); + add_person("Robin Watts", "robinwatts", "ARM assembly routines for nice speedups on several ports; improvements to the sound mixer"); + end_section(); end_section(); - begin_section("Hungarian"); - add_person("Alex Bevilacqua", "", ""); - add_person("George Kormendi", "GoodOldGeorg", ""); + + begin_section("Website (code)"); + begin_persons(); + add_person("Fredrik Wendel", "", "(retired)"); + end_persons(); end_section(); - begin_section("Italian"); - add_person("Matteo Angelino", "Maff", ""); + + begin_section("Website (maintenance)"); + begin_persons(); + add_person("James Brown", "Ender", "IRC Logs maintainer"); + add_person("Thierry Crozat", "criezy", "Wiki maintainer"); + add_person("Andre Heider", "dhewg", "Buildbot maintainer"); + add_person("Joost Peters", "JoostP", "Doxygen Project Documentation maintainer"); + add_person("Jordi Vilalta Prat", "jvprat", "Wiki maintainer"); + add_person("Eugene Sandulenko", "sev", "Forum, IRC channel, Screen Shots and Mailing list maintainer"); + add_person("John Willis", "DJWillis", ""); + end_persons(); end_section(); - begin_section("Norwegian (Bokmål)"); - add_person("Einar Johan T. Sømåen", "", ""); + + begin_section("Website (content)"); + add_paragraph("All active team members"); end_section(); - begin_section("Norwegian (Nynorsk)"); - add_person("Einar Johan T. Sømåen", "", ""); + + begin_section("Documentation"); + begin_persons(); + add_person("Thierry Crozat", "criezy", "Numerous contributions to documentation"); + add_person("Joachim Eberhard", "joachimeberhard", "Numerous contributions to documentation (retired)"); + add_person("Matthew Hoops", "clone2727", "Wiki editor"); + end_persons(); end_section(); - begin_section("Polish"); - add_person("GrajPoPolsku.pl Team", "", ""); + + begin_section("Retired Team Members"); + begin_persons(); + add_person("Chris Apers", "chrilith ", "Former PalmOS porter"); + add_person("Ralph Brorsen", "painelf", "Help with GUI implementation"); + add_person("Jamieson Christian", "jamieson630", "iMUSE, MIDI, all things musical"); + add_person("Felix Jakschitsch", "yot", "Zak256 reverse engineering"); + add_person("Mutwin Kraus", "mutle", "Original MacOS porter"); + add_person("Peter Moraliyski", "ph0x", "Port: GP32"); + add_person("Jeremy Newman", "laxdragon", "Former webmaster"); + add_person("Lionel Ulmer", "bbrox", "Port: X11"); + add_person("Won Star", "wonst719", "Former GP32 porter"); + end_persons(); end_section(); - begin_section("Brazilian Portuguese"); - add_person("ScummBR Team", "", ""); + end_section(); + + + begin_section("Other contributions"); + + begin_section("Packages"); + begin_section("AmigaOS 4"); + add_person("Hans-Jörg Frieden", "", "(retired)"); + add_person("Hubert Maier", "Raziel_AOne", ""); + add_person("Juha Niemimäki", "", "(retired)"); + end_section(); + + begin_section("Atari/FreeMiNT"); + add_person("Keith Scroggins", "KeithS", ""); + end_section(); + + begin_section("BeOS"); + add_person("Stefan Parviainen", "", ""); + add_person("Luc Schrijvers", "Begasus", ""); + end_section(); + + begin_section("Debian GNU/Linux"); + add_person("Tore Anderson", "tore", "(retired)"); + add_person("David Weinehall", "tao", ""); + end_section(); + + begin_section("Fedora / RedHat"); + add_person("Willem Jan Palenstijn", "wjp", ""); + end_section(); + + begin_section("Mac OS X"); + add_person("Max Horn", "Fingolfin", "(retired)"); + add_person("Oystein Eftevaag", "vinterstum", ""); + end_section(); + + begin_section("Mandriva"); + add_person("Dominik Scherer", "", "(retired)"); + end_section(); + + begin_section("MorphOS"); + add_person("Fabien Coeurjoly", "fab1", ""); + add_person("Rüdiger Hanke", "", "(retired)"); + end_section(); + + begin_section("OS/2"); + add_person("Paul Smedley", "Creeping", ""); + end_section(); + + begin_section("SlackWare"); + add_person("Robert Kelsen", "", ""); + end_section(); + + begin_section("Solaris x86"); + add_person("Laurent Blume", "laurent", ""); + end_section(); + + begin_section("Solaris SPARC"); + add_person("Markus Strangl", "WooShell", ""); + end_section(); + + begin_section("Win32"); + add_person("Travis Howell", "Kirben", ""); + end_section(); + + begin_section("Win64"); + add_person("Chris Gray", "Psychoid", "(retired)"); + add_person("Johannes Schickel", "LordHoto", ""); + end_section(); end_section(); - begin_section("Russian"); - add_person("Eugene Sandulenko", "sev", ""); + + begin_section("Translations"); + begin_persons(); + add_person("Thierry Crozat", "criezy", "Translation Lead"); + end_persons(); + begin_section("Catalan"); + add_person("Jordi Vilalta Prat", "jvprat", ""); + end_section(); + begin_section("Czech"); + add_person("Zbynìk Schwarz", "", ""); + end_section(); + begin_section("Danish"); + add_person("Steffen Nyeland", "", ""); + end_section(); + begin_section("French"); + add_person("Thierry Crozat", "criezy", ""); + end_section(); + begin_section("German"); + add_person("Simon Sawatzki", "SimSaw", ""); + add_person("Lothar Serra Mari", "Lothar93", ""); + end_section(); + begin_section("Hungarian"); + add_person("Alex Bevilacqua", "", ""); + add_person("George Kormendi", "GoodOldGeorg", ""); + end_section(); + begin_section("Italian"); + add_person("Matteo Angelino", "Maff", ""); + end_section(); + begin_section("Norwegian (Bokmål)"); + add_person("Einar Johan T. Sømåen", "", ""); + end_section(); + begin_section("Norwegian (Nynorsk)"); + add_person("Einar Johan T. Sømåen", "", ""); + end_section(); + begin_section("Polish"); + add_person("GrajPoPolsku.pl Team", "", ""); + end_section(); + begin_section("Brazilian Portuguese"); + add_person("ScummBR Team", "", ""); + end_section(); + begin_section("Russian"); + add_person("Eugene Sandulenko", "sev", ""); + end_section(); + begin_section("Spanish"); + add_person("Tomás Maidagan", "", ""); + add_person("Jordi Vilalta Prat", "jvprat", ""); + end_section(); + begin_section("Swedish"); + add_person("Hampus Flink", "", ""); + end_section(); + begin_section("Ukrainian"); + add_person("Lubomyr Lisen", "", ""); + end_section(); end_section(); - begin_section("Spanish"); - add_person("Tomás Maidagan", "", ""); + + begin_section("Websites (design)"); + begin_persons(); + add_person("Dobó Balázs", "draven", "Website design"); + add_person("William Claydon", "billwashere", "Skins for doxygen, buildbot and wiki"); + add_person("Yaroslav Fedevych", "jafd", "HTML/CSS for the website"); + add_person("Jean Marc Gimenez", "", "ScummVM logo"); + add_person("David Jensen", "Tyst", "SVG logo conversion"); + add_person("", "Raina", "ScummVM forum buttons"); + end_persons(); end_section(); - begin_section("Swedish"); - add_person("Hampus Flink", "", ""); + + begin_section("Code contributions"); + begin_persons(); + add_person("Ori Avtalion", "salty-horse", "Subtitle control options in the GUI; BASS GUI fixes"); + add_person("Stuart Caie", "", "Decoders for Amiga and AtariST data files (AGOS engine)"); + add_person("Paolo Costabel", "", "PSP port contributions"); + add_person("Martin Doucha", "next_ghost", "CinE engine objectification"); + add_person("Thomas Fach-Pedersen", "madmoose", "ProTracker module player, Smacker video decoder"); + add_person("Tobias Gunkel", "hennymcc", "Sound support for C64 version of MM/Zak, Loom PCE support"); + add_person("Janne Huttunen", "", "V3 actor mask support, Dig/FT SMUSH audio"); + add_person("Kovács Endre János", "", "Several fixes for Simon1"); + add_person("Jeroen Janssen", "japj", "Numerous readability and bugfix patches"); + add_person("Andreas Karlsson", "Sprawl", "Initial port for SymbianOS"); + add_person("Claudio Matsuoka", "", "Daily Linux builds"); + add_person("Thomas Mayer", "", "PSP port contributions"); + add_person("Sean Murray", "lightcast", "ScummVM tools GUI application (GSoC 2007 task)"); + add_person("", "n0p", "Windows CE port aspect ratio correction scaler and right click input method"); + add_person("Mikesch Nepomuk", "mnepomuk", "MI1 VGA floppy patches"); + add_person("Nicolas Noble", "pixels", "Config file and ALSA support"); + add_person("Tim Phillips", "realmz", "Initial MI1 CD music support"); + add_person("", "Quietust", "Sound support for Amiga SCUMM V2/V3 games, MM NES support"); + add_person("Robert Crossfield", "segra", "Improved support for Apple II/C64 versions of MM"); + add_person("Andreas Röver", "", "Broken Sword I & II MPEG2 cutscene support"); + add_person("Edward Rudd", "urkle", "Fixes for playing MP3 versions of MI1/Loom audio"); + add_person("Daniel Schepler", "dschepler", "Final MI1 CD music support, initial Ogg Vorbis support"); + add_person("André Souza", "luke_br", "SDL-based OpenGL renderer"); + end_persons(); end_section(); - begin_section("Ukrainian"); - add_person("Lubomyr Lisen", "", ""); + + begin_section("FreeSCI Contributors"); + begin_persons(); + add_person("Francois-R Boyer", "", "MT-32 information and mapping code"); + add_person("Rainer Canavan", "", "IRIX MIDI driver and bug fixes"); + add_person("Xiaojun Chen", "", ""); + add_person("Paul David Doherty", "", "Game version information"); + add_person("Vyacheslav Dikonov", "", "Config script improvements"); + add_person("Ruediger Hanke", "", "Port to the MorphOS platform"); + add_person("Matt Hargett", "", "Clean-ups, bugfixes, Hardcore QA, Win32"); + add_person("Max Horn", "", "SetJump implementation"); + add_person("Ravi I.", "", "SCI0 sound resource specification"); + add_person("Emmanuel Jeandel", "", "Bugfixes and bug reports"); + add_person("Dmitry Jemerov", "", "Port to the Win32 platform, numerous bugfixes"); + add_person("Chris Kehler", "", "Makefile enhancements"); + add_person("Christopher T. Lansdown", "", "Original CVS maintainer, Alpha compatibility fixes"); + add_person("Sergey Lapin", "", "Port of Carl's type 2 decompression code"); + add_person("Rickard Lind", "", "MT-32->GM MIDI mapping magic, sound research"); + add_person("Hubert Maier", "", "AmigaOS 4 port"); + add_person("Johannes Manhave", "", "Document format translation"); + add_person("Claudio Matsuoka", "", "CVS snapshots, daily builds, BeOS and cygwin ports"); + add_person("Dark Minister", "", "SCI research (bytecode and parser)"); + add_person("Carl Muckenhoupt", "", "Sources to the SCI resource viewer tools that started it all"); + add_person("Anders Baden Nielsen", "", "PPC testing"); + add_person("Walter van Niftrik", "", "Ports to the Dreamcast and GP32 platforms"); + add_person("Rune Orsval", "", "Configuration file editor"); + add_person("Solomon Peachy", "", "SDL ports and much of the sound subsystem"); + add_person("Robey Pointer", "", "Bug tracking system hosting"); + add_person("Magnus Reftel", "", "Heap implementation, Python class viewer, bugfixes"); + add_person("Christoph Reichenbach", "", "UN*X code, VM/Graphics/Sound/other infrastructure"); + add_person("George Reid", "", "FreeBSD package management"); + add_person("Lars Skovlund", "", "Project maintenance, most documentation, bugfixes, SCI1 support"); + add_person("Rink Springer", "", "Port to the DOS platform, several bug fixes"); + add_person("Rainer De Temple", "", "SCI research"); + add_person("Sean Terrell", "", ""); + add_person("Hugues Valois", "", "Game selection menu"); + add_person("Jordi Vilalta", "", "Numerous code and website clean-up patches"); + add_person("Petr Vyhnak", "", "The DCL-INFLATE algorithm, many Win32 improvements"); + add_person("Bas Zoetekouw", "", "Man pages, debian package management, CVS maintenance"); + end_persons(); + add_paragraph("Special thanks to Prof. Dr. Gary Nutt ". + "for allowing the FreeSCI VM extension as a ". + "course project in his Advanced OS course."); + add_paragraph("Special thanks to Bob Heitman and Corey Cole for their support of FreeSCI."); end_section(); - end_section(); - begin_section("Websites (design)"); - begin_persons(); - add_person("Dobó Balázs", "draven", "Website design"); - add_person("Yaroslav Fedevych", "jafd", "HTML/CSS for the website"); - add_person("David Jensen", "Tyst", "SVG logo conversion"); - add_person("Jean Marc Gimenez", "", "ScummVM logo"); - add_person("", "Raina", "ScummVM forum buttons"); - add_person("William Claydon", "billwashere", "Skins for doxygen, buildbot and wiki"); - end_persons(); - end_section(); + add_paragraph("And to all the contributors, users, and beta testers we've missed. Thanks!"); - begin_section("Code contributions"); - begin_persons(); - add_person("Ori Avtalion", "salty-horse", "Subtitle control options in the GUI; BASS GUI fixes"); - add_person("Stuart Caie", "", "Decoders for Amiga and AtariST data files (AGOS engine)"); - add_person("Paolo Costabel", "", "PSP port contributions"); - add_person("Martin Doucha", "next_ghost", "CinE engine objectification"); - add_person("Thomas Fach-Pedersen", "madmoose", "ProTracker module player, Smacker video decoder"); - add_person("Tobias Gunkel", "hennymcc", "Sound support for C64 version of MM/Zak, Loom PCE support"); - add_person("Janne Huttunen", "", "V3 actor mask support, Dig/FT SMUSH audio"); - add_person("Kovács Endre János", "", "Several fixes for Simon1"); - add_person("Jeroen Janssen", "japj", "Numerous readability and bugfix patches"); - add_person("Andreas Karlsson", "Sprawl", "Initial port for SymbianOS"); - add_person("Claudio Matsuoka", "", "Daily Linux builds"); - add_person("Thomas Mayer", "", "PSP port contributions"); - add_person("Sean Murray", "lightcast", "ScummVM tools GUI application (GSoC 2007 task)"); - add_person("", "n0p", "Windows CE port aspect ratio correction scaler and right click input method"); - add_person("Mikesch Nepomuk", "mnepomuk", "MI1 VGA floppy patches"); - add_person("Nicolas Noble", "pixels", "Config file and ALSA support"); - add_person("Tim Phillips", "realmz", "Initial MI1 CD music support"); - add_person("", "Quietust", "Sound support for Amiga SCUMM V2/V3 games, MM NES support"); - add_person("", "segra", "Improved support for Apple II/C64 versions of MM"); - add_person("Andreas Röver", "", "Broken Sword I & II MPEG2 cutscene support"); - add_person("Edward Rudd", "urkle", "Fixes for playing MP3 versions of MI1/Loom audio"); - add_person("Daniel Schepler", "dschepler", "Final MI1 CD music support, initial Ogg Vorbis support"); - add_person("André Souza", "luke_br", "SDL-based OpenGL renderer"); - end_persons(); end_section(); - begin_section("FreeSCI Contributors"); - begin_persons(); - add_person("Anders Baden Nielsen", "", "PPC testing"); - add_person("Bas Zoetekouw", "", "Man pages, debian package management, CVS maintenance"); - add_person("Carl Muckenhoupt", "", "Sources to the SCI resource viewer tools that started it all"); - add_person("Chris Kehler", "", "Makefile enhancements"); - add_person("Christoph Reichenbach", "", "UN*X code, VM/Graphics/Sound/other infrastructure"); - add_person("Christopher T. Lansdown", "", "Original CVS maintainer, Alpha compatibility fixes"); - add_person("Claudio Matsuoka", "", "CVS snapshots, daily builds, BeOS and cygwin ports"); - add_person("Dark Minister", "", "SCI research (bytecode and parser)"); - add_person("Dmitry Jemerov", "", "Port to the Win32 platform, numerous bugfixes"); - add_person("Emmanuel Jeandel", "", "Bugfixes and bug reports"); - add_person("Francois-R Boyer", "", "MT-32 information and mapping code"); - add_person("George Reid", "", "FreeBSD package management"); - add_person("Hubert Maier", "", "AmigaOS 4 port"); - add_person("Hugues Valois", "", "Game selection menu"); - add_person("Johannes Manhave", "", "Document format translation"); - add_person("Jordi Vilalta", "", "Numerous code and website clean-up patches"); - add_person("Lars Skovlund", "", "Project maintenance, most documentation, bugfixes, SCI1 support"); - add_person("Magnus Reftel", "", "Heap implementation, Python class viewer, bugfixes"); - add_person("Matt Hargett", "", "Clean-ups, bugfixes, Hardcore QA, Win32"); - add_person("Max Horn", "", "SetJump implementation"); - add_person("Paul David Doherty", "", "Game version information"); - add_person("Petr Vyhnak", "", "The DCL-INFLATE algorithm, many Win32 improvements"); - add_person("Rainer Canavan", "", "IRIX MIDI driver and bug fixes"); - add_person("Rainer De Temple", "", "SCI research"); - add_person("Ravi I.", "", "SCI0 sound resource specification"); - add_person("Ruediger Hanke", "", "Port to the MorphOS platform"); - add_person("Rune Orsval", "", "Configuration file editor"); - add_person("Rickard Lind", "", "MT-32->GM MIDI mapping magic, sound research"); - add_person("Rink Springer", "", "Port to the DOS platform, several bug fixes"); - add_person("Robey Pointer", "", "Bug tracking system hosting"); - add_person("Sergey Lapin", "", "Port of Carl's type 2 decompression code"); - add_person("Solomon Peachy", "", "SDL ports and much of the sound subsystem"); - add_person("Vyacheslav Dikonov", "", "Config script improvements"); - add_person("Walter van Niftrik", "", "Ports to the Dreamcast and GP32 platforms"); - add_person("Xiaojun Chen", "", ""); - add_person("Sean Terrell", "", ""); - end_persons(); - add_paragraph("Special thanks to Prof. Dr. Gary Nutt ". - "for allowing the FreeSCI VM extension as a ". - "course project in his Advanced OS course."); - add_paragraph("Special thanks to Bob Heitman and Corey Cole for their support of FreeSCI."); - end_section(); - add_paragraph("And to all the contributors, users, and beta testers we've missed. Thanks!"); - - end_section(); - - - # HACK! - $max_name_width = 16; - - begin_section("Special thanks to"); - begin_persons(); - add_person("Sander Buskens", "", "For his work on the initial reversing of Monkey2"); - add_person("", "Canadacow", "For the original MT-32 emulator"); - add_person("Kevin Carnes", "", "For Scumm16, the basis of ScummVM's older gfx codecs"); - add_person("Curt Coder", "", "For the original TrollVM (preAGI) code"); - add_person("Patrick Combet", "Dorian Gray", "For the original Gobliiins ADL player"); - add_person("Ivan Dubrov", "", "For contributing the initial version of the Gobliiins engine"); - add_person("Henrik Engqvist", "qvist", "For generously providing hosting for our buildbot, SVN repository, planet and doxygen sites as well as tons of HD space"); - add_person("DOSBox Team", "", "For their awesome OPL2 and OPL3 emulator"); - add_person("Till Kresslein", "Krest", "For design of modern ScummVM GUI"); - add_person("", "Jezar", "For his freeverb filter implementation"); - add_person("Jim Leiterman", "", "Various info on his FM-TOWNS/Marty SCUMM ports"); - add_person("", "lloyd", "For deep tech details about C64 Zak & MM"); - add_person("Sarien Team", "", "Original AGI engine code"); - add_person("Jimmi Thøgersen", "", "For ScummRev, and much obscure code/documentation"); - add_person("", "Tristan", "For additional work on the original MT-32 emulator"); - add_person("James Woodcock", "", "Soundtrack enhancements"); - end_persons(); - - add_paragraph( - "Tony Warriner and everyone at Revolution Software Ltd. for sharing ". - "with us the source of some of their brilliant games, allowing us to ". - "release Beneath a Steel Sky as freeware... and generally being ". - "supportive above and beyond the call of duty."); - - add_paragraph( - "John Passfield and Steve Stamatiadis for sharing the source of their ". - "classic title, Flight of the Amazon Queen and also being incredibly ". - "supportive."); - - add_paragraph( - "Joe Pearce from The Wyrmkeep Entertainment Co. for sharing the source ". - "of their famous title Inherit the Earth and always prompt replies to ". - "our questions."); - - add_paragraph( - "Aric Wilmunder, Ron Gilbert, David Fox, Vince Lee, and all those at ". - "LucasFilm/LucasArts who made SCUMM the insane mess to reimplement ". - "that it is today. Feel free to drop us a line and tell us what you ". - "think, guys!"); - - add_paragraph( - "Alan Bridgman, Simon Woodroffe and everyone at Adventure Soft for ". - "sharing the source code of some of their games with us."); - - add_paragraph( - "John Young, Colin Smythe and especially Terry Pratchett himself for ". - "sharing the source code of Discworld I & II with us."); - - add_paragraph( - "Emilio de Paz Aragón from Alcachofa Soft for sharing the source code ". - "of Drascula: The Vampire Strikes Back with us and his generosity with ". - "freewaring the game."); - - add_paragraph( - "David P. Gray from Gray Design Associates for sharing the source code ". - "of the Hugo trilogy."); - - add_paragraph( - "Broken Sword 2.5 team for providing sources of their engine and their great ". - "support."); - - end_section(); + # HACK! + $max_name_width = 16; + + begin_section("Special thanks to"); + begin_persons(); + add_person("Sander Buskens", "", "For his work on the initial reversing of Monkey2"); + add_person("", "Canadacow", "For the original MT-32 emulator"); + add_person("Kevin Carnes", "", "For Scumm16, the basis of ScummVM's older gfx codecs"); + add_person("Curt Coder", "", "For the original TrollVM (preAGI) code"); + add_person("Patrick Combet", "Dorian Gray", "For the original Gobliiins ADL player"); + add_person("Ivan Dubrov", "", "For contributing the initial version of the Gobliiins engine"); + add_person("Henrik Engqvist", "qvist", "For generously providing hosting for our buildbot, SVN repository, planet and doxygen sites as well as tons of HD space"); + add_person("DOSBox Team", "", "For their awesome OPL2 and OPL3 emulator"); + add_person("Till Kresslein", "Krest", "For design of modern ScummVM GUI"); + add_person("", "Jezar", "For his freeverb filter implementation"); + add_person("Jim Leiterman", "", "Various info on his FM-TOWNS/Marty SCUMM ports"); + add_person("", "lloyd", "For deep tech details about C64 Zak & MM"); + add_person("Sarien Team", "", "Original AGI engine code"); + add_person("Jimmi Thøgersen", "", "For ScummRev, and much obscure code/documentation"); + add_person("", "Tristan", "For additional work on the original MT-32 emulator"); + add_person("James Woodcock", "", "Soundtrack enhancements"); + end_persons(); + + add_paragraph( + "Tony Warriner and everyone at Revolution Software Ltd. for sharing ". + "with us the source of some of their brilliant games, allowing us to ". + "release Beneath a Steel Sky as freeware... and generally being ". + "supportive above and beyond the call of duty."); + + add_paragraph( + "John Passfield and Steve Stamatiadis for sharing the source of their ". + "classic title, Flight of the Amazon Queen and also being incredibly ". + "supportive."); + + add_paragraph( + "Joe Pearce from The Wyrmkeep Entertainment Co. for sharing the source ". + "of their famous title Inherit the Earth and always prompt replies to ". + "our questions."); + + add_paragraph( + "Aric Wilmunder, Ron Gilbert, David Fox, Vince Lee, and all those at ". + "LucasFilm/LucasArts who made SCUMM the insane mess to reimplement ". + "that it is today. Feel free to drop us a line and tell us what you ". + "think, guys!"); + + add_paragraph( + "Alan Bridgman, Simon Woodroffe and everyone at Adventure Soft for ". + "sharing the source code of some of their games with us."); + + add_paragraph( + "John Young, Colin Smythe and especially Terry Pratchett himself for ". + "sharing the source code of Discworld I & II with us."); + + add_paragraph( + "Emilio de Paz Aragón from Alcachofa Soft for sharing the source code ". + "of Drascula: The Vampire Strikes Back with us and his generosity with ". + "freewaring the game."); + + add_paragraph( + "David P. Gray from Gray Design Associates for sharing the source code ". + "of the Hugo trilogy."); + + add_paragraph( + "Broken Sword 2.5 team for providing sources of their engine and their great ". + "support."); + + end_section(); end_credits(); diff --git a/devtools/sci/musicplayer.cpp b/devtools/sci/musicplayer.cpp index e4d0779848..d225195f71 100644 --- a/devtools/sci/musicplayer.cpp +++ b/devtools/sci/musicplayer.cpp @@ -96,5 +96,3 @@ int main(int argc, char** argv) { scir_free_resource_manager(resmgr); return 0; } - - diff --git a/devtools/sci/scitrace.asm b/devtools/sci/scitrace.asm index 2e541326f2..2c5d2cc4cc 100644 --- a/devtools/sci/scitrace.asm +++ b/devtools/sci/scitrace.asm @@ -130,4 +130,3 @@ NowInstallTSR: code_seg ends end scitrace - diff --git a/devtools/scumm-md5.txt b/devtools/scumm-md5.txt index e9e155925e..53e3f38a2c 100644 --- a/devtools/scumm-md5.txt +++ b/devtools/scumm-md5.txt @@ -433,8 +433,8 @@ arttime Blue's Art Time Activities d00ffc8c32d17e575fd985d435d2eb88 -1 en All - Demo - Kirben BluesBirthday Blue's Birthday Adventure - 99128b6a5bdd9831d9682fb8b5cbf8d4 -1 en All - Yellow - knifethrower - 1ff5997c78fbd0a841a75ef15a05d9d5 -1 en Windows - Red - Mathew + 99128b6a5bdd9831d9682fb8b5cbf8d4 -1 en All Yellow Yellow - knifethrower + 1ff5997c78fbd0a841a75ef15a05d9d5 -1 en All Red Red - Mathew 2d4acbdcfd8e374c9da8c2e7303a5cd0 -1 en All - Demo - Kirben cc0c4111449054f1692bb3c0c5e04629 -1 en All - Demo - George Kormend @@ -472,7 +472,6 @@ fbpack Fatty Bear's Fun Pack freddi Freddi Fish 1: The Case of the Missing Kelp Seeds d4cccb5af88f3e77f370896e9ba8c5f9 -1 All Windows HE 71 - - sev c0039ad982999c92d0de81910d640fa0 -1 nl Windows HE 71 - - adutchguy - e63a0b9249b5ca4cc4d3ac34305ae360 -1 nb Windows HE 71 - - Karl Ove Hufthammer 68530d2e15f339fbbf3150b78b4d2ffb -1 en Mac HE 73 - - satz 6d1baa1065ac5f7b210be8ebe4235e49 -1 nl Mac HE 73 - - daniel9 c782fbbe74a987c3df8ac73cd3e289ed -1 se Mac HE 73 - - Torbjörn Andersson @@ -485,6 +484,7 @@ freddi Freddi Fish 1: The Case of the Missing Kelp Seeds 746e88c172a5b7a1ae89ac0ee3ee681a -1 ru Windows HE 90 Updated - sev a197a87ae77f3b3333f09a7a2c448fe2 -1 en Windows HE 99 Updated - Jonathan af2bd1a43b50b55915d87994e093203d 34829 de Windows HE 99 Updated - Lightkey + e63a0b9249b5ca4cc4d3ac34305ae360 -1 nb Windows HE 99 - - Karl Ove Hufthammer 57a5cfec9ef231a007043cc1917e8988 -1 en Wii HE 100 - - sanguinehearts 56b5922751be7ffd771b38dda56b028b 34837 nl Wii HE 100 - - George Kormendi 3ae7f002d9256b8bdf76aaf8a3a069f8 34837 gb Wii HE 100 - - George Kormendi diff --git a/devtools/skycpt/AsciiCptCompile.sln b/devtools/skycpt/AsciiCptCompile.sln deleted file mode 100644 index 93de755bf3..0000000000 --- a/devtools/skycpt/AsciiCptCompile.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AsciiCptCompile", "AsciiCptCompile.vcproj", "{BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}.Debug.ActiveCfg = Debug|Win32 - {BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}.Debug.Build.0 = Debug|Win32 - {BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}.Release.ActiveCfg = Release|Win32 - {BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/devtools/skycpt/AsciiCptCompile.vcproj b/devtools/skycpt/AsciiCptCompile.vcproj deleted file mode 100644 index e6a5def316..0000000000 --- a/devtools/skycpt/AsciiCptCompile.vcproj +++ /dev/null @@ -1,402 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="7.10" - Name="AsciiCptCompile" - ProjectGUID="{BDAC73AF-42DE-45E7-95A8-C1D906AD19EF}" - Keyword="Win32Proj"> - <Platforms> - <Platform - Name="Win32"/> - </Platforms> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" - MinimalRebuild="TRUE" - BasicRuntimeChecks="3" - RuntimeLibrary="5" - UsePrecompiledHeader="3" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="4"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/AsciiCptCompile.exe" - LinkIncremental="2" - GenerateDebugInformation="TRUE" - ProgramDatabaseFile="$(OutDir)/AsciiCptCompile.pdb" - SubSystem="1" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - RuntimeLibrary="4" - UsePrecompiledHeader="3" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="3"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/AsciiCptCompile.exe" - LinkIncremental="1" - GenerateDebugInformation="TRUE" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Quelldateien" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> - <File - RelativePath=".\AsciiCptCompile.cpp"> - </File> - <File - RelativePath=".\cptcompiler.cpp"> - </File> - <File - RelativePath=".\cpthelp.cpp"> - </File> - <File - RelativePath=".\idFinder.cpp"> - </File> - <File - RelativePath=".\KmpSearch.cpp"> - </File> - <File - RelativePath=".\stdafx.cpp"> - <FileConfiguration - Name="Debug|Win32"> - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="1"/> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32"> - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="1"/> - </FileConfiguration> - </File> - <File - RelativePath=".\TextFile.cpp"> - </File> - </Filter> - <Filter - Name="Headerdateien" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> - <File - RelativePath=".\cpthelp.h"> - </File> - <File - RelativePath=".\KmpSearch.h"> - </File> - <File - RelativePath=".\stdafx.h"> - </File> - <File - RelativePath=".\TextFile.h"> - </File> - </Filter> - <Filter - Name="Ressourcendateien" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> - <File - RelativePath=".\asmSrc\0compact.inc"> - </File> - <File - RelativePath=".\asmSrc\101comp.inc"> - </File> - <File - RelativePath=".\asmSrc\102comp.inc"> - </File> - <File - RelativePath=".\asmSrc\10comp.inc"> - </File> - <File - RelativePath=".\asmSrc\11comp.inc"> - </File> - <File - RelativePath=".\asmSrc\12comp.inc"> - </File> - <File - RelativePath=".\asmSrc\13comp.inc"> - </File> - <File - RelativePath=".\asmSrc\14comp.inc"> - </File> - <File - RelativePath=".\asmSrc\15comp.inc"> - </File> - <File - RelativePath=".\asmSrc\16comp.inc"> - </File> - <File - RelativePath=".\asmSrc\17comp.inc"> - </File> - <File - RelativePath=".\asmSrc\18comp.inc"> - </File> - <File - RelativePath=".\asmSrc\19comp.inc"> - </File> - <File - RelativePath=".\asmSrc\1compact.inc"> - </File> - <File - RelativePath=".\asmSrc\20comp.inc"> - </File> - <File - RelativePath=".\asmSrc\21comp.inc"> - </File> - <File - RelativePath=".\asmSrc\22comp.inc"> - </File> - <File - RelativePath=".\asmSrc\23comp.inc"> - </File> - <File - RelativePath=".\asmSrc\24comp.inc"> - </File> - <File - RelativePath=".\asmSrc\25comp.inc"> - </File> - <File - RelativePath=".\asmSrc\26comp.inc"> - </File> - <File - RelativePath=".\asmSrc\27comp.inc"> - </File> - <File - RelativePath=".\288diff.txt"> - </File> - <File - RelativePath=".\asmSrc\28comp.inc"> - </File> - <File - RelativePath=".\asmSrc\29comp.inc"> - </File> - <File - RelativePath=".\asmSrc\2compact.inc"> - </File> - <File - RelativePath=".\asmSrc\30comp.inc"> - </File> - <File - RelativePath=".\asmSrc\31comp.inc"> - </File> - <File - RelativePath=".\asmSrc\32comp.inc"> - </File> - <File - RelativePath=".\asmSrc\33comp.inc"> - </File> - <File - RelativePath=".\asmSrc\34comp.inc"> - </File> - <File - RelativePath=".\asmSrc\36comp.inc"> - </File> - <File - RelativePath=".\asmSrc\37comp.inc"> - </File> - <File - RelativePath=".\asmSrc\38comp.inc"> - </File> - <File - RelativePath=".\asmSrc\39comp.inc"> - </File> - <File - RelativePath=".\asmSrc\3compact.inc"> - </File> - <File - RelativePath=".\asmSrc\40comp.inc"> - </File> - <File - RelativePath=".\asmSrc\41comp.inc"> - </File> - <File - RelativePath=".\asmSrc\42comp.inc"> - </File> - <File - RelativePath=".\asmSrc\44comp.inc"> - </File> - <File - RelativePath=".\asmSrc\45comp.inc"> - </File> - <File - RelativePath=".\asmSrc\46comp.inc"> - </File> - <File - RelativePath=".\asmSrc\47comp.inc"> - </File> - <File - RelativePath=".\asmSrc\48comp.inc"> - </File> - <File - RelativePath=".\asmSrc\4compact.inc"> - </File> - <File - RelativePath=".\asmSrc\5compact.inc"> - </File> - <File - RelativePath=".\asmSrc\65comp.inc"> - </File> - <File - RelativePath=".\asmSrc\66comp.inc"> - </File> - <File - RelativePath=".\asmSrc\67comp.inc"> - </File> - <File - RelativePath=".\asmSrc\68comp.inc"> - </File> - <File - RelativePath=".\asmSrc\69comp.inc"> - </File> - <File - RelativePath=".\asmSrc\70comp.inc"> - </File> - <File - RelativePath=".\asmSrc\71comp.inc"> - </File> - <File - RelativePath=".\asmSrc\72comp.inc"> - </File> - <File - RelativePath=".\asmSrc\73comp.inc"> - </File> - <File - RelativePath=".\asmSrc\74comp.inc"> - </File> - <File - RelativePath=".\asmSrc\75comp.inc"> - </File> - <File - RelativePath=".\asmSrc\76comp.inc"> - </File> - <File - RelativePath=".\asmSrc\77comp.inc"> - </File> - <File - RelativePath=".\asmSrc\78comp.inc"> - </File> - <File - RelativePath=".\asmSrc\79comp.inc"> - </File> - <File - RelativePath=".\asmSrc\80comp.inc"> - </File> - <File - RelativePath=".\asmSrc\81comp.inc"> - </File> - <File - RelativePath=".\asmSrc\82comp.inc"> - </File> - <File - RelativePath=".\asmSrc\85comp.inc"> - </File> - <File - RelativePath=".\asmSrc\90comp.inc"> - </File> - <File - RelativePath=".\asmSrc\91comp.inc"> - </File> - <File - RelativePath=".\asmSrc\92comp.inc"> - </File> - <File - RelativePath=".\asmSrc\93comp.inc"> - </File> - <File - RelativePath=".\asmSrc\94comp.inc"> - </File> - <File - RelativePath=".\asmSrc\95comp.inc"> - </File> - <File - RelativePath=".\asmSrc\96comp.inc"> - </File> - <File - RelativePath=".\asmSrc\9compact.inc"> - </File> - <File - RelativePath=".\COMPACT.TXT"> - </File> - <File - RelativePath=".\savedata.txt"> - </File> - </Filter> - <File - RelativePath=".\ReadMe.txt"> - </File> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/devtools/skycpt/KmpSearch.h b/devtools/skycpt/KmpSearch.h index f39b993bd2..7bec5f07a8 100644 --- a/devtools/skycpt/KmpSearch.h +++ b/devtools/skycpt/KmpSearch.h @@ -32,5 +32,3 @@ private: }; #endif //__KmpSearch__ - - diff --git a/devtools/skycpt/skycpt-engine.patch b/devtools/skycpt/skycpt-engine.patch index 16388a3221..d7ead35c9b 100644 --- a/devtools/skycpt/skycpt-engine.patch +++ b/devtools/skycpt/skycpt-engine.patch @@ -64,4 +64,3 @@ Index: engines/sky/logic.cpp + _skyControl->doLoadSavePanel(); return true; } - diff --git a/devtools/tasmrecover/.gitignore b/devtools/tasmrecover/.gitignore index f2bff8e8d9..69ae325082 100644 --- a/devtools/tasmrecover/.gitignore +++ b/devtools/tasmrecover/.gitignore @@ -1,4 +1,3 @@ *.pyc dreamgen.* _stubs* - diff --git a/devtools/tasmrecover/dreamweb/backdrop.asm b/devtools/tasmrecover/dreamweb/backdrop.asm index 5dfe20bf5d..ec0e4959b3 100644 --- a/devtools/tasmrecover/dreamweb/backdrop.asm +++ b/devtools/tasmrecover/dreamweb/backdrop.asm @@ -850,27 +850,3 @@ over147: mov ch,0 ret endp - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/dreamweb.asm b/devtools/tasmrecover/dreamweb/dreamweb.asm index d357c5cd73..8a52435b0c 100644 --- a/devtools/tasmrecover/dreamweb/dreamweb.asm +++ b/devtools/tasmrecover/dreamweb/dreamweb.asm @@ -50,7 +50,7 @@ debuglevel1 equ 0 ;memory debug on debuglevel2 equ 0 ;debug keys on+shouts demo equ 0 CD equ 1 -Foreign equ 0 +Foreign equ 1 Spanish equ 0 German equ 0 @@ -4225,9 +4225,10 @@ Undertextline proc near mov di,textaddressx mov bx,textaddressy - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 - endif +$1: mov ds,buffers mov si,textunder mov cl,undertextsizex @@ -4248,9 +4249,10 @@ Deltextline proc near mov di,textaddressx mov bx,textaddressy - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 - endif +$1: mov ds,buffers mov si,textunder mov cl,undertextsizex @@ -4271,9 +4273,10 @@ Dumptextline proc near mov newtextline,0 mov di,textaddressx mov bx,textaddressy - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 - endif +$1: mov cl,undertextsizex mov ch,undertextsizey call multidump @@ -6237,6 +6240,8 @@ savefiles db "DREAMWEB.D00",0 Recname db "DREAMWEB.DEM",0 Quitrequested db 0 +Subtitles db 0 +ForeignRelease db 0 ;-------------------------------------------------------End of code segment---- @@ -6259,20 +6264,3 @@ STACKSPACE ends ;-----------------------------------------------------------End of all code---- end Dreamweb - - - - - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/keypad.asm b/devtools/tasmrecover/dreamweb/keypad.asm index 8ac38524aa..6eee2fa11c 100644 --- a/devtools/tasmrecover/dreamweb/keypad.asm +++ b/devtools/tasmrecover/dreamweb/keypad.asm @@ -18,10 +18,15 @@ Entercode proc near mov presspointer,0 mov getback,0 -keypadloop: call delpointer +keypadloop: + cmp quitrequested, 0 + jnz numberright + + call delpointer call readmouse call showkeypad call showpointer + call vsync cmp presscount,0 jz nopresses dec presscount @@ -1754,4 +1759,3 @@ Findtext1 proc near ret endp - diff --git a/devtools/tasmrecover/dreamweb/look.asm b/devtools/tasmrecover/dreamweb/look.asm index 399e1f16fd..a5a8b8055e 100644 --- a/devtools/tasmrecover/dreamweb/look.asm +++ b/devtools/tasmrecover/dreamweb/look.asm @@ -158,9 +158,3 @@ dogetback: mov getback,1 ret endp - - - - - - diff --git a/devtools/tasmrecover/dreamweb/monitor.asm b/devtools/tasmrecover/dreamweb/monitor.asm index 247ba10f2b..5354e9f7d5 100644 --- a/devtools/tasmrecover/dreamweb/monitor.asm +++ b/devtools/tasmrecover/dreamweb/monitor.asm @@ -1425,10 +1425,11 @@ Printcurs proc near mov bx,curslocy mov cl,6 mov ch,8 - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 mov ch,11 - endif +$1: mov ds,buffers mov si,textunder push di bx @@ -1449,11 +1450,11 @@ Printcurs proc near flashcurs: pop di bx sub di,6 mov cl,12 - if foreign - mov ch,11 - else mov ch,8 - endif + cmp foreignrelease, 0 + jz $2 + mov ch,11 +$2: call multidump pop es bx dx ds di si @@ -1473,10 +1474,11 @@ Delcurs proc near mov bx,curslocy mov cl,6 mov ch,8 - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 mov ch,11 - endif +$1: push di bx cx mov ds,buffers mov si,textunder @@ -1488,8 +1490,3 @@ finishcurdel: ret endp - - - - - diff --git a/devtools/tasmrecover/dreamweb/newplace.asm b/devtools/tasmrecover/dreamweb/newplace.asm index ac703f6b11..b06a351f5f 100644 --- a/devtools/tasmrecover/dreamweb/newplace.asm +++ b/devtools/tasmrecover/dreamweb/newplace.asm @@ -158,13 +158,14 @@ alreadyinfo: mov ax,mousebutton mov di,60 mov bx,72+55 call showframe - if foreign + cmp foreignrelease, 0 + jz $1 mov al,4 mov ah,0 mov di,60 mov bx,72+55+21 call showframe - endif +$1: pop bx mov bh,0 @@ -175,11 +176,11 @@ alreadyinfo: mov ax,mousebutton call findnextcolon mov di,63 - if foreign - mov bx,84+4 - else mov bx,84 - endif + cmp foreignrelease, 0 + jz $2 + mov bx,84+4 +$2: mov dl,191 mov al,0 mov ah,0 @@ -576,8 +577,3 @@ Readcitypic proc near ret endp - - - - - diff --git a/devtools/tasmrecover/dreamweb/object.asm b/devtools/tasmrecover/dreamweb/object.asm index bdd043d588..807a100052 100644 --- a/devtools/tasmrecover/dreamweb/object.asm +++ b/devtools/tasmrecover/dreamweb/object.asm @@ -336,11 +336,16 @@ waitexam: ;call delpointer jz notuseinv mov bx,offset cs:withlist1 notuseinv: call checkcoords + + cmp quitrequested, 0 + jnz stopwaiting + cmp examagain,0 jz norex jmp examineagain norex: cmp getback,0 jz waitexam +stopwaiting: mov pickup,0 cmp watchingtime,0 @@ -670,11 +675,13 @@ Describeob proc near mov di,33 mov bx,92 - if foreign + + cmp foreignrelease, 0 + jz notsetd cmp objecttype,1 jnz notsetd mov bx,82 -notsetd: endif +notsetd: mov dl,241 mov ah,16 mov charshift,91+91 @@ -682,11 +689,12 @@ notsetd: endif mov charshift,0 mov di,36 mov bx,104 - if foreign + cmp foreignrelease, 0 + jz notsetd2 cmp objecttype,1 jnz notsetd2 mov bx,94 -notsetd2: endif +notsetd2: mov dl,241 mov ah,0 call printdirect @@ -2583,10 +2591,8 @@ findlenextext: mov cl,[es:si] sub bx,extext push bx ax sub cx,bx - cmp cx, 0xffff; BIG FIXME! Find out why this is happening - jz $1 rep movsb -$1: pop bx + pop bx sub extextpos,bx pop si @@ -2602,8 +2608,3 @@ beforethistext: mov [es:di],ax ret endp - - - - - diff --git a/devtools/tasmrecover/dreamweb/print.asm b/devtools/tasmrecover/dreamweb/print.asm index a2052285f0..7cbb45c08b 100644 --- a/devtools/tasmrecover/dreamweb/print.asm +++ b/devtools/tasmrecover/dreamweb/print.asm @@ -6,9 +6,10 @@ Printchar proc near cmp al,255 jz ignoreit push si bx di - if foreign + cmp foreignrelease, 0 + jz $1 sub bx,3 - endif +$1: push ax sub al,32 ;"A" mov ah,0 diff --git a/devtools/tasmrecover/dreamweb/saveload.asm b/devtools/tasmrecover/dreamweb/saveload.asm index 369e799d53..6c98774a0f 100644 --- a/devtools/tasmrecover/dreamweb/saveload.asm +++ b/devtools/tasmrecover/dreamweb/saveload.asm @@ -1502,6 +1502,7 @@ Loadold proc near alreadyloadold: mov ax,mousebutton and ax,1 jz noloadold + mov ax,0ffffh call doload cmp getback,4 jz noloadold @@ -1513,7 +1514,3 @@ alreadyloadold: mov ax,mousebutton noloadold: ret endp - - - - diff --git a/devtools/tasmrecover/dreamweb/sblaster.asm b/devtools/tasmrecover/dreamweb/sblaster.asm index 46eb8e2366..7a271e9c90 100644 --- a/devtools/tasmrecover/dreamweb/sblaster.asm +++ b/devtools/tasmrecover/dreamweb/sblaster.asm @@ -1260,33 +1260,3 @@ nopitflip: cli iret endp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/sprite.asm b/devtools/tasmrecover/dreamweb/sprite.asm index fadea3b790..06b06c76e3 100644 --- a/devtools/tasmrecover/dreamweb/sprite.asm +++ b/devtools/tasmrecover/dreamweb/sprite.asm @@ -4226,7 +4226,7 @@ botofdoor2: sub ah,ch opendoor2: cmp throughdoor,1 jz mustbeopen cmp lockstatus,1 - jz shutdoor + jz shutdoor2 mustbeopen: mov cl,[es:bx+19] cmp cl,1 jnz notdoorsound4 @@ -4785,12 +4785,12 @@ Reconstruct proc near call drawfloor call spriteupdate call printsprites - if foreign + cmp foreignrelease, 0 + jz notfudge cmp reallocation,20 jnz notfudge call undertextline notfudge: - endif mov havedoneobs,0 noneedtorecon: ret @@ -5017,17 +5017,3 @@ dumpevery2: mov ax,[es:bx] finishevery2: ret endp - - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/talk.asm b/devtools/tasmrecover/dreamweb/talk.asm index 6bee4409b7..4d6b381881 100644 --- a/devtools/tasmrecover/dreamweb/talk.asm +++ b/devtools/tasmrecover/dreamweb/talk.asm @@ -28,6 +28,8 @@ waittalk: call delpointer mov getback,0 mov bx,offset cs:talklist call checkcoords + cmp quitrequested, 0 + jnz finishtalk cmp getback,0 jz waittalk finishtalk: mov bx,persondata @@ -490,6 +492,8 @@ hangloopq: push cx bx pop bx cx cmp getback,1 jz quitconv + cmp quitrequested, 0 + jnz quitconv cmp speechloaded,1 jnz notspeaking cmp ch1playing,255 @@ -559,21 +563,3 @@ doredes: call delpointer ret endp - - - - - - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/titles.asm b/devtools/tasmrecover/dreamweb/titles.asm index 8f2b46e3f4..52f58867ed 100644 --- a/devtools/tasmrecover/dreamweb/titles.asm +++ b/devtools/tasmrecover/dreamweb/titles.asm @@ -570,16 +570,3 @@ realcreditsearly: ret endp - - - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/use.asm b/devtools/tasmrecover/dreamweb/use.asm index 508e8bd4c1..78917d50f4 100644 --- a/devtools/tasmrecover/dreamweb/use.asm +++ b/devtools/tasmrecover/dreamweb/use.asm @@ -1879,11 +1879,11 @@ Usecashcard proc near call showman mov di,114 - if foreign - mov bx,120-3 - else mov bx,120 - endif + cmp foreignrelease, 0 + jz $1 + mov bx,120-3 +$1: mov ds,tempgraphics mov al,39 mov ah,0 @@ -3189,9 +3189,10 @@ notinlouiss: ret Getundertimed proc near mov al,timedy - if foreign + cmp foreignrelease, 0 + jz $1 sub al,3 - endif +$1: mov ah,0 mov bx,ax mov al,timedx @@ -3212,9 +3213,10 @@ Getundertimed proc near Putundertimed proc near mov al,timedy - if foreign + cmp foreignrelease, 0 + jz $1 sub al,3 - endif +$1: mov ah,0 mov bx,ax mov al,timedx @@ -3239,9 +3241,10 @@ Dumptimedtext proc near cmp needtodumptimed,1 jnz nodumptimed mov al,timedy - if foreign + cmp foreignrelease, 0 + jz $1 sub al,3 - endif +$1: mov ah,0 mov bx,ax mov al,timedx @@ -3293,18 +3296,34 @@ Setuptimedtemp proc near if cd cmp ah,0 jz notloadspeech3 + push ax + push bx + push cx + push dx mov dl,"T" mov dh,ah - mov cl,"T" + mov cl,"T" mov ah,0 call loadspeech cmp speechloaded,1 - jnz notloadspeech3 + jnz $1 mov al,50+12 call playchannel1 +$1: + pop dx + pop cx + pop bx + pop ax + + cmp speechloaded,1 + jnz notloadspeech3 ; failed to load speech + cmp subtitles, 1 + jz notloadspeech3 ret + notloadspeech3: - endif + endif ;if cd + cmp timecount,0 jnz cantsetup2 mov timedy,bh @@ -3796,14 +3815,3 @@ nowinch: call showfirstuse ret endp - - - - - - - - - - - diff --git a/devtools/tasmrecover/dreamweb/vars.asm b/devtools/tasmrecover/dreamweb/vars.asm index 8646697e52..6d34074528 100644 --- a/devtools/tasmrecover/dreamweb/vars.asm +++ b/devtools/tasmrecover/dreamweb/vars.asm @@ -273,7 +273,7 @@ savesource dw 0 savex db 0 savey db 0 currentob db 0 -priority db 0 +priorityDep db 0 ; dep for deprecated, I leave a byte here to minimize changes to the generated code destpos db 0 @@ -560,4 +560,3 @@ roomssample db 0 gameerror db 0 howmuchalloc dw 0 - diff --git a/devtools/tasmrecover/dreamweb/vgafades.asm b/devtools/tasmrecover/dreamweb/vgafades.asm index 06cc9d6a44..a1043d9cf5 100644 --- a/devtools/tasmrecover/dreamweb/vgafades.asm +++ b/devtools/tasmrecover/dreamweb/vgafades.asm @@ -862,5 +862,3 @@ Initialmoncols proc near ret endp - - diff --git a/devtools/tasmrecover/dreamweb/vgagrafx.asm b/devtools/tasmrecover/dreamweb/vgagrafx.asm index 110fc95ee0..4ba1b16ba1 100644 --- a/devtools/tasmrecover/dreamweb/vgagrafx.asm +++ b/devtools/tasmrecover/dreamweb/vgagrafx.asm @@ -1758,5 +1758,3 @@ Title6graphics db "DREAMWEB.I06",0 Title7graphics db "DREAMWEB.I07",0 Palettescreen db "DREAMWEB.PAL",0 - - diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index d6c6a2523f..2066ae9b3d 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -1,5 +1,26 @@ #!/usr/bin/python +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + from tasm.parser import parser from tasm.cpp import cpp @@ -8,6 +29,7 @@ p.strip_path = 3 context = p.parse('dreamweb/dreamweb.asm') p.link() generator = cpp(context, "DreamGen", blacklist = [ + # These functions are not processed 'randomnumber', 'quickquit', 'quickquit2', @@ -15,14 +37,178 @@ generator = cpp(context, "DreamGen", blacklist = [ 'multiget', 'multiput', 'multidump', - 'frameoutnm', - 'cls', + 'frameoutnm', + 'frameoutbh', + 'frameoutfx', + 'cls', + 'clearwork', 'printundermon', + 'kernchars', + 'getnextword', + 'getnumber', + 'dumptextline', + 'printboth', + 'printchar', + 'printdirect', + 'printslow', + 'printmessage', + 'usetimedtext', + 'dumptimedtext', + 'setuptimedtemp', + 'putundertimed', + 'getundertimed', 'worktoscreen', 'width160', 'convertkey', 'readabyte', 'readoneblock', - 'frameoutv' + 'printsprites', + 'printasprite', + 'eraseoldobs', + 'clearsprites', + 'makesprite', + 'showframe', + 'initman', + 'aboutturn', + 'readheader', + 'fillspace', + 'getroomdata', + 'startloading', + 'showreelframe', + 'showgamereel', + 'getreelframeax', + 'findsource', + 'walking', + 'autosetwalk', + 'checkdest', + 'spriteupdate', + 'dodoor', + 'lockeddoorway', + 'liftsprite', + 'frameoutv', + 'modifychar', + 'allocatework', + 'lockmon', + 'cancelch0', + 'cancelch1', + 'getroomspaths', + 'makebackob', + 'dealwithspecial', + 'plotreel', + 'facerightway', + 'zoom', + 'crosshair', + 'showrain', + 'domix', + 'channel0tran', + 'makenextblock', + 'loopchannel0', + 'parseblaster', + 'deltextline', + 'doblocks', + 'checkifperson', + 'checkiffree', + 'checkifex', + 'getreelstart', + 'findobname', + 'copyname', + 'commandwithob', + 'showpanel', + 'updatepeople', + 'madmantext', + 'madmode', + 'movemap', + 'doorway', + 'widedoor', + 'showallobs', + 'addalong', + 'addlength', + 'getdimension', + 'getxad', + 'getyad', + 'getmapad', + 'calcmapad', + 'calcfrframe', + 'finalframe', + 'commandonly', + 'makename', + 'findlen', + 'blocknametext', + 'walktotext', + 'personnametext', + 'findxyfrompath', + 'findormake', + 'setallchanges', + 'dochange', + 'deletetaken', + 'placesetobject', + 'removesetobject', + 'showallfree', + 'showallex', + 'adjustlen', + 'finishedwalking', + 'checkone', + 'getblockofpixel', + 'getflagunderp', + 'walkandexamine', + 'obname', + 'delpointer', + 'showblink', + 'dumpblink', + 'dumppointer', + 'showpointer', + 'animpointer', + 'checkcoords', + 'readmouse', + 'readmouse1', + 'readmouse2', + 'readmouse3', + 'readmouse4', + 'waitframes', + 'drawflags', + 'addtopeoplelist', + 'getexpos', + 'paneltomap', + 'maptopanel', + 'dumpmap', + 'obpicture', + 'delthisone', + 'transferinv', + 'obicons', + 'compare', + 'pixelcheckset', + 'turnpathon', + 'turnpathoff', + 'turnanypathon', + 'turnanypathoff', + 'isitdescribed', + 'checkifset', + 'checkifpathison', + 'delsprite', + 'dumpeverything', + 'isitworn', + 'makeworn', + 'obtoinv', + 'showryanpage', + 'findallryan', + 'fillryan', + 'useroutine', + 'hangon', + 'hangonp', + 'findnextcolon', + 'usetext', + 'bresenhams', + 'examineobtext', + 'wornerror', + ], skip_output = [ + # These functions are processed but not output + 'dreamweb', + 'backobject', + 'mainman', + 'madman', + 'loadgame', + 'savegame', + 'zoomonoff', + 'doload' ]) generator.generate('dreamweb') #start routine diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py index 0196e5b45c..61edb41fb2 100644 --- a/devtools/tasmrecover/tasm/cpp.py +++ b/devtools/tasmrecover/tasm/cpp.py @@ -1,3 +1,24 @@ +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + import op, traceback, re, proc from copy import copy proc_module = proc @@ -12,11 +33,35 @@ def parse_bin(s): return v class cpp: - def __init__(self, context, namespace, skip_first = 0, blacklist = []): + def __init__(self, context, namespace, skip_first = 0, blacklist = [], skip_output = []): self.namespace = namespace fname = namespace.lower() + ".cpp" header = namespace.lower() + ".h" - banner = "/* PLEASE DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE LOST! LOOK FOR README FOR DETAILS */" + banner = """/* PLEASE DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE LOST! LOOK FOR README FOR DETAILS */ + +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +""" self.fd = open(fname, "wt") self.hd = open(header, "wt") hid = "TASMRECOVER_%s_STUBS_H__" %namespace.upper() @@ -34,8 +79,10 @@ class cpp: self.proc_done = [] self.blacklist = blacklist self.failed = list(blacklist) + self.skip_output = skip_output self.translated = [] self.proc_addr = [] + self.used_data_offsets = set() self.methods = [] self.fd.write("""%s @@ -53,11 +100,13 @@ namespace %s { if self.indirection == -1: try: offset,p,p = self.context.get_offset(name) - print "OFFSET = %d" %offset - self.indirection = 0 - return str(offset) except: pass + else: + print "OFFSET = %d" %offset + self.indirection = 0 + self.used_data_offsets.add((name,offset)) + return "offset_%s" % (name,) g = self.context.get_global(name) if isinstance(g, op.const): @@ -466,7 +515,9 @@ namespace %s { self.resolve_label(s.label) #adding statements + #BIG FIXME: this is quite ugly to handle code analysis from the code generation. rewrite me! for label, proc, offset in self.unbounded: + self.body += "\treturn;\n" #we need to return before calling code from the other proc self.body += "/*continuing to unbounded code: %s from %s:%d-%d*/\n" %(label, proc.name, offset, len(proc.stmts)) start = len(self.proc.stmts) self.proc.add_label(label) @@ -480,7 +531,8 @@ namespace %s { self.proc.optimize(keep_labels=[label]) self.proc.visit(self, start) self.body += "}\n"; - self.translated.insert(0, self.body) + if name not in self.skip_output: + self.translated.insert(0, self.body) self.proc = None if self.temps_count > 0: raise Exception("temps count == %d at the exit of proc" %self.temps_count); @@ -532,24 +584,39 @@ namespace %s { data_bin = self.data_seg data_impl = "\n\tstatic const uint8 src[] = {\n\t\t" n = 0 + comment = str() for v in data_bin: data_impl += "0x%02x, " %v n += 1 + + comment += chr(v) if (v >= 0x20 and v < 0x7f and v != ord('\\')) else "." if (n & 0xf) == 0: - data_impl += "\n\t\t" + data_impl += "\n\t\t//0x%04x: %s\n\t\t" %(n - 16, comment) + comment = str() + elif (n & 0x3) == 0: + comment += " " data_impl += "};\n\tds.assign(src, src + sizeof(src));\n" self.hd.write( """\n#include "dreamweb/runtime.h" namespace %s { - +#include "structs.h" class %sContext : public Context { public: void __start(); void __dispatch_call(uint16 addr); +#include "stubs.h" // Allow hand-reversed functions to have a signature different than void f() """ %(self.namespace, self.namespace)) + + for name,addr in self.proc_addr: + self.hd.write("\tstatic const uint16 addr_%s = 0x%04x;\n" %(name, addr)) + + + for name,addr in self.used_data_offsets: + self.hd.write("\tstatic const uint16 offset_%s = 0x%04x;\n" %(name, addr)) + offsets = [] for k, v in self.context.get_globals().items(): if isinstance(v, op.var): @@ -559,10 +626,13 @@ public: offsets = sorted(offsets, key=lambda t: t[1]) for o in offsets: - self.hd.write("\tconst static uint16 k%s = %s;\n" %o) + self.hd.write("\tstatic const uint16 k%s = %s;\n" %o) self.hd.write("\n") for p in set(self.methods): - self.hd.write("\tvoid %s();\n" %p) + if p in self.blacklist: + self.hd.write("\t//void %s();\n" %p) + else: + self.hd.write("\tvoid %s();\n" %p) self.hd.write("};\n}\n\n#endif\n") self.hd.close() @@ -572,7 +642,7 @@ public: self.fd.write("\nvoid %sContext::__dispatch_call(uint16 addr) {\n\tswitch(addr) {\n" %self.namespace) self.proc_addr.sort(cmp = lambda x, y: x[1] - y[1]) for name,addr in self.proc_addr: - self.fd.write("\t\tcase 0x%04x: %s(); break;\n" %(addr, name)) + self.fd.write("\t\tcase addr_%s: %s(); break;\n" %(name, name)) self.fd.write("\t\tdefault: ::error(\"invalid call to %04x dispatched\", (uint16)ax);") self.fd.write("\n\t}\n}\n\n} /*namespace*/\n") diff --git a/devtools/tasmrecover/tasm/lex.py b/devtools/tasmrecover/tasm/lex.py index cf7e6e19bf..9728c149ca 100644 --- a/devtools/tasmrecover/tasm/lex.py +++ b/devtools/tasmrecover/tasm/lex.py @@ -1,3 +1,24 @@ +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + def parse_args(text): #print "parsing: [%s]" %text escape = False diff --git a/devtools/tasmrecover/tasm/op.py b/devtools/tasmrecover/tasm/op.py index 10fdd8a568..30852bcb58 100644 --- a/devtools/tasmrecover/tasm/op.py +++ b/devtools/tasmrecover/tasm/op.py @@ -1,3 +1,24 @@ +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + import re import lex @@ -407,4 +428,3 @@ class label(baseop): self.name = name def visit(self, visitor): visitor._label(self.name) - diff --git a/devtools/tasmrecover/tasm/parser.py b/devtools/tasmrecover/tasm/parser.py index 4cea496722..ebbd714cf4 100644 --- a/devtools/tasmrecover/tasm/parser.py +++ b/devtools/tasmrecover/tasm/parser.py @@ -1,3 +1,24 @@ +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + import os, re from proc import proc import lex diff --git a/devtools/tasmrecover/tasm/proc.py b/devtools/tasmrecover/tasm/proc.py index ed7053df89..50a394413f 100644 --- a/devtools/tasmrecover/tasm/proc.py +++ b/devtools/tasmrecover/tasm/proc.py @@ -1,3 +1,24 @@ +# ScummVM - Graphic Adventure Engine +# +# ScummVM is the legal property of its developers, whose names +# are too numerous to list here. Please refer to the COPYRIGHT +# file distributed with this source distribution. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + import re import op diff --git a/devtools/themeparser.py b/devtools/themeparser.py index a3524461a0..5c6f89897b 100644 --- a/devtools/themeparser.py +++ b/devtools/themeparser.py @@ -616,4 +616,3 @@ class STXBinaryFile(object): if __name__ == '__main__': bin = STXBinaryFile('../gui/themes/scummclassic', True, True) bin.parse() - diff --git a/devtools/update-version.pl b/devtools/update-version.pl index 788cbc7e40..169fba7788 100755 --- a/devtools/update-version.pl +++ b/devtools/update-version.pl @@ -39,7 +39,7 @@ my @subs_files = qw( dists/macosx/Info.plist dists/iphone/Info.plist dists/irix/scummvm.spec - dists/nsis/scummvm.nsi + dists/win32/scummvm.nsi dists/wii/meta.xml dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml |