bugfix: create_mage u. Dämonen/VERGESSE

Windows: weg mit der Debug-CRT
This commit is contained in:
Enno Rehling 2006-02-05 10:47:28 +00:00
parent 3feb139071
commit 9466428c4d
14 changed files with 17 additions and 19 deletions

View File

@ -25,7 +25,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -129,7 +129,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -182,7 +182,7 @@ centre(FILE * F, const char *s, boolean breaking)
}
static void
rparagraph(FILE *F, const char *str, int indent, int hanging_indent, char mark)
rparagraph(FILE *F, const char *str, ptrdiff_t indent, int hanging_indent, char mark)
{
static const char * spaces = " ";
size_t length = REPORTWIDTH;

View File

@ -75,7 +75,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -76,7 +76,7 @@
AdditionalIncludeDirectories="../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -338,11 +338,9 @@ create_mage(unit * u, magic_t mtyp)
a = a_find(u->attribs, &at_mage);
if (a!=NULL) {
mage = a->data.v;
assert(mage->spells==NULL && mage->magietyp == mtyp);
} else {
a = a_add(&u->attribs, a_new(&at_mage));
a_remove(&u->attribs, a);
}
a = a_add(&u->attribs, a_new(&at_mage));
mage = a->data.v;
mage->magietyp = mtyp;

View File

@ -24,7 +24,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -24,7 +24,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -75,7 +75,7 @@
AdditionalIncludeDirectories="../kernel,../util,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -24,7 +24,7 @@
AdditionalIncludeDirectories="../util,../kernel,../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -128,7 +128,7 @@
AdditionalIncludeDirectories="../..,.."
PreprocessorDefinitions="_WINDOWS,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"

View File

@ -155,7 +155,7 @@
PreprocessorDefinitions="_CONSOLE,WIN32"
StringPooling="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="FALSE"
UsePrecompiledHeader="0"
@ -175,11 +175,11 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="luabindd.lib lua50.lib libxml2.lib iconv.lib"
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib iconv.lib"
OutputFile=".\Debug/eressea-lua.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/eressea-lua.pdb"
SubSystem="1"/>

View File

@ -152,7 +152,7 @@
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
PreprocessorDefinitions="_CONSOLE,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="FALSE"
UsePrecompiledHeader="0"

View File

@ -87,7 +87,7 @@
AdditionalIncludeDirectories="../common/kernel,../common/gamecode,../common/util,../common,.."
PreprocessorDefinitions="_CONSOLE,WIN32"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
RuntimeLibrary="4"
BufferSecurityCheck="TRUE"
DisableLanguageExtensions="TRUE"
UsePrecompiledHeader="0"