From cb1dee3f4628f6c3a0689befee0ee48839f1ec80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Mr=C3=A1zek?=
Date: Sun, 10 Apr 2011 22:14:35 +0200
Subject: [PATCH] Give unreveal tool a sensible name, bump version to 0.5.13,
README updated.
---
CMakeLists.txt | 2 +-
README.rst | 6 +++
Readme.html | 37 +++++++++++--------
tools/supported/CMakeLists.txt | 2 +-
.../supported/{resethide.cpp => unreveal.cpp} | 0
5 files changed, 30 insertions(+), 17 deletions(-)
rename tools/supported/{resethide.cpp => unreveal.cpp} (100%)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ead0108a6..6ac924f41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ SET(DFHACK_CONSISTENCY 1)
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "5")
-set(CPACK_PACKAGE_VERSION_PATCH "12")
+set(CPACK_PACKAGE_VERSION_PATCH "13")
set(DFHACK_REVISION "1")
set(DFHACK_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
diff --git a/README.rst b/README.rst
index 849262523..f5185c3e1 100644
--- a/README.rst
+++ b/README.rst
@@ -73,6 +73,7 @@ Only exception is mud. It leaves mud alone.
dfderamp (by zilpin)
====================
Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.
+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).
dfdoffsets
==========
@@ -141,6 +142,11 @@ dfreveal
Reveals the whole map, waits for input and hides it again. If you close
the tool while it waits, the map remains revealed.
+dfunreveal
+==========
+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.
+Can be used to fix maps stuck revealed or hide parts of the fortress blocked off by walls.
+
dfsuspend
=========
Test of the process suspend/resume mechanism. If this doesn't work as expected, it's not safe to use DFHack.
diff --git a/Readme.html b/Readme.html
index 7db99e961..f407065dc 100644
--- a/Readme.html
+++ b/Readme.html
@@ -350,13 +350,14 @@ allow for easier development of new tools.
dfprobe
dfprospector
dfreveal
-dfsuspend
-dftubefill
-dfunstuck
-dfvdig
-dfveinlook
-dfweather
-Your tool here
+dfunreveal
+dfsuspend
+dftubefill
+dfunstuck
+dfvdig
+dfveinlook
+dfweather
+Your tool here
@@ -413,7 +414,8 @@ Only exception is mud. It leaves mud alone.
-
Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.
+
Removes all ramps designated for removal from the map. This is useful for replicating the old channel digging designation.
+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).
@@ -481,35 +483,40 @@ It has two parameters:
Reveals the whole map, waits for input and hides it again. If you close
the tool while it waits, the map remains revealed.
+
+
+
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.
+Can be used to fix maps stuck revealed or hide parts of the fortress blocked off by walls.
+
-
+
Test of the process suspend/resume mechanism. If this doesn't work as expected, it's not safe to use DFHack.
-
+
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
yet ;)
-
+
Use if you prematurely close any of the tools and DF appears to be stuck. Mostly only needed on Windows.
-
+
Designates a whole vein for digging. Point the cursor at a vein and run this thing :)
Running 'dfXvdig' on Windows or using the '-x' parameter will dig stairs between z-levels to follow the veins.
-
+
Simplistic map viewer for linux. Mostly a debug/development thing.
-
+
Lets you change the current weather to 'clear sky', 'rainy' or 'snowing'. Fill those ponds without mucking around with dfliquids
:D Rain can also stop brush fires.
diff --git a/tools/supported/CMakeLists.txt b/tools/supported/CMakeLists.txt
index a1a7cc046..9728ea7a3 100644
--- a/tools/supported/CMakeLists.txt
+++ b/tools/supported/CMakeLists.txt
@@ -18,7 +18,7 @@ ENDIF()
DFHACK_TOOL(dfreveal reveal.cpp)
# re-hide borked reveals
-DFHACK_TOOL(dfresethide resethide.cpp)
+DFHACK_TOOL(dfunreveal unreveal.cpp)
# designate all visible floor tiles as lair, freezing items in place
DFHACK_TOOL(dflair lair.cpp)
diff --git a/tools/supported/resethide.cpp b/tools/supported/unreveal.cpp
similarity index 100%
rename from tools/supported/resethide.cpp
rename to tools/supported/unreveal.cpp