Commit Graph

69 Commits (68fbd4a78deee46fdc7d8ea5ab580f023fb804d2)

Author SHA1 Message Date
Warmist a94ba4392c small fixes to VersionInfo wrapper, added Current_Race in Memory.xml to new version and ported friendship plugin to memory.xml model 2011-08-09 11:31:51 +03:00
Petr Mrázek 4f03b5224a Add vermin colony offsets for windows. 2011-08-08 03:40:15 +02:00
Petr Mrázek 331ada8f91 Don't take over console in TEXT mode. 2011-08-01 03:31:52 +02:00
Matthew Cline 86577d4f8a Notes module
Gets a vector of pointers to note structs
2011-07-20 18:26:52 -07:00
Matthew Cline 6631f97a6a More info on inorganic materials
Get value, wall tile, boulder tile, smelting info and strand extraction
info for inorganic materials.  Prospector uses this to separete out vein
materials into ores, gems and other.

Offsets provided for both Linux and Windows, but only tested on Linux.
2011-07-20 06:18:50 -07:00
Matthew Cline a923d19f76 Get game's current world save folder
Use World::ReadWorldFolder() to get "region1" (or whatever it currently
is).  Only have offset for Linux.
2011-07-16 16:00:50 -07:00
Matthew Cline d1170d54c3 Vermin module and colonies plugin
This is the start of the vermin module.  Right now it just gets a list
of the positions at which vermin are created (spawn points).  Most
spawn points are invisible and transient, but colonies (ant hills and
such) are permanent and visible.  The address of the spawn points vector
is only provided for Linux 0.31.25

The colonies plugin uses the vermin module to list the location and
species of colonies, and can either wipe them all out or turn them all
into honey bee colonies.
2011-07-12 23:17:51 -07:00
Petr Mrázek 3850954449 Hotkey input works on windows/under wine. Added skeleton for the veindigger plugin. 2011-07-10 21:07:14 +02:00
Petr Mrázek d894ef0ffa Hotkey UI for linux. 2011-07-09 11:33:58 +02:00
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