Commit Graph

10435 Commits (fb8d6614c7598fe843461d587b9139e65fc5514d)
 

Author SHA1 Message Date
myk002 fb8d6614c7
expose core flood unhide logic to Lua
refactor is a straight copy-paste. this code could really stand some
cleanup (unused vars, unnecessary use of the MapCache layer, forced
allocation of all blocks even if they are not being unhidden, etc.), but
that can come in a later PR.
2021-06-02 14:49:19 -07:00
lethosor 32d0d4209b
Merge remote-tracking branch 'myk002/myk_resume' into develop 2021-05-28 00:54:59 -04:00
lethosor c0cdf5bcac
ci/test.lua: fix string splitting
string:split() isn't part of the standard library, but is defined if
`gui/load-screen.lua` is run. This happens in the default dfhack.init-example
and on GitHub Actions, but not on Buildmaster.

This is an intermediate solution to get CI working again. A more complete
solution would be to move string:split() to dfhack.lua, like
string:startswith(), or to take a pass over scripts and make sure they aren't
modifying built-in types like string/table.
2021-05-28 00:17:20 -04:00
DFHack-Urist via GitHub Actions 300bfe7daf Auto-update submodules
scripts: master
2021-05-27 07:53:17 +00:00
myk002 5e127ed1e8
invalidate resume cache when buildings are added 2021-05-26 22:29:55 -07:00
DFHack-Urist via GitHub Actions b651ea88d2 Auto-update submodules
scripts: master
2021-05-26 07:44:29 +00:00
lethosor 04d4f01845
Update scripts (dfhack/scripts#281) 2021-05-24 23:49:39 -04:00
lethosor 4f976a5909
Merge remote-tracking branch 'myk002/myk_blueprint' into develop 2021-05-24 23:48:21 -04:00
DFHack-Urist via GitHub Actions 50b1da9bc4 Auto-update submodules
scripts: master
2021-05-24 07:26:49 +00:00
DFHack-Urist via GitHub Actions dbe77d08a1 Auto-update submodules
scripts: master
2021-05-22 07:24:40 +00:00
myk002 1aaed3a6ed
error on invalid phase names 2021-05-21 06:34:28 -07:00
myk002 0409b7bca5
modify start, not options.start when getting coord 2021-05-21 06:34:28 -07:00
DFHack-Urist via GitHub Actions ed290e104a Auto-update submodules
library/xml: master
2021-05-21 07:24:42 +00:00
myk002 07e29bdc3a
use new getCursorCoord call and move suspender up 2021-05-15 12:05:32 -07:00
myk002 aff5c9bf35
add getCursorCoords overload for df::coord
and factor out active cursor detection
2021-05-15 12:05:00 -07:00
myk002 95d97b929e
remove unit tests for removed function 2021-05-15 05:59:37 -07:00
myk002 256ca13668
make short help text more generic 2021-05-14 23:07:44 -07:00
myk002 5a149f44e0
use setHotkeyCmd instead of dfhack.run_script 2021-05-14 23:02:04 -07:00
myk002 b0dba22e72
standardize formatting in docs 2021-05-14 22:51:42 -07:00
lethosor 41ff2c2e6c
Update scripts 2021-05-11 19:50:10 -04:00
lethosor aa1c9e37fd
Revert "Force maximum of Sphinx 3 for now"
This reverts commit 82ca4c35a5.
2021-05-11 19:49:13 -04:00
lethosor 001e608aa7
Fix invalid role name
Resolves #1851

See https://github.com/sphinx-doc/sphinx/pull/8345 for details
2021-05-11 19:46:01 -04:00
DFHack-Urist via GitHub Actions 308c456c8e Auto-update submodules
scripts: master
2021-05-11 07:19:59 +00:00
myk002 bee0c15ba0
yeah, this isn't lua
(though "and" instead of "&&" seems to work in gcc!)
2021-05-10 21:11:14 -07:00
myk002 816cd5cf27
add unit tests 2021-05-10 21:11:13 -07:00
myk002 cc489db084
add comment to parse_gui_commandline function 2021-05-10 21:11:13 -07:00
myk002 a949065a7e
fix typo in comment 2021-05-10 21:11:13 -07:00
myk002 09829551ee
fix formatting 2021-05-10 21:11:13 -07:00
myk002 7c7d96b5c1
output args being passed to gui/blueprint 2021-05-10 21:11:13 -07:00
myk002 aba40b6c44
update changelog 2021-05-10 21:11:13 -07:00
myk002 265f17a53f
update blueprint docs 2021-05-10 21:11:13 -07:00
myk002 a7a5a48c7a
first stage of blueprint overhaul
- make depth and name parameters optional
- allow depth to be negative to indicate top-down instead of the
  previous hard-coded bottom-up
- add --cursor for specifying start position (game cursor is not needed
  if this param is specified)
2021-05-10 21:11:10 -07:00
lethosor 84a1b39daa
Merge remote-tracking branch 'myk002/myk_negative_number_params' into develop 2021-05-10 23:07:53 -04:00
Myk 654b3e9c56
Merge branch 'develop' into myk_negative_number_params 2021-05-09 21:46:07 -07:00
lethosor eb0d264855
Merge remote-tracking branch 'myk002/myk_tiletypes_typo' into develop 2021-05-10 00:37:44 -04:00
lethosor 82ca4c35a5
Force maximum of Sphinx 3 for now
See #1851
2021-05-10 00:36:03 -04:00
lethosor c07ca1f324
Update changelog (#1826, #1824) 2021-05-10 00:27:21 -04:00
lethosor faef412c78
Merge remote-tracking branch 'lethosor/dwarfvet-cleanup' into develop 2021-05-10 00:27:06 -04:00
lethosor e7f0f1fb70
Merge remote-tracking branch 'myk002/myk_blueprint_cacheless' into develop 2021-05-10 00:21:14 -04:00
lethosor dc1cfb32b9
Adjust changelog 2021-05-10 00:15:41 -04:00
lethosor 57f26b6f21
Merge remote-tracking branch 'myk002/myk_buildingplan_enable_check' into develop 2021-05-10 00:11:36 -04:00
lethosor 853e12029e
Merge branch 'develop' of DFHack/dfhack into develop 2021-05-08 22:12:54 -04:00
lethosor 4968d97c22
test/structures/find: avoid overwriting other potential config values 2021-05-08 22:12:07 -04:00
lethosor 6ecfc07c41
Merge remote-tracking branch 'myk002/myk_fortress_mode' into develop 2021-05-08 22:10:59 -04:00
myk002 26b1489235
make isPlanModeEnabled() consider enable_all 2021-05-08 07:41:08 -07:00
DFHack-Urist via GitHub Actions 9254db5a4d Auto-update submodules
scripts: master
2021-05-08 07:21:08 +00:00
myk002 59b08e99f6
fix -- handling and required arg detection 2021-05-07 15:21:45 -07:00
myk002 fd735d4b42
treat negative numbers as non-options in getopt 2021-05-07 15:21:45 -07:00
myk002 dfe4ddee96
ignore dismissed screens when checking for fort 2021-05-07 15:19:34 -07:00
myk002 7060c297a8
disable fortress mode tests in CI for now
until we get a reuable fortress save set up
2021-05-07 15:19:10 -07:00