Commit Graph

83 Commits (cfb975a522488e099c244335ee20dee9d1065ec4)

Author SHA1 Message Date
Alexander Gavrilov e2d7359bdd Add the gps global to Memory.xml. 2012-01-19 17:26:21 +04:00
Alexander Gavrilov a31542862a Add utility functions to retrieve the selected job/unit/item.
Units can be selected via 'u', 'j', 'v' and 'k'; full-screen
unit details view not supported.

Items can be selected via 't', 'k', 'v'->inventory.

Also, when viewing a container item full-screen, the selected
contained item or unit is returned; never the container itself.

The api is used in rename to allow setting nicknames for
arbitrary units, including animals and enemies.
2012-01-14 19:31:43 +04:00
Alexander Gavrilov 284009e873 Add a hotkey command to duplicate jobs in workshops. 2012-01-04 19:39:38 +04:00
Alexander Gavrilov bfcaca9266 Update xml defs with more ui info. 2012-01-02 15:18:23 +04:00
Alexander Gavrilov 6476d61e59 Update structure definitions & add the fixwagons plugin from Q. 2012-01-01 23:05:45 +04:00
Alexander Gavrilov b14e2a0c0d Update the XML definitions. 2011-12-29 16:46:08 +04:00
Alexander Gavrilov d513e75365 Use the updated code generator with support for vtables & constructors. 2011-12-29 16:46:01 +04:00
Alexander Gavrilov 79ac2a781a Add infrastructure necessary to use the generated headers.
As a usage example, allow toggling water level display and idlers,
and implement a ui tweak for easily copying stockpiles.

Also disable df2mc by default - default options shouldn't
require anything not in the base package.
2011-12-24 14:51:58 +04:00
Petr Mrázek dcce48c243 Add simple creature probe, fix current civ address on windows, update df2mc. 2011-11-02 00:26:45 +01:00
Petr Mrázek a3a1629521 Fix seedwatch some more. 2011-10-30 02:52:25 +01:00
Petr Mrázek 998d85919f Windows offset for save name, some tweaks, updated stonesense submodule to current. 2011-10-23 22:23:54 +02:00
Petr Mrázek a83d9fa944 Added mouse position and designation coord, along with a 'trackpos' command for kittens plugin. 2011-09-26 03:39:27 +02:00
Petr Mrázek bb919e8462 Putting the memory.xml stuff back. 2011-09-24 19:19:33 +02:00
Petr Mrázek dc81367a68 Gems are now properly detected in prospector. Nuked some legacy garbage. 2011-09-24 06:48:06 +02:00
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