summaryrefslogtreecommitdiff
path: root/plugins/stockpiles.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tweaks!Petr Mrázek2012-03-291-1/+0
| | | | | Strip commands.clear() from all plugins Fix changeitem - a variable name has changed in item flags
* Make plugins accept explicit output stream references.Alexander Gavrilov2012-03-101-10/+10
| | | | | | | | This is an incompatible change to the plugin ABI. The Console is not thread-safe unless used indirectly via color_ostream_proxy, so everything should use their per-thread stream.
* Get rid of Simple namespace, Gui module is now a namespace.Petr Mrázek2012-03-031-1/+1
|
* New plugin interfacePetr Mrázek2012-02-211-4/+1
|
* Fix header includes, update structures.Petr Mrázek2012-02-201-1/+1
|
* Only use #include <> for system libraries - for everything else, use ""Quietust2012-01-151-10/+10
|
* Merge https://github.com/angavrilov/dfhackPetr Mrázek2011-12-311-7/+15
|\ | | | | | | | | | | | | | | | | | | Conflicts: library/Core.cpp library/PluginManager.cpp library/include/Core.h library/include/PluginManager.h library/modules/Gui.cpp plugins/stockpiles.cpp
| * Implement context-sensitive keybinding support.Alexander Gavrilov2011-12-311-13/+24
| | | | | | | | | | | | | | | | | | | | | | Allow defining commands with guard conditions, and binding one or more commands to alphabetic and function keys. When the relevant key is pressed, the first listed command with successfully evaluated guard is chosen. For consistency, the guard is also checked when the command is invoked from the console; this requires suspending the core inside PluginManager, before invoking plugin code.
* | Header changes/cleanup.Petr Mrázek2011-12-311-11/+11
| |
* | Implement context-sensitive keybinding support.Alexander Gavrilov2011-12-301-14/+19
|/ | | | | | | | | | | Allow defining commands with guard conditions, and binding one or more commands to alphabetic and function keys. When the relevant key is pressed, the first listed command with successfully evaluated guard is chosen. For consistency, the guard is also checked when the command is invoked from the console; this requires suspending the core inside PluginManager, before invoking plugin code.
* Properly cleanup state when copystock in q during rect selection.Alexander Gavrilov2011-12-291-0/+3
|
* Add infrastructure necessary to use the generated headers.Alexander Gavrilov2011-12-241-0/+87
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.