Commit Graph

25 Commits (5edde76b8f43dbb3cc619b837da04b3a08c6c74f)

Author SHA1 Message Date
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
Petr Mrázek 68b13d6bf0 Dreary offset work. 2011-04-02 12:35:23 +02:00
Petr Mrázek bbf64a1614 Added 'other' to the material dump. Fixed offsets for it in recent versions. 2011-04-01 04:20:49 +02:00
Petr Mrázek 37b0dbe02e 31.25, tweaks to make dfliquids and dfreveal better 2011-03-30 14:27:47 +02:00
Petr Mrázek dcfa315acf windows 31.24 2011-03-27 16:06:44 +02:00
Petr Mrázek 8ef1ef1985 31.23 Windows support, tiny little tweaks to liquids tool. 2011-03-27 00:02:23 +01:00
Petr Mrázek 820767d701 Pause state 31.22 win 2011-03-25 03:51:57 +01:00
Petr Mrázek 1a1a28ee3d World module offsets for windows 31.22 2011-03-25 03:27:07 +01:00
Petr Mrázek 4c030e7cc1 Some linux 31.22 offsets, slight tweaks to Materials 2011-03-25 02:31:27 +01:00
Petr Mrázek 754647fe96 The mysterious variable is mysterious, 31.22 support, needs testing 2011-03-24 23:21:50 +01:00
Petr Mrázek 557d6733e2 Make the build system sane, pt. 1 - no install or packages yet 2011-03-16 07:35:08 +01:00