summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-05 22:49:28 -0400
committerNeil Moore <neil@s-z.org>2014-06-05 23:03:45 -0400
commit539d7c4a0f083398e43ffb9eefcc0f7b872ff256 (patch)
tree589b4fb26d02066ec4b35837f03f6d57e3fcfc15
parentcf2591fd3be87055e0b0c02a3d4475031af26e95 (diff)
downloadcrawl-ref-539d7c4a0f083398e43ffb9eefcc0f7b872ff256.tar.gz
crawl-ref-539d7c4a0f083398e43ffb9eefcc0f7b872ff256.zip
Include tileweb-text.cc in MSVC builds.
-rw-r--r--crawl-ref/source/MSVC/crawl.vcxproj2
-rw-r--r--crawl-ref/source/tileweb-text.cc3
2 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/MSVC/crawl.vcxproj b/crawl-ref/source/MSVC/crawl.vcxproj
index 641e2b8878..4f47ea69b0 100644
--- a/crawl-ref/source/MSVC/crawl.vcxproj
+++ b/crawl-ref/source/MSVC/crawl.vcxproj
@@ -573,6 +573,7 @@ perl.exe "util/gen-cflg.pl" compflag.h "&lt;UNKNOWN&gt;" "&lt;UNKNOWN&gt;"
<ClCompile Include="..\tiletex.cc" />
<ClCompile Include="..\tileview.cc" />
<ClCompile Include="..\tileweb.cc" />
+ <ClCompile Include="..\tileweb-text.cc" />
<ClCompile Include="..\transform.cc" />
<ClCompile Include="..\traps.cc" />
<ClCompile Include="..\travel.cc" />
@@ -885,6 +886,7 @@ perl.exe "util/gen-cflg.pl" compflag.h "&lt;UNKNOWN&gt;" "&lt;UNKNOWN&gt;"
<ClInclude Include="..\tiletex.h" />
<ClInclude Include="..\tileview.h" />
<ClInclude Include="..\tileweb.h" />
+ <ClInclude Include="..\tileweb-text.h" />
<ClInclude Include="..\transform.h" />
<ClInclude Include="..\traps.h" />
<ClInclude Include="..\trap_def.h" />
diff --git a/crawl-ref/source/tileweb-text.cc b/crawl-ref/source/tileweb-text.cc
index ee1c645e55..9069b98219 100644
--- a/crawl-ref/source/tileweb-text.cc
+++ b/crawl-ref/source/tileweb-text.cc
@@ -1,6 +1,8 @@
#include "AppHdr.h"
+#ifdef USE_TILE_WEB
+
#include "libutil.h"
#include "tileweb-text.h"
#include "tileweb.h"
@@ -195,3 +197,4 @@ void WebTextArea::send(bool force)
void WebTextArea::on_resize()
{
}
+#endif