Commit Graph

4616 Commits (dbe903b5b79d6ede07c859311b6542116102820c)
 

Author SHA1 Message Date
Anuradha Dissanayake dbe903b5b7 Re-enable melting in stocks plugin. 2014-05-13 22:15:37 +12:00
Anuradha Dissanayake fbd8727b6b Add docs for autochop 2014-05-05 23:10:12 +12:00
Anuradha Dissanayake f824e7f294 stocks plugin: added more filtering and display options. 2014-05-05 16:56:40 +12:00
Anuradha Dissanayake 1f93b8e144 getplants: add autochop function to automate woodcutting. 2014-05-04 23:43:52 +12:00
Anuradha Dissanayake e9c7d502e2 dwarfmonitor: add screen to summarise preferences of fortress dwarfs. 2014-05-04 22:45:48 +12:00
Anuradha Dissanayake 5a3065fa80 Use shifted keys for buildingplan so as not to interfere with QuickFort. 2014-05-04 22:23:10 +12:00
Anuradha Dissanayake cba143c447 Add workshop profile search. 2014-05-04 22:04:03 +12:00
Anuradha Dissanayake 7fd7d3d48c mousequery: several usability improvements.
mousequery: show live overlay (in menu area) of what's on the tile under the mouse cursor.
2014-05-04 21:55:58 +12:00
Anuradha Dissanayake de9140336f autotrade: adds "(Un)mark All" options to both panes of trade screen. 2014-05-03 22:56:34 +12:00
Anuradha Dissanayake 5e52bb60f0 Update uicommon.h with new common display functions 2014-05-03 21:19:46 +12:00
Anuradha Dissanayake a14f31fbfe Show box select dimensions in Automaterial 2014-05-03 11:44:35 +12:00
Alexander Gavrilov 1d1ede279f Update structures 2014-04-21 09:52:07 +04:00
Timothy Collett e4641c506f Replace a std::string method not implemented until C++11 with a C++0x-valid substitute 2014-04-21 09:34:42 +04:00
Alexander Gavrilov 74429f12d7 Pull the list of libraries to preload into a variable in linux/dfhack.
This is so that the workaround described here can be applied easily:

http://www.bay12games.com/dwarves/mantisbt/view.php?id=2688
2014-04-21 09:33:13 +04:00
Alexander Gavrilov 6bef167f83 Add a couple of useful scripts and fix two missing NULL checks.
- A script to unstick jobs trying to build walls from the same tile.
- A devel script for viewing the path a unit is currently following.
2014-04-21 09:24:05 +04:00
Alexander Gavrilov 4b8760815d Merge branch 'siege-reports' into develop 2014-04-21 09:05:12 +04:00
Alexander Gavrilov 63d256c1e9 Adjust siege engine targeting weights.
Stop shooting at leaving caravan guards for one.
2014-04-17 22:10:43 +04:00
Alexander Gavrilov c27c38e4c0 Remove tired or hungry siege operators from duty when at peace.
The threshold is set at the level when they start to blink - normally
they would continue on with the job until they get a thirsty/hungry
thought, but immediately run off to eat if they lose the job (thus
refusing to load the engine after firing it). The code checks for
active sieges and whether there is a free replacement unit.
2014-04-15 21:52:39 +04:00
Alexander Gavrilov fc9826389b Account for meandering movement when predicting unit path in siege engine.
The movement is random, but there is an average slowdown coefficient.
2014-04-15 19:50:23 +04:00
Alexander Gavrilov 55cea36c76 Use the new API to produce combat reports for aimed siege engine attacks.
This requires exposing the actual operator unit to lua code.
2014-04-15 19:50:23 +04:00
Alexander Gavrilov ee4e3a6168 Use the new official gamelog output function in soundsense-season. 2014-04-15 19:50:23 +04:00
Alexander Gavrilov 7844907204 Add new API functions for creating announcements and combat reports.
Allow specifying the announcement flags directly, and adding unit
combat reports. Also, make announcement functions write the message
to the game log.
2014-04-15 19:50:23 +04:00
Alexander Gavrilov b56c3a95a6 Fix some signed/unsigned mismatch warnings and whitespace in Job module. 2014-04-15 19:50:23 +04:00
Quietust 22dab5d807 Update XML, fix several scripts that were broken by field name changes 2014-04-14 12:30:34 -05:00
Alexander Gavrilov ddd56d8ea6 Update the structures. 2014-04-12 17:21:35 +04:00
Alexander Gavrilov 412ba8e98a Generate html files. 2014-04-12 17:21:10 +04:00
Alexander Gavrilov 508fcae758 Merge OSX build docs from git://github.com/lethosor/dfhack into develop 2014-04-12 17:03:21 +04:00
Alexander Gavrilov 65d361cad8 Merge a mod-manager fix from 'warmist/develop' into develop 2014-04-12 17:02:18 +04:00
warmist fccdbb010d Update mod-manager.lua
Fixes fileExists not working.
2014-04-08 09:07:49 +03:00
Alexander Gavrilov 7aecffe0cd Update structures and fix broken things. 2014-04-04 22:34:39 +04:00
Alexander Gavrilov 788bc55096 Fix a mistake in the lua resize() method of BitArray. 2014-04-04 22:33:05 +04:00
jj eac126c884 ruby: use placement-new instead of hack 2014-04-01 15:12:52 +02:00
Alexander Gavrilov a09e132107 Support using multiple lua init scripts per save.
This should make it easier to add and remove init script code by
automated means, or install multiple mods that need such code.
2014-03-31 16:00:55 +04:00
Alexander Gavrilov f26a943d26 Merge branch 'lua-5.2.3' into develop 2014-03-31 14:49:13 +04:00
Alexander Gavrilov 7ea8e25cd3 Rename the LUA_PATH/LUA_CPATH environment variables to avoid conflicts.
If a user has a standalone lua installation with these variables
configured, it should not confuse dfhack into looking for things
in wrong places.
2014-03-31 14:15:57 +04:00
Alexander Gavrilov a70fbf41d4 Reapply dfhack-specific lua build configuration. 2014-03-31 14:15:50 +04:00
Alexander Gavrilov 1132bea917 Update to Lua 5.2.3 2014-03-31 14:15:09 +04:00
Quietust 837da8ae98 Fix siege-engine to compile on Windows - don't have C++11, and pow() is picky about arg types 2014-03-25 13:30:45 -05:00
Quietust e620ae765c Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Quietust 2ca34b9353 Recompress images 2014-03-25 11:54:17 -05:00
Alexander Gavrilov a8716c157d Fix some rst syntax error messages and refresh html docs. 2014-03-25 11:36:47 +04:00
Warmist 69b279e553 readme fixes and image additions 2014-03-25 11:30:04 +04:00
jj 47ccecc7dc scripts/lever: allow commands without calling "list" first 2014-03-24 17:53:10 +01:00
Alexander Gavrilov 9c0fb61fd1 Fix the default submodule paths to point at the DFHack organization. 2014-03-24 20:28:35 +04:00
Alexander Gavrilov 36b069e981 Merge remote-tracking branch 'warmist/dev-cmdprompt' into develop 2014-03-24 20:10:58 +04:00
Alexander Gavrilov ec14b2d1e9 Merge remote-tracking branch 'warmist/dev-modmanager' into develop 2014-03-24 20:07:02 +04:00
Alexander Gavrilov a01939fce6 Sync structures. 2014-03-24 19:45:27 +04:00
Alexander Gavrilov dde0f194e8 Add a script that clones the currently selected military uniform.
To be precise, it applies to the entity uniform templates, not
uniforms for specific squad positions.
2014-03-24 19:39:34 +04:00
Alexander Gavrilov 827dd121d8 Make createitem default to the controlled unit in adventure mode. 2014-03-24 19:35:34 +04:00
Alexander Gavrilov 6e338d96e9 Merge branch 'siege-quality' into develop 2014-03-24 19:33:52 +04:00