Commit Graph

176 Commits (8d78822f3d8d541c25e4d66c66f4c97bd4a2e562)
 

Author SHA1 Message Date
belal 8d78822f3d implements findnameindexes 2010-02-19 10:36:54 -05: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
belal 3ac42b7960 Add missing hotkeynotedump.cpp, thanks peterix
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 09:27:22 -05: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
belal e71f41fd42 test commit of notes-windows d17
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 18:33:08 -05: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
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
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
Petr Mrázek 7fcc4d5e22 resolved a shm suspend/resume bug on windows 2010-02-11 05:10:23 +00:00
Petr Mrázek 2b430ea432 add shm support for windows d17 2010-02-11 04:56:24 +00:00
Petr Mrázek 01eaa3b9b4 some research into DF materials 2010-02-11 02:03:22 +00:00
Petr Mrázek 9412608581 added some checks to itemdesignator 2010-02-11 00:25:47 +00:00
Petr Mrázek ea307bd083 fixed dfitemdesignator crash bugs 2010-02-10 23:49:55 +00:00
Petr Mrázek dc433f4b94 fixed wine d17 and some vptrs on linux 2010-02-10 22:36:18 +00:00
Petr Mrázek 391ba44750 repaired memory.xml with xmllint 2010-02-10 00:55:53 +00:00
Petr Mrázek b1ce815370 massive Memory.xml VTable sections restructure, support for d17 added in Memory.xml, needs testing. shm not updated yet 2010-02-10 00:20:15 +00:00
Petr Mrázek 70bf6954a6 added dfbauxite by Alex Legg to tools, started working on d17 support 2010-02-07 02:55:54 +00:00
Petr Mrázek 193a6f4d62 add missing itemdesignator source 2010-01-19 02:05:25 +00:00
Petr Mrázek a351d2c242 tweak to documentation 2010-01-18 20:50:44 +00:00
Petr Mrázek 5b0a03b16d merged itemdesignator and menustate patches 2010-01-18 16:44:24 +00:00