Commit Graph

2656 Commits (4bac6edd79e82d8c1e5f9c1eca6cd8d34f712290)
 

Author SHA1 Message Date
Alexander Gavrilov 8135420d87 Let job-material use any material in the build item selection mode. 2012-01-15 12:50:53 +04:00
Alexander Gavrilov 990a69ce9b Add hotkey commands to destroy items under cursor, and a specific item. 2012-01-14 21:13:30 +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 53e9a1659b Add automatic drybucket and melting to workflow. 2012-01-12 20:07:53 +04:00
Quietust 59b66a2681 Fix output formatting 2012-01-11 11:04:20 -06:00
Quietust 18f2459b5d Add missing newline to "clean" usage 2012-01-11 11:04:06 -06:00
Quietust bb0959e470 Fix confusion between "cout" and "c->con" 2012-01-11 10:59:56 -06:00
Quietust 555183cb25 Remove unreferenced variables 2012-01-11 10:57:05 -06:00
Quietust 6d2ce7b8a9 Add default return value to MaterialInfo::matches 2012-01-11 10:50:38 -06:00
Quietust 5173be649f Silence warning 2012-01-11 10:49:42 -06:00
Quietust a3d2cf3a85 Minor cleanup 2012-01-11 10:31:23 -06:00
Quietust b0be2f55c6 Cleanup plugin 'flows' 2012-01-11 10:29:59 -06:00
Quietust 29b0c4273e Cleanup fastdwarf plugin, no longer relies on modules 2012-01-11 10:17:25 -06:00
Alexander Gavrilov 9a86087db5 Add timeouts when a job is cancelled, and color the command output. 2012-01-11 20:04:04 +04:00
Quietust 9cc774fc9d Update deramp plugin, no longer relies on modules 2012-01-11 09:53:48 -06:00
Quietust 524b53935d block_index is declared correctly now 2012-01-11 09:53:28 -06:00
Quietust 1f8a005818 Update cleaners/drybuckets, Materials module now gone 2012-01-11 08:58:26 -06:00
Quietust 24576ffe19 Silence annoying warning in MSVC 2012-01-11 08:54:54 -06:00
Petr Mrázek cc2ac0b04f Merge https://github.com/angavrilov/dfhack
Conflicts:
	library/xml
2012-01-10 19:50:13 +01:00
Petr Mrázek 1d4b9ac318 Track structures 2012-01-10 19:47:48 +01:00
Alexander Gavrilov 7f5aa4de62 Support the most important job types in workflow. 2012-01-10 17:23:37 +04:00
Petr Mrázek 571498ea21 Vermin tweaks. 2012-01-10 00:45:43 +01:00
Petr Mrázek 1652e99a0b Merge https://github.com/angavrilov/dfhack 2012-01-09 20:43:55 +01:00
Petr Mrázek 263bed7d95 Merge https://github.com/angavrilov/dfhack
Conflicts:
	library/xml
2012-01-09 20:43:31 +01:00
Alexander Gavrilov c3d564dc7a Count items matching constraints, and suspend/resume jobs based on it. 2012-01-09 21:25:55 +04:00
Alexander Gavrilov ba338be350 Allow specifying constraints on item amounts, and match jobs to them. 2012-01-09 19:20:28 +04:00
Alexander Gavrilov 3e147fe902 Modify the workflow plugin to protect all repeat jobs when enabled. 2012-01-09 17:29:28 +04:00
Alexander Gavrilov 50386f66a3 Update structures and implement modifying the job_item item type. 2012-01-09 16:20:17 +04:00
Petr Mrázek f687844c5b Update structures. 2012-01-08 17:53:53 +01:00
Alexander Gavrilov ea790f1346 Move a few functions into the core, and add some more. 2012-01-08 20:02:12 +04:00
Petr Mrázek f31d7c792a Merge https://github.com/warmist/dfhack 2012-01-08 16:21:23 +01:00
Petr Mrázek 175b3ed060 Fix getplants - duplicate variable. 2012-01-08 16:18:31 +01:00
Petr Mrázek 3a8bc4dbb5 Merge https://github.com/quietust/dfhack 2012-01-08 16:17:28 +01:00
Alexander Gavrilov 64a9a49ec0 Merge remote-tracking branch 'origin/master' 2012-01-08 16:19:58 +04:00
Alexander Gavrilov 22071e2d51 Update data defs. 2012-01-08 16:10:38 +04:00
Petr Mrázek da2b00d480 Sync structures 2012-01-08 07:02:05 +01:00
Petr Mrázek 8a46386502 Dissolve vermin module. 2012-01-08 06:59:52 +01:00
Quietust fd2563d0d5 Cleanup "getplants" plugin, minimize reliance on modules 2012-01-07 23:31:23 -06:00
Quietust c484d7ceae Cleanup "fixwagons" plugin 2012-01-07 23:28:37 -06:00
Quietust 153efe9a69 Cleanup "drybuckets" plugin, minimize reliance on modules 2012-01-07 23:05:45 -06:00
Quietust 2ccb15524b Cleanup "cleaners" plugin, minimize reliance on modules 2012-01-07 23:04:31 -06:00
Petr Mrázek 72016d9188 Buildings aren't a module anymore, fix probe segfaults. 2012-01-08 02:22:13 +01:00
Alexander Gavrilov 87009c0535 Add a plugin that protects specific repeat jobs from disappearing.
If they do disappear, they are re-added in a suspended state.
2012-01-07 21:47:23 +04:00
Alexander Gavrilov 07ad9ad972 Add persistent data storage in fake historical figure names. 2012-01-07 19:21:31 +04:00
Alexander Gavrilov f5e121a196 Move a bunch of stuff from the jobutils plugin into the core. 2012-01-07 19:21:07 +04:00
Alexander Gavrilov 0e90e6b78e Support multi-valued enum attributes. 2012-01-06 22:08:09 +04:00
Espen Wiborg 6d79255131 Make gcc happy, too 2012-01-06 12:10:30 +01:00
Espen Wiborg e068552c04 Make gcc happy, too 2012-01-06 12:10:11 +01:00
Warmist 571c249522 Fixed crash with dfusion migrants plugin. 2012-01-06 10:25:58 +02:00
Warmist 3115fb17c7 Merge branch 'master' of git://github.com/peterix/dfhack 2012-01-06 10:24:46 +02:00