Commit Graph

12990 Commits (75c560d9e146e6eb5354a54909c4f1175c197521)
 

Author SHA1 Message Date
Josh Cooper 89eefd006f Implements plugin: channel-safely v1.2.2
minor changes only
The largest change is moving a df::map_block* declaration to an outer loop
2023-01-23 14:24:24 -08:00
Josh Cooper ae8291b952 Implements plugin: channel-safely v1.2.1
- Removes insta-dig feature (too many problems, rarely worked)
- Fixes a segmentation fault introduced in v1.2
- Improves manage_group readability/nesting
- Improves manage_one readability/nesting

Update docs/plugins/channel-safely.rst

Co-authored-by: Myk <myk002@yahoo.com>

Fixes some formatting consistency
2023-01-23 14:24:23 -08:00
Josh Cooper a4bf266770 Implements plugin: channel-safely v1.2
- Updates rst documentation
  - Adds feature: risk-averse
- Revises ChannelManager::manage_group
  - Now performs analysis of group designations
    - If any designation has fall space, designations are analyzed for accessibility (a weighted score of how many ways it can be accessed)
    - If a designation has no fall space, but cannot be accessed it will be "dig_now"'ed
    - accessibility scores are stored for the management phase
  - Management loop has been extended
    - iff no cave-in candidates exist, then perform simple management (as requested)
    - if candidates do exist, then we must check if our current position is one
      - if the current position is a cave-in candidate it must also be within range (+2) of the least access
        - if the candidate is in range or on the dignow queue, then we activate the designation and modify the dig priority according to distance from least_access
      - if not a candidate, or the other checks failed, then we set the designation to marker mode
2023-01-23 14:24:23 -08:00
Josh Cooper 540faff88f Implements plugin: channel-safely v1.1.2b
- Updates rst documentation
  - Adds troubleshooting section
  - Renames the monitor feature to monitoring
- Adds cave-in helper functions
  - ChannelJobs::has_cavein_conditions()
  - ChannelJobs::possible_cavein()
  - find_dwarf() ~ finds the nearest dwarf or the first one that has a path to a position
- Moves dignow/resurrect to inlines.h
- Improves management of regular dig designations
- Adds df::job* tracking back into ChannelJobs to simplify cancellations
- Updates/improves debug logging
  - Switches unordered structures with ordered in some locations to have ordered debugging information
- Simplifies ChannelManager::manage_group()
- Fixes up ChannelManager::manage_one()
  - the return value is now useful even if unused
2023-01-23 14:24:23 -08:00
Myk 1b02e66284
Merge pull request #2670 from eamondo2/automelt
Initial automelt implementation
2023-01-23 13:48:53 -08:00
Myk Taylor 5fad172adc
update scripts head 2023-01-23 13:47:30 -08:00
Myk Taylor 73dd0b4489
stronger wording for ZScreen guidance 2023-01-23 13:47:00 -08:00
Eamon Bode 8750707948
Update plugins/automelt.cpp
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-01-23 16:32:47 -05:00
eamondo2 c5ce1b1766 Fix build complaints 2023-01-23 16:20:37 -05:00
eamondo2 b256ff2bb2 Merge branch 'develop' into automelt 2023-01-23 16:14:55 -05:00
eamondo2 386546126e fix GH suggest, cache found building 2023-01-23 16:14:49 -05:00
DFHack-Urist via GitHub Actions bf2dcc0070 Auto-update submodules
scripts: master
2023-01-23 20:44:25 +00:00
eamondo2 94b04257a3 Merge branch 'develop' into automelt 2023-01-23 14:35:39 -05:00
Myk Taylor a45f992179
update scrips head 2023-01-23 11:22:44 -08:00
Eamon Bode fc861f1328
Merge branch 'develop' into automelt 2023-01-23 14:20:48 -05:00
Myk d0905a5e16
Merge pull request #2703 from myk002/myk_borders
Add new borders for various use cases
2023-01-23 11:20:28 -08:00
Myk 7eb3de8e1a
Merge pull request #2702 from myk002/myk_no_helpdb_autorefresh
move helpdb from autorefresh to explicit refresh
2023-01-23 11:20:14 -08:00
eamondo2 7536426929 trailing whitespace trim 2023-01-23 13:36:12 -05:00
eamondo2 63de2ac9ec Merge branch 'develop' into automelt 2023-01-23 13:35:38 -05:00
eamondo2 6592cadc09 Bugfixes, resolved CTD issue. 2023-01-23 13:35:26 -05:00
Myk Taylor 38e6e0a747
ensure orders overlay is on the correct panel
even when the total screen size is very small
2023-01-23 08:01:45 -08:00
Myk Taylor 7329f6dee2
use new frame names 2023-01-23 04:16:38 -08:00
Myk Taylor d7e0dcfcf8
use new frames for hotkey hotspot 2023-01-23 04:03:41 -08:00
Myk Taylor fcb156ed43
add compatibility frames 2023-01-23 04:03:31 -08:00
Myk Taylor 9aaa55cd7f
add textures and frames for various use cases 2023-01-23 03:58:51 -08:00
Myk Taylor d34238918e
move helpdb from autorefresh to explicit refresh
this greatly speeds up the launch time of `gui/launcher`
2023-01-23 02:30:51 -08:00
Myk Taylor f50cef93b1
update changelog 2023-01-23 02:16:56 -08:00
Myk Taylor a6b3de1afb
support scrolling to the beginning or end in Label 2023-01-23 02:16:07 -08:00
DFHack-Urist via GitHub Actions 8fbaf169a4 Auto-update submodules
scripts: master
2023-01-23 07:14:54 +00:00
eamondo2 44d8ce2bdc whitespace fix 2023-01-23 01:58:57 -05:00
eamondo2 78c6b3683e Changes as per GH suggestions. Doc updates. 2023-01-23 01:56:33 -05:00
eamondo2 8f7788ec20 Merge branch 'develop' into automelt 2023-01-22 20:32:43 -05:00
Myk 2e9a826d21
Merge pull request #2612 from kelvie/ccompile-script
Add cross-compile script
2023-01-22 17:16:33 -08:00
Myk f805f5b67e
Merge branch 'develop' into ccompile-script 2023-01-22 17:16:19 -08:00
Myk d82a795ef4
Merge pull request #2681 from 20k/develop
More civzone <-> building work, add removing zones with associated squads support
2023-01-22 17:14:24 -08:00
Myk 62709ef8d1
Merge pull request #2692 from myk002/myk_click_logo
Don't close the popup menu when clicking on the logo
2023-01-22 17:12:49 -08:00
Myk f2c2fffac5
Merge branch 'develop' into myk_click_logo 2023-01-22 17:10:27 -08:00
Myk ab10b84de4
Merge pull request #2693 from myk002/myk_revert_always_enabled
remove unused always_enabled attribute for overlays
2023-01-22 17:10:04 -08:00
Myk 7e51d3e5aa
Merge pull request #2694 from myk002/myk_orders_overlay
first attempt at a manager orders overlay
2023-01-22 17:09:42 -08:00
Myk Taylor 0c5514ff2d
update changelog 2023-01-22 15:39:12 -08:00
Myk Taylor b4c49f36e1
document orders overlay 2023-01-22 15:39:05 -08:00
20k 4559168005 update for multiple ownership 2023-01-22 22:59:25 +00:00
eamondo2 d6c4f15e33 Merge branch 'develop' into automelt 2023-01-22 17:26:55 -05:00
Kelvie Wong fb1ce3fed7 Add changelog. 2023-01-22 11:45:13 -08:00
Kelvie Wong ce12e2d906 Also build docs.
The in-game docs aren't built otherwise, so you won't get help for the
various commands if this isn't set.
2023-01-22 11:45:13 -08:00
Kelvie Wong 839636a563 Change $HOME to ~
As $HOME shows /root under sudo
2023-01-22 11:45:13 -08:00
Kelvie Wong 5a20f775bf Set UIDs properly on run; fix sudo use
This depends on a new entrypoint put inside the docker image, that will
read BUILDER_UID and fix up the users and files.

This also removes "sudo" and allows the entire script to be run with
sudo without messing with the build file permissions.
2023-01-22 11:45:13 -08:00
Kelvie Wong aaaf2d9f22 Add cross-compile script
That will simply generate the win64 artifacts for those of us that run
DF under Proton on Steam for Linux.
2023-01-22 11:45:13 -08:00
Myk Taylor 740abba621
update comments in quickfort config file 2023-01-22 08:40:16 -08:00
20k b15fcc93d2 remove assignments on zone destroy 2023-01-22 15:26:55 +00:00