Commit Graph

60 Commits (c6dc4900d2c3032ef282d5e8bc4219ece375e447)

Author SHA1 Message Date
Petr Mrázek 93be1eb1fb Yay, kittens! Also some license cleanup, IO thread usage, more SDL wrapping and ability to run reveal from DFHack console. 2011-06-16 23:53:39 +02:00
Petr Mrázek b29871cb8c Fixed tick count offset, hotkey support is back from the dead (untested) 2011-06-15 06:09:24 +02:00
Petr Mrázek da2fb1cb1a Fix creature owned items vector offset on Windows, added support for owned items to more versions. 2011-05-28 10:18:50 +02:00
Petr Mrázek 9c1afa2285 Fix vegetation vector on windows to include willow trees. 2011-05-26 02:48:59 +02:00
Petr Mrázek b65c4ed55b New vegetation variables, fixed vegetation vector for 31.25 linux 2011-05-14 15:51:11 +02:00
Petr Mrázek 4631ec2e0d Item quantity support for 31.25 2011-05-11 23:53:16 +02:00
Alexander Gavrilov ed1477b53d Support listing items owned by a creature. 2011-05-09 14:49:44 +04:00
Alexander Gavrilov 14f291d539 Support reading the item ID field, which is used for cross-referencing. 2011-05-09 14:04:39 +04:00
Petr Mrázek 96bfec5402 The mood offset on linux was OK. General fixage of things. 2011-05-08 03:21:34 +02:00
Petr Mrázek d7ab8e979b Fix weather for 31.25 linux. 2011-05-08 00:17:11 +02:00
Petr Mrázek 9a93fd1b07 Fix current race and current cif address for 31.25 linux. 2011-05-07 23:14:58 +02:00
Petr Mrázek fc0f6f1e48 Minor rearrangement with no impact 2011-05-07 03:44:10 +02:00
Petr Mrázek 967d630936 Merge https://github.com/raoulxq/dfhack 2011-05-02 07:11:38 +02:00
Petr Mrázek fc1cdac01d Fix bad creature vectors on linux, again. 2011-04-24 03:10:24 +02:00
Raoul XQ d53cd6163c Merge remote branch 'upstream/master' 2011-04-23 03:18:38 +02:00
Raoul XQ c86c4c8472 very small fix 2011-04-23 02:50:58 +02:00
Raoul XQ c5609e3524 Update some strings im Memory.xml 2011-04-23 02:41:35 +02:00
Tim Walberg 3d5e4f3bf6 Linux 0.31.25 offsets
* very minor changes
2011-04-20 03:24:18 +02:00
Tim Walberg 966d165550 Linux 0.31.24 offsets
* very minor changes
2011-04-20 03:19:49 +02:00
Tim Walberg 4acba8b894 Linux 0.31.23 offsets
* 0.31.23 is just a simple rebase against 0.31.22 - doesn't look like anything
  else changed
2011-04-20 03:19:41 +02:00
Tim Walberg 24e2b5e66f Linux 0.31.22 offsets
* rebased against 0.31.21 offsets instead of 0.31.19 - this removed the need for
  a number of the offsets that were in the 0.5.13 release; cleaned those up
  while preserving the other work in progress - some sections got reordered a
  bit, but everything should still be there
2011-04-20 03:19:34 +02:00
Tim Walberg ae0cf81aae Linux 0.31.21 offsets
* minor differences between 0.31.20 and 0.31.21
2011-04-20 03:19:26 +02:00
Tim Walberg b2b3fabe79 Linux 0.31.20 offsets
* it seems handling of some of the map features changed in this revision,
  as some of the related offsets are no longer constants compiled into the
  code, but come via indirect loads - comments in the Memory.xml file give
  more detail
* added the rest of the available offsets, based against 0.31.19
2011-04-20 03:19:18 +02:00
Tim Walberg 898f585415 Linux 0.31.19 offsets
* added 0.31.19 offsets, based on 0.31.18
2011-04-20 02:51:48 +02:00
Tim Walberg 66207acc41 Linux 0.31.18 offsets
* rebase existing offsets against 0.31.16 linux
* add missing offsets
* Position/window_x and Position/window_y swapped places (probably optimizer
  related, I would guess)
2011-04-20 02:51:42 +02:00
Tim Walberg 821d7c35f4 Linux 0.31.16 offsets
* remove "faek" entry that marked all offsets as invalid
* rebase 0.31.16 against 0.31.14
2011-04-20 02:51:32 +02:00
Petr Mrázek bc855b296f Merge branch 'master' of https://github.com/angavrilov/dfhack 2011-04-17 16:08:13 +02:00
Petr Mrázek b0cb59a3f2 The item designator tool lives again. 2011-04-16 23:57:04 +02:00
Petr Mrázek 2d372aca3c Merge branch 'master' of https://github.com/raoulxq/dfhack 2011-04-16 21:05:45 +02:00
Petr Mrázek 89169053ff Item support for windows 31.25 2011-04-16 21:02:20 +02:00
Alexander Gavrilov 56b29cf12e Merge remote-tracking branch 'origin/master' 2011-04-15 10:58:09 +04:00
Raoul XQ fa34f56c6d Merge remote branch 'upstream/master' 2011-04-15 01:08:33 +02:00
Raoul XQ e6a6620635 Add empty jobs. 2011-04-15 00:47:09 +02:00
Raoul XQ fc185eefdd Add/update definitions in Memory.xml 2011-04-14 23:38:27 +02:00
Petr Mrázek 1a8c27ce01 Fix accessor mess I made. Added Accessor description dump to the dfitemdump tool and Items module. 2011-04-14 01:42:03 +02:00
Alexander Gavrilov 1d805ca328 Implement a program to hack away bug 3708 (unengraveable ghosts).
TODO: Test long-term consequences.
2011-04-13 22:04:32 +04:00
Alexander Gavrilov ebc4d21e66 Improve name structure handling, and support duplicating them (on linux).
The name structure actually contains additional linguistical data,
ignoring which produces wrong renderings for non-dwarfish names.
This data also obviously has to be copied with the structure.

Copying STL strings works by replicating the shared copy logic
(i.e. incrementing the reference counter), but leaks memory owned
by the string being overwritten.
2011-04-13 20:36:10 +04:00
Petr Mrázek 212500ee00 Big Items refactor, made all the Accessor offsets optional. 2011-04-11 22:13:06 +02:00
Alexander Gavrilov 2e0ec2db72 Support retrieving the item owner reference.
Reference is done by item id, and stored in some kind
of generic reference vector in the item structure.
2011-04-11 14:32:53 +04:00
Alexander Gavrilov f6ae41fe49 Provide access to item header, including flags, and wear information.
Add preliminary offsets for the item data to Memory.xml
2011-04-10 22:42:25 +04:00
Alexander Gavrilov cfc1dad4b6 Fix the item flag bitfield & set the item vector ptr. 2011-04-10 16:55:22 +04:00
Petr Mrázek 425971ef8c Linux fixes/creature vector addresses. Needs more testing. 2011-04-10 09:21:32 +02:00
Petr Mrázek 4a83f07bdd dftry pseudo-tool, dfhack can recognize 40d again, but the old API class isn't there at all. bees and wax. 2011-04-07 11:21:38 +02:00
Petr Mrázek 01f56b52ce Engravings vector for windows DF 31.22 - 31.25 2011-04-04 12:15:08 +02:00
Petr Mrázek 4bc7365a45 Engravings vector for 31.22 - 31.25 DF on linux. 2011-04-04 11:56:24 +02:00
Petr Mrázek 63522cc66e Linux 31.22 - 31.25 finished. Needs more testing, but should be good. 2011-04-04 06:02:21 +02:00
Petr Mrázek c0cdf8d827 Linux 31.22 support. 2011-04-04 03:49:29 +02:00
Petr Mrázek 8b8c70b5ff Big creature jobs read/write fix (it was cmpletely broken) 2011-04-03 21:27:47 +02:00
Petr Mrázek 46c5041bea Direction flags for engravings. 2011-04-03 03:19:34 +02:00
Petr Mrázek 4cfc12b52b Engravings module. 2011-04-03 00:15:47 +02:00