Commit Graph

236 Commits (2222757e77d4c7f2a337c8b6a0f663414702d111)

Author SHA1 Message Date
Alexander Gavrilov 2222757e77 Implement context-sensitive keybinding support.
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.
2011-12-30 23:25:50 +04:00
Alexander Gavrilov 53346328e8 Notify plugins about game being loaded or unloaded.
As a test, make seadwatch deactivate on these events.
2011-12-30 18:12:15 +04:00
Alexander Gavrilov 298e2fe92d Add a plugin to rename squads and hotkeys (without the 9 char limit). 2011-12-29 17:37:07 +04:00
Alexander Gavrilov d7faa6c471 Properly cleanup state when copystock in q during rect selection. 2011-12-29 16:46:08 +04:00
Petr Mrázek 5bee16dbd8 Merge https://github.com/angavrilov/dfhack 2011-12-24 12:27:59 +01:00
Petr Mrázek cfd2c95eab Slight reformat in versionosd. 2011-12-24 12:27:34 +01: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 b36e5ac248 Add missing files. 2011-12-07 20:50:37 +01:00
Petr Mrázek 647916e109 Graphic module 2011-12-07 20:37:09 +01:00
Petr Mrázek f7d78539d3 Renaming Creatures to Units 2011-12-02 10:56:40 +01:00
Petr Mrázek c0a6036cde zeromq windows version 2011-11-25 23:21:31 +01:00
Petr Mrázek 780b659210 Zeromq hello world plugin. 2011-11-25 22:14:36 +01:00
Petr Mrázek 57b5ed8fa7 Made invalid tile types really invalid, license and unused depends cleanup. 2011-11-25 18:54:50 +01:00
Petr Mrázek 370681848d Update stonesense. 2011-11-17 21:45:57 +01:00
Petr Mrázek 1b0bbbe9e4 Update stonesense. 2011-11-15 22:00:58 +01:00
Petr Mrázek 2547e2ff06 Killed lambas :(, fixed bug with 'digcircle unset' that made it behave exactly like 'digcircle set' 2011-11-15 21:58:38 +01:00
Petr Mrázek 46f55c1577 Update df2mc. 2011-11-06 03:28:38 +01:00
Petr Mrázek fe77d55e1e Tweak tiletypes so that tile variants are not strictly required to match. 2011-11-06 01:27:16 +01:00
Petr Mrázek 5007419fcd Add nopause command. 2011-11-06 01:26:57 +01:00
Feng 229750c7db + Able to set variant attribute.
+ Able to set hidden, light, subterranean and skyview flags.
* Paint empty space correctly.
* Remove direction from directionless tiles.
* Remove liquid from walls correctly.
2011-11-05 18:55:23 +08:00
Petr Mrázek d1849e6bef Update df2mc, fix build. 2011-11-05 02:22:15 +01:00
Petr Mrázek 25257fe598 Move df2mc back. 2011-11-05 02:00:51 +01:00
Petr Mrázek af46b262b5 More init hardening. 2011-11-04 09:08:29 +01:00
Petr Mrázek 0ff7a48848 Update stonesense 2011-11-03 20:18:00 +01:00
Petr Mrázek 4f0695a6d5 Messing with materials. 2011-11-03 04:30:59 +01:00
Petr Mrázek dc629bc251 Fix cleanowned plugin. 2011-11-03 02:40:37 +01: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 6bbc27dbce Update df2mc 2011-11-01 13:13:03 +01:00
Petr Mrázek f0417e12dd Hardening. 2011-11-01 13:06:27 +01:00
Petr Mrázek 7f6fa2a008 Add an enum for base material types. 2011-10-30 21:32:43 +01:00
Petr Mrázek a8d3e19fef Update stonesense, again. 2011-10-30 21:08:22 +01:00
Petr Mrázek 9c2743dba1 Update stonesense. 2011-10-30 21:01:52 +01:00
Petr Mrázek 2dfee0a9f9 Move df2mc to devel 2011-10-30 19:56:08 +01:00
Petr Mrázek 063894276c Tiny type fixes for spatter veins, updated df2mc. 2011-10-30 15:25:29 +01:00
Petr Mrázek d6ed4b875a Update df2mc, again. 2011-10-30 05:16:41 +01:00
Petr Mrázek f6ea3e52dc Update df2mc 2011-10-30 04:04:31 +01:00
Petr Mrázek a3a1629521 Fix seedwatch some more. 2011-10-30 02:52:25 +01:00
Petr Mrázek 13ca2e608f Added df2mc (TroZ) and drybuckets (Quietust) plugins 2011-10-30 02:50:29 +01:00
Petr Mrázek 6e3dbbdd72 Better handling of plants in getplants plugin. 2011-10-29 02:15:36 +02:00
Petr Mrázek a3179093ef Seedwatch help text is now better, update of readme. 2011-10-28 23:18:10 +02:00
Petr Mrázek c936333305 Add spot cleaning tool. 2011-10-28 07:35:42 +02:00
Petr Mrázek 4688f6557e Fix problem with magic numbers in fastdwarf. 2011-10-28 06:22:07 +02:00
Petr Mrázek 9f9e8f012d Added a basic plant raw check to rawdump plugin. 2011-10-28 05:10:18 +02:00
Petr Mrázek 4d6e93988a Delete spatter objects while cleaning items and creatures. 2011-10-28 04:52:20 +02:00
Petr Mrázek fc6cb72f33 Merged the spatter clean plugins into one 2011-10-28 04:40:00 +02:00
Petr Mrázek 61be3413e3 Make seedwatch work on linux, still with ugly hacks. 2011-10-27 03:31:13 +02:00
Petr Mrázek 8838d8c3d6 Merge https://github.com/gsvslto/dfhack 2011-10-27 02:06:57 +02:00
Petr Mrázek 81391f91be Added cleanunits by Q. 2011-10-27 01:31:47 +02:00
Petr Mrázek 335ad28fe5 Add item contaminants vector to df_item, fixed up cleanitems plugin to use it. 2011-10-27 01:08:59 +02:00
Petr Mrázek f2205364b8 Add cleanitems by Q. 2011-10-27 00:37:59 +02:00