From 07b4044336176e8277f3adaa2e03c406e77b6b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 1 Mar 2012 00:01:24 +0100 Subject: [PATCH] Nuke more! --- .../SegmentedFinder.h | 0 {tools/python => needs_porting}/attachtest.py | 0 .../copypaste.cpp | 0 .../creaturemanager.cpp | 0 .../dfbauxite.cpp | 0 .../supported => needs_porting}/dfstatus.cpp | 0 .../playground => needs_porting}/digger.cpp | 0 .../playground => needs_porting}/digger2.cpp | 0 .../digpattern.cpp | 0 .../playground => needs_porting}/drawtile.cpp | 0 .../playground => needs_porting}/fix-3708.cpp | 0 .../playground => needs_porting}/hellhole.cpp | 0 .../hotkeynotedump.py | 0 .../incrementalsearch.cpp | 0 .../itemdesignator.cpp | 0 {tools/supported => needs_porting}/lair.cpp | 0 {tools/python => needs_porting}/position.py | 0 {tools/python => needs_porting}/reveal.py | 0 {tools/python => needs_porting}/treedump.py | 0 .../supported => needs_porting}/veinlook.cpp | 0 .../playground => needs_porting}/veinswap.cpp | 0 tools/playground/CMakeLists.txt | 114 ----------------- tools/supported/CMakeLists.txt | 121 ------------------ 23 files changed, 235 deletions(-) rename {tools/supported => needs_porting}/SegmentedFinder.h (100%) rename {tools/python => needs_porting}/attachtest.py (100%) rename {tools/playground => needs_porting}/copypaste.cpp (100%) rename {tools/playground => needs_porting}/creaturemanager.cpp (100%) rename {tools/playground => needs_porting}/dfbauxite.cpp (100%) rename {tools/supported => needs_porting}/dfstatus.cpp (100%) rename {tools/playground => needs_porting}/digger.cpp (100%) rename {tools/playground => needs_porting}/digger2.cpp (100%) rename {tools/playground => needs_porting}/digpattern.cpp (100%) rename {tools/playground => needs_porting}/drawtile.cpp (100%) rename {tools/playground => needs_porting}/fix-3708.cpp (100%) rename {tools/playground => needs_porting}/hellhole.cpp (100%) rename {tools/python => needs_porting}/hotkeynotedump.py (100%) rename {tools/supported => needs_porting}/incrementalsearch.cpp (100%) rename {tools/playground => needs_porting}/itemdesignator.cpp (100%) rename {tools/supported => needs_porting}/lair.cpp (100%) rename {tools/python => needs_porting}/position.py (100%) rename {tools/python => needs_porting}/reveal.py (100%) rename {tools/python => needs_porting}/treedump.py (100%) rename {tools/supported => needs_porting}/veinlook.cpp (100%) rename {tools/playground => needs_porting}/veinswap.cpp (100%) delete mode 100644 tools/playground/CMakeLists.txt delete mode 100644 tools/supported/CMakeLists.txt diff --git a/tools/supported/SegmentedFinder.h b/needs_porting/SegmentedFinder.h similarity index 100% rename from tools/supported/SegmentedFinder.h rename to needs_porting/SegmentedFinder.h diff --git a/tools/python/attachtest.py b/needs_porting/attachtest.py similarity index 100% rename from tools/python/attachtest.py rename to needs_porting/attachtest.py diff --git a/tools/playground/copypaste.cpp b/needs_porting/copypaste.cpp similarity index 100% rename from tools/playground/copypaste.cpp rename to needs_porting/copypaste.cpp diff --git a/tools/playground/creaturemanager.cpp b/needs_porting/creaturemanager.cpp similarity index 100% rename from tools/playground/creaturemanager.cpp rename to needs_porting/creaturemanager.cpp diff --git a/tools/playground/dfbauxite.cpp b/needs_porting/dfbauxite.cpp similarity index 100% rename from tools/playground/dfbauxite.cpp rename to needs_porting/dfbauxite.cpp diff --git a/tools/supported/dfstatus.cpp b/needs_porting/dfstatus.cpp similarity index 100% rename from tools/supported/dfstatus.cpp rename to needs_porting/dfstatus.cpp diff --git a/tools/playground/digger.cpp b/needs_porting/digger.cpp similarity index 100% rename from tools/playground/digger.cpp rename to needs_porting/digger.cpp diff --git a/tools/playground/digger2.cpp b/needs_porting/digger2.cpp similarity index 100% rename from tools/playground/digger2.cpp rename to needs_porting/digger2.cpp diff --git a/tools/playground/digpattern.cpp b/needs_porting/digpattern.cpp similarity index 100% rename from tools/playground/digpattern.cpp rename to needs_porting/digpattern.cpp diff --git a/tools/playground/drawtile.cpp b/needs_porting/drawtile.cpp similarity index 100% rename from tools/playground/drawtile.cpp rename to needs_porting/drawtile.cpp diff --git a/tools/playground/fix-3708.cpp b/needs_porting/fix-3708.cpp similarity index 100% rename from tools/playground/fix-3708.cpp rename to needs_porting/fix-3708.cpp diff --git a/tools/playground/hellhole.cpp b/needs_porting/hellhole.cpp similarity index 100% rename from tools/playground/hellhole.cpp rename to needs_porting/hellhole.cpp diff --git a/tools/python/hotkeynotedump.py b/needs_porting/hotkeynotedump.py similarity index 100% rename from tools/python/hotkeynotedump.py rename to needs_porting/hotkeynotedump.py diff --git a/tools/supported/incrementalsearch.cpp b/needs_porting/incrementalsearch.cpp similarity index 100% rename from tools/supported/incrementalsearch.cpp rename to needs_porting/incrementalsearch.cpp diff --git a/tools/playground/itemdesignator.cpp b/needs_porting/itemdesignator.cpp similarity index 100% rename from tools/playground/itemdesignator.cpp rename to needs_porting/itemdesignator.cpp diff --git a/tools/supported/lair.cpp b/needs_porting/lair.cpp similarity index 100% rename from tools/supported/lair.cpp rename to needs_porting/lair.cpp diff --git a/tools/python/position.py b/needs_porting/position.py similarity index 100% rename from tools/python/position.py rename to needs_porting/position.py diff --git a/tools/python/reveal.py b/needs_porting/reveal.py similarity index 100% rename from tools/python/reveal.py rename to needs_porting/reveal.py diff --git a/tools/python/treedump.py b/needs_porting/treedump.py similarity index 100% rename from tools/python/treedump.py rename to needs_porting/treedump.py diff --git a/tools/supported/veinlook.cpp b/needs_porting/veinlook.cpp similarity index 100% rename from tools/supported/veinlook.cpp rename to needs_porting/veinlook.cpp diff --git a/tools/playground/veinswap.cpp b/needs_porting/veinswap.cpp similarity index 100% rename from tools/playground/veinswap.cpp rename to needs_porting/veinswap.cpp diff --git a/tools/playground/CMakeLists.txt b/tools/playground/CMakeLists.txt deleted file mode 100644 index 47b16b01b..000000000 --- a/tools/playground/CMakeLists.txt +++ /dev/null @@ -1,114 +0,0 @@ -if(NOT DEFINED DFHACK_CONSISTENCY) - MESSAGE(FATAL_ERROR "Please build the whole thing, not parts. You can turn parts on/off using options.") -ENDIF() - -# this is required to ensure we use the right configuration for the system. -IF(UNIX) - add_definitions(-DLINUX_BUILD) -ENDIF(UNIX) - -# a creature mood dump hack. has hardcoded offsets -DFHACK_TOOL(dfmoodump moodump.cpp) - -# bauxite - turn all mechanisms into bauxite mechanisms -# Author: Alex Legg -# FIXME: turned off. there is no reliable Items module. -#DFHACK_TOOL(dfbauxite dfbauxite.cpp) - -# digger - designate for digging by tile class -# Author: mizipzor -DFHACK_TOOL(dfdigger digger.cpp) - -# digger2 - designate for digging from a text file -# Author: rOut -DFHACK_TOOL(dfdigger2 digger2.cpp) - -# itemdesignator - change some item designations (dump, forbid, on-fire) for all -# items of a given type and material -# Author: belal -DFHACK_TOOL(dfitemdesignator itemdesignator.cpp) - -# catsplosion - Accelerates pregnancy -# Author: Zhentar -# FIXME: no longer works due to changes in DF -#DFHACK_TOOL(dfcatsplosion catsplosion.cpp) - -# findnameindexes -# Author: belal -DFHACK_TOOL(dffindnameindexes findnameindexes.cpp) - -# try things -DFHACK_TOOL(dftry dftry.cpp) - -# renamer - change the custom names and professions of creatures, sends keys to -# df directly -# Author: belal -# DFHACK_TOOL(dfrenamer renamer.cpp) - -# copypaste -# Author: belal -# copies the current buildings in a df map, and then designates the area to be dug -# mainly a proof of concept for my gui application dfCopyPaste -DFHACK_TOOL(dfcopypaste copypaste.cpp) - -# paths -# Author: belal -# dumps the current path to the DF exe, as well as the relative paths to the -# current tileset and color files -DFHACK_TOOL(dfpaths paths.cpp) - -# printtiletypes -# Author: zilpin -# Prints CSV dump of all tile type information. -# No DF process needed. Intended only for debugging and information purposes. -DFHACK_TOOL(dfprinttiletypes printtiletypes.cpp) - -# hellhole -# Author: zilpin -# Creates a bottomless hole to hell. -# Experimental version hard-codes values. -# Will have many options in the future. -DFHACK_TOOL(dfhellhole hellhole.cpp) - -# drawtile -# Author: zilpin -# Arbitrary tile drawing at the cursor. -# Does not fix tiles above/below for consistency (e.g. ramps). -DFHACK_TOOL(dfdrawtile drawtile.cpp) - -# veinswap -# Author: zilpin -# Randomly swap a percentage of the specified vein material with another material. -# Or, set the material of a vein under the cursor. -DFHACK_TOOL(dfveinswap veinswap.cpp) - -# lumberjack -# Author: zilpin -# Designate all trees of the given type which can be reached from the cursor. -DFHACK_TOOL(dflumberjack lumberjack.cpp) - -# dfcreaturemanager -# Author: raoulxq -# - Display creatures (overview & detail) -# - Modify skills and labors of creatures -# - Kill creatures -# - Etc. -DFHACK_TOOL(dfcreaturemanager creaturemanager.cpp) - -# digpattern -# Author: raoulxq -# Dig a specific pattern (in this case 3x3 bedrooms, modify as you like) -DFHACK_TOOL(dfdigpattern digpattern.cpp) - -DFHACK_TOOL(dffixbug-3708 fix-3708.cpp) - -# blockflags -# Author: matthew cline -# Invert/toggle all block flags, to see what they do. -DFHACK_TOOL(dfblockflags blockflags.cpp) - -# this needs the C bindings -IF(BUILD_DFHACK_C_BINDINGS) - # The C bindings won't be real C bindings until this compiles. - #DFHACK_TOOL(dftest test.c) -ENDIF(BUILD_DFHACK_C_BINDINGS) diff --git a/tools/supported/CMakeLists.txt b/tools/supported/CMakeLists.txt deleted file mode 100644 index 26e239b68..000000000 --- a/tools/supported/CMakeLists.txt +++ /dev/null @@ -1,121 +0,0 @@ -if(NOT DEFINED DFHACK_CONSISTENCY) - MESSAGE(FATAL_ERROR "Please build the whole thing, not parts. You can turn parts on/off using options/ccmake during build.") -ENDIF() - -# this is required to ensure we use the right configuration for the system. -IF(UNIX) - add_definitions(-DLINUX_BUILD) -ENDIF() - -# burn trees and shrubs to ashes -DFHACK_TOOL(dfimmolate immolate.cpp) -IF(WIN32) - INSTALL( - PROGRAMS dfimmolate-all.bat dfimmolate-fire.bat dfimmolate-shrubs.bat dfimmolate-shrubs-fire.bat dfimmolate-trees.bat dfimmolate-trees-fire.bat - DESTINATION ${DFHACK_BINARY_DESTINATION} - ) -ENDIF() - -# grow saplings into trees instantly -DFHACK_TOOL(dfgrow grow.cpp) - -# a reveal clone -DFHACK_TOOL(dfreveal reveal.cpp) - -# re-hide borked reveals -DFHACK_TOOL(dfunreveal unreveal.cpp) - -# designate all visible floor tiles as lair, freezing items in place -DFHACK_TOOL(dflair lair.cpp) - -# force pause! -DFHACK_TOOL(dfpause forcepause.cpp) - -# prospector - produces a list of available materials and their quantities -DFHACK_TOOL(dfprospector prospector.cpp) -IF(WIN32) - INSTALL(PROGRAMS dfprospector-text.bat dfprospector-all.bat DESTINATION ${DFHACK_BINARY_DESTINATION}) -ENDIF() - -# vdig - dig the vein under the cursor -DFHACK_TOOL(dfvdig vdig.cpp) -IF(WIN32) - INSTALL(PROGRAMS dfXvdig.bat DESTINATION ${DFHACK_BINARY_DESTINATION}) -ENDIF() - -# cleanmap - removes mud, snow, blood and similar stuff from a map. farmers beware -DFHACK_TOOL(dfcleanmap cleanmap.cpp) - -# cleanowned - confiscate items owned by dwarves so they can be atomsmashed/reused/etc. -DFHACK_TOOL(dfcleanowned cleanowned.cpp) -IF(WIN32) - INSTALL(PROGRAMS dfconfiscate.bat dfremovelitter.bat DESTINATION ${DFHACK_BINARY_DESTINATION}) -ENDIF() - -# unstuck - make DF run if something goes wrong with the 'normal' memory access method -DFHACK_TOOL(dfunstuck unstuck.cpp) - -# probe - map tile probe -DFHACK_TOOL(dfprobe probe.cpp) - -# attachtest - 100x attach/detach, suspend/resume -DFHACK_TOOL(dfattachtest attachtest.cpp) - -# a benchmark program, reads the map 1000x -DFHACK_TOOL(dfexpbench expbench.cpp) - -# suspendtest - test if suspend works. df should stop responding when suspended -# by dfhack -DFHACK_TOOL(dfsuspend suspendtest.cpp) - -# flows - check flows impact on fps -DFHACK_TOOL(dfflows flows.cpp) - -# liquids manipulation tool -# Original author: Aleric -DFHACK_TOOL(dfliquids liquids.cpp) - -# Solves the problem of unusable items after reclaim by clearing the 'in_job' bit of all items. -# Original author: Quietust -DFHACK_TOOL(dfcleartask cleartask.cpp) - -# position - check the DF window and cursor parameters -DFHACK_TOOL(dfposition position.cpp) - -# mode - a utility to change the current game and control modes -DFHACK_TOOL(dfmode mode.cpp) - -# just dump offsets of the current version -DFHACK_TOOL(dfdoffsets dumpoffsets.cpp) - -# change the weather -DFHACK_TOOL(dfweather weather.cpp) - -# refill adamantine veins -DFHACK_TOOL(dftubefill dftubefill.cpp) - -# deramp -# Author: zilpin -# seeks entire map for 'remove ramp' designation, makes a floor, removes designation. -# intended use is to simulate old 'channel' functionality. -DFHACK_TOOL(dfderamp deramp.cpp) - -# incrementalsearch - a bit like cheat engine, only DF-specific, very basic -#DFHACK_TOOL(dfautosearch autosearch.cpp) -DFHACK_TOOL(dfincremental incrementalsearch.cpp) - -# auto dump. dumps all items marked for dumping at the cursor position without the need for dwarf labor. -# ... or just kills the items? :P -DFHACK_TOOL(dfautodump autodump.cpp) -IF(WIN32) - INSTALL(PROGRAMS dfautodestroy.bat DESTINATION ${DFHACK_BINARY_DESTINATION}) -ENDIF() - -# tile types. tile shape, material, and special information manipulation tool -DFHACK_TOOL(dftiletypes tiletypes.cpp) - -# veinlook - look at the map... sort of, kind of -DFHACK_CURSES_TOOL(dfveinlook veinlook.cpp) - -# dfstatus - watches DF and prints stuff in a window -DFHACK_CURSES_TOOL(dfstatus dfstatus.cpp)