Commit Graph

216 Commits (3ed2630e3345429533d9022e766a653eee97006e)

Author SHA1 Message Date
Petr Mrázek 4bb05d015a Support for v0.31.02 2010-04-08 19:48:06 +02:00
Petr Mrázek 9180b77b89 Quick fix 2010-04-08 02:55:08 +02:00
Petr Mrázek 659e57e3c4 Added missing file, small changes 2010-04-08 02:20:54 +02:00
Petr Mrázek 62fc5bd677 Spatter veins, spatterdump tool 2010-04-07 22:28:05 +02:00
Petr Mrázek 9589617d98 Moved some common bits of the examples to a header file
treedump utility
2010-04-07 16:45:38 +02:00
Petr Mrázek 839e255d17 Vegetation reading 2010-04-07 12:49:37 +02:00
Petr Mrázek 01383fd8b7 Dwarf labors work, added to creaturedump 2010-04-07 03:38:22 +02:00
Petr Mrázek f81c66d9ea Reading creature skills 2010-04-07 02:46:46 +02:00
Petr Mrázek 5ee584b372 Name translation for real 2010-04-07 01:17:03 +02:00
Petr Mrázek 216cfa74e6 Offsets, assorted funstuff 2010-04-06 22:47:50 +02:00
Petr Mrázek d5aa1488a6 Magma create works 2010-04-06 13:05:54 +02:00
Petr Mrázek ea120a6709 Comments 2010-04-05 05:53:38 +02:00
Petr Mrázek f8d1c042d7 Layer stone/geology 2010-04-05 05:29:46 +02:00
Petr Mrázek 1d513256fd Processed profession list 2010-04-04 12:43:11 +02:00
Petr Mrázek 51a1ec5c1e Very basic creature reading 2010-04-04 12:29:56 +02:00
Petr Mrázek e9642310de Materials - semi-finished 2010-04-04 10:10:00 +02:00
Petr Mrázek ef6af19c8d Fix t_vein, tiletype offset 2010-04-03 04:41:21 +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 021fb1e0e9 Small Memory.xml fixes 2010-04-03 01:17:35 +02:00
Petr Mrázek 265034b9d2 More stuff to parse. 2010-04-03 00:50:24 +02:00
Petr Mrázek ea6c5f726f More stuff! Ridiculous amounts of stuff! 2010-04-03 00:44:17 +02:00
Petr Mrázek 7678ba7b63 Added back skills 2010-04-03 00:13:29 +02:00
Petr Mrázek 6b42923f6b Added back labors, base meta entry is connected to 0.31.01 2010-04-03 00:04:38 +02:00
Petr Mrázek 5b8fa0ffa6 Added material addresses to veccheck and Memory.xml 2010-04-02 22:00:33 +02:00
Petr Mrázek c4ffb0d0b3 Purge 2010-04-02 21:09:37 +02:00
Petr Mrázek c26da9b84c More DF 2010 reorganization 2010-04-02 16:46:33 +02:00
Petr Mrázek c503808a82 Offsets from belal 2010-04-02 15:59:17 +02:00
Petr Mrázek 8137c73b98 Beginning DF2010 support 2010-04-02 15:47:08 +02:00
Petr Mrázek 33131754d4 Prospector detects regionoffsets overflows. 2010-03-31 17:31:49 +02:00
Petr Mrázek c631270425 Fix squads on Linux
Sync catsplosion
2010-03-30 20:20:34 +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 789c8a473b Merge branch 'effects_offsets' of git://github.com/belal/dfhack
Conflicts:
	output/Memory.xml

Srsly, wtf? Why the reformat?
2010-03-26 04:32:04 +01:00
Petr Mrázek 517aa0e6e3 Merge branch 'master' of git://github.com/Zhentar/dfhack
Conflicts:
	examples/CMakeLists.txt
	library/DFHackAPI.cpp

Also added offsets for all supported versions
2010-03-26 02:40:17 +01:00
belal 7ad2debf40 The real content of this is just adding effects vector offsets for all the linux versions. There are lots of changes though because I used my addtoXML script to add the offsets and XML::Twig removes whitespaces, and changed the indentation of the files 2010-03-25 10:39:09 -04:00
belal 9cbdb27432 Change windows d11 to have the correct base of d10, rather than d9 2010-03-25 09:45:32 -04:00
belal bc29b2d6c0 effects vector for all windows 40d# versions and 40d 2010-03-22 15:32:04 -04:00
Petr Mrázek 24d969791b Fixes for d18 and 19 on Linux 2010-03-22 15:14:36 +01:00
Zhentar 4287abbc94 Add pregnancy and blood stuff to the creature struct 2010-03-21 15:47:24 -05:00
Petr Mrázek 849fafdc87 Effects vector for d17-d19_2 on Windows. 2010-03-21 14:33:02 +01:00
Petr Mrázek 353ca44d31 Effect vector for windows 40d16, don't try to use it with versions>40d16! 2010-03-21 13:22:59 +01:00
Petr Mrázek 71f8474e11 Added reading/writing support for effects like mist
Veinlook shows effects for it's middle block
Veinlook now uses wide-character ncurses
2010-03-20 17:30:13 +01:00
Petr Mrázek e18828e466 s/Intimitador/Intimidator/ in Memory.xml 2010-03-17 01:34:40 +01:00
belal 1797fef7b4 add correct offsets for squad_name artifact_name and mood to linux creatures, and update the creature vectors to use the proper address 2010-03-16 13:21:17 -04:00
Petr Mrázek a2972af971 Add missing hothey_size hexval on 40d2+ 2010-03-16 13:21:16 -04:00
belal 76939afe50 fix incorrect squad name offset 2010-03-14 20:05:11 -04:00
Petr Mrázek 5fe279d8ec Added a cache mechanism to vtable lookups
Fixed python bindings (build, not actual functionality)
Fixed building subtypes on linux
2010-03-14 22:58:28 +01:00
Petr Mrázek 34a2f238b0 Merge branch 'version_compatiblity' of git://github.com/belal/dfhack 2010-03-14 20:15:54 +01:00
belal 607bad2bf8 Fix settlement offsets for 40d, everything should work of 40d now 2010-03-14 13:32:19 -04:00
belal 12abef8ace used different creature vector than before, this is the correct one, the old one was missing some creatures, and the current_creature index was not right, also found the offsets for mood and artifacts for 40d
Everything should work now from 40d,40d2->40d19 on windows, linux was already done before

I also modified creaturedump.cpp to show mood and aritifacts if a creature has one, also the mood is now a int rather than a uint, as we check for -1
2010-03-14 13:21:52 -04:00
Petr Mrázek d0531c2925 Add class entries to meta-40d for stonesense 2010-03-14 13:37:39 +01:00
belal 0582354191 Merge remote branch 'remotes/peterix/master' into version_compatiblity
trying merge

Conflicts:
	examples/creaturedump.cpp
	output/Memory.xml
2010-03-13 08:45:30 -05:00
belal ed386d3fd3 linux addresses back to 40d2 2010-03-11 21:25:07 -05:00
belal e500b13533 offsets are all correct for 40d, creature offsets are not constant all the way back to 38.a, so more work needs to be done there
This could probably be used in stonesense as it is though, all the map data is correct
2010-03-10 21:24:31 -05:00
belal b702d53641 updated Memory.xml with current_cursor_creature for the creature index, which seems to exist in all versions, whereas the old vector did not. 2010-03-10 16:01:00 -05:00
belal 3ae8b56a49 Addresses all the way back to 173.38a, not checked yet, and offsets may have changed in the versions, but it is a start!
Also changing the current_creature offset, have to make sure what I changed it to is in the d# releases, but I think it is

This branch is still a work in progress
2010-03-09 22:05:31 -05:00
belal 2a47275fd5 updated addresses for 40d, offsets still wrong 2010-03-08 21:40:14 -05:00
Petr Mrázek 1c499121e6 Fixes to memory.xml, name reading 2010-03-08 18:27:19 +01:00
Petr Mrázek b1a15b6fb3 Merge branch 'version_compatiblity' of git://github.com/belal/dfhack 2010-03-08 14:52:40 +01:00
Petr Mrázek d2c84df4c8 Merge branch 'master' of git://github.com/Zhentar/dfhack into mergeb
Conflicts:
	library/DFHackAPI.cpp
2010-03-08 13:56:32 +01:00
Zhentar 052dd53c03 Further cleanup for name stuff; fixing examples that I broke and handling settlements. Also added mood, so that it can be determined whether or not the dwarf's artifact was created. 2010-03-07 20:01:30 -06:00
belal 0c8c1d0eec Modified Memory.xml to support all d# versions, modified Vtable meminfo reading, so it auto-resolves all vtables now, so you should never have to do any rebasing or anything. Fixed some bugs in windows meminfo as well 2010-03-07 21:00:31 -05:00
Petr Mrázek 60a1da0923 d19_2 support, building vtables, some minor bugfixes
tested with stonesense
2010-03-06 21:21:01 +01:00
Petr Mrázek 7a6b1488cb Windows offsets from belal 2010-03-05 23:31:18 +01:00
Petr Mrázek 96512a7e1d Linux d19 support 2010-03-05 22:19:27 +01:00
Zhentar 65bf8f69fd Proper-fy name handling for creatures. For surnames and such, official DF logic is used. 2010-03-05 00:02:41 -06:00
Petr Mrázek 3aac592dd1 Fix metal/stone matgloss color offsets 2010-03-01 04:48:21 +01:00
Petr Mrázek 7c73c7abe6 CMake swig integration 2010-02-28 04:11:06 +01:00
Petr Mrázek 7a85682ea0 Many fixes to DFHack::API
Wrapper generation still manual, but makes a lot more sense
2010-02-28 01:25:04 +01:00
Petr Mrázek 7805b591dd Sync 2010-02-27 13:24:32 +01:00
Petr Mrázek 562c30c703 Python stuffs 2010-02-26 22:23:43 +01:00
belal 230af4310f Add d18 offsets 2010-02-25 17:50:52 +01:00
belal 0fa2bb8cd8 settlement offsets for windows and linux d9-d17, fixes for linux offsets, forgot the name offset, and switched the current and all settlement address :) 2010-02-25 17:50:52 +01:00
belal a5d42e4051 Code for getting the current and all settlements in the world, currently has offsets for the settlement location, name, and area size. Right now the current settlement causes msvc to claim the heap is corrupted, I think due to the fact that the current_settlement vector only has 1 item in it. I think it may be a bug in the vector code, as my code is basically identical between the current settlement and the other settlements.
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-25 17:50:52 +01:00
Petr Mrázek ce151458e4 Precompiled SHM lib for windows, Linux d18 vtables 2010-02-24 01:31:40 +01:00
Petr Mrázek 70f22d008e Support for d18 on windows
Also deployment to people who get Memory.xml from git...
Fixed wine process attach bug
2010-02-23 22:29:55 +01:00
Petr Mrázek 9aeee1b48e Added Linux 40d18 offsets (vtables still missing) 2010-02-22 23:33:39 +01:00
Petr Mrázek 0f79348e66 Fix belal's unfinished merge 2010-02-21 06:23:17 +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 54c05279b1 Vein vtables 2010-02-21 04:39:01 +01:00
Petr Mrázek 3c7c197f7a Removed bogus block flags, added actual dirty bit :) 2010-02-20 16:33:30 +01:00
Petr Mrázek 26568fe5ea Added 'dirty' bit of a block to veinlook, API. 2010-02-20 12:58:52 +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
Petr Mrázek a679b26f94 Fix note address on Linux 2010-02-19 03:58:40 +01:00
Petr Mrázek 8e6f528e72 Merge branch 'master' of git://github.com/belal/dfhack 2010-02-19 03:35:36 +01:00
mizipzor 1a03986cf7 added some windows ignores 2010-02-19 07:20:54 +08: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 2e02efa8d2 Merge branch 'master' of git://github.com/belal/dfhack 2010-02-18 17:55:43 +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
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
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 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 5b0a03b16d merged itemdesignator and menustate patches 2010-01-18 16:44:24 +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 337d42e15a merged input injection patch by belal 2009-12-12 19:52:30 +00:00
Petr Mrázek 2a2a60723a window tile dimensions for all supported DF versions 2009-11-26 01:59:00 +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 2f710730ac merged item support by belal 2009-11-17 14:52:47 +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 e8e3f9e794 view and cursor coords for 40d16 on windows 2009-11-12 01:05:07 +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 8185f72b63 fixes 2009-11-08 12:51:54 +00:00
Petr Mrázek 215bb64a1e tons of stuff 2009-11-07 23:35:38 +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 f5acba111e flags for creatures. no idea what they mean 2009-10-23 16:50:36 +00:00
Petr Mrázek e637488cbd update to the C API 2009-10-23 14:00:15 +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 876dcbf7cc base support for creatures 2009-10-23 01:39:19 +00:00
Petr Mrázek 99f9c06796 added shops to memory.xml 2009-10-07 09:11:14 +00:00
Petr Mrázek fac88478bd code moved from khazad 2009-09-14 00:02:46 +00:00