• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision1542cce68adef25f847e6fbeb2154874b81f9b88 (tree)
Time2017-08-17 23:47:04
AuthorDeskull <desull@user...>
CommiterDeskull

Log Message

#37337 libxmlのライブラリ参照追加。xmlダンプ出力実装開始。 / Add library reference of libxml. Implementing XML dump.

Change Summary

Incremental Difference

--- a/Hengband_vcs2015/Hengband/Hengband.vcxproj
+++ b/Hengband_vcs2015/Hengband/Hengband.vcxproj
@@ -60,8 +60,8 @@
6060 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
6161 </PropertyGroup>
6262 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
63- <IncludePath>..\..\libxml2\include;..\..\iconv\include;$(IncludePath)</IncludePath>
64- <LibraryPath>..\..\libxml2\lib;..\..\iconv\lib;$(LibraryPath)</LibraryPath>
63+ <IncludePath>..\..\libxml2-2.9.3\include;$(IncludePath)</IncludePath>
64+ <LibraryPath>..\..\libxml2-2.9.3\win32\bin.msvc;$(LibraryPath)</LibraryPath>
6565 </PropertyGroup>
6666 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
6767 <ClCompile>
@@ -76,7 +76,7 @@
7676 <DisableSpecificWarnings>4127;4996;4244;4820;%(DisableSpecificWarnings)</DisableSpecificWarnings>
7777 </ClCompile>
7878 <Link>
79- <AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies);libxml2.a;</AdditionalDependencies>
79+ <AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies);libxml2.lib;</AdditionalDependencies>
8080 <GenerateDebugInformation>true</GenerateDebugInformation>
8181 <TargetMachine>MachineX86</TargetMachine>
8282 <ShowProgress>LinkVerbose</ShowProgress>
--- /dev/null
+++ b/src/xmlfiles.c
@@ -0,0 +1,22 @@
1+/*!
2+* @file xmlfiles.c
3+* @brief xml/html出力管理 / Purpose: xml/html output
4+* @date 2014/01/28
5+* @author
6+* <pre>
7+* 2017 Deskull\n
8+* </pre>
9+*/
10+
11+#include "angband.h"
12+
13+#include <libxml/encoding.h>
14+#include <libxml/xmlwriter.h>
15+
16+void dumpPlayerXml(void)
17+{
18+ xmlTextWriterPtr writer;
19+
20+ writer = xmlNewTextWriterFilename("test.xml", 0);
21+ xmlFreeTextWriter(writer);
22+}
--- /dev/null
+++ b/src/xmlfiles.h
@@ -0,0 +1 @@
1+void dumpPlayerXml(void);