Commit Graph

2522 Commits (4e11a4be1a2109e7984f3bb19d128d2e9936cc61)
 

Author SHA1 Message Date
Quietust 7c5835d318 t_itemref -> df::general_ref 2012-01-16 20:40:29 -06:00
Quietust c18619520d df_contaminant -> df::contaminant 2012-01-16 20:18:40 -06:00
Quietust 64b55acf37 df_item -> df::item, t_itemflags -> df::item_flags 2012-01-16 20:16:16 -06:00
Alexander Gavrilov 89cb12add1 Merge remote-tracking branch 'q-github/master' 2012-01-16 19:55:47 +04:00
Alexander Gavrilov 4811d2945e Count hospital supplies as busy, and detect soap-producing reactions. 2012-01-16 19:45:38 +04:00
Quietust 97bae19c13 Update BitArray to automatically grow whenever setting/toggling bits beyond the end 2012-01-15 18:08:35 -06:00
Quietust e84904f5c5 Typo - "desctruction" -> "destruction" 2012-01-15 15:01:40 -06:00
Quietust 0e0bca5dbb Fix deadlock in autodump 2012-01-15 14:59:47 -06:00
Quietust e82055986e Only use #include <> for system libraries - for everything else, use "" 2012-01-15 14:54:14 -06:00
Quietust f3cbf07a01 Use general_ref::getType() instead of strict_virtual_cast<> 2012-01-15 13:59:34 -06:00
Petr Mrázek d972b07d57 Merge https://github.com/quietust/dfhack
Conflicts:
	plugins/autodump.cpp
	plugins/cleaners.cpp
2012-01-15 19:51:34 +01:00
Alexander Gavrilov f0f354f3c7 Don't count stuff in flasks and backpacks as available in workflow. 2012-01-15 20:45:02 +04:00
Alexander Gavrilov 8158733745 Support changing the custom profession via rename.
Likewise, it works for any unit, including animals and enemies.
2012-01-15 15:57:33 +04:00
Alexander Gavrilov bcb51d8ff7 Use the announcement API to report starting and stopping workflow jobs. 2012-01-15 15:39:20 +04:00
Alexander Gavrilov 0f56611edc Support showing announcements, as suggested by Q. 2012-01-15 15:19:20 +04:00
Alexander Gavrilov 54485d2551 Move plant material detection to guess_job_material in workflow.
So that the data will be available to shortJobDescription.
2012-01-15 12:58:36 +04:00
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