Commit Graph

10722 Commits (10db894d99daf71d297f4e877b24ee77ffd37b5d)
 

Author SHA1 Message Date
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
Eric Wald 5fb87c2ea9 Now accepts the new enable/disable commands. 2014-04-18 21:58:45 -06: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
Eric Wald 2391d11097 Minimal Readme documentation for the undump-buildings command 2014-04-13 16:16:33 -06:00
Eric Wald 3288ab8895 Repairing the new menu option list in the Readme files. 2014-04-13 15:24:02 -06:00
Eric Wald 0a99bb0cae Now works when enabled is true by default. 2014-04-13 15:23:37 -06:00
Eric Wald b9ed7a5cc2 Stockflow plugin v1.0 2014-04-13 15:19:03 -06: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
Alexander Gavrilov 14afa61b8b Update NEWS. 2014-03-24 19:33:19 +04:00
Alexander Gavrilov 8963a49414 Forbid the items shot by siege engines if the forbid ammo order is set.
This only applies when targeting the engine, so you could still make
cheaty infinite ammo training units by using stock aiming mode.
2014-03-24 16:05:12 +04:00
Warmist 4cbab2b014 Small fix that got lost in rebase 2014-03-07 20:28:07 +02:00
Warmist 50963c73fa rendermax: added adv mode lights also more proc-expensive diffuse mode. 2014-03-07 20:08:48 +02:00
Warmist b5b01ea02b rendermax: mainly organizing
added comments, non-enabled code for adaptive eyes,
2014-03-07 20:08:11 +02:00
Warmist 372f861010 rendermax: fixed crashes (hopefully for real this time) 2014-03-07 20:08:10 +02:00
Warmist 72259c8eba Added creature lights and item lights. 2014-03-07 20:08:08 +02:00
Warmist 830d9900fb Fixed a bug that enabled rendermax even when it was supposed to be off. 2014-03-07 20:08:08 +02:00