Commit Graph

301 Commits (21c4215cfeb9fe3592e34900a5d9f8505de0782d)

Author SHA1 Message Date
Petr Mrázek b44fd18dc8 Merge branch 'master' of http://github.com/belal/dfhack 2010-08-28 13:52:12 +02:00
Petr Mrázek e762f1caea Merge branch 'master' of git://bigbox.banquise.net/dfhack
Conflicts:
	tools/examples/creaturedump.cpp
	tools/supported/dumpoffsets.cpp
2010-08-28 04:39:03 +02:00
Petr Mrázek f2dea86819 Seemingly working VersionInfo loading parts. The offset names are now all wrong in the modules. DO NOT USE 2010-08-28 03:57:56 +02:00
Mikko Juola 37ac6f0744 Remove final dfveinlook installing command from tools/supported/CMakeLists.txt. 2010-08-27 22:30:13 +03:00
belal 2df6433fef Fix map reading for dfcopypaste, add simple console application to do the copy/pasting. 2010-08-27 14:56:38 -04:00
Petr Mrázek 1bceac2343 Rename memory_info and its factory class. 2010-08-20 14:10:05 +02:00
simon 9cf2e0f26d Support for reading inventory 2010-08-17 15:21:54 +02:00
Petr Mrázek 3b29fddf7b unify build system, start on the new offset file format 2010-08-16 00:45:02 +02:00
Petr Mrázek 94872b8abd A bit of checking in some places. 2010-08-14 18:32:38 +02:00
Petr Mrázek a159707250 Fix memleak with Context not cleaning up. 2010-08-14 01:25:18 +02:00
Petr Mrázek 7fbdd6c69a Cleartask tool, updated docs. 2010-08-13 23:25:14 +02:00
Petr Mrázek 8fa3d0811c Make building C bindings optional. 2010-08-13 02:35:10 +02:00
Petr Mrázek 7aeafa01c9 Move offset dumper and position tool to tools/supported. 2010-08-10 00:30:52 +02:00
Petr Mrázek 0dba3df485 Testing C and C++ version of maps module in dftest. 2010-07-31 23:09:39 +02:00
Petr Mrázek 294855faef Working custom workshops on linux 2010-07-27 04:48:47 +02:00
Petr Mrázek efe6854e3d furnaces and smelters ... and stuff :) 2010-07-27 04:32:51 +02:00
Petr Mrázek 34715e0c58 Fixes... 2010-07-27 02:24:16 +02:00
Petr Mrázek 794ebcc31e incremental vector length search? 2010-07-27 02:22:14 +02:00
Petr Mrázek 2066b805f6 install targets for playground and example utilities 2010-07-27 01:52:48 +02:00
Petr Mrázek 0256a19760 Fix for veinlook bug related to module reset on resume.
Offsets only for supported tools, creature stuff will come later.
2010-07-13 03:21:18 +02:00
Petr Mrázek 2018ca7fe7 Move veinlook to supported 2010-07-08 23:15:51 +02:00
Petr Mrázek 411bb5ed97 Added CMake options to build examples and playground tools, disabled by default. 2010-07-08 22:58:01 +02:00
Petr Mrázek 3c458f4701 doxygen (default off), add creature entity printing to creaturedump 2010-06-24 00:34:35 +02:00
Petr Mrázek 1ee7f068d6 Some bits 2010-06-22 22:02:46 +02:00
Petr Mrázek 706769f96d Arbitrary data search, some toad and elephant values, tiny little amount of valid offsets 2010-06-21 02:59:39 +02:00
Petr Mrázek c5a4172a36 Sorting in prospector tool 2010-06-21 00:31:43 +02:00
Petr Mrázek 31167475de Tool for dumping the effective addresses/offsets of a running DF instance 2010-06-20 02:50:37 +02:00
Petr Mrázek 30db6ad632 More search tool stuffs 2010-06-19 18:08:10 +02:00
Petr Mrázek bbb29fe3d5 Find, Filter, FindInRange and Incremental search methods 2010-06-19 03:47:09 +02:00
Petr Mrázek 893deb73df derp 2010-06-18 01:07:54 +02:00
Petr Mrázek c53b643886 Fix liquids bug, added status checks to Maps (still not the real thing, but better) 2010-06-17 06:46:20 +02:00
Petr Mrázek 7885eb8e74 0.31.06-SDL, needs testing 2010-06-10 10:30:56 +02:00
Petr Mrázek 9d143d8afb Fix creature vector on windows 2010-06-07 01:54:40 +02:00
Petr Mrázek 67bddfdad4 0.31.05 Windows support 2010-06-06 04:36:39 +02:00
Petr Mrázek 9f86f50369 0.31.05 Maps support on Linux 2010-06-06 02:07:01 +02:00
Petr Mrázek f1e06b0c22 Fix number input in search tool 2010-06-06 01:33:18 +02:00
Petr Mrázek 1645df7088 Some offsets for 0.31.04, bugfixes 2010-06-06 00:56:09 +02:00
Petr Mrázek 6b7f3e1816 Big namespace cleaning 2010-06-05 00:02:02 +02:00
Petr Mrázek 56fe1c0ebf Search stuff sync 2010-06-04 02:51:09 +02:00
Petr Mrázek 8d15e22a59 Simplified memory search tool 2010-06-02 05:39:55 +02:00
Petr Mrázek 1e00076df7 Added hexsearch (only as a template to base further work on) 2010-06-01 23:59:48 +02:00
Petr Mrázek b8600169ef Minor comments and other changes 2010-06-01 21:06:16 +02:00
Petr Mrázek 61fea19e91 template madness! 2010-05-31 03:04:18 +02:00
Petr Mrázek ca0f7a27d1 Automated lang tables finder in the search tool 2010-05-31 02:37:28 +02:00
Petr Mrázek 08fd20c65f Linux STL string search for search tool 2010-05-30 19:44:18 +02:00
Petr Mrázek a9421db8e0 Search tool can find strings inside DF object vectors on Linux 2010-05-30 19:02:40 +02:00
Petr Mrázek 123fb5a9d0 Lots of comments. Using templates in the search tool. 2010-05-30 05:13:59 +02:00
Petr Mrázek 7300e61f8a ContextManager and ProcessEnumerator have the basic functionality done.
Created a test program to validate them and show how to use them.
2010-05-29 21:34:36 +02:00
Petr Mrázek ab40868b29 ProcessEnumerator tracks processes properly now. 2010-05-28 05:18:32 +02:00
Petr Mrázek af1a41712e Tiny fixes. 2010-05-26 17:54:30 +02:00
Petr Mrázek 04b71f154c Fun and games. Also turning old DFWindow class into a module tracked by Context. 2010-05-26 12:24:45 +02:00
Petr Mrázek b710ed687a Moving stuff around, part 2 2010-05-26 06:48:23 +02:00
Petr Mrázek b2acc50c90 Moving stuff around, part 1 2010-05-26 03:22:17 +02:00
Petr Mrázek 863eb2546f Added playground folder for quick hacks 2010-05-25 23:52:04 +02:00
Petr Mrázek 8dd594dd93 Multi-process rework 2010-05-23 23:06:10 +02:00
Petr Mrázek 795e2e9883 Geology 2010-05-22 20:14:17 +02:00
Petr Mrázek dc862e28d4 Local, global features 2010-05-22 13:20:58 +02:00
Petr Mrázek 25b6c99628 *some* linux offsets 2010-05-20 06:50:16 +02:00
U-glouglou\simon 2e61410fb4 Debugging the material access system : seems to work now 2010-05-02 11:27:16 +02:00
Petr Mrázek 64f1e47716 More warning-squashing 2010-05-02 03:06:57 +02:00
Petr Mrázek bae9939e50 Fix-merge early C API implementation 2010-05-02 01:20:31 +02:00
Petr Mrázek 324913a038 Integrate new digger tool 2010-05-02 00:49:01 +02:00
rout 59f0c4b14b Added digger2 comments. 2010-05-01 23:15:37 +02:00
rout abed3312bd Added improved digger tool. 2010-05-01 23:09:58 +02:00
Petr Mrázek 26bbd1de17 Make new probe tool out of the 'vecc' thing. 2010-04-30 21:52:37 +02:00
simon 82dbf08d0b Modified the material API 2010-04-28 18:09:32 +02:00
Petr Mrázek 157deb85af CR/LF? 2010-04-26 18:23:47 +02:00
Petr Mrázek f91720c97e Merge branch 'bartavelle' of git://bigbox.banquise.net/dfhack 2010-04-26 18:22:41 +02:00
Petr Mrázek 96c2effab6 Sync 2010-04-26 18:12:00 +02:00
simon 19895639ab loading inorganics was necesary 2010-04-26 17:48:51 +02:00
simon 00257f8441 proper access rights for this file ... 2010-04-26 14:53:27 +02:00
simon a60470ccd1 Merge branch 'bartavelle' of gitosis@bigbox.banquise.net:dfhack into bartavelle 2010-04-26 10:22:01 +02:00
Petr Mrázek 51f6dbd981 Fix local features in prospector. 2010-04-26 00:51:45 +02:00
Petr Mrázek 8156469825 Global, local feature reading in Maps 2010-04-24 01:15:15 +02:00
U-glouglou\simon 72dc92d2fb new tool : mood dump 2010-04-23 20:13:08 +02:00
simon 9f93a48bb4 Revert "mood dump test"
This reverts commit ceaea4341d.

Conflicts:

	tools/moodump.cpp
2010-04-23 18:39:25 +02:00
simon 80cf2755a4 mood dumper à tester 2010-04-23 18:28:27 +02:00
simon ceaea4341d mood dump test 2010-04-23 18:22:45 +02:00
Petr Mrázek 25f5db1b4c Invalidate all modules on Detach(), fix reveal. 2010-04-19 14:14:37 +02:00
Petr Mrázek 4bff245ab8 Quick and dirty fix to temperature problems wit dfliquids. pathing still sucks. 2010-04-19 12:39:47 +02:00
Petr Mrázek 6d06cfcee1 Fix bad ordering of map blocks in the stl map 2010-04-19 05:37:57 +02:00
Petr Mrázek 7d8b0b1bb8 cleanmap now ignores only mud 2010-04-19 05:00:32 +02:00
Petr Mrázek 3268b26852 Veindig can now dig stairs to reach veins on different z-levels 2010-04-19 04:42:27 +02:00
Petr Mrázek fb9ca213ec DFVector is now a template, eliminationg tons of ugly casts.
I think I got them all, but testing is required.
2010-04-18 14:56:09 +02:00
Petr Mrázek 13d07e5d70 Reveal that unrevals, solids 2010-04-17 22:08:16 +02:00
Petr Mrázek caa482fbd1 Support for reading/writing temperature, extended veinlook 2010-04-17 15:30:25 +02:00
Petr Mrázek 93c58005c2 Rename magma_create to liquids to reflect change of functionality 2010-04-16 00:24:59 +02:00
Petr Mrázek 78e1a58867 Fixed vdig, improved magma create :) 2010-04-15 22:14:55 +02:00
Petr Mrázek 1e6b5bf8d6 Add missing file 2010-04-11 13:20:15 +02:00
Petr Mrázek 6aef446c57 Unstuck tool (in case user closes a non-SHM tool), Windows fixes 2010-04-11 02:56:56 +02:00
Petr Mrázek d96d2018a8 Hotkey reading 2010-04-11 02:32:50 +02:00
Petr Mrázek c58abe8ef9 Veindig the digger of veins. It menaces with spikes of cache and floodfill. 2010-04-11 02:08:21 +02:00
Petr Mrázek a8b2873bbc Digger tool works again 2010-04-10 02:27:14 +02:00
Petr Mrázek d8e356b2b2 Resurrected the cleanmap tool, fix for crash in construction dump 2010-04-10 02:12:45 +02:00
Petr Mrázek 62fc5bd677 Spatter veins, spatterdump tool 2010-04-07 22:28:05 +02:00
Petr Mrázek d5aa1488a6 Magma create works 2010-04-06 13:05:54 +02:00
Petr Mrázek f8d1c042d7 Layer stone/geology 2010-04-05 05:29:46 +02:00
Petr Mrázek 500ee6a49b Modular API 2010-04-05 00:48:19 +02:00
Petr Mrázek 7d48ea49ae Reveal and prospector tools work. Basic inorganic matgloss works. Basic map reading works. 2010-04-03 03:52:46 +02:00
Petr Mrázek bcbc540283 More moving of things 2010-04-02 17:27:35 +02:00
Petr Mrázek 33131754d4 Prospector detects regionoffsets overflows. 2010-03-31 17:31:49 +02:00
Petr Mrázek 71fc49897f Accelerated creatures work on Windows
Refactored vector reading, proper length of vectors from MSVC9 is known (0x18, triplet starts at 0xC)
2010-03-30 02:26:52 +02:00
Petr Mrázek 4d939363b5 Many fixes to DFHack tools and examples 2010-03-26 13:01:46 +01:00
Petr Mrázek 02b7d92135 Update readme and fix up some build system problems 2010-03-26 12:20:30 +01:00
Petr Mrázek f0edb0c33d Map block flags added to the API
Added a RAMP_TOP tile shape, ramp characters for veinlook
Merged in the magma_create util by Aleric, tweaked it a bit, made it use the block flags
2010-03-26 00:42:07 +01:00
NMLittle 504730c260 another temp code for review 2010-03-25 17:32:04 -05:00
NMLittle 0b1c3ea469 another temp code for review 2010-03-25 17:31:43 -05:00
NMLittle 9acf33d80f another temp code for review 2010-03-25 17:12:05 -05:00
NMLittle 57689b18ab another temp code for review 2010-03-25 17:04:29 -05:00
NMLittle da6874d725 another temp code for review 2010-03-25 16:59:46 -05:00
NMLittle ba5ebf9efb another temp code for review 2010-03-25 16:53:35 -05:00
unknown 811233746c partially working now, does not have a compile error 2010-03-25 16:48:09 -05:00
unknown f231f23332 Putting in some broken code to get a peer review 2010-03-25 16:29:05 -05:00
Petr Mrázek 822265443c Make the API a bit saner about the used data types and structures 2010-03-25 21:37:09 +01:00
Petr Mrázek df4de4a333 Detach in API destructor 2010-03-16 22:12:05 +01:00
Petr Mrázek 2bd68b9c58 Fix out of bounds vector access in itemdesignator/itemdump 2010-03-14 00:36:09 +01:00
Petr Mrázek f4f566e7c4 Fixed exceptions on GCC
Fixed dfbauxte tool - no longer includes internal headers
Moved part of DFVector into a .cpp file
2010-02-28 05:35:54 +01:00
Petr Mrázek 726519e2ca Major memory_info rework.
All <class> tags and vtable="" attributes in Memory.xml are now obsolete.
<multiclass> tags are still important, but don't need the vtable attrs.
Vtables are resolved automatically.
All this will be left in Memory.xml until utility authors update to this version or newer.
2010-02-25 13:41:57 +01:00
Petr Mrázek 7c3f146197 Put findnameindexes to the right place 2010-02-21 06:40:30 +01:00
Petr Mrázek b33b4a895c Merge branch 'master' of git://github.com/belal/dfhack into mergespace
Conflicts:
	library/gopt/gopt.c
	library/gopt/gopt.h
2010-02-21 06:19:17 +01:00
Petr Mrázek c2a77d2de9 Merge branch 'master' of git://github.com/mizipzor/dfhack 2010-02-21 05:59:21 +01:00
Petr Mrázek 9268a79a66 Reading of tiletypes under ice - 'ice veins' 2010-02-21 05:51:29 +01:00
mizipzor cfddcf38eb some code restructure to make digger not exit insantly on fail 2010-02-21 01:08:07 +01:00
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 8e1bbe91f0 cleanup of digger
added verbose flag handling
2010-02-20 01:54:34 +01:00
mizipzor 194bf2ddc1 added argstream to digger, showing how it can be used 2010-02-19 21:29:23 +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
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
mizipzor d7c627033b moved digger.cpp to tools/ 2010-02-19 07:20:55 +08:00
mizipzor b81d6d6744 added string splitter to digger, to handle comma delimited arguments 2010-02-18 18:53:48 +01:00
mizipzor 2d6a5e7428 cleanup of digger
tabs to spaces
2010-02-18 18:41:36 +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 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 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 e7b3082203 fixed some problems in customCreatureNameProf 2010-02-11 13:20:14 +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 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 5b0a03b16d merged itemdesignator and menustate patches 2010-01-18 16:44:24 +00:00
Petr Mrázek 9f1216fa2f fixes 2010-01-11 18:57:57 +00:00