forked from github/server
bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
This commit is contained in:
parent
3feb139071
commit
9466428c4d
|
@ -25,7 +25,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
AdditionalIncludeDirectories="../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
AdditionalIncludeDirectories="../kernel,../util,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
AdditionalIncludeDirectories="../util,../kernel,../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
AdditionalIncludeDirectories="../..,.."
|
||||
PreprocessorDefinitions="_WINDOWS,WIN32"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="4"
|
||||
BufferSecurityCheck="TRUE"
|
||||
DisableLanguageExtensions="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue