Skip to content

Commit cb1dee3

Browse files
committed
Give unreveal tool a sensible name, bump version to 0.5.13, README updated.
1 parent 125f4cf commit cb1dee3

File tree

5 files changed

+30
-17
lines changed

5 files changed

+30
-17
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SET(DFHACK_CONSISTENCY 1)
1717

1818
set(CPACK_PACKAGE_VERSION_MAJOR "0")
1919
set(CPACK_PACKAGE_VERSION_MINOR "5")
20-
set(CPACK_PACKAGE_VERSION_PATCH "12")
20+
set(CPACK_PACKAGE_VERSION_PATCH "13")
2121
set(DFHACK_REVISION "1")
2222

2323
set(DFHACK_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Only exception is mud. It leaves mud alone.
7373
dfderamp (by zilpin)
7474
====================
7575
Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.
76+
It also removes any and all 'down ramps' that can remain after a cave-in (you don't have to designate anything for that to happen).
7677

7778
dfdoffsets
7879
==========
@@ -141,6 +142,11 @@ dfreveal
141142
Reveals the whole map, waits for input and hides it again. If you close
142143
the tool while it waits, the map remains revealed.
143144

145+
dfunreveal
146+
==========
147+
Hides everything and then only reveals the part of the map accessible from the position of DF's cursor. Place the cursor in open space that you want to keep revealed - this should include the surface world.
148+
Can be used to fix maps stuck revealed or hide parts of the fortress blocked off by walls.
149+
144150
dfsuspend
145151
=========
146152
Test of the process suspend/resume mechanism. If this doesn't work as expected, it's not safe to use DFHack.

Readme.html

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,14 @@ <h1><a class="toc-backref" href="#id1">Introduction</a></h1>
350350
<li><a class="reference internal" href="#dfprobe" id="id21">dfprobe</a></li>
351351
<li><a class="reference internal" href="#dfprospector" id="id22">dfprospector</a></li>
352352
<li><a class="reference internal" href="#dfreveal" id="id23">dfreveal</a></li>
353-
<li><a class="reference internal" href="#dfsuspend" id="id24">dfsuspend</a></li>
354-
<li><a class="reference internal" href="#dftubefill" id="id25">dftubefill</a></li>
355-
<li><a class="reference internal" href="#dfunstuck" id="id26">dfunstuck</a></li>
356-
<li><a class="reference internal" href="#dfvdig" id="id27">dfvdig</a></li>
357-
<li><a class="reference internal" href="#dfveinlook" id="id28">dfveinlook</a></li>
358-
<li><a class="reference internal" href="#dfweather" id="id29">dfweather</a></li>
359-
<li><a class="reference internal" href="#your-tool-here" id="id30">Your tool here</a></li>
353+
<li><a class="reference internal" href="#dfunreveal" id="id24">dfunreveal</a></li>
354+
<li><a class="reference internal" href="#dfsuspend" id="id25">dfsuspend</a></li>
355+
<li><a class="reference internal" href="#dftubefill" id="id26">dftubefill</a></li>
356+
<li><a class="reference internal" href="#dfunstuck" id="id27">dfunstuck</a></li>
357+
<li><a class="reference internal" href="#dfvdig" id="id28">dfvdig</a></li>
358+
<li><a class="reference internal" href="#dfveinlook" id="id29">dfveinlook</a></li>
359+
<li><a class="reference internal" href="#dfweather" id="id30">dfweather</a></li>
360+
<li><a class="reference internal" href="#your-tool-here" id="id31">Your tool here</a></li>
360361
</ul>
361362
</li>
362363
</ul>
@@ -413,7 +414,8 @@ <h2><a class="toc-backref" href="#id10">dfcleanmap</a></h2>
413414
</div>
414415
<div class="section" id="dfderamp-by-zilpin">
415416
<h2><a class="toc-backref" href="#id11">dfderamp (by zilpin)</a></h2>
416-
<p>Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.</p>
417+
<p>Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.
418+
It also removes any and all 'down ramps' that can remain after a cave-in (you don't have to designate anything for that to happen).</p>
417419
</div>
418420
<div class="section" id="dfdoffsets">
419421
<h2><a class="toc-backref" href="#id12">dfdoffsets</a></h2>
@@ -481,35 +483,40 @@ <h2><a class="toc-backref" href="#id23">dfreveal</a></h2>
481483
<p>Reveals the whole map, waits for input and hides it again. If you close
482484
the tool while it waits, the map remains revealed.</p>
483485
</div>
486+
<div class="section" id="dfunreveal">
487+
<h2><a class="toc-backref" href="#id24">dfunreveal</a></h2>
488+
<p>Hides everything and then only reveals the part of the map accessible from the position of DF's cursor. Place the cursor in open space that you want to keep revealed - this should include the surface world.
489+
Can be used to fix maps stuck revealed or hide parts of the fortress blocked off by walls.</p>
490+
</div>
484491
<div class="section" id="dfsuspend">
485-
<h2><a class="toc-backref" href="#id24">dfsuspend</a></h2>
492+
<h2><a class="toc-backref" href="#id25">dfsuspend</a></h2>
486493
<p>Test of the process suspend/resume mechanism. If this doesn't work as expected, it's not safe to use DFHack.</p>
487494
</div>
488495
<div class="section" id="dftubefill">
489-
<h2><a class="toc-backref" href="#id25">dftubefill</a></h2>
496+
<h2><a class="toc-backref" href="#id26">dftubefill</a></h2>
490497
<p>Fills all the 'candy stores' with 'delicious candy'. No need to fear the clowns. Don't use if you haven't seen the hidden fun stuff
491498
yet ;)</p>
492499
</div>
493500
<div class="section" id="dfunstuck">
494-
<h2><a class="toc-backref" href="#id26">dfunstuck</a></h2>
501+
<h2><a class="toc-backref" href="#id27">dfunstuck</a></h2>
495502
<p>Use if you prematurely close any of the tools and DF appears to be stuck. Mostly only needed on Windows.</p>
496503
</div>
497504
<div class="section" id="dfvdig">
498-
<h2><a class="toc-backref" href="#id27">dfvdig</a></h2>
505+
<h2><a class="toc-backref" href="#id28">dfvdig</a></h2>
499506
<p>Designates a whole vein for digging. Point the cursor at a vein and run this thing :)
500507
Running 'dfXvdig' on Windows or using the '-x' parameter will dig stairs between z-levels to follow the veins.</p>
501508
</div>
502509
<div class="section" id="dfveinlook">
503-
<h2><a class="toc-backref" href="#id28">dfveinlook</a></h2>
510+
<h2><a class="toc-backref" href="#id29">dfveinlook</a></h2>
504511
<p>Simplistic map viewer for linux. Mostly a debug/development thing.</p>
505512
</div>
506513
<div class="section" id="dfweather">
507-
<h2><a class="toc-backref" href="#id29">dfweather</a></h2>
514+
<h2><a class="toc-backref" href="#id30">dfweather</a></h2>
508515
<p>Lets you change the current weather to 'clear sky', 'rainy' or 'snowing'. Fill those ponds without mucking around with dfliquids
509516
:D Rain can also stop brush fires.</p>
510517
</div>
511518
<div class="section" id="your-tool-here">
512-
<h2><a class="toc-backref" href="#id30">Your tool here</a></h2>
519+
<h2><a class="toc-backref" href="#id31">Your tool here</a></h2>
513520
<p>Write one ;)</p>
514521
</div>
515522
</div>

tools/supported/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ENDIF()
1818
DFHACK_TOOL(dfreveal reveal.cpp)
1919

2020
# re-hide borked reveals
21-
DFHACK_TOOL(dfresethide resethide.cpp)
21+
DFHACK_TOOL(dfunreveal unreveal.cpp)
2222

2323
# designate all visible floor tiles as lair, freezing items in place
2424
DFHACK_TOOL(dflair lair.cpp)

0 commit comments

Comments
 (0)