Commit Graph

447 Commits (25257fe59841bf5c38c66ecd2fd6d671d2a1a5d3)

Author SHA1 Message Date
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
Petr Mrázek 7c784bce32 deadlock-filled windows SHM version 2010-01-11 06:27:59 +00:00
Petr Mrázek 91f64ac8ba iteration for huge reads and writes, async suspend call for polling 2010-01-02 02:25:21 +00:00
Petr Mrázek 84c68fb31c fix attach/detach 2010-01-01 22:19:09 +00:00
Petr Mrázek 037d1369cb syntax fixes, some things were out of sync 2010-01-01 02:30:35 +00:00
Petr Mrázek c7c446a33a merged previous patch from belal (things intended for Dwarf Therapist) 2010-01-01 02:14:41 +00:00
Petr Mrázek 117fcce0d9 merged item patch from belal 2010-01-01 01:49:32 +00:00
Petr Mrázek 843237f7ae small tweak to expbench - use 64bit integer for the number of bytes read 2009-12-28 04:38:07 +00:00
Petr Mrázek efce0ab21b merge in shm branch 2009-12-22 21:19:39 +00:00
Petr Mrázek 3888d0fc06 fixed tons of warnings, removed dependency on xtest 2009-12-13 21:03:19 +00:00
Petr Mrázek 069597f10c more cleanup 2009-12-13 00:47:58 +00:00
Petr Mrázek 337d42e15a merged input injection patch by belal 2009-12-12 19:52:30 +00:00
Petr Mrázek 989fa8f887 ForceResume call 2009-11-19 01:48:18 +00:00
Petr Mrázek 67adb64a46 fix missing return, tweaked attachtest to show suspend/resume speed in a sensible manner 2009-11-19 00:36:03 +00:00
Petr Mrázek a6ffb58fdb optimized map initialization, more sanity checks 2009-11-18 21:27:13 +00:00
Petr Mrázek dea1ce858b merged window dimension and item matgloss patches from belal 2009-11-18 03:35:43 +00:00
Petr Mrázek 29c0932ff7 split out memory.xml reading functionality out of the processenumerator 2009-11-18 02:33:17 +00:00
Petr Mrázek a974830d88 missing file 2009-11-17 15:38:33 +00:00
Petr Mrázek d4aad2387e fixed wine process find codepath, added some suspend and resume calls to the tools, some data consistency tweaks 2009-11-17 15:37:08 +00:00
Petr Mrázek 2f710730ac merged item support by belal 2009-11-17 14:52:47 +00:00
Petr Mrázek 6975661733 massive refactors of process, processmanager is now processenumerator, better split between windows and linux code, finalized suspend/resume 2009-11-17 03:19:13 +00:00
Petr Mrázek 47b61a907d suspend and continue calls, a method for reading creatures within a volume 2009-11-16 16:47:22 +00:00
Petr Mrázek b8c9a36897 cursor/window offsets for all versions, finished incremental search tool 2009-11-15 20:41:10 +00:00
Petr Mrázek 7e3af38941 add support for enumerating process memory ranges. full of fail on windows. 2009-11-15 04:25:00 +00:00
Petr Mrázek 37d08a05ca creatures almost done 2009-11-14 03:46:56 +00:00
Petr Mrázek 7489fe51ab fix for the ambiguous abs() call, slowly reworking creatures 2009-11-13 13:35:44 +00:00
Petr Mrázek 35b15aeacf fix creature dump 2009-11-12 17:52:44 +00:00
Petr Mrázek 30d8a015fd cursor and window coords reading and writing (only for 40d16 on windows right now) 2009-11-12 01:39:43 +00:00
Petr Mrázek 4f279680b5 using D pointer, a proper interface 2009-11-11 03:37:28 +00:00
Petr Mrázek 88771ab973 merged another big creature patch from belal, moved C API to unmaintained, starting a big cleanup of the new code 2009-11-09 23:18:20 +00:00
Petr Mrázek 6e0e47faf9 add missing translation and language vector addresses to older linux versions 2009-11-08 16:35:55 +00:00
Petr Mrázek a7bf3595b7 merged a big patch from belal, unstable on anything but windows 40d16 2009-11-07 21:05:10 +00:00
Petr Mrázek 41475d1918 manual merge of patch from http://www.bay12games.com/forum/index.php?topic=41916.msg850579#msg850579 2009-11-06 01:04:17 +00:00
Petr Mrázek d3b62a7672 research into buildings, building hexdump tool 2009-11-04 01:01:55 +00:00
Petr Mrázek 45695d7a69 metals and plants were swapped 2009-11-02 12:53:39 +00:00
Petr Mrázek 2bee198946 more voodoo 2009-11-01 09:32:47 +00:00
Petr Mrázek 0853ce83ff update 2009-10-31 18:18:59 +00:00
Petr Mrázek 78ec035f02 completely different approach to attach/detach on linux 2009-10-31 18:09:13 +00:00
Petr Mrázek 879834178d compiling info, timer for expbench 2009-10-30 09:01:14 +00:00
Petr Mrázek 759783e501 linux install target for dfhack, ability to set data path 2009-10-30 00:56:40 +00:00
Petr Mrázek 64f5f46177 nicer output for attach test 2009-10-29 17:56:15 +00:00
Petr Mrázek 33f8b627d0 attachtest utility to test 1000x attach/detach combos in a cycle 2009-10-29 15:23:01 +00:00
Petr Mrázek d84ed97d5a creature flags from Toady 2009-10-29 14:06:05 +00:00
Petr Mrázek 42e5cdc361 preparing for debugging 2009-10-28 22:40:21 +00:00
Petr Mrázek 6fb365b558 creature flags, lots of unknown ones 2009-10-24 02:32:57 +00:00
Petr Mrázek f5acba111e flags for creatures. no idea what they mean 2009-10-23 16:50:36 +00:00
Petr Mrázek dab8d37c03 creature dump test, valid offsets for linux d9 and d11 2009-10-23 10:54:24 +00:00
Petr Mrázek f05f0b16b2 fixed MSVC build, added build instructions for it, internal stdint.h implementation for MSVC 2009-10-22 02:14:16 +00:00
Petr Mrázek c1299b0b7c sync 2009-10-21 23:36:56 +00:00
Petr Mrázek 8e72f2af0e Visual Studio compatibility patch from jifodus 2009-10-04 13:08:20 +00:00
Petr Mrázek 36c7cb94fb make prospector more useful on windows machines 2009-09-14 21:19:33 +00:00
Petr Mrázek fac88478bd code moved from khazad 2009-09-14 00:02:46 +00:00