Commit Graph

1311 Commits (5a92eabb6b5001cdb6c175cde1605fdce8437e65)

Author SHA1 Message Date
Anuradha Dissanayake 9cb1a45855 Automaterial branch commit 2012-11-20 23:12:11 +13:00
Anuradha Dissanayake 5c18952caa Select by item name 2012-11-20 22:52:44 +13:00
Anuradha Dissanayake 0e2aa299b9 Auto material selection plugin - First push 2012-11-20 00:25:25 +13:00
Anuradha Dissanayake 7ee817b324 Add gcc compile fixes 2012-11-11 19:42:30 +13:00
Anuradha Dissanayake 6803a83e07 Refresh constraints on map reload 2012-11-11 18:18:54 +13:00
Anuradha Dissanayake b16bbdd6df Generate correct constraint string for persistence 2012-11-11 03:00:55 +13:00
Anuradha Dissanayake 0222b93bb0 Fix bug with non-repeating jobs getting protected 2012-11-10 03:47:15 +13:00
Anuradha Dissanayake 69bb6a5b3b Finished dashboard, colour coding, trend calculation and charts, material selection screen, mouse support 2012-11-09 20:05:16 +13:00
Anuradha Dissanayake b089221400 Inventory Monitor - first checkin 2012-11-06 06:59:51 +13:00
Anuradha Dissanayake 94898a73fb Add Search plugin comments 2012-10-23 21:20:51 +13:00
Anuradha Dissanayake 2fcceaa65e Set priority over manipulator plugin
Include animal type is search
2012-10-22 21:44:02 +13:00
Anuradha Dissanayake c433a8eeff Better handling of Trade screen. Tracks marked items and handles re-orders is sort plugin is used to sort filtered list. 2012-10-22 19:54:36 +13:00
Anuradha Dissanayake f501ae0748 Bug fix on unit sort 2012-10-22 01:09:10 +13:00
Anuradha Dissanayake bf01ecd206 Added Trade screen 2012-10-22 00:48:27 +13:00
Anuradha Dissanayake c5b38a24eb Refactoring to use templates 2012-10-21 20:57:03 +13:00
Anuradha Dissanayake fd60db44ab Search plugin, early work. Unit and stocks screen. 2012-10-21 00:49:46 +13:00
Anuradha Dissanayake 6a54878a6b Fix autobutcher resume 2012-10-20 01:38:08 +13:00
jj 4de245d691 ruby: install generated autogen after copying *.rb 2012-09-30 17:08:03 +02:00
jj 6fd002382f ruby: fix cmake dependency on codegen.out.xml 2012-09-29 12:13:04 +02:00
Alexander Gavrilov 7a74088287 Make backspace seek to top left corner in manipulator. 2012-09-29 13:01:11 +04:00
Petr Mrázek 1bac22884e xMerge https://github.com/jjyg/dfhack 2012-09-29 01:58:29 +02:00
jj 12f5e6028c manipulator: avoid NULL deref with unassigned job in unit list 2012-09-29 01:38:32 +02:00
Petr Mrázek 4258d1eb83 Merge branch 'experimental' of https://github.com/expwnent/dfhack 2012-09-29 01:31:12 +02:00
expwnent 0e124bf62b Merge branch 'teledwarf' into experimental 2012-09-28 19:17:56 -04:00
expwnent d41c4849f9 Fixed unit_grounded in teleporting dwarf tile. 2012-09-28 19:17:12 -04:00
expwnent 4b99d096da Merge branch 'teledwarf' into experimental 2012-09-28 19:07:29 -04:00
expwnent 1bde32fa5b Fixed a tile occupancy problem with teleporting dwarves. 2012-09-28 19:06:22 -04:00
jj 44a74ddc38 ruby: remove unused var 2012-09-28 22:58:26 +02:00
expwnent ce7e21f869 Merge branches 'digAll', 'misery' and 'teledwarf' into experimental 2012-09-28 16:44:08 -04:00
expwnent 79ac1a81b9 It was backwards when calling fastdwarf with just one argument. Also made it print the current status of fastdwarf when no arguments are given. 2012-09-28 16:36:37 -04:00
Petr Mrázek 53c6ee4673 Track structures and stonesense 2012-09-28 21:57:12 +02:00
jj 687657f2da manipulator: show full group when navigating labor groups 2012-09-28 19:48:28 +02:00
jj 4a495c2c7f manipulator: make cursor_down_z go to beginning of next group 2012-09-28 19:20:10 +02:00
jj ca0097b910 manipulator: better screen width usage 2012-09-28 19:20:10 +02:00
jj c4f26d0aa8 manipulator: make up/down keys wrap around 2012-09-28 19:20:04 +02:00
Alexander Gavrilov 783b218eec Try a different color scheme when highlighting squad members in tweak. 2012-09-28 18:50:01 +04:00
Alexander Gavrilov ba763b773d New tweaks for the military assign to position screen. 2012-09-28 18:01:17 +04:00
Alexander Gavrilov bd7cd690aa Implement the common suggestion of Shift-Enter in trade screens. 2012-09-28 13:32:41 +04:00
Alexander Gavrilov 164c61b638 Forbid stuff from bins in siege-engine, if forbid ammo standing order set. 2012-09-27 10:43:42 +04:00
jj 7cc29250f8 fix for updated viewlist_petst 2012-09-26 18:22:07 +02:00
jj d975ce5135 ruby: add onstatechange_register_once 2012-09-26 15:08:54 +02:00
jj f628c3732a ruby: avoid smoothing grass/trees 2012-09-24 19:19:34 +02:00
jj a622ee52e9 ruby: fix building_alloc Trap, and init Floodgates as closed 2012-09-24 19:11:42 +02:00
jj a2bb322344 ruby: item_find now works in z/stocks 2012-09-24 15:40:35 +02:00
jj 962a057ffa Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-09-23 23:31:05 +02:00
jj aefedb9887 ruby: MapTile#offset, tweak #dig to check for existing jobs 2012-09-23 23:26:57 +02:00
Alexander Gavrilov 6385128c28 Sort by units.active (arrival), and seek to top/bottom in manipulator. 2012-09-23 16:41:14 +04:00
jj f2199c2951 ruby: fix activity zone_num 2012-09-23 11:44:27 +02:00
jj f7272e4a8f ruby: use cursor as default map_tile_at arg 2012-09-23 10:58:31 +02:00
jj ebd4b94c2d ruby: add onupdate_register_once 2012-09-22 11:57:33 +02:00
Alexander Gavrilov 038d62367e Implement explicit hook priority in vmethod interpose.
This resolves a getName order conflict between power-meter and rename.
2012-09-22 13:14:06 +04:00
jj b115edcf68 ruby: return selected zone in building_find 2012-09-20 19:57:43 +02:00
Alexander Gavrilov e2d6a14720 Make manipulator re-read names and professions if change is suspected.
Namely, if it either invoked View Unit itself, or was queried
(possibly by the rename plugin) via getSelectedUnit.
2012-09-20 12:27:03 +04:00
Alexander Gavrilov 1f7c10252e Support renaming activity zones.
This one required hooking the dwarfmode render method.
2012-09-20 11:48:53 +04:00
Alexander Gavrilov 462bedb757 Fix the rename plugin and script to use the new getSelectedBuilding API. 2012-09-20 11:11:59 +04:00
Alexander Gavrilov c39a337223 Add unit/item/job/building getter hook vmethods to dfhack_viewscreen. 2012-09-20 11:11:20 +04:00
Quietust 1fd0654d63 Restore stonesense to the proper revision 2012-09-19 22:55:38 -05:00
jj e154d5447b ruby: fix building linking more 2012-09-20 01:33:10 +02:00
jj 2d5942d5d7 ruby: fix building linking 2012-09-20 00:33:22 +02:00
jj b6d9863172 ruby: allow Civzone constants in building_alloc 2012-09-19 19:19:58 +02:00
Alexander Gavrilov a80f574be8 Only initialize siege engine in dwarf mode. 2012-09-19 19:52:57 +04:00
Alexander Gavrilov b5ede66224 Switch some plugins to using world load/unload instead of map.
Otherwise they apply and remove hooks every time fast travel is used.
2012-09-19 19:46:54 +04:00
Quietust 19e1711a2f Several Manipulator updates
* Add documentation to README, cleanup some docs for other plugins
* Preserve existing unit list order and cursor/scroll position
* Adjust mouse input handling, don't move cursor on left-click
2012-09-19 10:20:18 -05:00
jj 27fd3f5fc7 Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-09-19 15:05:42 +02:00
jj 45c057b3d2 ruby: handle ptr-strings in df-structures 2012-09-19 14:25:14 +02:00
Alexander Gavrilov 65a382a2d7 Document some of the new stuff in the readme. 2012-09-19 15:55:08 +04:00
Quietust 69e8fcce91 Add mouse input to Manipulator, along with column labels 2012-09-18 13:57:06 -05:00
jj b470abed90 ruby: misc tweaks 2012-09-18 18:13:22 +02:00
Alexander Gavrilov a7998f71a2 Add a tweak workaround for the issue with container reactions in advmode. 2012-09-18 17:39:37 +04:00
Alexander Gavrilov f2e7ee4756 Tweak the add spatter plugin. 2012-09-18 13:15:25 +04:00
Alexander Gavrilov d70a79deb9 Follow changes in XML defs. 2012-09-18 13:11:11 +04:00
jj 57d01f0008 ruby: use ui.follow_item/unit in unit_find, show non-english names by default 2012-09-18 10:17:33 +02:00
jj 72141a3c9b ruby: use implicit init-value -1 for ref-target/refers-to in codegen 2012-09-18 10:17:32 +02:00
jj eacca723e0 ruby: fix building subtype/customtype init value 2012-09-18 10:17:32 +02:00
Alexander Gavrilov 36e44c682c Add a plugin implementing 'add spatter to item' reactions. 2012-09-17 21:15:51 +04:00
Alexander Gavrilov 613063cef4 Add a tweak to fix subtractDimension of small amounts. 2012-09-17 17:19:24 +04:00
Alexander Gavrilov 82e870c8dd Move siege engine out of devel. 2012-09-17 14:59:59 +04:00
Alexander Gavrilov f2fde21b10 Implement a slightly more sensible aiming AI in siege engine. 2012-09-17 14:45:22 +04:00
Alexander Gavrilov c1e20c6f05 Follow changes to structures. 2012-09-17 12:47:18 +04:00
Kelly Martin 58fda716e6 Explicit cast is required for MSVC. 2012-09-16 17:06:31 -05:00
Kelly Martin 847dadd3f5 Merge remote-tracking branch 'angavrilov/master' 2012-09-16 16:37:08 -05:00
Kelly Martin 38f920dd65 Merge remote-tracking branch 'q/master' 2012-09-16 16:36:51 -05:00
Alexander Gavrilov 000e3baf27 Implement skill-based miss probability in siege engine. 2012-09-14 20:57:03 +04:00
Alexander Gavrilov 811c096c0e Vaporize liquids from barrels, and destroy bin contents in siege engine. 2012-09-14 20:22:49 +04:00
jj 5474ccacb6 Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-09-14 14:30:25 +02:00
jj b05905a0ba ruby: basic stl::set<uint32> support, add Viewscreen.feed_keys 2012-09-14 13:55:22 +02:00
Alexander Gavrilov d22591e240 Fix a file descriptor leak and a crash in linux getMemRanges. 2012-09-14 12:35:55 +04:00
Alexander Gavrilov aaf5d181bd Add yet one more performance-oriented tweak for temperature updates. 2012-09-14 12:14:36 +04:00
Quietust c927623050 Rework handling of column positions, and insert a new "Happiness" column 2012-09-13 15:42:51 -05:00
Quietust 1325b70e41 Cleanup autolabor+cleanowned, fix depends/clsocket 2012-09-13 14:42:17 -05:00
Quietust 1d8c9a6a5f Merge https://github.com/danaris/dfhack 2012-09-13 14:30:44 -05:00
Quietust cae01250ff Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-09-13 14:08:26 -05:00
jj a9ce19b826 ruby: add raw_rtti_classname to read real classname from RTTI info 2012-09-13 19:07:37 +02:00
Alexander Gavrilov 881fed41de Support setting workshop profile for siege engines.
Since can't use built-in viewscreen, UI limited to skills only.
2012-09-13 20:20:56 +04:00
Alexander Gavrilov 5690a26439 On second thought, remove stockpile->engine links; keep only reverse.
Bi-directional links involve the risk of crashes if the plugin
is unloaded, and the engine subsequently deconstructed.
2012-09-13 17:49:41 +04:00
Quietust ae6e0f617d Make it clear that this is from DFHack, and properly name it Dwarf Manipulator 2012-09-13 08:27:28 -05:00
jj 19a150fb38 ruby: fix dig smooth overdigging 2012-09-12 20:59:37 +02:00
Quietust c9d73cb6fb Fix crash bug when using manipulator in Arena mode 2012-09-12 13:42:16 -05:00
Alexander Gavrilov f06f9af6b8 Throw items from bins around in siege engine, like minecarts do. 2012-09-12 20:57:25 +04:00
Alexander Gavrilov 448d7e3633 Support linking siege engines to stockpiles.
Since they can't do that natively, the links object has to
be maintained in dfhack memory, and with dfhack persistence.
2012-09-12 12:15:12 +04:00