diff --git a/output/Memory.xml b/output/Memory.xml index 1abcf973a..fd0072623 100755 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -2300,6 +2300,21 @@ map_data_1b60_offset 0x1B9c Toad: caste vector = 0x60 Toad: extract? vector = 0x18f4 Toad: colors = 0x36 + + Buildings + ========= +
0x92eb068
+ 0xE0 + +
0x93302e8
+ 0x4 + 0x8 + + + + + + diff --git a/tools/examples/CMakeLists.txt b/tools/examples/CMakeLists.txt index f50ebcc0d..ed2449c16 100644 --- a/tools/examples/CMakeLists.txt +++ b/tools/examples/CMakeLists.txt @@ -54,4 +54,17 @@ TARGET_LINK_LIBRARIES(dfspatterdump dfhack) ADD_EXECUTABLE(dfprocessenum processenum.cpp) TARGET_LINK_LIBRARIES(dfprocessenum dfhack) +install(TARGETS +dfbuildingsdump +dfconstructiondump +dfcreaturedump +dfmaterialtest +dfposition +dfitemdump +dfhotkeynotedump +dftreedump +dfspatterdump +dfprocessenum +RUNTIME DESTINATION bin +) ENDIF (BUILD_DFHACK_EXAMPLES) \ No newline at end of file diff --git a/tools/playground/CMakeLists.txt b/tools/playground/CMakeLists.txt index ff4b97640..06a586c42 100644 --- a/tools/playground/CMakeLists.txt +++ b/tools/playground/CMakeLists.txt @@ -64,4 +64,19 @@ TARGET_LINK_LIBRARIES(dfcatsplosion dfhack) #ADD_EXECUTABLE(dfrenamer renamer.cpp) #TARGET_LINK_LIBRARIES(dfrenamer dfhack) +install(TARGETS +dfmoodump +dftest +dfdoffsets +dfdigger +dfdigger2 +dfcatsplosion +RUNTIME DESTINATION bin +) +IF(UNIX) + install(TARGETS + dfincremental + RUNTIME DESTINATION bin + ) +ENDIF(UNIX) ENDIF (BUILD_DFHACK_PLAYGROUND) \ No newline at end of file diff --git a/tools/playground/incrementalsearch.cpp b/tools/playground/incrementalsearch.cpp index 2671ab6bc..0e9529cf1 100644 --- a/tools/playground/incrementalsearch.cpp +++ b/tools/playground/incrementalsearch.cpp @@ -397,8 +397,9 @@ void FindVectorByLength(DFHack::ContextManager & DFMgr, vector Attach(); SegmentedFinder sf(ranges,DF); - sf.Incremental(0,4,found,vectorAll); - sf.Filter(length * element_size,found,vectorLength); + //sf.Incremental(0,4,found,vectorAll); + //sf.Filter(length * element_size,found,vectorLength); + sf.Incremental(length * element_size, 4 , found, vectorLength); DF->Detach(); } }