Commit Graph

13274 Commits (9434cd3d646fc4de51688c1baf933d8b0cc2fe29)
 

Author SHA1 Message Date
mizipzor 9bbc68fd71 added setting of dirty flag in digger
the designation to cut down the trees are now correctly picked up by the dwarves :)
2010-02-21 00:40:19 +01:00
mizipzor f156dcdc17 Merge branch 'master' of http://github.com/peterix/dfhack 2010-02-21 00:35:31 +01:00
Petr Mrázek 3c7c197f7a Removed bogus block flags, added actual dirty bit :) 2010-02-20 16:33:30 +01:00
Petr Mrázek 26568fe5ea Added 'dirty' bit of a block to veinlook, API. 2010-02-20 12:58:52 +01:00
mizipzor 71c27e65d8 Merge branch 'master' of github.com:peterix/dfhack 2010-02-20 01:58:49 +01:00
mizipzor 8e1bbe91f0 cleanup of digger
added verbose flag handling
2010-02-20 01:54:34 +01:00
Petr Mrázek 88cb312a65 Added block dump function to veinlook 2010-02-20 01:12:55 +01:00
Petr Mrázek 5cfb401d49 Merge branch 'master' of git://github.com/mizipzor/dfhack 2010-02-19 21:41:02 +01:00
mizipzor 194bf2ddc1 added argstream to digger, showing how it can be used 2010-02-19 21:29:23 +01:00
mizipzor 7f404483f1 fixed (fix as in hack) crash when std::string was used to store a command line argument 2010-02-19 21:24:20 +01:00
mizipzor adbf4b81b4 updated cmakelists 2010-02-19 20:55:11 +01:00
mizipzor 32e08c6687 removed gopt 2010-02-19 20:52:07 +01:00
mizipzor 34f7894255 one constructor had three compile errors, just commented it out 2010-02-19 20:51:33 +01:00
mizipzor c8b9c36d36 code format 2010-02-19 20:48:46 +01:00
mizipzor 6586bba48c added argstream 2010-02-19 20:48:17 +01:00
mizipzor 7ab1fcd019 added proper exports to gopt.h
renamed gopt.c to gopt.cpp
2010-02-19 19:04:55 +01:00
mizipzor 53d32e6076 fixed line endings (visual studio bugged me about it) 2010-02-19 18:17:58 +01:00
belal 3581c08a7a merge of peterix's branch 2010-02-19 10:59:22 -05:00
belal 8d78822f3d implements findnameindexes 2010-02-19 10:36:54 -05:00
Petr Mrázek c827cb6dfc Reduce chaos in precompiled SHM libs 2010-02-19 12:37:51 +01:00
Petr Mrázek e31f5a2973 Less SHM terminal spam 2010-02-19 05:28:54 +01:00
Petr Mrázek a679b26f94 Fix note address on Linux 2010-02-19 03:58:40 +01:00
Petr Mrázek 544e37f183 ForceResume DF on exit of veinlook 2010-02-19 03:37:16 +01:00
Petr Mrázek 8e6f528e72 Merge branch 'master' of git://github.com/belal/dfhack 2010-02-19 03:35:36 +01:00
Petr Mrázek f71fef9ef5 Process::readClassName implemented 2010-02-19 02:48:03 +01:00
belal 20a74354c5 findnameindexes - finds the indexes for a compound name, not very smart, but it works!
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 20:13:53 -05:00
Petr Mrázek 423bad2820 Missed one glitch in the merge 2010-02-19 07:20:55 +08:00
mizipzor 4d9ecb31b7 added gopt to CMakeLists.txt 2010-02-19 07:20:55 +08:00
mizipzor 5b8a33e7c8 fixed compile errors in gopt 2010-02-19 07:20:55 +08:00
mizipzor a9863ecfec added gopt 2010-02-19 07:20:55 +08:00
mizipzor d7c627033b moved digger.cpp to tools/ 2010-02-19 07:20:55 +08:00
Petr Mrázek bc3c08e6c4 Tabs to spaces 2010-02-19 07:20:54 +08:00
Petr Mrázek 448cadd5be Veinlook shows material of mineral veins 2010-02-19 07:20:54 +08:00
Petr Mrázek 2bd46abe81 Added some more ignore rules 2010-02-19 07:20:54 +08:00
Petr Mrázek 502af1e096 Veinlook now goes to map edges
API change: isValidBlock now checks for map boundaries
API change: added getBlockPtr. It returns a DF pointer to a block.
2010-02-19 07:20:54 +08:00
mizipzor 1a03986cf7 added some windows ignores 2010-02-19 07:20:54 +08:00
mizipzor adb1b9e881 changed DigTarget to struct
removed valid flag in DigTarget
removed assignment operator, relies on compiler to generate one (todo, write a real one)
added isequal operator test for DigTarget (todo, implement operator)
it seems to mark trees correct now! :D
2010-02-19 07:20:54 +08:00
mizipzor ce70eb0573 more OO
added some test cases to make sure the math works
2010-02-19 07:20:53 +08:00
mizipzor c106222d9e more coord calc fixes 2010-02-19 07:20:53 +08:00
mizipzor fefbc6e12c fixed some coordinate calculation bugs 2010-02-19 07:20:53 +08:00
mizipzor 4e8399a655 more digger testing 2010-02-19 07:20:53 +08:00
mizipzor c2faa074e8 some improvements to digger 2010-02-19 07:20:53 +08:00
belal b16a69d237 Only display used hotkeys in the dump, changed the tabs to spaces, also I tested it on linux, works just fine :)
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 15:41:39 -05:00
belal 7ce8935aef Add offsets for versions d9-d17 for windows and linux, windows has been tested, linux has not, but it should be right unless I screwed something up
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 15:29:45 -05:00
Petr Mrázek da19d92f16 Asserts into IFs 2010-02-18 21:28:28 +01:00
Petr Mrázek 1c64010b80 Missed one glitch in the merge 2010-02-18 20:16:05 +01:00
mizipzor b81d6d6744 added string splitter to digger, to handle comma delimited arguments 2010-02-18 18:53:48 +01:00
Petr Mrázek 49cd747a59 Merge branch 'master' of git://github.com/mizipzor/dfhack
Conflicts:
	examples/CMakeLists.txt
2010-02-18 18:45:46 +01:00
mizipzor 2d6a5e7428 cleanup of digger
tabs to spaces
2010-02-18 18:41:36 +01:00
mizipzor 3def16e85f added gopt to CMakeLists.txt 2010-02-18 18:31:18 +01:00