forked from github/server
Unicode WIP:
- Visual C++ 2005 project files - Savegames - i18n for many more spells
This commit is contained in:
parent
b2cbb1234b
commit
d48d8ec348
51 changed files with 8755 additions and 1715 deletions
586
src/common/attributes/attributes.vc8.vcproj
Normal file
586
src/common/attributes/attributes.vc8.vcproj
Normal file
|
@ -0,0 +1,586 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="attributes"
|
||||
ProjectGUID="{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}"
|
||||
RootNamespace="attributes"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/attributes.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/attributes.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\attributes.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/attributes.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\attributes.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/attributes.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\attributes.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/attributes.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\alliance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\attributes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\fleechance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\follow.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\giveitem.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gm.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\iceberg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\key.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\matmod.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moved.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\object.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\option.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\orcification.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\otherfaction.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\overrideroads.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\racename.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\raceprefix.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\reduceproduction.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\roadsoverride.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\targetregion.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\variable.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\viewrange.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\alliance.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\attributes.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\fleechance.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\follow.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\giveitem.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gm.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hate.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\iceberg.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\key.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\matmod.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moved.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\movement.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\movement.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\object.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\option.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\orcification.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\otherfaction.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\overrideroads.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\racename.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\raceprefix.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\reduceproduction.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\targetregion.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\variable.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\viewrange.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -19,6 +19,8 @@ SOURCES =
|
|||
monster.c
|
||||
randenc.c
|
||||
report.c
|
||||
spells.c
|
||||
spy.c
|
||||
study.c
|
||||
xmlreport.c
|
||||
;
|
||||
|
|
|
@ -452,6 +452,17 @@ cr_spell(variant var, char * buffer, const void * userdata)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
cr_curse(variant var, char * buffer, const void * userdata)
|
||||
{
|
||||
const faction * report = (const faction*)userdata;
|
||||
const curse_type * ctype = (const curse_type*)var.v;
|
||||
if (ctype!=NULL) {
|
||||
sprintf(buffer, "\"%s\"", curse_name(ctype, report->locale));
|
||||
} else strcpy(buffer, "\"\"");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*static int msgno; */
|
||||
|
||||
#define MTMAXHASH 1021
|
||||
|
@ -1503,6 +1514,7 @@ creport_init(void)
|
|||
tsf_register("string", &cr_string);
|
||||
tsf_register("order", &cr_order);
|
||||
tsf_register("spell", &cr_spell);
|
||||
tsf_register("curse", &cr_curse);
|
||||
tsf_register("int", &cr_int);
|
||||
tsf_register("unit", &cr_unit);
|
||||
tsf_register("region", &cr_region);
|
||||
|
|
|
@ -24,10 +24,11 @@
|
|||
#include "economy.h"
|
||||
|
||||
/* gamecode includes */
|
||||
#include "archetype.h"
|
||||
#include "give.h"
|
||||
#include "laws.h"
|
||||
#include "randenc.h"
|
||||
#include "archetype.h"
|
||||
#include "spy.h"
|
||||
|
||||
/* kernel includes */
|
||||
#include <kernel/alchemy.h>
|
||||
|
@ -49,7 +50,6 @@
|
|||
#include <kernel/resources.h>
|
||||
#include <kernel/ship.h>
|
||||
#include <kernel/skill.h>
|
||||
#include <kernel/spy.h>
|
||||
#include <kernel/terrain.h>
|
||||
#include <kernel/terrainid.h>
|
||||
#include <kernel/unit.h>
|
||||
|
|
511
src/common/gamecode/gamecode.vc8.vcproj
Normal file
511
src/common/gamecode/gamecode.vc8.vcproj
Normal file
|
@ -0,0 +1,511 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="gamecode"
|
||||
ProjectGUID="{79659D44-EC28-42B9-9475-6C0D62D0AAE0}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/gamecode.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\gamecode.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory=".\Profile"
|
||||
IntermediateDirectory=".\Profile"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Profile/gamecode.pch"
|
||||
AssemblerListingLocation=".\Profile/"
|
||||
ObjectFile=".\Profile/"
|
||||
ProgramDataBaseFileName=".\Profile/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Profile\gamecode.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/gamecode.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Debug\gamecode.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/gamecode.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\gamecode.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel;../util;../..;.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/gamecode.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Debug\gamecode.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\archetype.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\creation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\creport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\economy.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\give.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\items.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\laws.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\luck.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\monster.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\randenc.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\report.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spy.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmlreport.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\archetype.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\creation.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\creport.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\economy.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\give.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\items.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\laws.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\luck.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\monster.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\randenc.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\report.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spells.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spy.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\study.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmlreport.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -33,6 +33,7 @@
|
|||
#include "economy.h"
|
||||
#include "monster.h"
|
||||
#include "randenc.h"
|
||||
#include "spy.h"
|
||||
#include "study.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
@ -59,7 +60,6 @@
|
|||
#include <kernel/ship.h>
|
||||
#include <kernel/skill.h>
|
||||
#include <kernel/spell.h>
|
||||
#include <kernel/spy.h>
|
||||
#include <kernel/teleport.h>
|
||||
#include <kernel/terrain.h>
|
||||
#include <kernel/terrainid.h> /* for volcanoes in emigration (needs a flag) */
|
||||
|
|
|
@ -245,8 +245,8 @@ find_manual(region * r, unit * u)
|
|||
break;
|
||||
}
|
||||
|
||||
sprintf(zLocation, "manual_location_%d", (int)(rng_int() % 4));
|
||||
sprintf(zBook, "manual_title_%s", skillnames[skill]);
|
||||
snprintf(zLocation, sizeof(zLocation), "manual_location_%d", (int)(rng_int() % 4));
|
||||
snprintf(zBook, sizeof(zLocation), "manual_title_%s", skillnames[skill]);
|
||||
|
||||
msg = msg_message("find_manual", "unit location book", u, zLocation, zBook);
|
||||
r_addmessage(r, u->faction, msg);
|
||||
|
|
|
@ -122,7 +122,7 @@ gamedate_season(const struct locale * lang)
|
|||
|
||||
get_gamedate(turn, &gd);
|
||||
|
||||
sprintf(buf, LOC(lang, "nr_calendar_season"),
|
||||
sprintf(buf, (const char *)LOC(lang, "nr_calendar_season"),
|
||||
LOC(lang, weeknames[gd.week]),
|
||||
LOC(lang, monthnames[gd.month]),
|
||||
gd.year,
|
||||
|
@ -2844,6 +2844,19 @@ eval_spell(struct opstack ** stack, const void * userdata) /* unit -> string */
|
|||
opush(stack, var);
|
||||
}
|
||||
|
||||
static void
|
||||
eval_curse(struct opstack ** stack, const void * userdata) /* unit -> string */
|
||||
{
|
||||
const struct faction * f = (const struct faction *)userdata;
|
||||
const struct curse_type * sp = (const struct curse_type *)opop(stack).v;
|
||||
const char * c = sp?curse_name(sp, f->locale):LOC(f->locale, "an_unknown_curse");
|
||||
size_t len = strlen(c);
|
||||
variant var;
|
||||
|
||||
var.v = strcpy(balloc(len+1), c);
|
||||
opush(stack, var);
|
||||
}
|
||||
|
||||
static void
|
||||
eval_unitname(struct opstack ** stack, const void * userdata) /* unit -> string */
|
||||
{
|
||||
|
@ -3156,6 +3169,7 @@ report_init(void)
|
|||
add_function("trail", &eval_trail);
|
||||
add_function("localize", &eval_localize);
|
||||
add_function("spell", &eval_spell);
|
||||
add_function("curse", &eval_curse);
|
||||
add_function("resources", &eval_resources);
|
||||
add_function("regions", &eval_regions);
|
||||
|
||||
|
|
126
src/common/gamecode/spells.c
Normal file
126
src/common/gamecode/spells.c
Normal file
|
@ -0,0 +1,126 @@
|
|||
/* vi: set ts=2:
|
||||
* +-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
||||
* | | Enno Rehling <enno@eressea.de>
|
||||
* | Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
||||
* | (c) 1998 - 2005 |
|
||||
* | | This program may not be used, modified or distributed
|
||||
* +-------------------+ without prior permission by the authors of Eressea.
|
||||
*
|
||||
* This file contains spells that aren't referenced by the kernel. That should
|
||||
* really be most if not all the spells, but they are in spells/spells.c
|
||||
* because it's so much work to get them out of the big array.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "eressea.h"
|
||||
#include "spy.h"
|
||||
|
||||
#include <kernel/faction.h>
|
||||
#include <kernel/magic.h>
|
||||
#include <kernel/message.h>
|
||||
#include <kernel/region.h>
|
||||
#include <kernel/objtypes.h>
|
||||
#include <kernel/spell.h>
|
||||
#include <kernel/unit.h>
|
||||
|
||||
#include <util/functions.h>
|
||||
|
||||
|
||||
/* ------------------------------------------------------------- */
|
||||
/* Name: Plappermaul
|
||||
* Stufe: 4
|
||||
* Gebiet: Cerddor
|
||||
* Kategorie: Einheit
|
||||
*
|
||||
* Wirkung:
|
||||
* Einheit ausspionieren. Gibt auch Zauber und Kampfstatus aus. Wirkt
|
||||
* gegen Magieresistenz. Ist diese zu hoch, so wird der Zauber entdeckt
|
||||
* (Meldung) und der Zauberer erhält nur die Talente, nicht die Werte
|
||||
* der Einheit und auch keine Zauber.
|
||||
*
|
||||
* Flag:
|
||||
* (UNITSPELL | ONETARGET | TESTCANSEE)
|
||||
*/
|
||||
static int
|
||||
sp_babbler(castorder *co)
|
||||
{
|
||||
unit *target;
|
||||
region *r = co->rt;
|
||||
unit *mage = co->magician.u;
|
||||
int cast_level = co->level;
|
||||
spellparameter *pa = co->par;
|
||||
message * msg;
|
||||
|
||||
/* wenn kein Ziel gefunden, Zauber abbrechen */
|
||||
if (pa->param[0]->flag == TARGET_NOTFOUND) return 0;
|
||||
|
||||
target = pa->param[0]->data.u;
|
||||
|
||||
if (target->faction == mage->faction) {
|
||||
/* Die Einheit ist eine der unsrigen */
|
||||
cmistake(mage, co->order, 45, MSG_MAGIC);
|
||||
}
|
||||
|
||||
/* Magieresistenz Unit */
|
||||
if (target_resists_magic(mage, target, TYP_UNIT, 0)) {
|
||||
spy_message(5, mage, target);
|
||||
msg = msg_message("babbler_resist", "unit mage", target, mage);
|
||||
} else {
|
||||
spy_message(100, mage, target);
|
||||
msg = msg_message("babbler_effect", "unit", target);
|
||||
}
|
||||
r_addmessage(r, target->faction, msg);
|
||||
msg_release(msg);
|
||||
return cast_level;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------- */
|
||||
/* Name: Traumdeuten
|
||||
* Stufe: 7
|
||||
* Kategorie: Einheit
|
||||
*
|
||||
* Wirkung:
|
||||
* Wirkt gegen Magieresistenz. Spioniert die Einheit aus. Gibt alle
|
||||
* Gegenstände, Talente mit Stufe, Zauber und Kampfstatus an.
|
||||
*
|
||||
* Magieresistenz hier prüfen, wegen Fehlermeldung
|
||||
*
|
||||
* Flag:
|
||||
* (UNITSPELL | ONETARGET)
|
||||
*/
|
||||
static int
|
||||
sp_readmind(castorder *co)
|
||||
{
|
||||
unit *target;
|
||||
unit *mage = co->magician.u;
|
||||
int cast_level = co->level;
|
||||
spellparameter *pa = co->par;
|
||||
|
||||
/* wenn kein Ziel gefunden, Zauber abbrechen */
|
||||
if (pa->param[0]->flag == TARGET_NOTFOUND) return 0;
|
||||
|
||||
target = pa->param[0]->data.u;
|
||||
|
||||
if (target->faction == mage->faction) {
|
||||
/* Die Einheit ist eine der unsrigen */
|
||||
cmistake(mage, co->order, 45, MSG_MAGIC);
|
||||
}
|
||||
|
||||
/* Magieresistenz Unit */
|
||||
if (target_resists_magic(mage, target, TYP_UNIT, 0)) {
|
||||
cmistake(mage, co->order, 180, MSG_MAGIC);
|
||||
/* "Fühlt sich beobachtet"*/
|
||||
ADDMSG(&target->faction->msgs, msg_message("stealdetect", "unit", target));
|
||||
return 0;
|
||||
}
|
||||
spy_message(2, mage, target);
|
||||
|
||||
return cast_level;
|
||||
}
|
||||
|
||||
void
|
||||
register_gcspells(void)
|
||||
{
|
||||
register_function((pf_generic)&sp_babbler, "cast_babbler");
|
||||
register_function((pf_generic)&sp_readmind, "cast_readmind");
|
||||
}
|
15
src/common/gamecode/spells.h
Normal file
15
src/common/gamecode/spells.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* vi: set ts=2:
|
||||
* +-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
||||
* | | Enno Rehling <enno@eressea.de>
|
||||
* | Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
||||
* | (c) 1998 - 2005 |
|
||||
* | | This program may not be used, modified or distributed
|
||||
* +-------------------+ without prior permission by the authors of Eressea.
|
||||
*/
|
||||
|
||||
#ifndef GC_SPELLS_H
|
||||
#define GC_SPELLS_H
|
||||
|
||||
extern void register_gcspells(void);
|
||||
|
||||
#endif
|
|
@ -1,23 +1,23 @@
|
|||
/* vi: set ts=2:
|
||||
*
|
||||
*
|
||||
* Eressea PB(E)M host Copyright (C) 1998-2003
|
||||
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
||||
* Katja Zedel (katze@felidae.kn-bremen.de)
|
||||
* Henning Peters (faroul@beyond.kn-bremen.de)
|
||||
* Enno Rehling (enno@eressea-pbem.de)
|
||||
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
||||
*
|
||||
* based on:
|
||||
*
|
||||
* Atlantis v1.0 13 September 1993 Copyright 1993 by Russell Wallace
|
||||
* Atlantis v1.7 Copyright 1996 by Alex Schröder
|
||||
*
|
||||
* This program may not be used, modified or distributed without
|
||||
* prior permission by the authors of Eressea.
|
||||
* This program may not be sold or used commercially without prior written
|
||||
* permission from the authors.
|
||||
*/
|
||||
*
|
||||
*
|
||||
* Eressea PB(E)M host Copyright (C) 1998-2003
|
||||
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
||||
* Katja Zedel (katze@felidae.kn-bremen.de)
|
||||
* Henning Peters (faroul@beyond.kn-bremen.de)
|
||||
* Enno Rehling (enno@eressea-pbem.de)
|
||||
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
||||
*
|
||||
* based on:
|
||||
*
|
||||
* Atlantis v1.0 13 September 1993 Copyright 1993 by Russell Wallace
|
||||
* Atlantis v1.7 Copyright 1996 by Alex Schröder
|
||||
*
|
||||
* This program may not be used, modified or distributed without
|
||||
* prior permission by the authors of Eressea.
|
||||
* This program may not be sold or used commercially without prior written
|
||||
* permission from the authors.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "eressea.h"
|
||||
|
@ -59,73 +59,73 @@
|
|||
#include <attributes/otherfaction.h>
|
||||
|
||||
/* in spy steht der Unterschied zwischen Wahrnehmung des Opfers und
|
||||
* Spionage des Spions */
|
||||
* Spionage des Spions */
|
||||
void
|
||||
spy_message(int spy, const unit *u, const unit *target)
|
||||
{
|
||||
char buf[4096];
|
||||
const char *c;
|
||||
const char *c;
|
||||
|
||||
/* Infos:
|
||||
* - Kampfstatus
|
||||
* - verborgene Gegenstände: Amulette, Ringe, Phiolen, Geld
|
||||
* - Partei
|
||||
* - Talentinfo
|
||||
* - Zaubersprüche
|
||||
* - Zauberwirkungen
|
||||
*/
|
||||
/* mit spy=100 (magische Spionage) soll alles herausgefunden werden */
|
||||
/* Infos:
|
||||
* - Kampfstatus
|
||||
* - verborgene Gegenstände: Amulette, Ringe, Phiolen, Geld
|
||||
* - Partei
|
||||
* - Talentinfo
|
||||
* - Zaubersprüche
|
||||
* - Zauberwirkungen
|
||||
*/
|
||||
/* mit spy=100 (magische Spionage) soll alles herausgefunden werden */
|
||||
|
||||
buf[0]='\0';
|
||||
if (spy > 99){
|
||||
/* magische Spionage */
|
||||
/* Zauberwirkungen */
|
||||
}
|
||||
if (spy > 20){
|
||||
buf[0]='\0';
|
||||
if (spy > 99){
|
||||
/* magische Spionage */
|
||||
/* Zauberwirkungen */
|
||||
}
|
||||
if (spy > 20){
|
||||
sc_mage * m = get_mage(target);
|
||||
/* bei Magiern Zaubersprüche und Magiegebiet */
|
||||
if (m) {
|
||||
spell_list *slist = m->spells;
|
||||
boolean first = true;
|
||||
/* bei Magiern Zaubersprüche und Magiegebiet */
|
||||
if (m) {
|
||||
spell_list *slist = m->spells;
|
||||
boolean first = true;
|
||||
|
||||
scat("Magiegebiet: ");
|
||||
scat(LOC(u->faction->locale, magietypen[find_magetype(target)]));
|
||||
scat(", Sprüche: ");
|
||||
scat("Magiegebiet: ");
|
||||
scat(LOC(u->faction->locale, magietypen[find_magetype(target)]));
|
||||
scat(", Sprüche: ");
|
||||
|
||||
for (;slist; slist=slist->next) {
|
||||
spell * sp = slist->data;
|
||||
if (first) {
|
||||
first = false;
|
||||
} else {
|
||||
scat(", ");
|
||||
}
|
||||
scat(spell_name(sp, u->faction->locale));
|
||||
}
|
||||
if (first) scat("Keine");
|
||||
scat(". ");
|
||||
}
|
||||
}
|
||||
if (spy > 6){
|
||||
/* wahre Partei */
|
||||
scat("Partei '");
|
||||
scat(factionname(target->faction));
|
||||
scat("'. ");
|
||||
} else {
|
||||
/* ist die Einheit in Spionage nicht gut genug, glaubt sie die
|
||||
* Parteitarnung */
|
||||
faction *fv = visible_faction(u->faction,target);
|
||||
for (;slist; slist=slist->next) {
|
||||
spell * sp = slist->data;
|
||||
if (first) {
|
||||
first = false;
|
||||
} else {
|
||||
scat(", ");
|
||||
}
|
||||
scat(spell_name(sp, u->faction->locale));
|
||||
}
|
||||
if (first) scat("Keine");
|
||||
scat(". ");
|
||||
}
|
||||
}
|
||||
if (spy > 6){
|
||||
/* wahre Partei */
|
||||
scat("Partei '");
|
||||
scat(factionname(target->faction));
|
||||
scat("'. ");
|
||||
} else {
|
||||
/* ist die Einheit in Spionage nicht gut genug, glaubt sie die
|
||||
* Parteitarnung */
|
||||
faction *fv = visible_faction(u->faction,target);
|
||||
|
||||
if (fv != target->faction){
|
||||
scat("Partei '");
|
||||
scat(factionname(fv));
|
||||
scat("'. ");
|
||||
} else if (!fval(target, UFL_PARTEITARNUNG)){
|
||||
scat("Partei '");
|
||||
scat(factionname(target->faction));
|
||||
scat("'. ");
|
||||
}
|
||||
}
|
||||
if (spy > 0){
|
||||
if (fv != target->faction){
|
||||
scat("Partei '");
|
||||
scat(factionname(fv));
|
||||
scat("'. ");
|
||||
} else if (!fval(target, UFL_PARTEITARNUNG)){
|
||||
scat("Partei '");
|
||||
scat(factionname(target->faction));
|
||||
scat("'. ");
|
||||
}
|
||||
}
|
||||
if (spy > 0){
|
||||
int first = 1;
|
||||
int found = 0;
|
||||
skill * sv;
|
||||
|
@ -149,51 +149,51 @@ spy_message(int spy, const unit *u, const unit *target)
|
|||
}
|
||||
scat(". ");
|
||||
|
||||
scat("Im Gepäck sind");
|
||||
{
|
||||
boolean first = true;
|
||||
int found = 0;
|
||||
item * itm;
|
||||
for (itm=target->items;itm;itm=itm->next) {
|
||||
if (itm->number>0) {
|
||||
resource_type * rtype = itm->type->rtype;
|
||||
++found;
|
||||
if (first) {
|
||||
first = false;
|
||||
scat(": ");
|
||||
} else {
|
||||
scat(", ");
|
||||
}
|
||||
scat("Im Gepäck sind");
|
||||
{
|
||||
boolean first = true;
|
||||
int found = 0;
|
||||
item * itm;
|
||||
for (itm=target->items;itm;itm=itm->next) {
|
||||
if (itm->number>0) {
|
||||
resource_type * rtype = itm->type->rtype;
|
||||
++found;
|
||||
if (first) {
|
||||
first = false;
|
||||
scat(": ");
|
||||
} else {
|
||||
scat(", ");
|
||||
}
|
||||
|
||||
if (itm->number == 1) {
|
||||
scat("1 ");
|
||||
scat(locale_string(u->faction->locale, resourcename(rtype, 0)));
|
||||
} else {
|
||||
icat(itm->number);
|
||||
scat(" ");
|
||||
scat(locale_string(u->faction->locale, resourcename(rtype, NMF_PLURAL)));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (found == 0) {
|
||||
scat(" keine verborgenen Gegenstände");
|
||||
}
|
||||
scat(". ");
|
||||
}
|
||||
}
|
||||
/* spion ist gleich gut wie Wahrnehmung Opfer */
|
||||
/* spion ist schlechter als Wahrnehmung Opfer */
|
||||
{ /* immer */
|
||||
scat("Kampfstatus: ");
|
||||
scat(report_kampfstatus(target, u->faction->locale));
|
||||
c = locale_string(u->faction->locale, hp_status(target));
|
||||
if (c && strlen(c))
|
||||
sprintf(buf, "%s (%s)", buf, c);
|
||||
scat(".");
|
||||
}
|
||||
if (itm->number == 1) {
|
||||
scat("1 ");
|
||||
scat(locale_string(u->faction->locale, resourcename(rtype, 0)));
|
||||
} else {
|
||||
icat(itm->number);
|
||||
scat(" ");
|
||||
scat(locale_string(u->faction->locale, resourcename(rtype, NMF_PLURAL)));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (found == 0) {
|
||||
scat(" keine verborgenen Gegenstände");
|
||||
}
|
||||
scat(". ");
|
||||
}
|
||||
}
|
||||
/* spion ist gleich gut wie Wahrnehmung Opfer */
|
||||
/* spion ist schlechter als Wahrnehmung Opfer */
|
||||
{ /* immer */
|
||||
scat("Kampfstatus: ");
|
||||
scat(report_kampfstatus(target, u->faction->locale));
|
||||
c = locale_string(u->faction->locale, hp_status(target));
|
||||
if (c && strlen(c))
|
||||
sprintf(buf, "%s (%s)", buf, c);
|
||||
scat(".");
|
||||
}
|
||||
|
||||
ADDMSG(&u->faction->msgs, msg_message("spyreport",
|
||||
"spy target report", u, target, strdup(buf)));
|
||||
ADDMSG(&u->faction->msgs, msg_message("spyreport",
|
||||
"spy target report", u, target, strdup(buf)));
|
||||
}
|
||||
|
||||
|
||||
|
@ -372,8 +372,8 @@ setstealth_cmd(unit * u, struct order * ord)
|
|||
} else {
|
||||
region * lastr = NULL;
|
||||
/* for all units mu of our faction, check all the units in the region
|
||||
* they are in, if their visible faction is f, it's ok. use lastr to
|
||||
* avoid testing the same region twice in a row. */
|
||||
* they are in, if their visible faction is f, it's ok. use lastr to
|
||||
* avoid testing the same region twice in a row. */
|
||||
unit * mu = u->faction->units;
|
||||
while (mu!=NULL) {
|
||||
unit * ru = mu->region->units;
|
||||
|
@ -465,31 +465,31 @@ setstealth_cmd(unit * u, struct order * ord)
|
|||
static int
|
||||
faction_skill(region * r, faction * f, skill_t sk)
|
||||
{
|
||||
int value = 0;
|
||||
unit *u;
|
||||
int value = 0;
|
||||
unit *u;
|
||||
|
||||
for (u=r->units; u; u=u->next) {
|
||||
if (u->faction == f) {
|
||||
int s = eff_skill(u, sk, r);
|
||||
value = max(value, s);
|
||||
}
|
||||
if (u->faction == f) {
|
||||
int s = eff_skill(u, sk, r);
|
||||
value = max(value, s);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
return value;
|
||||
}
|
||||
|
||||
static int
|
||||
crew_skill(region * r, faction * f, ship * sh, skill_t sk)
|
||||
{
|
||||
int value = 0;
|
||||
unit *u;
|
||||
int value = 0;
|
||||
unit *u;
|
||||
|
||||
for (u=r->units;u;u=u->next) {
|
||||
if (u->ship == sh && u->faction == f) {
|
||||
int s = eff_skill(u, sk, r);
|
||||
value = max(s, value);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
for (u=r->units;u;u=u->next) {
|
||||
if (u->ship == sh && u->faction == f) {
|
||||
int s = eff_skill(u, sk, r);
|
||||
value = max(s, value);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -536,28 +536,28 @@ try_destruction(unit * u, unit * u2, const char *name, int skilldiff)
|
|||
static void
|
||||
sink_ship(region * r, ship * sh, const char *name, char spy, unit * saboteur)
|
||||
{
|
||||
const char *person_lost_msg = "- %d Person von %s ertrinkt; %s.";
|
||||
const char *persons_lost_msg = "- %d Personen von %s ertrinken; %s.";
|
||||
const char *unit_dies_msg = "Die Einheit wird ausgeloescht";
|
||||
const char *unit_lives_msg = "Die Einheit rettet sich nach ";
|
||||
const char *unit_intact_msg = "%s ueberlebt unbeschadet und rettet sich nach %s.";
|
||||
const char *ship_sinks_msg = "%s versinkt im Ozean.";
|
||||
const char *enemy_discovers_spy_msg = "%s wurde beim versenken von %s entdeckt.";
|
||||
const char *spy_discovered_msg = "%s entdeckte %s beim versenken von %s.";
|
||||
unit **ui;
|
||||
region *safety = r;
|
||||
int i;
|
||||
direction_t d;
|
||||
unsigned int index;
|
||||
double probability = 0.0;
|
||||
char buffer[DISPLAYSIZE + 1];
|
||||
vset informed;
|
||||
vset survivors;
|
||||
const char *person_lost_msg = "- %d Person von %s ertrinkt; %s.";
|
||||
const char *persons_lost_msg = "- %d Personen von %s ertrinken; %s.";
|
||||
const char *unit_dies_msg = "Die Einheit wird ausgeloescht";
|
||||
const char *unit_lives_msg = "Die Einheit rettet sich nach ";
|
||||
const char *unit_intact_msg = "%s ueberlebt unbeschadet und rettet sich nach %s.";
|
||||
const char *ship_sinks_msg = "%s versinkt im Ozean.";
|
||||
const char *enemy_discovers_spy_msg = "%s wurde beim versenken von %s entdeckt.";
|
||||
const char *spy_discovered_msg = "%s entdeckte %s beim versenken von %s.";
|
||||
unit **ui;
|
||||
region *safety = r;
|
||||
int i;
|
||||
direction_t d;
|
||||
unsigned int index;
|
||||
double probability = 0.0;
|
||||
char buffer[DISPLAYSIZE + 1];
|
||||
vset informed;
|
||||
vset survivors;
|
||||
|
||||
vset_init(&informed);
|
||||
vset_init(&survivors);
|
||||
vset_init(&informed);
|
||||
vset_init(&survivors);
|
||||
|
||||
/* figure out what a unit's chances of survival are: */
|
||||
/* figure out what a unit's chances of survival are: */
|
||||
if (!fval(r->terrain, SEA_REGION)) {
|
||||
probability = CANAL_SWIMMER_CHANCE;
|
||||
} else {
|
||||
|
@ -570,133 +570,133 @@ sink_ship(region * r, ship * sh, const char *name, char spy, unit * saboteur)
|
|||
}
|
||||
}
|
||||
}
|
||||
for (ui = &r->units; *ui; ui = &(*ui)->next) {
|
||||
unit *u = *ui;
|
||||
for (ui = &r->units; *ui; ui = &(*ui)->next) {
|
||||
unit *u = *ui;
|
||||
|
||||
/* inform this faction about the sinking ship: */
|
||||
vset_add(&informed, u->faction);
|
||||
if (u->ship == sh) {
|
||||
int dead = 0;
|
||||
/* inform this faction about the sinking ship: */
|
||||
vset_add(&informed, u->faction);
|
||||
if (u->ship == sh) {
|
||||
int dead = 0;
|
||||
|
||||
/* if this fails, I misunderstood something: */
|
||||
for (i = 0; i != u->number; ++i)
|
||||
if (chance(probability))
|
||||
++dead;
|
||||
/* if this fails, I misunderstood something: */
|
||||
for (i = 0; i != u->number; ++i)
|
||||
if (chance(probability))
|
||||
++dead;
|
||||
|
||||
if (dead != u->number)
|
||||
/* she will live. but her items get stripped */
|
||||
{
|
||||
vset_add(&survivors, u);
|
||||
if (dead > 0) {
|
||||
strcat(strcpy(buffer, unit_lives_msg), regionname(safety, u->faction));
|
||||
sprintf(buf, (dead == 1) ? person_lost_msg : persons_lost_msg,
|
||||
dead, unitname(u), buffer);
|
||||
} else
|
||||
sprintf(buf, unit_intact_msg, unitname(u), regionname(safety, u->faction));
|
||||
addmessage(0, u->faction, buf, MSG_EVENT, ML_WARN);
|
||||
set_leftship(u, u->ship);
|
||||
u->ship = 0;
|
||||
if (r != safety)
|
||||
setguard(u, GUARD_NONE);
|
||||
while (u->items) i_remove(&u->items, u->items);
|
||||
move_unit(u, safety, NULL);
|
||||
} else {
|
||||
sprintf(buf, (dead == 1) ? person_lost_msg : persons_lost_msg,
|
||||
dead, unitname(u), unit_dies_msg);
|
||||
}
|
||||
if (dead == u->number) {
|
||||
if (dead != u->number)
|
||||
/* she will live. but her items get stripped */
|
||||
{
|
||||
vset_add(&survivors, u);
|
||||
if (dead > 0) {
|
||||
strcat(strcpy(buffer, unit_lives_msg), regionname(safety, u->faction));
|
||||
sprintf(buf, (dead == 1) ? person_lost_msg : persons_lost_msg,
|
||||
dead, unitname(u), buffer);
|
||||
} else
|
||||
sprintf(buf, unit_intact_msg, unitname(u), regionname(safety, u->faction));
|
||||
addmessage(0, u->faction, buf, MSG_EVENT, ML_WARN);
|
||||
set_leftship(u, u->ship);
|
||||
u->ship = 0;
|
||||
if (r != safety)
|
||||
setguard(u, GUARD_NONE);
|
||||
while (u->items) i_remove(&u->items, u->items);
|
||||
move_unit(u, safety, NULL);
|
||||
} else {
|
||||
sprintf(buf, (dead == 1) ? person_lost_msg : persons_lost_msg,
|
||||
dead, unitname(u), unit_dies_msg);
|
||||
}
|
||||
if (dead == u->number) {
|
||||
/* the poor creature, she dies */
|
||||
*ui = u->next;
|
||||
destroy_unit(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
*ui = u->next;
|
||||
destroy_unit(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* inform everyone, and reduce money to the absolutely necessary
|
||||
* amount: */
|
||||
while (informed.size != 0) {
|
||||
unit *lastunit = 0;
|
||||
/* inform everyone, and reduce money to the absolutely necessary
|
||||
* amount: */
|
||||
while (informed.size != 0) {
|
||||
unit *lastunit = 0;
|
||||
int money = 0, maintain = 0;
|
||||
faction * f = (faction *) informed.data[0];
|
||||
faction * f = (faction *) informed.data[0];
|
||||
|
||||
/* find out how much money this faction still has: */
|
||||
for (index = 0; index != survivors.size; ++index) {
|
||||
unit *u = (unit *) survivors.data[index];
|
||||
for (index = 0; index != survivors.size; ++index) {
|
||||
unit *u = (unit *) survivors.data[index];
|
||||
|
||||
if (u->faction == f) {
|
||||
maintain += maintenance_cost(u);
|
||||
money += get_money(u);
|
||||
lastunit = u;
|
||||
}
|
||||
}
|
||||
/* 'money' shall be the maintenance-surplus of the survivng
|
||||
* units: */
|
||||
money = money - maintain;
|
||||
for (index = 0; money > 0; ++index) {
|
||||
int remove;
|
||||
unit *u = (unit *) survivors.data[index];
|
||||
if (u->faction == f) {
|
||||
maintain += maintenance_cost(u);
|
||||
money += get_money(u);
|
||||
lastunit = u;
|
||||
}
|
||||
}
|
||||
/* 'money' shall be the maintenance-surplus of the survivng
|
||||
* units: */
|
||||
money = money - maintain;
|
||||
for (index = 0; money > 0; ++index) {
|
||||
int remove;
|
||||
unit *u = (unit *) survivors.data[index];
|
||||
|
||||
assert(index < survivors.size);
|
||||
if (u->faction == f && playerrace(u->race)) {
|
||||
remove = min(get_money(u), money);
|
||||
money -= remove;
|
||||
change_money(u, -remove);
|
||||
}
|
||||
}
|
||||
/* finally, report to this faction that the ship sank: */
|
||||
sprintf(buf, ship_sinks_msg, name);
|
||||
addmessage(0, f, buf, MSG_EVENT, ML_WARN);
|
||||
vset_erase(&informed, f);
|
||||
if (spy == 1 && f != saboteur->faction &&
|
||||
faction_skill(r, f, SK_OBSERVATION) - eff_skill(saboteur, SK_STEALTH, r) > 0) {
|
||||
/* the unit is discovered */
|
||||
sprintf(buf, spy_discovered_msg, lastunit, unitname(saboteur), name);
|
||||
addmessage(0, f, buf, MSG_EVENT, ML_IMPORTANT);
|
||||
sprintf(buf, enemy_discovers_spy_msg, unitname(saboteur), name);
|
||||
addmessage(0, saboteur->faction, buf, MSG_EVENT, ML_MISTAKE);
|
||||
}
|
||||
}
|
||||
/* finally, get rid of the ship */
|
||||
destroy_ship(sh);
|
||||
vset_destroy(&informed);
|
||||
vset_destroy(&survivors);
|
||||
assert(index < survivors.size);
|
||||
if (u->faction == f && playerrace(u->race)) {
|
||||
remove = min(get_money(u), money);
|
||||
money -= remove;
|
||||
change_money(u, -remove);
|
||||
}
|
||||
}
|
||||
/* finally, report to this faction that the ship sank: */
|
||||
sprintf(buf, ship_sinks_msg, name);
|
||||
addmessage(0, f, buf, MSG_EVENT, ML_WARN);
|
||||
vset_erase(&informed, f);
|
||||
if (spy == 1 && f != saboteur->faction &&
|
||||
faction_skill(r, f, SK_OBSERVATION) - eff_skill(saboteur, SK_STEALTH, r) > 0) {
|
||||
/* the unit is discovered */
|
||||
sprintf(buf, spy_discovered_msg, lastunit, unitname(saboteur), name);
|
||||
addmessage(0, f, buf, MSG_EVENT, ML_IMPORTANT);
|
||||
sprintf(buf, enemy_discovers_spy_msg, unitname(saboteur), name);
|
||||
addmessage(0, saboteur->faction, buf, MSG_EVENT, ML_MISTAKE);
|
||||
}
|
||||
}
|
||||
/* finally, get rid of the ship */
|
||||
destroy_ship(sh);
|
||||
vset_destroy(&informed);
|
||||
vset_destroy(&survivors);
|
||||
}
|
||||
|
||||
int
|
||||
sabotage_cmd(unit * u, struct order * ord)
|
||||
{
|
||||
const char *s;
|
||||
int i;
|
||||
ship *sh;
|
||||
unit *u2;
|
||||
char buffer[DISPLAYSIZE];
|
||||
const char *s;
|
||||
int i;
|
||||
ship *sh;
|
||||
unit *u2;
|
||||
char buffer[DISPLAYSIZE];
|
||||
region * r = u->region;
|
||||
|
||||
init_tokens(ord);
|
||||
skip_token();
|
||||
s = getstrtoken();
|
||||
s = getstrtoken();
|
||||
|
||||
i = findparam(s, u->faction->locale);
|
||||
i = findparam(s, u->faction->locale);
|
||||
|
||||
switch (i) {
|
||||
case P_SHIP:
|
||||
sh = u->ship;
|
||||
if (!sh) {
|
||||
cmistake(u, u->thisorder, 144, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
u2 = shipowner(sh);
|
||||
strcat(strcpy(buffer, shipname(sh)), sh->type->name[0]);
|
||||
if (try_destruction(u, u2, buffer, eff_skill(u, SK_SPY, r)
|
||||
- crew_skill(r, u2->faction, sh, SK_OBSERVATION))) {
|
||||
sink_ship(r, sh, buffer, 1, u);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
cmistake(u, u->thisorder, 9, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
switch (i) {
|
||||
case P_SHIP:
|
||||
sh = u->ship;
|
||||
if (!sh) {
|
||||
cmistake(u, u->thisorder, 144, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
u2 = shipowner(sh);
|
||||
strcat(strcpy(buffer, shipname(sh)), sh->type->name[0]);
|
||||
if (try_destruction(u, u2, buffer, eff_skill(u, SK_SPY, r)
|
||||
- crew_skill(r, u2->faction, sh, SK_OBSERVATION))) {
|
||||
sink_ship(r, sh, buffer, 1, u);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
cmistake(u, u->thisorder, 9, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
446
src/common/items/items.vc8.vcproj
Normal file
446
src/common/items/items.vc8.vcproj
Normal file
|
@ -0,0 +1,446 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="items"
|
||||
ProjectGUID="{C14E3D2B-8189-4570-A4E3-9010C873E4FD}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/items.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\items.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/items.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/items.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\items.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/items.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\items.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/items.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\artrewards.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\demonseye.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\itemtypes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\seed.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\weapons.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xerewards.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\artrewards.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\demonseye.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\itemtypes.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\phoenixcompass.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\seed.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\weapons.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xerewards.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -38,7 +38,6 @@ SOURCES =
|
|||
save.c
|
||||
ship.c
|
||||
skill.c
|
||||
spy.c
|
||||
spell.c
|
||||
teleport.c
|
||||
terrain.c
|
||||
|
|
|
@ -2601,24 +2601,6 @@ wage(const region *r, const faction * f, const race * rc)
|
|||
}
|
||||
|
||||
|
||||
static region *
|
||||
findspecialdirection(const region *r, const xmlChar *token)
|
||||
{
|
||||
attrib *a;
|
||||
spec_direction *d;
|
||||
|
||||
if (xstrlen(token)==0) return NULL;
|
||||
for (a = a_find(r->attribs, &at_direction);a && a->type==&at_direction;a=a->next) {
|
||||
d = (spec_direction *)(a->data.v);
|
||||
|
||||
if (d->active && xmlStrncasecmp(d->keyword, token, xstrlen(token)) == 0) {
|
||||
return findregion(d->x, d->y);
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#define MAINTENANCE 10
|
||||
int
|
||||
maintenance_cost(const struct unit * u)
|
||||
|
@ -2663,7 +2645,7 @@ movewhere(const unit *u, const xmlChar * token, region * r, region** resultp)
|
|||
break;
|
||||
|
||||
case NODIRECTION:
|
||||
r2 = findspecialdirection(r, token);
|
||||
r2 = find_special_direction(r, token, u->faction->locale);
|
||||
if (r2==NULL) {
|
||||
return E_MOVE_NOREGION;
|
||||
}
|
||||
|
|
|
@ -276,8 +276,6 @@ void scale_number(struct unit * u, int n);
|
|||
int unit_max_hp(const struct unit * u);
|
||||
int ispresent(const struct faction * f, const struct region * r);
|
||||
|
||||
xmlChar * set_string(xmlChar **s, const xmlChar *neu);
|
||||
|
||||
int check_option(struct faction * f, int option);
|
||||
extern void parse(keyword_t kword, int (*dofun)(struct unit *, struct order *), boolean thisorder);
|
||||
|
||||
|
|
|
@ -501,7 +501,7 @@ i_change(item ** pi, const item_type * itype, int delta)
|
|||
assert(i->number >= 0);
|
||||
if (i->number==0) {
|
||||
*pi = i->next;
|
||||
free(i);
|
||||
i_free(i);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
@ -519,10 +519,20 @@ i_remove(item ** pi, item * i)
|
|||
return i;
|
||||
}
|
||||
|
||||
static item * icache;
|
||||
static int icache_size;
|
||||
#define ICACHE_MAX 100
|
||||
|
||||
void
|
||||
i_free(item * i) {
|
||||
assert(!i->next);
|
||||
free(i);
|
||||
i_free(item * i)
|
||||
{
|
||||
if (icache_size>=ICACHE_MAX) {
|
||||
free(i);
|
||||
} else {
|
||||
i->next = icache;
|
||||
icache = i;
|
||||
++icache_size;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -531,7 +541,7 @@ i_freeall(item **i) {
|
|||
|
||||
while(*i) {
|
||||
in = (*i)->next;
|
||||
free(*i);
|
||||
i_free(*i);
|
||||
*i = in;
|
||||
}
|
||||
}
|
||||
|
@ -540,8 +550,16 @@ i_freeall(item **i) {
|
|||
item *
|
||||
i_new(const item_type * itype, int size)
|
||||
{
|
||||
item * i = calloc(1, sizeof(item));
|
||||
item * i;
|
||||
if (icache_size>0) {
|
||||
i = icache;
|
||||
icache = i->next;
|
||||
--icache_size;
|
||||
} else {
|
||||
i = malloc(sizeof(item));
|
||||
}
|
||||
assert(itype);
|
||||
i->next = NULL;
|
||||
i->type = itype;
|
||||
i->number = size;
|
||||
return i;
|
||||
|
|
568
src/common/kernel/kernel.vc8.vcproj
Normal file
568
src/common/kernel/kernel.vc8.vcproj
Normal file
|
@ -0,0 +1,568 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="kernel"
|
||||
ProjectGUID="{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory=".\Profile"
|
||||
IntermediateDirectory=".\Profile"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Profile/kernel.pch"
|
||||
AssemblerListingLocation=".\Profile/"
|
||||
ObjectFile=".\Profile/"
|
||||
ProgramDataBaseFileName=".\Profile/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Profile\kernel.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/kernel.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/kernel.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\kernel.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\alchemy.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\alliance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\battle.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\border.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\build.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\building.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\calendar.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\command.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\creation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\curse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\equipment.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\eressea.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\faction.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\group.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\item.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\karma.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\magic.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\movement.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\names.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\objtypes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\order.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pathfinder.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\player.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pool.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\race.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\region.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\render.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\reports.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\resources.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\save.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ship.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\skill.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spell.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\study.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\teleport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\terrain.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\types.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unit.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\alchemy.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\alliance.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\battle.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\border.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\build.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\building.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\calendar.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\command.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\curse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\equipment.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\eressea.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\faction.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\group.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\item.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\karma.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\magic.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\movement.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\names.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\order.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pathfinder.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\player.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pool.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\race.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\region.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\reports.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\resources.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\save.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ship.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\skill.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spell.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\teleport.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\terrain.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\terrainid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unit.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\version.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmlkernel.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmlreader.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -2838,6 +2838,12 @@ spell_name(const spell * sp, const struct locale * lang)
|
|||
return LOC(lang, mkname("spell", sp->sname));
|
||||
}
|
||||
|
||||
const xmlChar *
|
||||
curse_name(const curse_type * ctype, const struct locale * lang)
|
||||
{
|
||||
return LOC(lang, mkname("spell", ctype->cname));
|
||||
}
|
||||
|
||||
void
|
||||
spelllist_add(spell_list ** lspells, spell * sp)
|
||||
{
|
||||
|
|
|
@ -373,6 +373,7 @@ extern struct unit * has_clone(struct unit * mage);
|
|||
|
||||
extern const xmlChar * spell_info(const struct spell * sp, const struct locale * lang);
|
||||
extern const xmlChar * spell_name(const struct spell * sp, const struct locale * lang);
|
||||
extern const xmlChar * curse_name(const struct curse_type * ctype, const struct locale * lang);
|
||||
|
||||
extern struct message * msg_unitnotfound(const struct unit * mage, struct order * ord, const struct spllprm * spobj);
|
||||
|
||||
|
|
|
@ -84,10 +84,10 @@ get_keyword(const order * ord)
|
|||
return ORD_KEYWORD(ord);
|
||||
}
|
||||
|
||||
static xmlChar *
|
||||
get_command(const order * ord, xmlChar * sbuffer, size_t bufsize)
|
||||
static char *
|
||||
get_command(const order * ord, char * sbuffer, size_t bufsize)
|
||||
{
|
||||
xmlChar * str = sbuffer;
|
||||
char * str = sbuffer;
|
||||
const xmlChar * text = ORD_STRING(ord);
|
||||
keyword_t kwd = ORD_KEYWORD(ord);
|
||||
|
||||
|
@ -96,13 +96,13 @@ get_command(const order * ord, xmlChar * sbuffer, size_t bufsize)
|
|||
const struct locale * lang = ORD_LOCALE(ord);
|
||||
size_t size = bufsize-(str-sbuffer);
|
||||
if (text) --size;
|
||||
str += strlcpy((char*)str, (const char*)LOC(lang, keywords[kwd]), size);
|
||||
str += strlcpy(str, (const char*)LOC(lang, keywords[kwd]), size);
|
||||
if (text) {
|
||||
*str++ = ' ';
|
||||
}
|
||||
}
|
||||
if (text) {
|
||||
str += strlcpy((char*)str, (const char *)text, bufsize-(str-sbuffer));
|
||||
str += strlcpy(str, (const char *)text, bufsize-(str-sbuffer));
|
||||
}
|
||||
return sbuffer;
|
||||
}
|
||||
|
@ -110,8 +110,8 @@ get_command(const order * ord, xmlChar * sbuffer, size_t bufsize)
|
|||
xmlChar *
|
||||
getcommand(const order * ord)
|
||||
{
|
||||
xmlChar sbuffer[DISPLAYSIZE*2];
|
||||
return xmlStrdup(get_command(ord, sbuffer, sizeof(sbuffer)));
|
||||
char sbuffer[DISPLAYSIZE*2];
|
||||
return xmlStrdup((xmlChar *)get_command(ord, sbuffer, sizeof(sbuffer)));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -459,8 +459,8 @@ is_persistent(const order * ord)
|
|||
return persist || is_repeated(ord);
|
||||
}
|
||||
|
||||
xmlChar *
|
||||
write_order(const order * ord, const struct locale * lang, xmlChar * buffer, size_t size)
|
||||
char *
|
||||
write_order(const order * ord, const struct locale * lang, char * buffer, size_t size)
|
||||
{
|
||||
if (ord==0) {
|
||||
buffer[0]=0;
|
||||
|
@ -468,7 +468,7 @@ write_order(const order * ord, const struct locale * lang, xmlChar * buffer, siz
|
|||
keyword_t kwd = ORD_KEYWORD(ord);
|
||||
if (kwd==NOKEYWORD) {
|
||||
const xmlChar * text = ORD_STRING(ord);
|
||||
strlcpy((char *)buffer, (const char *)text, size);
|
||||
strlcpy(buffer, (const char *)text, size);
|
||||
} else {
|
||||
get_command(ord, buffer, size);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ extern boolean is_persistent(const order *ord);
|
|||
extern boolean is_exclusive(const order *ord);
|
||||
extern boolean is_repeated(const order * ord);
|
||||
|
||||
extern xmlChar * write_order(const order * ord, const struct locale * lang, xmlChar * buffer, size_t size);
|
||||
extern char * write_order(const order * ord, const struct locale * lang, char * buffer, size_t size);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
#include <util/attrib.h>
|
||||
#include <util/lists.h>
|
||||
#include <util/resolve.h>
|
||||
#include <util/umlaut.h>
|
||||
#include <util/language.h>
|
||||
#include <util/rng.h>
|
||||
|
||||
/* libc includes */
|
||||
|
@ -80,11 +82,11 @@ const short delta_y[MAXDIRECTIONS] =
|
|||
static const direction_t back[MAXDIRECTIONS] =
|
||||
{
|
||||
D_SOUTHEAST,
|
||||
D_SOUTHWEST,
|
||||
D_WEST,
|
||||
D_NORTHWEST,
|
||||
D_NORTHEAST,
|
||||
D_EAST,
|
||||
D_SOUTHWEST,
|
||||
D_WEST,
|
||||
D_NORTHWEST,
|
||||
D_NORTHEAST,
|
||||
D_EAST,
|
||||
};
|
||||
|
||||
direction_t
|
||||
|
@ -176,6 +178,8 @@ chaoscounts(region * r, int fallen)
|
|||
if (a->data.i<=0) a_remove(&r->attribs, a);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/********************/
|
||||
/* at_direction */
|
||||
/********************/
|
||||
|
@ -202,21 +206,72 @@ a_agedirection(attrib *a)
|
|||
return d->duration;
|
||||
}
|
||||
|
||||
typedef struct dir_lookup {
|
||||
char * name;
|
||||
const xmlChar * oldname;
|
||||
struct dir_lookup * next;
|
||||
} dir_lookup;
|
||||
|
||||
static dir_lookup * dir_name_lookup;
|
||||
|
||||
void
|
||||
register_special_direction(const char * name)
|
||||
{
|
||||
struct locale * lang;
|
||||
char * str = strdup(name);
|
||||
|
||||
for (lang=locales;lang;lang=nextlocale(lang)) {
|
||||
tnode * tokens = get_translations(lang, UT_SPECDIR);
|
||||
const xmlChar * token = LOC(lang, name);
|
||||
|
||||
if (token) {
|
||||
variant var;
|
||||
|
||||
var.v = str;
|
||||
addtoken(tokens, token, var);
|
||||
|
||||
if (lang==default_locale) {
|
||||
dir_lookup * dl = malloc(sizeof(dir_lookup));
|
||||
dl->name = str;
|
||||
dl->oldname = token;
|
||||
dl->next = dir_name_lookup;
|
||||
dir_name_lookup = dl;
|
||||
}
|
||||
} else {
|
||||
log_error(("no translation for spec_direction '%s' in locale '%s'\n",
|
||||
name, locale_name(lang)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
a_readdirection(attrib *a, FILE *f)
|
||||
{
|
||||
char lbuf[16];
|
||||
spec_direction *d = (spec_direction *)(a->data.v);
|
||||
|
||||
fscanf(f, "%hd %hd %d", &d->x, &d->y, &d->duration);
|
||||
fscanf(f, "%15s ", lbuf);
|
||||
d->desc = strdup(lbuf);
|
||||
fscanf(f, "%15s ", lbuf);
|
||||
d->keyword = strdup(lbuf);
|
||||
if (global.data_version<UNICODE_VERSION) {
|
||||
dir_lookup * dl = dir_name_lookup;
|
||||
|
||||
cstring_i(d->desc);
|
||||
cstring_i(d->keyword);
|
||||
/* TODO: reverse lookup of desc and keyword or something? */
|
||||
assert(!"not implemented");
|
||||
cstring_i(lbuf);
|
||||
for (;dl;dl=dl->next) {
|
||||
if (strcmp(lbuf, (const char *)dl->oldname)==0) {
|
||||
d->keyword=strdup(dl->name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (dl==NULL) {
|
||||
log_error(("unknown spec_direction '%s'\n", lbuf));
|
||||
assert(!"not implemented");
|
||||
}
|
||||
}
|
||||
else {
|
||||
d->keyword = strdup(lbuf);
|
||||
}
|
||||
d->active = true;
|
||||
return AT_READ_OK;
|
||||
|
@ -228,7 +283,7 @@ a_writedirection(const attrib *a, FILE *f)
|
|||
spec_direction *d = (spec_direction *)(a->data.v);
|
||||
|
||||
fprintf(f, "%d %d %d %s %s ", d->x, d->y, d->duration,
|
||||
(const char *)d->desc, (const char *)d->keyword);
|
||||
d->desc, d->keyword);
|
||||
}
|
||||
|
||||
attrib_type at_direction = {
|
||||
|
@ -240,6 +295,29 @@ attrib_type at_direction = {
|
|||
a_readdirection
|
||||
};
|
||||
|
||||
region *
|
||||
find_special_direction(const region *r, const xmlChar *token, const struct locale * lang)
|
||||
{
|
||||
attrib *a;
|
||||
spec_direction *d;
|
||||
|
||||
if (xstrlen(token)==0) return NULL;
|
||||
for (a = a_find(r->attribs, &at_direction);a && a->type==&at_direction;a=a->next) {
|
||||
d = (spec_direction *)(a->data.v);
|
||||
|
||||
if (d->active) {
|
||||
tnode * tokens = get_translations(lang, UT_SPECDIR);
|
||||
variant var;
|
||||
if (findtoken(tokens, token, &var)==E_TOK_SUCCESS) {
|
||||
if (strcmp((const char *)var.v, d->keyword)==0) {
|
||||
return findregion(d->x, d->y);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
attrib *
|
||||
create_special_direction(region *r, region * rt, int duration,
|
||||
|
|
|
@ -164,6 +164,9 @@ void runhash(struct region * r);
|
|||
|
||||
void free_regionlist(region_list *rl);
|
||||
void add_regionlist(region_list **rl, struct region *r);
|
||||
|
||||
extern struct region * find_special_direction(const struct region *r, const xmlChar *token, const struct locale * lang);
|
||||
extern void register_special_direction(const char * name);
|
||||
extern struct spec_direction * special_direction(const region * from, const region * to);
|
||||
extern struct attrib *create_special_direction(struct region *r, struct region *rt,
|
||||
int duration, const char *desc,
|
||||
|
|
|
@ -1577,6 +1577,7 @@ reports_init(void)
|
|||
register_argtype("ship", NULL, NULL, VAR_VOIDPTR);
|
||||
register_argtype("skill", NULL, NULL, VAR_VOIDPTR);
|
||||
register_argtype("spell", NULL, NULL, VAR_VOIDPTR);
|
||||
register_argtype("curse", NULL, NULL, VAR_VOIDPTR);
|
||||
register_argtype("unit", NULL, NULL, VAR_VOIDPTR);
|
||||
register_argtype("int", NULL, NULL, VAR_INT);
|
||||
register_argtype("string", var_free_string, var_copy_string, VAR_VOIDPTR);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -120,10 +120,8 @@ enum {
|
|||
SPL_ARMORSHIELD,
|
||||
SPL_DEATHCLOUD,
|
||||
SPL_ORKDREAM,
|
||||
SPL_SUMMONDRAGON,
|
||||
SPL_READMIND,
|
||||
SPL_BABBLER,
|
||||
SPL_MOVECASTLE,
|
||||
SPL_SUMMONDRAGON = 113,
|
||||
SPL_MOVECASTLE = 116,
|
||||
SPL_BLESSSTONECIRCLE,
|
||||
SPL_ILLAUN_FAMILIAR,
|
||||
SPL_GWYRRD_FAMILIAR,
|
||||
|
|
|
@ -22,6 +22,7 @@ without prior permission by the authors of Eressea.
|
|||
#include "item.h"
|
||||
#include "message.h"
|
||||
#include "race.h"
|
||||
#include "region.h"
|
||||
#include "ship.h"
|
||||
#include "terrain.h"
|
||||
#include "skill.h"
|
||||
|
@ -80,21 +81,6 @@ xml_spell(xmlNode * node, const char * name)
|
|||
return sp;
|
||||
}
|
||||
|
||||
static const char *
|
||||
xml_to_locale(const xmlChar * xmlStr)
|
||||
{
|
||||
static char zText[1024];
|
||||
const xmlChar * inbuf = xmlStr;
|
||||
char * outbuf = zText;
|
||||
int inbytes = (int)xstrlen(xmlStr)+1;
|
||||
int outbytes = (int)sizeof(zText);
|
||||
|
||||
if (UTF8Toisolat1((xmlChar*)outbuf, &outbytes, inbuf, &inbytes)<0) {
|
||||
log_error(("string is too long: %s.\n", (const char*)xmlStr));
|
||||
}
|
||||
return zText;
|
||||
}
|
||||
|
||||
static xmlChar *
|
||||
xml_cleanup_string(xmlChar * str)
|
||||
{
|
||||
|
@ -459,6 +445,30 @@ parse_calendar(xmlDocPtr doc)
|
|||
return rv;
|
||||
}
|
||||
|
||||
static int
|
||||
parse_directions(xmlDocPtr doc)
|
||||
{
|
||||
xmlXPathContextPtr xpath = xmlXPathNewContext(doc);
|
||||
xmlXPathObjectPtr xpathDirections;
|
||||
xmlNodeSetPtr nsetDirections;
|
||||
int rv = 0;
|
||||
|
||||
/* reading eressea/directions/dir */
|
||||
xpathDirections = xmlXPathEvalExpression(BAD_CAST "/eressea/directions/dir", xpath);
|
||||
nsetDirections = xpathDirections->nodesetval;
|
||||
if (nsetDirections!=NULL) {
|
||||
xmlNodePtr dir = nsetDirections->nodeTab[0];
|
||||
xmlChar * property = xmlGetProp(dir, BAD_CAST "name");
|
||||
|
||||
register_special_direction((const char *)property);
|
||||
xmlFree(property);
|
||||
}
|
||||
xmlXPathFreeObject(xpathDirections);
|
||||
xmlXPathFreeContext(xpath);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
static int
|
||||
parse_ships(xmlDocPtr doc)
|
||||
{
|
||||
|
@ -1304,6 +1314,11 @@ parse_spells(xmlDocPtr doc)
|
|||
sp->sname = strdup((const char*)property);
|
||||
xmlFree(property);
|
||||
|
||||
property = xmlGetProp(node, BAD_CAST "parameters");
|
||||
if (property) {
|
||||
sp->parameter=strdup((const char *)property);
|
||||
xmlFree(property);
|
||||
}
|
||||
/* magic type */
|
||||
property = xmlGetProp(node, BAD_CAST "type");
|
||||
assert(property!=NULL);
|
||||
|
@ -1317,6 +1332,7 @@ parse_spells(xmlDocPtr doc)
|
|||
sp->id = xml_ivalue(node, "index", 0);
|
||||
sp->level = xml_ivalue(node, "level", -1);
|
||||
sp->rank = (char)xml_ivalue(node, "rank", -1);
|
||||
if (xml_bvalue(node, "los", false)) sp->sptyp |= TESTCANSEE; /* must see or have contact */
|
||||
if (xml_bvalue(node, "ship", false)) sp->sptyp |= ONSHIPCAST;
|
||||
if (xml_bvalue(node, "ocean", false)) sp->sptyp |= OCEANCASTABLE;
|
||||
if (xml_bvalue(node, "far", false)) sp->sptyp |= FARCASTING;
|
||||
|
@ -2013,4 +2029,5 @@ register_xmlreader(void)
|
|||
xml_register_callback(parse_equipment); /* requires spells */
|
||||
xml_register_callback(parse_races); /* requires spells */
|
||||
xml_register_callback(parse_calendar);
|
||||
xml_register_callback(parse_directions);
|
||||
}
|
||||
|
|
470
src/common/modules/modules.vc8.vcproj
Normal file
470
src/common/modules/modules.vc8.vcproj
Normal file
|
@ -0,0 +1,470 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="modules"
|
||||
ProjectGUID="{601CF164-F483-4DE7-8014-64BDD30680B5}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/modules.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/modules.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\modules.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/modules.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\modules.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/modules.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\modules.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/modules.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\arena.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\autoseed.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dungeon.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmcmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\infocmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\museum.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\score.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\wormhole.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xecmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmas.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\arena.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\autoseed.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dungeon.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmcmd.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\infocmd.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\score.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\wormhole.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xecmd.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xmas.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -86,7 +86,8 @@ xe_giveballon(unit *u, struct order *ord)
|
|||
|
||||
sh = new_ship(st_find("balloon"), u2->faction->locale, u2->region);
|
||||
sh->size = 5;
|
||||
set_string(&sh->name, (const xmlChar*)"Xontormia-Ballon");
|
||||
free(sh->name);
|
||||
sh->name = xstrdup(BAD_CAST "Xontormia-Ballon");
|
||||
leave(u2->region, u2);
|
||||
u2->ship = sh;
|
||||
fset(u2, UFL_OWNER);
|
||||
|
|
422
src/common/races/races.vc8.vcproj
Normal file
422
src/common/races/races.vc8.vcproj
Normal file
|
@ -0,0 +1,422 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="races"
|
||||
ProjectGUID="{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/races.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/races.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\races.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/races.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\races.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/races.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\races.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/races.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\dragons.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\illusion.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\zombies.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\dragons.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\illusion.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\modules\museum.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\zombies.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
File diff suppressed because it is too large
Load diff
450
src/common/spells/spells.vc8.vcproj
Normal file
450
src/common/spells/spells.vc8.vcproj
Normal file
|
@ -0,0 +1,450 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="spells"
|
||||
ProjectGUID="{0EE778AB-8445-40DB-8F65-6BE378A91B97}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/spells.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\spells.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/spells.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/spells.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\spells.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/spells.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\spells.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/spells.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\alp.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\buildingcurse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\combatspells.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\regioncurse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shipcurse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spells.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unitcurse.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\alp.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\buildingcurse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\combatspells.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\regioncurse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shipcurse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\spells.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unitcurse.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
515
src/common/triggers/triggers.vc8.vcproj
Normal file
515
src/common/triggers/triggers.vc8.vcproj
Normal file
|
@ -0,0 +1,515 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="triggers"
|
||||
ProjectGUID="{EF495253-2EEC-4F83-B6C0-D651F88B2198}"
|
||||
RootNamespace="triggers"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/triggers.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/triggers.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\triggers.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/triggers.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\triggers.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/triggers.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\triggers.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/triggers.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\spells\alp.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\changefaction.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\changerace.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\clonedied.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\createcurse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\createunit.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\giveitem.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\killunit.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\removecurse.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shock.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\spells\spells.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\timeout.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\triggers.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unguard.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unitmessage.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\changefaction.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\changerace.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\clonedied.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\createcurse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\createunit.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gate.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\giveitem.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\killunit.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\removecurse.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shock.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\timeout.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\triggers.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unguard.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unitmessage.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -39,22 +39,22 @@ intlist_init(void)
|
|||
int *
|
||||
intlist_add(int *i_p, int i)
|
||||
{
|
||||
i_p[0]++;
|
||||
i_p = realloc(i_p, (i_p[0]+1) * sizeof(int));
|
||||
|
||||
i_p[i_p[0]] = i;
|
||||
return (i_p);
|
||||
i_p[0]++;
|
||||
i_p = realloc(i_p, (i_p[0]+1) * sizeof(int));
|
||||
|
||||
i_p[i_p[0]] = i;
|
||||
return (i_p);
|
||||
}
|
||||
|
||||
int *
|
||||
intlist_find(int *i_p, int fi)
|
||||
{
|
||||
int i;
|
||||
|
||||
for(i=1; i <= i_p[0]; i++) {
|
||||
if(i_p[i] == fi) return (&i_p[i]);
|
||||
}
|
||||
return NULL;
|
||||
int i;
|
||||
|
||||
for(i=1; i <= i_p[0]; i++) {
|
||||
if(i_p[i] == fi) return (&i_p[i]);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *
|
||||
|
@ -70,7 +70,7 @@ set_string (char **s, const char *neu)
|
|||
*s = realloc(*s, strlen(neu) + 1);
|
||||
strcpy(*s, neu);
|
||||
}
|
||||
return *s;
|
||||
return *s;
|
||||
}
|
||||
|
||||
boolean
|
||||
|
|
|
@ -30,6 +30,8 @@ extern const char *escape_string(const char * str, char * buffer, unsigned int l
|
|||
#endif
|
||||
|
||||
extern boolean locale_check(void);
|
||||
extern char * set_string(char **s, const char *neu);
|
||||
|
||||
|
||||
extern int set_email(char** pemail, const char *newmail);
|
||||
/* fast strncat */
|
||||
|
|
|
@ -51,6 +51,7 @@ enum {
|
|||
UT_ARCHETYPES,
|
||||
UT_MAGIC,
|
||||
UT_TERRAINS,
|
||||
UT_SPECDIR,
|
||||
UT_MAX
|
||||
};
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <util/bsdstring.h>
|
||||
/**
|
||||
** simple operand stack
|
||||
**/
|
||||
|
@ -242,11 +243,12 @@ parse_symbol(opstack ** stack, const char* in, const void * userdata)
|
|||
return in;
|
||||
}
|
||||
|
||||
#define TOKENSIZE 4096
|
||||
static const char *
|
||||
parse_string(opstack ** stack, const char* in, const void * userdata) /* (char*) -> char* */
|
||||
{
|
||||
char * c;
|
||||
char * buffer = balloc(4*1024);
|
||||
char * buffer = balloc(TOKENSIZE);
|
||||
const char * ic = in;
|
||||
char * oc = buffer;
|
||||
/* mode flags */
|
||||
|
@ -282,7 +284,7 @@ parse_string(opstack ** stack, const char* in, const void * userdata) /* (char*)
|
|||
ic = parse_symbol(stack, ++ic, userdata);
|
||||
if (ic==NULL) return NULL;
|
||||
c = (char*)opop_v(stack);
|
||||
oc += strlen(strcpy(oc, c));
|
||||
oc += strlcpy(oc, c, TOKENSIZE-(oc-buffer));
|
||||
bfree(c);
|
||||
break;
|
||||
default:
|
||||
|
|
677
src/common/util/util.vc8.vcproj
Normal file
677
src/common/util/util.vc8.vcproj
Normal file
|
@ -0,0 +1,677 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="util"
|
||||
ProjectGUID="{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/util.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\util.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Profile|Win32"
|
||||
OutputDirectory=".\Profile"
|
||||
IntermediateDirectory=".\Profile"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Profile/util.pch"
|
||||
AssemblerListingLocation=".\Profile/"
|
||||
ObjectFile=".\Profile/"
|
||||
ProgramDataBaseFileName=".\Profile/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Profile\util.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/util.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/util.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile=".\Release\util.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../..,..,C:\Program Files\Funcom\include"
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/util.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\attrib.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\base36.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bsdstring.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\config.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\crmessage.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\cvector.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\event.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\functions.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\goodies.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\graph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\language.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="language_struct.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lists.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\log.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nrmessage.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\parser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rand.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\resolve.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sql.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\translation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\umlaut.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unicode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\variant.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\vmap.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\vset.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\windir.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xml.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Inline"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\bsdstring.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\strings.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\attrib.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\base36.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\crmessage.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\cvector.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dice.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\event.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\filereader.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\functions.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\goodies.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\graph.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\language.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lists.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\log.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mt19937ar.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nrmessage.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\parser.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rand.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\resolve.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sql.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\translation.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\umlaut.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unicode.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\vmap.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\vset.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\windir.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\xml.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -22,6 +22,8 @@
|
|||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
|
||||
#ifdef __cplusplus
|
||||
# include <cstdio>
|
||||
# include <cstdlib>
|
||||
|
|
200
src/eressea.vc8.sln
Normal file
200
src/eressea.vc8.sln
Normal file
|
@ -0,0 +1,200 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "attributes", "common\attributes\attributes.vc8.vcproj", "{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "eressea", "eressea\eressea.vc8.vcproj", "{B859D542-781E-4647-BCAB-3FE5ED077366}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD} = {C14E3D2B-8189-4570-A4E3-9010C873E4FD}
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0} = {79659D44-EC28-42B9-9475-6C0D62D0AAE0}
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198} = {EF495253-2EEC-4F83-B6C0-D651F88B2198}
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} = {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5} = {601CF164-F483-4DE7-8014-64BDD30680B5}
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} = {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97} = {0EE778AB-8445-40DB-8F65-6BE378A91B97}
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3} = {330712B5-8B27-4B17-B3CF-7A02CC0F93C3}
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00} = {4C837BEC-A428-4287-84B3-8F8F9DE7FA00}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gamecode", "common\gamecode\gamecode.vc8.vcproj", "{79659D44-EC28-42B9-9475-6C0D62D0AAE0}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "items", "common\items\items.vc8.vcproj", "{C14E3D2B-8189-4570-A4E3-9010C873E4FD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kernel", "common\kernel\kernel.vc8.vcproj", "{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modules", "common\modules\modules.vc8.vcproj", "{601CF164-F483-4DE7-8014-64BDD30680B5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "races", "common\races\races.vc8.vcproj", "{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "spells", "common\spells\spells.vc8.vcproj", "{0EE778AB-8445-40DB-8F65-6BE378A91B97}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "triggers", "common\triggers\triggers.vc8.vcproj", "{EF495253-2EEC-4F83-B6C0-D651F88B2198}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "util", "common\util\util.vc8.vcproj", "{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "eressea-lua", "eressea\eressea-lua.vc8.vcproj", "{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD} = {C14E3D2B-8189-4570-A4E3-9010C873E4FD}
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0} = {79659D44-EC28-42B9-9475-6C0D62D0AAE0}
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198} = {EF495253-2EEC-4F83-B6C0-D651F88B2198}
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} = {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5} = {601CF164-F483-4DE7-8014-64BDD30680B5}
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} = {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97} = {0EE778AB-8445-40DB-8F65-6BE378A91B97}
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3} = {330712B5-8B27-4B17-B3CF-7A02CC0F93C3}
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00} = {4C837BEC-A428-4287-84B3-8F8F9DE7FA00}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gmtool", "eressea\gmtool.vc8.vcproj", "{57BA2AEE-5C65-4839-9294-C0FA2915A06C}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD} = {C14E3D2B-8189-4570-A4E3-9010C873E4FD}
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD} = {C14E3D2B-8189-4570-A4E3-9010C873E4FD}
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198} = {EF495253-2EEC-4F83-B6C0-D651F88B2198}
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198} = {EF495253-2EEC-4F83-B6C0-D651F88B2198}
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} = {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} = {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5} = {601CF164-F483-4DE7-8014-64BDD30680B5}
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5} = {601CF164-F483-4DE7-8014-64BDD30680B5}
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} = {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} = {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97} = {0EE778AB-8445-40DB-8F65-6BE378A91B97}
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97} = {0EE778AB-8445-40DB-8F65-6BE378A91B97}
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3} = {330712B5-8B27-4B17-B3CF-7A02CC0F93C3}
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3} = {330712B5-8B27-4B17-B3CF-7A02CC0F93C3}
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00} = {4C837BEC-A428-4287-84B3-8F8F9DE7FA00}
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00} = {4C837BEC-A428-4287-84B3-8F8F9DE7FA00}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Debug64|Win32 = Debug64|Win32
|
||||
Profile|Win32 = Profile|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
Release64|Win32 = Release64|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Release|Win32.Build.0 = Release|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{330712B5-8B27-4B17-B3CF-7A02CC0F93C3}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Release|Win32.Build.0 = Release|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{B859D542-781E-4647-BCAB-3FE5ED077366}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Release|Win32.Build.0 = Release|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{79659D44-EC28-42B9-9475-6C0D62D0AAE0}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Release|Win32.Build.0 = Release|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{C14E3D2B-8189-4570-A4E3-9010C873E4FD}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Debug64|Win32.ActiveCfg = Debug|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Debug64|Win32.Build.0 = Debug|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Release|Win32.Build.0 = Release|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Release64|Win32.ActiveCfg = Release|Win32
|
||||
{EDB0DE67-8215-4AF7-ACA1-F23CB11FF211}.Release64|Win32.Build.0 = Release|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Release|Win32.Build.0 = Release|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{601CF164-F483-4DE7-8014-64BDD30680B5}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Release|Win32.Build.0 = Release|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{4C837BEC-A428-4287-84B3-8F8F9DE7FA00}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Release|Win32.Build.0 = Release|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{0EE778AB-8445-40DB-8F65-6BE378A91B97}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Release|Win32.Build.0 = Release|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{EF495253-2EEC-4F83-B6C0-D651F88B2198}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release|Win32.Build.0 = Release|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Debug64|Win32.ActiveCfg = Debug64|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Debug64|Win32.Build.0 = Debug64|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Release|Win32.Build.0 = Release|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Release64|Win32.ActiveCfg = Release64|Win32
|
||||
{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}.Release64|Win32.Build.0 = Release64|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Debug64|Win32.ActiveCfg = Debug|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Debug64|Win32.Build.0 = Debug|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Profile|Win32.Build.0 = Profile|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Release|Win32.Build.0 = Release|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Release64|Win32.ActiveCfg = Release|Win32
|
||||
{57BA2AEE-5C65-4839-9294-C0FA2915A06C}.Release64|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
895
src/eressea/eressea-lua.vc8.vcproj
Normal file
895
src/eressea/eressea-lua.vc8.vcproj
Normal file
|
@ -0,0 +1,895 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="eressea-lua"
|
||||
ProjectGUID="{749A2F7C-B9C3-4CEB-B1B2-1D4587E68719}"
|
||||
RootNamespace="eressea-lua"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release-lua"
|
||||
IntermediateDirectory=".\Release-lua"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/eressea-lua.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/eressea-lua.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386 /FIXED:NO"
|
||||
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib"
|
||||
OutputFile=".\Release/eressea-lua.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/eressea-lua.pdb"
|
||||
SubSystem="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="Profile|Win32"
|
||||
OutputDirectory=".\Profile-lua"
|
||||
IntermediateDirectory=".\Profile-lua"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Profile/eressea-lua.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Profile/eressea-lua.pch"
|
||||
AssemblerListingLocation=".\Profile/"
|
||||
ObjectFile=".\Profile/"
|
||||
ProgramDataBaseFileName=".\Profile/"
|
||||
BrowseInformation="1"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib"
|
||||
OutputFile=".\Profile/eressea-lua.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreDefaultLibraryNames=""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="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="Debug|Win32"
|
||||
OutputDirectory=".\Debug-lua"
|
||||
IntermediateDirectory=".\Debug-lua"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/eressea-lua.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="_CONSOLE,WIN32"
|
||||
StringPooling="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/eressea-lua.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"
|
||||
DisableSpecificWarnings="4505"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib"
|
||||
OutputFile=".\Debug/eressea-lua.exe"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreDefaultLibraryNames=""
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Debug/eressea-lua.pdb"
|
||||
SubSystem="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="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/eressea-lua.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/eressea-lua.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:AMD64 /FIXED:NO"
|
||||
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib"
|
||||
OutputFile=".\Release/eressea-lua.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/eressea-lua.pdb"
|
||||
SubSystem="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="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/eressea-lua.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="_CONSOLE,WIN32"
|
||||
StringPooling="true"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/eressea-lua.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
DisableSpecificWarnings="4505"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="luabindd.lib lua50.lib libxml2.lib"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreDefaultLibraryNames="libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Debug/eressea-lua.pdb"
|
||||
SubSystem="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>
|
||||
<Filter
|
||||
Name="Text Files"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\header.txt"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\todo.txt"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="bindings"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\lua\alliance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\bindings.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\building.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\eressea.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\event.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\faction.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\gamecode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\item.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\list.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\message.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\objects.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\objects.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\region.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\script.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\script.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\ship.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\spell.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\unit.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\console.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\console.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\iniparser\iniparser.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\iniparser\iniparser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\korrektur.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="true"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="true"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\korrektur.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\server.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-eressea.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-tutorial.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-3.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-4.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-classic.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-wdw.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
584
src/eressea/eressea.vc8.vcproj
Normal file
584
src/eressea/eressea.vc8.vcproj
Normal file
|
@ -0,0 +1,584 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="eressea"
|
||||
ProjectGUID="{B859D542-781E-4647-BCAB-3FE5ED077366}"
|
||||
RootNamespace="eressea"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/eressea.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/eressea.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="libxml2.lib"
|
||||
OutputFile=".\Release/eressea.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/eressea.pdb"
|
||||
SubSystem="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="Profile|Win32"
|
||||
OutputDirectory=".\Profile"
|
||||
IntermediateDirectory=".\Profile"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Profile/eressea.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Profile/eressea.pch"
|
||||
AssemblerListingLocation=".\Profile/"
|
||||
ObjectFile=".\Profile/"
|
||||
ProgramDataBaseFileName=".\Profile/"
|
||||
BrowseInformation="1"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="libxml2.lib"
|
||||
OutputFile=".\Profile/eressea.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="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="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/eressea.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="_CONSOLE,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/eressea.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="libxml2.lib"
|
||||
OutputFile=".\Debug/eressea.exe"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Debug/eressea.pdb"
|
||||
SubSystem="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="Release64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/eressea.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/eressea.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:AMD64"
|
||||
AdditionalDependencies="libxml2.lib"
|
||||
OutputFile=".\Release/eressea.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/eressea.pdb"
|
||||
SubSystem="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="Debug64|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/eressea.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="_CONSOLE,WIN32"
|
||||
BasicRuntimeChecks="0"
|
||||
BufferSecurityCheck="false"
|
||||
DisableLanguageExtensions="false"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/eressea.pch"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:AMD64"
|
||||
AdditionalDependencies="libxml64.lib bufferoverflowu.lib kernel32.lib user32.lib $(NOINHERIT)"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Debug/eressea.pdb"
|
||||
SubSystem="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>
|
||||
<Filter
|
||||
Name="Text Files"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\changelog.txt"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\header.txt"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\todo.txt"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\korrektur.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="true"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="false"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug64|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DisableLanguageExtensions="true"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\korrektur.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\main.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-eressea.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-tutorial.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-3.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-4.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar-classic.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-vinyambar.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings-wdw.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\settings.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
411
src/eressea/gmtool.vc8.vcproj
Normal file
411
src/eressea/gmtool.vc8.vcproj
Normal file
|
@ -0,0 +1,411 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="gmtool"
|
||||
ProjectGUID="{57BA2AEE-5C65-4839-9294-C0FA2915A06C}"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/gmtool.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/gmtool.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="curses.lib libxml2.lib"
|
||||
OutputFile=".\Release/gmtool.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/gmtool.pdb"
|
||||
SubSystem="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="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/gmtool.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="_CONSOLE,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/gmtool.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="luabind.lib lua50.lib curses.lib libxml2.lib"
|
||||
OutputFile=".\Debug/gmtool.exe"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
AdditionalLibraryDirectories=""
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Debug/gmtool.pdb"
|
||||
SubSystem="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="Profile|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/gmtool.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
|
||||
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
DisableLanguageExtensions="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\Release/gmtool.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="4"
|
||||
SuppressStartupBanner="true"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1031"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="curses.lib libxml2.lib"
|
||||
OutputFile=".\Release/gmtool.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Release/gmtool.pdb"
|
||||
SubSystem="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>
|
||||
<Filter
|
||||
Name="Header"
|
||||
Filter="*.h"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\editing.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmtool.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmtool_structs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\curses\listbox.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="bindings"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\lua\alliance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\bindings.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\building.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\eressea.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\faction.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\gm.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\item.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\list.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\objects.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\objects.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\region.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\ship.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\spell.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\lua\unit.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\console.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\editing.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmmain.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\gmtool.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\iniparser\iniparser.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\common\iniparser\iniparser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\curses\listbox.c"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -30,6 +30,7 @@
|
|||
/* initialization - TODO: init in separate module */
|
||||
#include <attributes/attributes.h>
|
||||
#include <spells/spells.h>
|
||||
#include <gamecode/spells.h>
|
||||
#include <triggers/triggers.h>
|
||||
#include <items/itemtypes.h>
|
||||
|
||||
|
@ -161,6 +162,7 @@ game_init(void)
|
|||
register_ships();
|
||||
register_itemfunctions();
|
||||
register_spells();
|
||||
register_gcspells();
|
||||
#ifdef DUNGEON_MODULE
|
||||
register_dungeon();
|
||||
#endif
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
/* initialization - TODO: init in separate module */
|
||||
#include <attributes/attributes.h>
|
||||
#include <spells/spells.h>
|
||||
#include <gamecode/spells.h>
|
||||
#include <triggers/triggers.h>
|
||||
#include <items/itemtypes.h>
|
||||
|
||||
|
@ -223,6 +224,7 @@ game_init(void)
|
|||
register_ships();
|
||||
register_itemfunctions();
|
||||
register_spells();
|
||||
register_gcspells();
|
||||
#ifdef DUNGEON_MODULE
|
||||
register_dungeon();
|
||||
#endif
|
||||
|
|
|
@ -6,6 +6,14 @@
|
|||
_x: preposition (15 /Troll/schwerter)
|
||||
_a: including article (ein Troll, a troll)
|
||||
-->
|
||||
<string name="vortex">
|
||||
<text locale="de">Wirbel</text>
|
||||
<text locale="en">Vortex</text>
|
||||
</string>
|
||||
<string name="vortex_desc">
|
||||
<text locale="de">Ein Wirbel aus reinem Chaos zieht über die Region</text>
|
||||
<text locale="en">A vortex of pure chaos energy pulls over the region</text>
|
||||
</string>
|
||||
<string name="describe_braineater">
|
||||
<text locale="de">Wabernde grüne Schwaden treiben durch den Nebel und
|
||||
verdichten sich zu einer unheimlichen Kreatur, die nur aus einem langen
|
||||
|
@ -4564,6 +4572,370 @@
|
|||
</string>
|
||||
</namespace>
|
||||
<namespace name="spellinfo">
|
||||
<string name="acidrain">
|
||||
<text locale="de">Tötet die Feinde mit Säure.</text>
|
||||
<text locale="en">Kills enemies with acid.</text>
|
||||
</string>
|
||||
<string name="coldfront">
|
||||
<text locale="de">Tötet die Feinde mit Kälte.</text>
|
||||
<text locale="en">Kills enemies with cold.</text>
|
||||
</string>
|
||||
<string name="firestorm">
|
||||
<text locale="de">Tötet die Feinde mit Feuer.</text>
|
||||
<text locale="en">Kills enemies with fire.</text>
|
||||
</string>
|
||||
<string name="immolation">
|
||||
<text locale="de">Verletzt alle Gegner.</text>
|
||||
<text locale="en">Injures all enemies.</text>
|
||||
</string>
|
||||
<string name="shadowcall">
|
||||
<text locale="de">Ruft Schattenwesen.</text>
|
||||
<text locale="en">Calls beings from shadow.</text>
|
||||
</string>
|
||||
<string name="aura_of_fear">
|
||||
<text locale="de">Panik.</text>
|
||||
<text locale="en">Panic.</text>
|
||||
</string>
|
||||
<string name="drain_skills">
|
||||
<text locale="de">Entzieht Talentstufen und macht Schaden wie Großer Odem.</text>
|
||||
</string>
|
||||
<string name="astral_disruption">
|
||||
<text locale="de">Dieser Zauber bewirkt eine schwere Störung des Astralraums. Innerhalb eines astralen Radius von Stufe/5 Regionen werden alle Astralwesen, die dem Zauber nicht wiederstehen können, aus der astralen Ebene geschleudert. Der astrale Kontakt mit allen betroffenen Regionen ist für Stufe/3 Wochen gestört.</text>
|
||||
</string>
|
||||
<string name="armor_shield">
|
||||
<text locale="de">
|
||||
Diese vor dem Kampf zu zaubernde Ritual gibt den eigenen Truppen
|
||||
einen zusätzlichen Bonus auf ihre Rüstung. Jeder Treffer
|
||||
reduziert die Kraft des Zaubers, so dass der Schild sich irgendwann
|
||||
im Kampf auflösen wird.
|
||||
</text>
|
||||
</string>
|
||||
<string name="combat_speed">
|
||||
<text locale="de">
|
||||
Dieser Zauber beschleunigt einige Kämpfer auf der eigenen Seite
|
||||
so, dass sie während des gesamten Kampfes in einer Kampfrunde zweimal
|
||||
angreifen können.
|
||||
</text>
|
||||
</string>
|
||||
<string name="fish_shield">
|
||||
<text locale="de">
|
||||
Dieser Zauber vermag dem Gegner ein geringfügig versetztes Bild der
|
||||
eigenen Truppen vorzuspiegeln, so wie der Fisch im Wasser auch nicht
|
||||
dort ist wo er zu sein scheint. Von jedem Treffer kann so die Hälfte
|
||||
des Schadens unschädlich abgeleitet werden. Doch hält der Schild nur
|
||||
einige Hundert Schwerthiebe aus, danach wird er sich auflösen.
|
||||
Je stärker der Magier, desto mehr Schaden hält der Schild aus.
|
||||
</text>
|
||||
</string>
|
||||
<string name="protective_runes">
|
||||
<text locale="de">
|
||||
Zeichnet man diese Runen auf die Wände eines Gebäudes oder auf die
|
||||
Planken eines Schiffes, so wird es schwerer durch Zauber zu
|
||||
beeinflussen sein. Jedes Ritual erhöht die Widerstandskraft des
|
||||
Gebäudes oder Schiffes gegen Verzauberung um 20%.
|
||||
Werden mehrere Schutzzauber übereinander gelegt, so addiert
|
||||
sich ihre Wirkung, doch ein hundertprozentiger Schutz läßt sich so
|
||||
nicht erreichen. Der Zauber hält mindestens drei Wochen an, je nach
|
||||
Talent des Magiers aber auch viel länger.
|
||||
</text>
|
||||
</string>
|
||||
<string name="auratransfer">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses Zauber kann der Magier eigene Aura im Verhältnis
|
||||
2:1 auf einen anderen Magier des gleichen Magiegebietes oder im
|
||||
Verhältnis 3:1 auf einen Magier eines anderen Magiegebietes
|
||||
übertragen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="show_astral">
|
||||
<text locale="de">
|
||||
Der Magier kann kurzzeitig in die Astralebene blicken und erfährt
|
||||
so alle Einheiten innerhalb eines astralen Radius von Stufe/5 Regionen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="calm_riot">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses magischen Gesangs kann der Magier eine Region in
|
||||
Aufruhr wieder beruhigen. Die Bauernhorden werden sich verlaufen
|
||||
und wieder auf ihre Felder zurückkehren.
|
||||
</text>
|
||||
</string>
|
||||
<string name="big_recruit">
|
||||
<text locale="de">Aus 'Wanderungen' von Firudin dem Weisen:
|
||||
'In Weilersweide, nahe dem Wytharhafen, liegt ein kleiner Gasthof, der
|
||||
nur wenig besucht ist. Niemanden bekannt ist, das dieser Hof
|
||||
bis vor einigen Jahren die Bleibe des verbannten Wanderpredigers Grauwolf
|
||||
war. Nachdem er bei einer seiner berüchtigten flammenden Reden fast die
|
||||
gesammte Bauernschaft angeworben hatte, wurde er wegen Aufruhr verurteilt
|
||||
und verbannt. Nur zögerlich war er bereit mir das Geheimniss seiner
|
||||
Überzeugungskraft zu lehren.'
|
||||
</text>
|
||||
</string>
|
||||
<string name="song_of_slavery">
|
||||
<text locale="de">
|
||||
Dieser mächtige Bann raubt dem Opfer seinen freien Willen und
|
||||
unterwirft sie den Befehlen des Barden. Für einige Zeit wird das Opfer
|
||||
sich völlig von seinen eigenen Leuten abwenden und der Partei des Barden
|
||||
zugehörig fühlen."
|
||||
</text>
|
||||
</string>
|
||||
<string name="song_of_peace">
|
||||
<text locale="de">
|
||||
Dieser mächtige Bann verhindert jegliche Attacken. Niemand in der
|
||||
ganzen Region ist fähig seine Waffe gegen irgendjemanden zu erheben.
|
||||
Die Wirkung kann etliche Wochen andauern.
|
||||
</text>
|
||||
</string>
|
||||
<string name="song_suscept_magic">
|
||||
<text locale="de">
|
||||
Dieses Lied, das in die magische Essenz der Region gewoben wird,
|
||||
schwächt die natürliche Widerstandskraft gegen eine
|
||||
Verzauberung einmalig um 15%. Nur die Verbündeten des Barden
|
||||
(HELFE BEWACHE) sind gegen die Wirkung des Gesangs gefeit.
|
||||
</text>
|
||||
</string>
|
||||
<string name="melancholy">
|
||||
<text locale="de">
|
||||
Mit diesem Gesang verbreitet der Barde eine melancholische, traurige
|
||||
Stimmung unter den Bauern. Einige Wochen lang werden sie sich in ihre
|
||||
Hütten zurückziehen und kein Silber in den Theatern und Tavernen lassen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="song_resist_magic">
|
||||
<text locale="de">
|
||||
Dieses magische Lied wird, einmal mit Inbrunst gesungen, sich in der
|
||||
Region fortpflanzen, von Mund zu Mund springen und eine Zeitlang
|
||||
überall zu vernehmen sein. Nach wie vielen Wochen der Gesang aus dem
|
||||
Gedächnis der Region entschwunden ist, ist von dem Geschick des Barden
|
||||
abhängig. Bis das Lied ganz verklungen ist, wird seine Magie allen
|
||||
Verbündeten des Barden (HELFE BEWACHE), und natürlich auch seinen
|
||||
eigenem Volk, einen einmaligen Bonus von 15%
|
||||
auf die natürliche Widerstandskraft gegen eine Verzauberung
|
||||
verleihen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="raise_mob">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses magischen Gesangs überzeugt der Magier die Bauern
|
||||
der Region, sich ihm anzuschließen. Die Bauern werden ihre Heimat jedoch
|
||||
nicht verlassen, und keine ihrer Besitztümer fortgeben. Jede Woche
|
||||
werden zudem einige der Bauern den Bann abwerfen und auf ihre Felder
|
||||
zurückkehren. Wie viele Bauern sich dem Magier anschließen hängt von der
|
||||
Kraft seines Gesangs ab.
|
||||
</text>
|
||||
</string>
|
||||
<string name="summon_familiar">
|
||||
<text locale="de">
|
||||
Einem erfahrenen Magier wird irgendwann auf seinen Wanderungen ein
|
||||
ungewöhnliches Exemplar einer Gattung begegnen, welches sich dem
|
||||
Magier anschließen wird.
|
||||
</text>
|
||||
</string>
|
||||
<string name="migration">
|
||||
<text locale="de">
|
||||
Dieses Ritual ermöglicht es, eine Einheit, egal welcher Art, in die
|
||||
eigene Partei aufzunehmen. Der um Aufnahme Bittende muss dazu willig
|
||||
und bereit sein, seiner alten Partei abzuschwören. Dies bezeugt er
|
||||
durch KONTAKTIEREn des Magiers. Auch wird er die Woche über
|
||||
ausschliesslich mit Vorbereitungen auf das Ritual beschäftigt sein.
|
||||
Das Ritual wird fehlschlagen, wenn er zu stark an seine alte Partei
|
||||
gebunden ist, dieser etwa Dienst für seine teuere Ausbildung
|
||||
schuldet. Der das Ritual leitende Magier muss für die permanente
|
||||
Bindung des Aufnahmewilligen an seine Partei naturgemäß auch
|
||||
permanente Aura aufwenden. Pro Stufe und pro 1 permanente Aura kann
|
||||
er eine Person aufnehmen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="cerddor_destroymagic">
|
||||
<text locale="de">
|
||||
Jede Verzauberung beeinflußt das Lebenslied, schwächt und verzerrt es.
|
||||
Der kundige Barde kann versuchen, das Lebenslied aufzufangen und zu
|
||||
verstärken und die Veränderungen aus dem Lied zu tilgen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="analyse_object">
|
||||
<text locale="de">
|
||||
Wie Lebewesen, so haben auch Schiffe und Gebäude und sogar Regionen
|
||||
ihr eigenes Lied, wenn auch viel schwächer und schwerer zu hören.
|
||||
Und so, wie wie aus dem Lebenslied einer Person erkannt werden kann,
|
||||
ob diese unter einem Zauber steht, so ist dies auch bei Burgen,
|
||||
Schiffen oder Regionen möglich.
|
||||
</text>
|
||||
</string>
|
||||
<string name="frighten">
|
||||
<text locale="de">
|
||||
Dieser Kriegsgesang sät Panik in der Front der Gegner und schwächt
|
||||
so ihre Kampfkraft erheblich. Angst wird ihren Schwertarm schwächen
|
||||
und Furcht ihren Schildarm lähmen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="bloodthirst">
|
||||
<text locale="de">
|
||||
Wie viele magischen Gesänge, so entstammt auch dieser den altem
|
||||
Wissen der Katzen, die schon immer um die machtvolle Wirkung der
|
||||
Stimme wussten. Mit diesem Lied wird die Stimmung der Krieger
|
||||
aufgepeitscht, sie gar in wilde Raserrei und Blutrausch versetzt.
|
||||
Ungeachtet eigener Schmerzen werden sie kämpfen bis zum
|
||||
Tode und niemals fliehen. Während ihre Attacke verstärkt ist
|
||||
achten sie kaum auf sich selbst.
|
||||
</text>
|
||||
</string>
|
||||
<string name="sound_out">
|
||||
<text locale="de">
|
||||
Erliegt die Einheit dem Zauber, so wird sie dem Magier alles erzählen,
|
||||
was sie über die gefragte Region weiß. Ist in der Region niemand
|
||||
ihrer Partei, so weiß sie nichts zu berichten. Auch kann sie nur das
|
||||
erzählen, was sie selber sehen könnte.
|
||||
</text>
|
||||
</string>
|
||||
<string name="headache">
|
||||
<text locale="de">
|
||||
Aufzeichung des Vortrags von Selen Ard'Ragorn in Bar'Glingal:
|
||||
'Es heiss, dieser Spruch wäre wohl in den Spelunken der Westgassen
|
||||
entstanden, doch es kann genausogut in jedem andern verrufenen
|
||||
Viertel gewesen sein. Seine wichtigste Zutat ist etwa ein Fass
|
||||
schlechtesten Weines, je billiger und ungesunder, desto
|
||||
wirkungsvoller wird die Essenz. Die Kunst, diesen Wein in pure
|
||||
Essenz zu destillieren, die weitaus anspruchsvoller als das einfache
|
||||
Rezeptmischen eines Alchemisten ist, und diese dergestalt zu binden
|
||||
und konservieren, das sie sich nicht gleich wieder verflüchtigt, wie
|
||||
es ihre Natur wäre, ja, dies ist etwas, das nur ein Meister des
|
||||
Cerddor vollbringen kann. Nun besitzt Ihr eine kleine Phiola mit
|
||||
einer rubinrotschimmernden - nun, nicht flüssig, doch auch nicht
|
||||
ganz Dunst - nennen wir es einfach nur Elixier. Doch nicht dies ist
|
||||
die wahre Herausforderung, sodann muss, da sich ihre Wirkung leicht
|
||||
verflüchtigt, diese innerhalb weniger Tage unbemerkt in das Getränk
|
||||
des Opfers geträufelt werden. Ihr Meister der Betöhrung und
|
||||
Verführung, hier nun könnt Ihr Eure ganze Kunst unter Beweis
|
||||
stellen. Doch gebt Acht, nicht unbedacht selbst von dem Elixier zu
|
||||
kosten, denn wer einmal gekostet hat, der kann vom Weine nicht mehr
|
||||
lassen, und er säuft sicherlich eine volle Woche lang. Jedoch nicht
|
||||
die Verführung zum Trunke ist die wahre Gefahr, die dem Elixier
|
||||
innewohnt, sondern das der Trunkenheit so sicher ein gar
|
||||
fürchterliches Leid des Kopfes folgen wird, wie der Tag auf die
|
||||
Nacht folgt. Und er wird gar sicherlich von seiner besten Fähigkeit
|
||||
einige Tage bis hin zu den Studien zweier Wochen vergessen haben.
|
||||
Noch ein Wort der Warnung: Dieses ist sehr aufwendig, und so Ihr
|
||||
noch weitere Zauber in der selben Woche wirken wollt, so werden sie Euch
|
||||
schwerer fallen.'
|
||||
</text>
|
||||
</string>
|
||||
<string name="seduction">
|
||||
<text locale="de">
|
||||
Mit diesem Lied kann eine Einheit derartig betört werden, so dass
|
||||
sie dem Barden den größten Teil ihres Bargelds und ihres Besitzes
|
||||
schenkt. Sie behält jedoch immer soviel, wie sie zum Überleben
|
||||
braucht.
|
||||
</text>
|
||||
</string>
|
||||
<string name="calm_monster">
|
||||
<text locale="de">
|
||||
Dieser einschmeichelnde Gesang kann fast jedes intelligente Monster
|
||||
zähmen. Es wird von Angriffen auf den Magier absehen und auch seine
|
||||
Begleiter nicht anrühren. Doch sollte man sich nicht täuschen, es
|
||||
wird dennoch ein unberechenbares Wesen bleiben.
|
||||
</text>
|
||||
</string>
|
||||
<string name="bad_dreams">
|
||||
<text locale="de">
|
||||
Dieser Zauber ermöglicht es dem Träumer, den Schlaf aller nichtaliierten
|
||||
Einheiten (HELFE BEWACHE) in der Region so stark zu stören, das sie
|
||||
vorübergehend einen Teil ihrer Erinnerungen verlieren.
|
||||
</text>
|
||||
</string>
|
||||
<string name="clone">
|
||||
<text locale="de">
|
||||
Dieser mächtige Zauber kann einen Magier vor dem sicheren Tod
|
||||
bewahren. Der Magier erschafft anhand einer kleinen Blutprobe einen
|
||||
Klon von sich, und legt diesen in ein Bad aus Drachenblut und verdünntem
|
||||
Wasser des Lebens.
|
||||
Anschließend transferiert er in einem aufwändigen Ritual einen Teil
|
||||
seiner Seele in den Klon. Stirbt der Magier, reist seine Seele in den
|
||||
Klon und der erschaffene Körper dient nun dem Magier als neues Gefäß.
|
||||
Es besteht allerdings eine geringer Wahrscheinlichkeit, dass die Seele
|
||||
nach dem Tod zu schwach ist, das neue Gefäß zu erreichen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="wisps">
|
||||
<text locale="de">
|
||||
Der Zauberer spricht eine Beschwörung über einen Teil der Region,
|
||||
und in der Folgewoche entstehen dort Irrlichter.
|
||||
Wer durch diese Nebel wandert, wird von Visionen geplagt und
|
||||
in die Irre geleitet.
|
||||
</text>
|
||||
</string>
|
||||
<string name="great_drought">
|
||||
<text locale="de">
|
||||
Dieses mächtige Ritual öffnet ein Tor in die Elementarebene der
|
||||
Hitze. Eine grosse Dürre kommt über das Land. Bauern, Tiere und
|
||||
Pflanzen der Region kämpfen um das nackte Überleben, aber eine
|
||||
solche Dürre überlebt wohl nur die Hälfte aller Lebewesen.
|
||||
Der Landstrich kann über Jahre hinaus von den Folgen einer
|
||||
solchen Dürre betroffen sein.
|
||||
</text>
|
||||
</string>
|
||||
<string name="magic_roots">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses aufwändigen Rituals läßt der Druide einen Teil seiner Kraft
|
||||
dauerhaft in den Boden und die Wälder der Region fliessen. Dadurch wird
|
||||
das Gleichgewicht der Natur in der Region für immer verändert, und in
|
||||
Zukunft werden nur noch die anspruchsvollen, aber kräftigen
|
||||
Mallorngewächse in der Region gedeihen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="maelstrom">
|
||||
<text locale="de">
|
||||
Dieses Ritual beschört einen großen Wasserelementar aus den
|
||||
Tiefen des Ozeans. Der Elementar erzeugt einen gewaltigen
|
||||
Strudel, einen Mahlstrom, welcher alle Schiffe, die ihn passieren,
|
||||
schwer beschädigen kann.
|
||||
</text>
|
||||
</string>
|
||||
<string name="wyrm_transformation">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses Zaubers kann sich der Magier permanent in einen
|
||||
mächtigen Wyrm verwandeln. Der Magier behält seine Talente und
|
||||
Möglichkeiten, bekommt jedoch die Kampf- und Bewegungseigenschaften
|
||||
eines Wyrms. Der Odem des Wyrms wird sich mit steigendem Magie-Talent
|
||||
verbessern. Der Zauber ist sehr kraftraubend und der Wyrm wird einige
|
||||
Zeit brauchen, um sich zu erholen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="incite_riot">
|
||||
<text locale="de">
|
||||
Mit Hilfe dieses magischen Gesangs versetzt der Magier eine ganze
|
||||
Region in Aufruhr. Rebellierende Bauernhorden machen jedes Besteuern
|
||||
unmöglich, kaum jemand wird mehr für Gaukeleien Geld spenden und
|
||||
es können keine neuen Leute angeworben werden. Nach einigen Wochen
|
||||
beruhigt sich der Mob wieder.
|
||||
</text>
|
||||
</string>
|
||||
<string name="view_reality">
|
||||
<text locale="de">
|
||||
Der Magier kann mit Hilfe dieses Zaubers aus der Astral- in die
|
||||
materielle Ebene blicken und die Regionen und Einheiten genau
|
||||
erkennen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="summon_familiar">
|
||||
<text locale="de">
|
||||
Einem erfahrenen Magier wird irgendwann auf seinen Wanderungen ein
|
||||
ungewöhnliches Exemplar einer Gattung begegnen, welches sich dem
|
||||
Magier anschließen wird.
|
||||
</text>
|
||||
</string>
|
||||
<string name="living_rock">
|
||||
<text locale="de">
|
||||
Dieses kräftezehrende Ritual beschwört mit Hilfe einer Kugel aus
|
||||
konzentriertem Laen einen gewaltigen Erdelementar und bannt ihn
|
||||
in ein Gebäude. Dem Elementar kann dann befohlen werden, das
|
||||
Gebäude mitsamt aller Bewohner in eine Nachbarregion zu tragen.
|
||||
Die Stärke des beschworenen Elementars hängt vom Talent des
|
||||
Magiers ab: Der Elementar kann maximal [Stufe-12]*250 Größeneinheiten
|
||||
große Gebäude versetzen. Das Gebäude wird diese Prozedur nicht
|
||||
unbeschädigt überstehen.
|
||||
</text>
|
||||
</string>
|
||||
<string name="create_chastitybelt">
|
||||
<text locale="de">Dieses Amulett in Gestalt einer orkischen Matrone
|
||||
unterdrückt den Fortpflanzungstrieb eines einzelnen Orks sehr
|
||||
|
|
4
src/res/directions.xml
Normal file
4
src/res/directions.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<directions>
|
||||
<dir name="vortex" desc="vortex_desc"/>
|
||||
</directions>
|
|
@ -17,6 +17,7 @@
|
|||
<xi:include href="spells.xml"/>
|
||||
<xi:include href="terrains.xml"/>
|
||||
<xi:include href="dungeons.xml"/>
|
||||
<xi:include href="directions.xml"/>
|
||||
|
||||
<xi:include href="names-undead.xml"/>
|
||||
<xi:include href="names-skeletons.xml"/>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -121,6 +121,18 @@
|
|||
<resource name="permaura" amount="1" cost="fixed"/>
|
||||
</spell>
|
||||
|
||||
<spell name="blabbermouth" parameters="u" type="cerddor" ship="false" los="true" rank="5" level="4" index="115">
|
||||
<function name="cast" value="cast_babbler"/>
|
||||
<resource name="aura" amount="10" cost="fixed"/>
|
||||
<!-- missing syntactical info: ONETARGET | UNITSPELL -->
|
||||
</spell>
|
||||
|
||||
<spell name="readmind" parameters="u" type="illaun" ship="false" rank="5" level="7" index="114">
|
||||
<function name="cast" value="cast_readmind"/>
|
||||
<resource name="aura" amount="20" cost="fixed"/>
|
||||
<!-- missing syntactical info: ONETARGET | UNITSPELL -->
|
||||
</spell>
|
||||
|
||||
<!-- tybied spells -->
|
||||
<spell name="create_roi" type="tybied" ship="true" rank="5" level="6" index="133">
|
||||
<function name="cast" value="lua_castspell"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue