summaryrefslogtreecommitdiff
path: root/MapLoading.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-08-06 22:49:48 +0000
committerPetr Mrázek2011-08-06 22:49:48 +0000
commitd841ba0fee6e1f98e414c52dd07b44b981bc05fe (patch)
treea1b55757266b42cbab74c5166e7240fde2fb60b8 /MapLoading.cpp
parent4f8e62eef15fd23e984af3716cba37afe2134d5c (diff)
downloadstonesense-d841ba0fee6e1f98e414c52dd07b44b981bc05fe.tar.gz
stonesense-d841ba0fee6e1f98e414c52dd07b44b981bc05fe.tar.bz2
stonesense-d841ba0fee6e1f98e414c52dd07b44b981bc05fe.tar.xz
some derp changes, mostly to make things compile
Diffstat (limited to 'MapLoading.cpp')
-rw-r--r--MapLoading.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp
index 847fe88..357b8c3 100644
--- a/MapLoading.cpp
+++ b/MapLoading.cpp
@@ -398,6 +398,7 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C
//option for including hidden blocks
isHidden &= !config.show_hidden_blocks;
bool shouldBeIncluded = (!isOpenTerrain(t) || b->water.index || !designations[lx][ly].bits.skyview) && !isHidden;
+ /*
//include hidden blocks as shaded black
if(config.shade_hidden_blocks && isHidden && (isBlockOnVisibleEdgeOfSegment(&segment, b) || areNeighborsVisible(designations, lx, ly)))
{
@@ -416,7 +417,7 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C
b->building.sprites.push_back( sprite );
shouldBeIncluded= true;
}
-
+*/
if( shouldBeIncluded )
{
//this only needs to be done for included blocks