From cb9c964722ebe10ac313a61f853b0960b0094e15 Mon Sep 17 00:00:00 2001 From: Warmist Date: Fri, 12 Oct 2018 10:40:20 +0300 Subject: [PATCH] Rename twbt-utils to map-render --- plugins/CMakeLists.txt | 2 +- plugins/{twbt-utils.cpp => map-render.cpp} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename plugins/{twbt-utils.cpp => map-render.cpp} (99%) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 7a26188b5..f2e2ee030 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -135,6 +135,7 @@ if (BUILD_SUPPORTED) DFHACK_PLUGIN(liquids liquids.cpp Brushes.h LINK_LIBRARIES lua) DFHACK_PLUGIN(luasocket luasocket.cpp LINK_LIBRARIES clsocket lua dfhack-tinythread) DFHACK_PLUGIN(manipulator manipulator.cpp) + DFHACK_PLUGIN(map-render map-render.cpp LINK_LIBRARIES lua) DFHACK_PLUGIN(misery misery.cpp) DFHACK_PLUGIN(mode mode.cpp) DFHACK_PLUGIN(mousequery mousequery.cpp) @@ -151,7 +152,6 @@ if (BUILD_SUPPORTED) add_subdirectory(rendermax) DFHACK_PLUGIN(resume resume.cpp) DFHACK_PLUGIN(reveal reveal.cpp) - DFHACK_PLUGIN(twbt-utils twbt-utils.cpp LINK_LIBRARIES lua) DFHACK_PLUGIN(search search.cpp) DFHACK_PLUGIN(seedwatch seedwatch.cpp) DFHACK_PLUGIN(showmood showmood.cpp) diff --git a/plugins/twbt-utils.cpp b/plugins/map-render.cpp similarity index 99% rename from plugins/twbt-utils.cpp rename to plugins/map-render.cpp index 4dbe3ca45..c3506ff59 100644 --- a/plugins/twbt-utils.cpp +++ b/plugins/map-render.cpp @@ -20,7 +20,7 @@ using std::vector; using namespace DFHack; using namespace df::enums; -DFHACK_PLUGIN("twbt-utils"); +DFHACK_PLUGIN("map-render"); REQUIRE_GLOBAL(window_x) REQUIRE_GLOBAL(window_y) REQUIRE_GLOBAL(window_z)