Commit Graph

2738 Commits (f609aa0db77824e4efcb2470d865de65f66becb1)
 

Author SHA1 Message Date
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
mizipzor a448504e4a Merge branch 'master' of git://github.com/peterix/dfhack.git 2010-02-16 20:55:35 +01:00
Petr Mrázek e61fdffcf9 Merge git://github.com/mizipzor/dfhack 2010-02-16 20:51:09 +01:00
mizipzor eeb9ff1788 Added some todo's to digger.cpp 2010-02-16 20:45:05 +01:00
Petr Mrázek 518dd0be28 Added current precompiled SHM libs 2010-02-16 07:35:48 +01:00
Petr Mrázek 054fec0afc Updated README and COMPILE, split tools into tools and examples.
Tools are now useful, and with a working user interaction where applicable.
Examples are a collection of benchmarks, tests and simple unfinished ideas.
2010-02-16 07:21:38 +01:00
Petr Mrázek 56969fb977 Added std::string read/write by belal. Extremely volatile. 2010-02-16 00:04:15 +01:00
Petr Mrázek 568fcd6105 designation and traffic bits turned into enums 2010-02-14 00:45:46 +00:00
Petr Mrázek 29b00f7c68 added dfdigger 2010-02-13 23:34:18 +00:00
Petr Mrázek a17cb053d4 quick creature API fix 2010-02-13 16:19:11 +00:00
Petr Mrázek a8d35f3724 fake SDL.dll for the SHM bridge now compiles right using the MS compiler 2010-02-13 00:47:08 +00:00
Petr Mrázek de32b65c11 engraving offsets for linux d16, attempt to fix MSVC bugs 2010-02-12 23:25:41 +00:00
Petr Mrázek 63f82cd580 API changes: InitRead* methods made safer - they now return false on error 2010-02-11 21:08:39 +00:00
Petr Mrázek ae8eada92e made windows shm server less MessageBox-happy 2010-02-11 13:27:48 +00:00
Petr Mrázek e7b3082203 fixed some problems in customCreatureNameProf 2010-02-11 13:20:14 +00:00