Commit Graph

12552 Commits (9eb5165ebed2964fc8f552ce4c740e93e8ab5e04)
 

Author SHA1 Message Date
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
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
mizipzor 2051073a2d some improvements to digger 2010-02-17 19:21:23 +01:00
Petr Mrázek 2bde06a2af Added veinlook, linux SHM produces less spam messages.
Veinlook is a tool that allows looking at the map and the different vein types it contains. This adds ncurses as a dependency on Linux.
2010-02-17 17:49:19 +01:00