Commit Graph

204 Commits (9bbc68fd71693829a19f1a498773b7a84306a504)
 

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
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 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
mizipzor 7679e48794 fixed compile errors in gopt 2010-02-18 18:25:24 +01:00
mizipzor f0ec4144ed added gopt 2010-02-18 18:23:09 +01:00
mizipzor fe77ac2d00 fixed CMakeLists.txt since digger is now relocated 2010-02-18 18:19:14 +01:00
mizipzor 6447420c35 moved digger.cpp to tools/ 2010-02-18 18:09:05 +01:00
Petr Mrázek e9e1d2b8b9 Tabs to spaces 2010-02-18 18:06:32 +01:00
Petr Mrázek 6b92ea274d Veinlook shows material of mineral veins 2010-02-18 17:58:25 +01:00
Petr Mrázek 2e02efa8d2 Merge branch 'master' of git://github.com/belal/dfhack 2010-02-18 17:55:43 +01:00
belal 3ac42b7960 Add missing hotkeynotedump.cpp, thanks peterix
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 09:27:22 -05:00
Petr Mrázek a0a50b9498 Added some more ignore rules 2010-02-18 04:03:30 +01:00
belal 387e1e8794 Finish up code for hotkeys and notes, just need to find offsets for linux versions and windows < d17
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 21:08:54 -05:00
Petr Mrázek 42a12ffaec 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-18 02:10:39 +01:00
belal e71f41fd42 test commit of notes-windows d17
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 18:33:08 -05:00
mizipzor d2fb0e9a92 added some windows ignores 2010-02-17 22:10:11 +01:00
mizipzor 90afd360e8 Merge branch 'master' of git://github.com/peterix/dfhack.git 2010-02-17 22:07:17 +01:00
mizipzor 6515ad6c36 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-17 21:54:01 +01:00
mizipzor 0480df6b80 more OO
added some test cases to make sure the math works
2010-02-17 21:43:24 +01:00
mizipzor 531e10683d more coord calc fixes 2010-02-17 20:38:15 +01:00
mizipzor 6f4f406b89 fixed some coordinate calculation bugs 2010-02-17 20:28:41 +01:00
mizipzor cf2ae626a6 more digger testing 2010-02-17 20:08:34 +01:00
Petr Mrázek 3193e3c835 Fixed segfault in veinlook and cleaned it up. Updated precompiled SHM for Linux. 2010-02-17 20:00:55 +01:00