Commit Graph

450 Commits (8052305c2ec746294b707540409dafb6c09529d9)

Author SHA1 Message Date
Raoul XQ fa34f56c6d Merge remote branch 'upstream/master' 2011-04-15 01:08:33 +02:00
Raoul XQ cff85edf88 Patch to detect empty job ID
Will output job ID instead.
2011-04-15 00:47:48 +02:00
Raoul XQ 634ead79a8 Allow comma separated list of IDs for -i 2011-04-14 18:12:58 +02:00
Alexander Gavrilov 5edde76b8f Remove owned status from all food lying on the ground.
It is kinda late to dump an item that already produces miasma,
so take some preventive measures. Food that is being eaten or
carried should not be on the ground.
2011-04-14 20:06:36 +04:00
Raoul XQ c3f7d6f2b2 Switch -c all to show all creatures 2011-04-14 14:53:55 +02:00
Petr Mrázek 1a8c27ce01 Fix accessor mess I made. Added Accessor description dump to the dfitemdump tool and Items module. 2011-04-14 01:42:03 +02:00
Alexander Gavrilov 1d805ca328 Implement a program to hack away bug 3708 (unengraveable ghosts).
TODO: Test long-term consequences.
2011-04-13 22:04:32 +04:00
Raoul XQ 21e499f69d Fix for display issues
- Switch -i didn't work without -c for non-dwarfs
- Enable killing of non-dwarf children
2011-04-13 15:42:52 +02:00
Raoul XQ 2d1f1b45af Renamed dfskillmodify to dfcreature. 2011-04-13 14:47:53 +02:00
Raoul XQ 841c4b042c Kill creature(s) with --kill 2011-04-13 14:42:53 +02:00
Raoul XQ 547dbe05fa Add --showallflags flag to display all flags
Add --showallflags flag to display all flags of a creature. (Default: Display a few important ones.)
2011-04-13 13:22:14 +02:00
Raoul XQ 1d1c10601d Add --showdead flag to also display dead creatures
- Add --showdead flag to also display dead creatures
- Display more creature flags
- Updated usage()
2011-04-13 12:47:50 +02:00
Raoul XQ 30d5bfbf47 Show creature type (again) 2011-04-13 11:55:18 +02:00
Alexander Gavrilov ced036708f When searching for a string buffer, use the key as a substring.
The dfincremental ui does not allow entering strings with trailing
whitespace, and anyway sometimes it is difficult to guess how a GUI
string actually ends. Therefore it is probably more generic to
search for buffers that simply begin with the entered string.
2011-04-13 11:45:16 +04:00
Raoul XQ ad93afc1ee Hide skills with level 0 and 0 experience points
- Hide skills with level 0 and 0 experience points
- Tabs to spaces
2011-04-13 06:30:37 +02:00
Raoul XQ 19c4371581 Add switch -1 to skillmodify.cpp 2011-04-13 01:47:15 +02:00
Petr Mrázek 2aad508d2b Merge branch 'master' of https://github.com/raoulxq/dfhack into raoulxq-master 2011-04-12 14:00:04 +02:00
Petr Mrázek f5911a14a6 Some const correctness, re-enabled job printing in the creature dump tool. 2011-04-12 13:59:07 +02:00
Raoul XQ d10d8316e7 Reduced verbosity. 2011-04-12 13:51:20 +02:00
Raoul XQ bb80b246d1 Fix for -ah adding wrong labors. 2011-04-12 13:47:11 +02:00
Raoul XQ f2c60a3cfb Fix for materialAt()->veinMaterialAt() 2011-04-12 13:16:10 +02:00
Raoul XQ 74856ad00a Added tools/playground/digpattern
Small utility to dig certain patterns (in this case 3x3 bedrooms).
2011-04-12 13:03:34 +02:00
Raoul XQ 05f33853e1 Merge remote branch 'upstream/master'
Conflicts:
	tools/playground/CMakeLists.txt
2011-04-12 12:38:49 +02:00
Raoul XQ 46485a70c4 Remove magic numbers, smaller display changes
- Remove magic numbers
- Show social skills only when -ss is given
- Hide hauler labors when +sh is given
- Add -v for verbose
2011-04-12 12:19:01 +02:00
Petr Mrázek 212500ee00 Big Items refactor, made all the Accessor offsets optional. 2011-04-11 22:13:06 +02:00
Raoul van Putten 0a27f27431 Cleanup command line arguments and usage() in skillmodify.cpp 2011-04-11 14:02:21 +02:00
Raoul XQ 62833a2048 Add dfskillmodify 2011-04-11 13:16:47 +02:00
Raoul XQ 4e6cef8b7b Changed tabs into spaces 2011-04-11 13:15:51 +02:00
Petr Mrázek 77f0885d9e Merge https://github.com/angavrilov/dfhack into items 2011-04-11 12:48:28 +02:00
Raoul XQ 62a7c3037c Added skillmodify.cpp 2011-04-11 12:41:12 +02:00
Alexander Gavrilov 325e817d71 Improve the owner cleanup program a bit more. 2011-04-11 14:33:30 +04:00
Petr Mrázek cb1dee3f46 Give unreveal tool a sensible name, bump version to 0.5.13, README updated. 2011-04-10 22:14:35 +02:00
Alexander Gavrilov 109d20d251 Add an experimental program for cleaning up garbage owned by dwarfs.
As noted by Quietust on the forum, cleaning the owned flag from the
items does not actually remove the owner, but the item ceases to be
protected from manipulation by other dwarfs. This should be enough
to work around various bugs, like untouchable rotten food producing
miasma, or dwarfs littering the place with worn objects.
2011-04-10 23:25:41 +04:00
Petr Mrázek 125f4cf41f And its source. Blah. 2011-04-10 18:42:47 +02:00
Petr Mrázek b0b76f6d7c Tool for resetting hidden tile status after botched reveals. 2011-04-10 18:41:49 +02:00
Petr Mrázek b630e93c5a Added base layer material support to map cache, material display to dfprobe. 2011-04-10 17:01:58 +02:00
Petr Mrázek 7876a42258 The C test tool doesn't compile as a plain C program! 2011-04-10 15:36:01 +02:00
Petr Mrázek 1d35044db3 Started removing C++-isms from C wrapper. Removed DFGlobal.h 2011-04-10 13:12:28 +02:00
Petr Mrázek bb04aa1a32 Linux header cleanups. Windows side will follow. 2011-04-10 10:19:15 +02:00
Petr Mrázek 4547c8c0aa Use MapExtras more. 2011-04-10 06:17:11 +02:00
Petr Mrázek 4a83f07bdd dftry pseudo-tool, dfhack can recognize 40d again, but the old API class isn't there at all. bees and wax. 2011-04-07 11:21:38 +02:00
Petr Mrázek de9400d5e8 Make deramp tool fix bad ramps resulting from caveins. 2011-04-04 15:46:39 +02:00
Petr Mrázek 5465890b34 Added more direction flags to engravings. 2011-04-04 11:57:09 +02:00
Petr Mrázek 8b8c70b5ff Big creature jobs read/write fix (it was cmpletely broken) 2011-04-03 21:27:47 +02:00
Petr Mrázek 46c5041bea Direction flags for engravings. 2011-04-03 03:19:34 +02:00
Petr Mrázek a68702000d hexdump accepts length in bytes, hopefully fixed engravings struct 2011-04-03 02:49:03 +02:00
Petr Mrázek e18ade4ea6 Engravings are 0x28 bytes long. 2011-04-03 02:00:56 +02:00
Petr Mrázek 4cfc12b52b Engravings module. 2011-04-03 00:15:47 +02:00
Petr Mrázek 68b13d6bf0 Dreary offset work. 2011-04-02 12:35:23 +02:00
Petr Mrázek bbf64a1614 Added 'other' to the material dump. Fixed offsets for it in recent versions. 2011-04-01 04:20:49 +02:00
Petr Mrázek 1e893295ce Merge branch 'master' of https://github.com/doomchild/dfhack 2011-03-31 13:39:43 +02:00
Petr Mrázek f8db1c6b0e small liquids tweak (don't set flowbits on non-flow-passable tiles) 2011-03-31 13:38:44 +02:00
Petr Mrázek fe2e9e2571 Fix water turning into magma inside obsidian walls. 2011-03-31 06:11:03 +02:00
doomchild 48f8e86b0a fixed the unreveal part (it was already fixed in my test version, but I forgot to copy it over) 2011-03-30 13:37:51 -05:00
doomchild 73a7be3b34 updated to match C++ reveal tool 2011-03-30 11:55:28 -05:00
Petr Mrázek e61a907da1 Merge https://github.com/doomchild/dfhack 2011-03-30 14:35:41 +02:00
Petr Mrázek 37b0dbe02e 31.25, tweaks to make dfliquids and dfreveal better 2011-03-30 14:27:47 +02:00
doomchild d0cd969ed2 got everything up to the point that it matches what's in the C++ version of the position tool 2011-03-29 10:38:29 -05:00
doomchild 3e335c4b7b switched from position to gui (since position no longer exists) 2011-03-29 10:08:08 -05:00
Petr Mrázek 8ef1ef1985 31.23 Windows support, tiny little tweaks to liquids tool. 2011-03-27 00:02:23 +01:00
Petr Mrázek 754647fe96 The mysterious variable is mysterious, 31.22 support, needs testing 2011-03-24 23:21:50 +01:00
Petr Mrázek 7c971cd8f1 World coords for dfposition 2011-03-24 06:13:21 +01:00
Petr Mrázek 4090a378c1 Remove message spam, make sure the old methods act the same. 2011-03-24 04:20:34 +01:00
Petr Mrázek ce9aa514fb And the tool source... 2011-03-24 04:06:14 +01:00
Petr Mrázek 64a578b204 Added cache for map features inside the Maps module along with convenience feature getter for blocks. Adamantine vein refiller tool. 2011-03-24 04:00:23 +01:00
Petr Mrázek 34a687b95a Make sure things build with playground turned on. 2011-03-21 21:29:54 +01:00
Petr Mrázek e8ee9b7cab dflair tool to match what the dfusion people have. minor tweaks to playground 2011-03-21 21:14:07 +01:00
Petr Mrázek 7072c43e96 Move dfderamp tool to supported, there's no reason for it to languish in playground. 2011-03-21 11:09:34 +01:00
Petr Mrázek 0a35afb16a Use proper paths in build system. 2011-03-20 17:17:33 +01:00
Petr Mrázek fe92edfb4e No more generated config files. 2011-03-20 06:20:23 +01:00
Petr Mrázek 2bc7aacb79 Remove precompiled garbage, fix dfcleanmap for real 2011-03-19 20:17:04 +01:00
Petr Mrázek e1b80e6f33 Massive tool and wrapper fixage. 2011-03-18 11:38:37 +01:00
Petr Mrázek 737643a33f Spring cleaning in python wrappers. 2011-03-18 06:17:43 +01:00
Petr Mrázek 2911b203ce DFHack. Now with more packaging fun. 2011-03-18 00:07:40 +01:00
Petr Mrázek 557d6733e2 Make the build system sane, pt. 1 - no install or packages yet 2011-03-16 07:35:08 +01:00
Petr Mrázek 9d962d6303 Don't build things that don't work. 2011-03-15 01:25:55 +01:00
Petr Mrázek 6ed74065d1 Cleanmap bugfix. 2011-03-14 09:18:09 +01:00
Petr Mrázek cb86f52993 minor liquids bugfix, added typedef for planecoord so that stonesense builds. Build system bits. Doxygen bits. 2011-03-13 19:38:32 +01:00
Petr Mrázek c223bb858f Added MapExtras, ported dfliquids to MapCache. Fixed vein non-ident bug in dfvdig. 2011-03-11 03:09:45 +01:00
Petr Mrázek c4964f679d Moved dfmode tool to supported, updated readme to include it. 2011-03-07 10:12:27 +01:00
mikestewart 5c32991c40 Corrected game mode enum and added a mode changing tool to the playground. 2011-03-07 00:19:12 -05:00
Petr Mrázek 47c3f57206 DF 31.21 SDL Windows 2011-03-07 05:01:36 +01:00
Petr Mrázek d0418836ba 31.20 Windows SDL OK 2011-03-06 22:20:08 +01:00
Petr Mrázek 9e62ee6e75 Maps + Materials for 31.20. Still many broken offsets! 2011-03-06 20:27:40 +01:00
Petr Mrázek 6f7a8e3af5 Export fail removal - sa_feature, other minor changes 2011-03-03 17:50:17 +01:00
Petr Mrázek 680fe2981e Merge branch 'master' of https://github.com/tomprince/dfhack 2011-03-03 16:56:38 +01:00
Tom Prince f477fc002c Fix lots of -Wall warnings.
Signed-off-by: Tom Prince <tom.prince@ualberta.net>
2011-03-01 17:19:18 -05:00
Petr Mrázek 267bc1d446 Game/Control mode improvements. Use dfposition to check them. 2011-03-01 22:18:26 +01:00
Petr Mrázek b1061d0f94 Game mode reading, removed some include paths 2011-03-01 06:59:23 +01:00
Petr Mrázek c6a402c2b8 One more vein type. No ready for use. 2011-02-27 20:43:44 +01:00
Petr Mrázek 254aec1787 Alternate way to read vegetation using a vector in map blocks. 31.19 only for now. 2011-02-27 13:59:45 +01:00
Petr Mrázek 8862a5b6e0 offset search improvements, some linux offsets 2011-02-23 05:53:37 +01:00
Petr Mrázek fd831eb2a8 LICENSE stuff, some offsets, some search tool tweaks 2011-02-22 22:20:16 +01:00
Petr Mrázek f2f79e0c09 Fixes for MSVC build errors. 2011-02-21 10:25:21 +01:00
Petr Mrázek 6946d53e56 weather offset for 31.19 2011-02-21 09:59:05 +01:00
Petr Mrázek d0c76c8162 Cleanmap tweak: removes broken ammunition 2011-02-21 08:26:40 +01:00
Petr Mrázek 710b50eb1f Vegetation vector for 31.19 2011-02-21 03:39:29 +01:00
Petr Mrázek 02e6e46d5f Grass veins 2011-02-17 01:54:45 +01:00
Petr Mrázek 4ead59e698 Veinlook only needs base maps now. 2011-02-15 01:14:44 +01:00
Petr Mrázek ad5e207276 make veinlook work with less offsets (maybe) 2011-02-15 00:45:37 +01:00
Petr Mrázek 3835ba0f75 Search tools run on windows and moved to supported, some windows segment/heap/PE section enumeration work.
New windows dependency: ntdll.lib
2011-02-14 03:58:32 +01:00
Petr Mrázek d16bee48d2 Merge branch 'master' of github.com:peterix/dfhack 2011-02-08 22:57:14 +01:00
Petr Mrázek 5bed6c5949 Sync, autosearch skeleton. 2011-02-08 22:55:40 +01:00
Petr Mrázek a436db541d CRLF hell 2011-02-08 14:33:58 +01:00
Petr Mrázek 30d806d988 Fix backpointer scan in search tool. 2010-11-19 06:37:36 +01:00
Petr Mrázek c13b7c035f Fix weather tool/offsets for 31.18. Added a file I missed. 2010-11-19 01:14:41 +01:00
Petr Mrázek e41a5c6300 Fixed URL in LICENSE, whitespace in tools. 2010-11-11 02:32:33 +01:00
rofl0r 0df38244e4 added -q (quiet) command line parameter to a couple of tools, to allow usage in scripts. 2010-11-11 02:09:43 +01:00
Petr Mrázek 9ac7c1a9f2 memory.xml invalidation (untested) 2010-11-08 00:10:59 +01:00
Petr Mrázek 8a675364e5 Added force pause tool, forum posted linux 31.16 offsets (not complete). 2010-11-07 09:49:33 +01:00
Petr Mrázek 457b331be7 Small fixes 2010-11-03 10:45:29 +01:00
Petr Mrázek cb6cf89b0c Merge branch 'master' of http://github.com/reverb/dfhack 2010-11-01 10:47:15 +01:00
Petr Mrázek ab1a3a8cef Salt/Stagnant water finally understood. 2010-10-29 07:36:06 +02:00
rofl0r 603d11ea0a abbreviatons for range and point in dfliquids, reapply width and height when nothing is entered 2010-10-29 04:47:24 +02:00
reverb 48dd2fc424 Merge remote branch 'upstream/master' 2010-10-25 16:12:27 -05:00
Petr Mrázek 70cb93d9f4 Fixed includes, unified formatting. 2010-10-25 04:39:14 +02:00
zilpin 36fb3a2c6a some bug fixes.
magma pit still bugged when placed over adamantine tube, but no longer leaks.
2010-10-22 10:44:33 -04:00
zilpin e2d776d23f tested, working.
many extensions, hellhole should probably be renamed.
2010-10-21 19:00:12 -04:00
zilpin 30b94dac87 lots of new features.
need debugging.
2010-10-21 17:25:24 -04:00
zilpin 92d0468694 added more information to probe.
added pit-with-floor option to hellhole.
bug fixes for the fake magma pipe in hellhole.
2010-10-20 12:31:16 -04:00
unknown ba88c86670 dfitemdump appears to work. Materials still buggy (Pig Iron Bar != Mule Bar). This has been bugged since .12 or earlier 2010-10-19 05:07:07 -05:00
zilpin d16618afe1 better randomized holes and walls.
better placement of walls and pillars.
2010-10-18 15:38:12 -04:00
zilpin 3acc410857 Tile Types update, and new hellhole n deramp tools in playground 2010-10-17 00:21:18 -04:00
Petr Mrázek 247b7537fd Segmented finder gets backwards pointer scan and arbitrary data search. 2010-10-15 05:43:54 +02:00
Petr Mrázek d4b8b8df64 Don't remove snow covering with cleanmap. 2010-10-08 05:06:13 +02:00
Petr Mrázek 404c079ad7 comment fix 2010-10-08 04:41:54 +02:00
Petr Mrázek 1460066a69 Fix formatting. 2010-10-08 04:28:26 +02:00
Petr Mrázek aaf3155e43 Merge branch 'master' of http://github.com/comestible/dfhack 2010-10-08 03:56:45 +02:00
comestible fd6ea7a159 Added 'range' brush mode to dfliquids, user specifies width and height from the cursor. 2010-10-06 17:27:02 -07:00
Petr Mrázek b3121b898d Urrgh. Seriously. 2010-10-07 01:23:35 +02:00
belal 026a2eb94e Merge branch 'master' of git://github.com/peterix/dfhack into belal 2010-09-22 10:42:22 -04:00
Petr Mrázek 768f382a5e Map Features 2010-09-21 00:44:41 +02:00
Petr Mrázek dfdd1467ff Offset stuff 2010-09-18 04:36:14 +02:00
Petr Mrázek 4959499009 Fun and games of the offset kind. Most of Linux support for 31.13. Weather is wrong. 2010-09-16 03:53:32 +02:00
belal d2db7524a1 Keeping the current working directory addition, but reverting the current tileset and color stuff, as the tileset was just an initializer, not the actual current one, just going to have to read the init.txt file myself
Revert "Add function to get the current working directory of the DF process, as well as offsets for the relative paths of the current tileset and color file, also created a simple program to dump those three things out"

This reverts commit 040f8f7b7a.
2010-09-13 09:45:53 -04:00
belal 040f8f7b7a Add function to get the current working directory of the DF process, as well as offsets for the relative paths of the current tileset and color file, also created a simple program to dump those three things out 2010-09-12 21:38:21 -04:00
Petr Mrázek 294888f84a Remove usleep() from reveal, replaced by normal sleep(). 2010-09-09 03:36:11 +02:00
Petr Mrázek 53930c673b Fix for veinlook - it wasn't reading the creature races. 2010-09-08 12:36:22 +02:00
Petr Mrázek ac550c8a7a Fix for the build system.
Don't install veinlook when it's not built due to missing dependencies.
2010-09-08 00:06:30 +02:00
Petr Mrázek f6b137230a Fixed pause state offset in 31.12 linux version, dfreveal pauses and has improved usability. 2010-09-04 07:43:39 +02:00
Petr Mrázek 5a5745590a More Creatures rework, this time with more memset 2010-09-03 03:01:37 +02:00
Petr Mrázek dc6aa19083 Creature rework 2010-09-03 02:15:09 +02:00
Petr Mrázek ece423a611 Weather tool 2010-09-01 21:09:45 +02:00
Petr Mrázek 0702960731 Fix problems with CMAKE names, weather tool skeleton 2010-09-01 20:51:12 +02:00
Petr Mrázek b9bee108e1 Sync, fixes. 2010-08-31 06:52:03 +02:00
Petr Mrázek 028dca0bef Small addition to liquids tool - liquid level can be set, decreased and increased instead of just set. 2010-08-29 20:05:56 +02:00
Petr Mrázek 2dd8aed7a0 Merge branch 'master' of git://genodeen.net/adeon_dfhack
Conflicts:
	CMakeLists.txt
	library/modules/Position.cpp
2010-08-28 22:47:38 +02:00
Petr Mrázek 85240c78b5 Fix probe utility, Position module 2010-08-28 22:07:31 +02:00
Petr Mrázek d46dcb8342 Maps stuff, geology seems broken 2010-08-28 15:43:53 +02:00
Petr Mrázek b44fd18dc8 Merge branch 'master' of http://github.com/belal/dfhack 2010-08-28 13:52:12 +02:00