Commit Graph

5186 Commits (e6901a87d300a012027f8387c93c1963d8452592)
 

Author SHA1 Message Date
expwnent 52d0f1c3f6 Merge remote-tracking branch 'lethosor/autotrade-usage-newline' 2014-09-08 13:00:11 -04:00
expwnent 8bd1a23b2c Update NEWS. 2014-09-08 12:53:30 -04:00
expwnent 704c63fe56 Merge commit 'baeb894' 2014-09-08 12:52:21 -04:00
Eric Wald 0f311a7606 Removing dead duplicate code. 2014-09-07 15:11:11 -06:00
Eric Wald 83b1317173 Switching stockflow to the internal getStockpileContents.
This should speed it up over checking each space individually, but no longer counts spaces with empty assigned bins and barrels as empty.
2014-09-07 15:07:57 -06:00
Eric Wald 1ce07c063d Canonical way to find the stockpile by id. 2014-09-07 14:55:34 -06:00
Eric Wald 74e709ec19 Adding getStockpileContents to the Lua API. 2014-09-07 14:52:08 -06:00
Eric Wald 8631da7e4e Convenience method to collect a vector from StockpileIterator. 2014-09-07 14:10:27 -06:00
Eric Wald 3c58bd3948 Switching autotrade to use StockpileIterator.
This should speed it up a bit, and prevents it from marking a stream of empty bins.
2014-09-07 14:03:51 -06:00
Eric Wald 567397df85 Stockpile iterator.
Efficient way to operate on all items stored on a stockpile.
Doesn't currently check whether the items match the stockpile settings,
but does ignore empty containers assigned to the stockpile.
2014-09-07 13:52:07 -06:00
hobotron-df 332d28d3b5 Adding usage documentation for teleport.lua 2014-09-05 17:41:41 -05:00
Alexander Gavrilov a45438d172 Fix 3dveins crashing because of trees and malformed biome data.
The sky in the latest versions has uninitialized biome data, which
made the plugin crash on invalid vector index access. Also, trees
on ground may still have wrong geolayer inside them like obsidian.
2014-09-05 15:11:13 +04:00
Eric Wald 7143479253 Moving trade screen search dimming to the proper row.
Unfortunately, this now means it hits one of the search clear lines when both are active.
2014-09-04 23:28:59 -06:00
Eric Wald aaa8a829d1 Removing new trade hotkeys while a counteroffer is displayed.
Fixes http://www.bay12forums.com/smf/index.php?topic=126076.1140
It's tempting to use has_offer for this effect, but that flag remains true after hitting Enter to consider the offer.
Relies on a structure update: https://github.com/DFHack/df-structures/pull/18
2014-09-04 21:08:46 -06:00
Quietust cf06dc3503 Update to 0.40.11, fix a few devel plugins to build again 2014-09-04 08:26:45 -05:00
Quietust 92946e5fbc Minor reveal fix - only preallocate unreveal data for existing map blocks 2014-08-31 11:43:19 -05:00
lethosor e7cd7db3ec Update NEWS 2014-08-31 11:52:46 -04:00
hobotron-df fd657134ff [Fix: Issue 291] bow_item_(sub)type is now shooter_item_(sub)type in history_hit_item struct. 2014-08-30 20:42:48 -05:00
lethosor 9aee476c6e Make plugins use ".plug.dylib" extension on OS X 2014-08-30 09:21:19 -04:00
lethosor 76ecc9b347 Add newline to autotrade usage
Fixes #304
2014-08-30 08:47:37 -04:00
Putnam3145 baeb894502 Made hack-wish work properly. 2014-08-29 18:43:22 -07:00
Eric Wald 7ece96e5f2 Ignoring 'make package' by-products. 2014-08-29 18:57:06 -06:00
Eric Wald 6a2d65c6d7 Switching to bzip2 for Linux packages.
The resulting packages tend to be about 10% smaller than gzip.
2014-08-29 18:55:17 -06:00
Eric Wald 4980cd1969 Regenerating the HTML documentation. 2014-08-29 15:00:08 -06:00
JapaMala 948fbb48f6 Updated stonesense 2014-08-29 18:45:25 +05:30
JapaMala b98b6f61d2 Merge branch 'remote_reader' of github.com:JapaMala/dfhack into develop 2014-08-29 18:39:57 +05:30
JapaMala 96a0bd0de0 Added growth locations to the fake growth materials 2014-08-29 17:08:21 +05:30
expwnent ee82218147 Update NEWS. 2014-08-29 05:28:14 -04:00
expwnent 79b572ba65 Update stonesense. 2014-08-29 05:26:07 -04:00
Quietust 4f57189bd1 Merge pull request #285 from eswald/log-region
Repairing the log-region script
2014-08-28 15:29:12 -05:00
Eric Wald eeb22c099d Nitpicking log-region
One line was improperly indented, and a variable name no longer made sense.
2014-08-28 14:02:22 -06:00
Quietust 5c0588dd34 Merge pull request #299 from eswald/stockflow-40
Stockflow Repairs
2014-08-28 14:56:04 -05:00
Quietust f0c52a9a73 Merge pull request #289 from eswald/trade-search
Moving trade screen search lines
2014-08-28 14:54:00 -05:00
Quietust 5ccd7dbb8f Merge pull request #296 from lethosor/embark-tools-render
embark-tools fix
2014-08-28 14:53:22 -05:00
Quietust 8bfc0e93ec Merge pull request #298 from eswald/stockpile-lines
Stockpile lines
2014-08-28 14:53:09 -05:00
Quietust 1de9405ef3 Update some stuff to 0.40.10 2014-08-28 14:07:03 -05:00
Quietust 45b9e1b56a Update XML 2014-08-27 09:57:58 -05:00
Eric Wald 6d9d616fff Prioritizing search hooks on the trade screen.
The autotrade plugin has been intercepting the m/u/M/U keys if enabled after enabling the search plugin.  An explicit priority makes the search plugin always accept those keys while typing in a search line.
2014-08-25 21:18:52 -06:00
lethosor 17a23796c8 Fix embark-tools render() behavior 2014-08-25 13:08:11 -04:00
Eric Wald 632b0b85bd Speeding up the stockpile item count.
kr0pper reports two orders of magnitude speed improvement for check_pile() by using the map tile item cache.
2014-08-23 17:49:03 -06:00
Eric Wald 8495bddc2d Removing an obsolete workaround 2014-08-23 17:46:35 -06:00
Quietust eb221e1165 Fix some blatant bugs in somebody else's additions to showmood 2014-08-21 15:23:05 -05:00
Quietust 33f4f9fdcb Update cleanmap to optionally also clean up item spatters such as leaves 2014-08-20 10:54:00 -05:00
Quietust deee486b81 Update Maps::SortBlockEvents to include spoors and item spatters 2014-08-20 10:51:58 -05:00
Quietust ae80ca9ec9 Merge branch 'develop' of github.com:DFHack/dfhack into develop 2014-08-20 10:32:59 -05:00
Eric Wald 6f77372367 No longer overwrites stockpile links
The new lines added to the stockpile 'q' menu are usually drawn at the bottom, where the last few Give/Take links are written.  Now, they notice when they would overwrite one of those links, and move somewhere else.  The 'Done' line can now be overwritten by stockflow, but that hint isn't necessary for experienced players.
2014-08-19 14:19:13 -06:00
Quietust 5e434721ff Remove stray BOM 2014-08-19 13:47:05 -05:00
Quietust 4da333fca1 Fix Buildings module to work with ui.tax_collection.rooms change 2014-08-18 16:33:12 -05:00
Eric Wald c95ad05a7e Switching new stockpile menu keys from green to red. 2014-08-17 16:01:42 -06:00
Eric Wald 71098b6108 Moving the stocks stockpile hotkey to the bottom of the menu.
The hard-coded location is no longer appropriate for the new behavior of the linked stockpiles list.
2014-08-17 15:45:30 -06:00