Commit Graph

2711 Commits (ee61835f1f5343bdc9c2f8ebc05ee04a3b469843)

Author SHA1 Message Date
Myk Taylor 8da7e216a4
buildingplan - suspendmanager integration 2023-03-27 02:24:56 -07:00
Kelly Kinkade f3862e3eec tailor: gatekeep debugging code 2023-03-27 00:44:20 -05:00
Kelly Kinkade 4a173aac99 tailor: fix #3093, #3103
I significantly restructured the assignment algorithm to eliminate the overproduction issues in #3093

#3103 is addressed by excluding units that don't have the caste-level EQUIPS flag

closes #3093
closes #3103
2023-03-27 00:07:40 -05:00
Myk Taylor 0ba4225d85
support showing a different tile on hover for Labels 2023-03-25 15:19:24 -07:00
Myk 4108c57c0d
Merge pull request #3091 from ab9rf/getplants
reenable getplants
2023-03-25 13:11:04 -07:00
Myk Taylor 6a3e61519a
remove reference to Tachy Guns 2023-03-25 12:56:54 -07:00
Myk Taylor 7cb9d3fe8c
formatting 2023-03-25 12:56:54 -07:00
Myk Taylor e4579a4aa1
update modding guide 2023-03-25 12:56:54 -07:00
Myk Taylor de576b5586
start updating modding guide 2023-03-25 12:56:54 -07:00
Myk Taylor 57d6cab10f
wording 2023-03-25 12:56:54 -07:00
Myk Taylor c3946247d6
update docs for Core 2023-03-25 12:56:54 -07:00
Myk Taylor 76bacee238
dynamically add mod scripts to the script path 2023-03-25 12:56:48 -07:00
Myk 8b7223d1e2
Merge pull request #3086 from myk002/myk_buildingplan_no_filter_items
[buildingplan] allow player to choose any item when choosing items manually
2023-03-25 12:55:37 -07:00
Myk 9a5a259fa9
Merge pull request #3088 from myk002/myk_buildingplan_normalize_stairs
[buildingplan] normalize stairs so they all use the same filter
2023-03-25 12:55:29 -07:00
Myk Taylor 2627820bfa
untested -> unavailable 2023-03-25 12:35:01 -07:00
Kelly Kinkade df286ab71e reenable getplants 2023-03-25 10:18:06 -05:00
Myk Taylor 2bc92042a5
allow enable to interpret aliases 2023-03-24 23:25:24 -07:00
Myk Taylor d67d57af3d
tombstone autounsuspend and add alias 2023-03-24 23:25:14 -07:00
Myk Taylor a8822bdefa
take carved stairs into account when auto building stairs 2023-03-24 15:43:02 -07:00
Myk Taylor 58eaf33b08
normalize stairs so they all use the same filter 2023-03-24 15:26:17 -07:00
Myk Taylor fe0590503f
mark tiles with magma or deep water as "not free" 2023-03-24 15:05:17 -07:00
Myk Taylor c8f590cbac
allow player to choose any item when choosing items manually
that is, ignore the global and building-specific filters
2023-03-24 14:36:06 -07:00
Myk Taylor 99d050d0a8
respect building size limits 2023-03-24 14:06:39 -07:00
Myk da2ef0365d
Merge branch 'develop' into myk_the_case_of_the_missing_mask 2023-03-23 15:48:53 -07:00
Kelly Kinkade 95f6e6e5be tailor: fix material overrun issue
properly track materials required for already-queued jobs

fixes #3056
2023-03-23 16:23:06 -05:00
Myk Taylor 873e94ea5d
actually record the deserialized material mask val 2023-03-23 10:48:33 -07:00
Myk 4d540ba8ab
Merge pull request #3078 from myk002/myk_orders
add minimize button to orders overlay panel
2023-03-23 03:24:30 -07:00
Myk Taylor 05f407e10b
update changelog 2023-03-23 02:40:38 -07:00
Myk Taylor 9154a52d0a
remove spaces and dashes from allowed filename chars
since this will likely make it more difficult to represent stockpile
filenames in quickfort's stockpile configuration language
2023-03-23 02:26:37 -07:00
Myk Taylor 22872f61c4
fix indent 2023-03-23 02:26:37 -07:00
Myk Taylor b95d923b32
finalize docs, clear flags 2023-03-23 02:26:37 -07:00
Myk Taylor b5d4f04d2f
differentiate fish 2023-03-23 02:26:37 -07:00
Myk Taylor 876425fbc8
allow multiple filters 2023-03-23 02:26:37 -07:00
Myk Taylor 114e5d8fa0
in-progress docs 2023-03-23 02:26:37 -07:00
Myk Taylor 5a317820f9
new logic for deserialization 2023-03-23 02:26:37 -07:00
Myk Taylor 3f0a93a9b1
document my aspirations 2023-03-23 02:26:37 -07:00
Myk Taylor e21c55d6ff
update stockpiles command and use new data paths 2023-03-23 02:26:37 -07:00
Myk Taylor 90aed848bb
add minimize button to orders overlay panel 2023-03-23 02:26:00 -07:00
Myk 5bfd2ee47d
Merge pull request #3076 from myk002/myk_automelt
allow metal chests to be melted
2023-03-23 02:24:21 -07:00
Myk Taylor 0b72b42b7e
allow metal chests to be melted 2023-03-23 00:59:05 -07:00
Myk Taylor 03e44f1e7f
fix initial extended/retracted position for upright spike traps 2023-03-23 00:25:29 -07:00
Kelly Kinkade 959b4b3171 update tailor
`tailor` now properly discriminates between dyed and undyed cloth and no longer defaults to using adamantine
2023-03-22 18:29:47 -05:00
Kelly Kinkade 42e21bf946 reenable prospector in fort mode
fort mode prospect works. embark mode prospect doesn't crash but generates nonsense data, so that code has been disabled for now
2023-03-20 11:00:25 -05:00
Myk d2f97747de
Update Removed.rst 2023-03-19 20:22:05 -07:00
Myk bdd4163d98
Update Removed.rst 2023-03-19 20:21:06 -07:00
John Cosker fa67b7c38f fix underscore 2023-03-19 22:58:38 -04:00
John Cosker c9493dba7e Added entry to Removed.rst 2023-03-19 21:50:28 -04:00
Myk b03a35ba8d
Merge pull request #3040 from myk002/myk_revflood
[reveal] anchor revflood at a unit's position
2023-03-19 14:37:29 -07:00
Myk Taylor 490ffe19ba
fix typos in buildingplan docs 2023-03-18 00:48:55 -07:00
Myk Taylor 3e0b37e922
fix typo in strangemod docs 2023-03-17 23:41:02 -07:00
Myk Taylor 4a3363da9c
anchor revflood at a unit's position
makes it more user friendly and reduces chance of mishap by placing the
cursor in an unforgiving location (like in a closed cavity)
2023-03-17 17:43:58 -07:00
Myk Taylor 2bceff76e0
changelog fix 2023-03-17 10:14:11 -07:00
Myk Taylor 779b9bfb6a
bump to 50.07-beta1 2023-03-17 10:08:16 -07:00
Myk Taylor 79dd5a313f
rename Build button to Confirm and update docs 2023-03-17 09:58:20 -07:00
Myk Taylor 52dec0114f
properly count required bars/cloth and don't output confusing total quantities 2023-03-16 23:45:22 -07:00
Myk Taylor e95b6805d0
comment out heat safety feature 2023-03-16 19:55:12 -07:00
Myk Taylor b0f9ad6449
add buildingplan reset for resetting all filters 2023-03-15 14:02:59 -07:00
Myk Taylor 0e1909bad1
update changelog 2023-03-15 01:42:06 -07:00
Myk Taylor 208a3e4ae8
add minimize/restore button 2023-03-15 01:19:34 -07:00
Myk Taylor 4be5ca4e81
filter by whether a slab is engraved
this actually adds an entirely new "specials" filter system that can be
extended later for other types
2023-03-15 00:29:27 -07:00
Myk 7edc686753
Merge pull request #3020 from myk002/myk_save_choice
[buildingplan] remember "choose items" choice per building type
2023-03-15 00:27:20 -07:00
Myk Taylor a578614cdd
update docs 2023-03-14 22:28:27 -07:00
Myk Taylor 4d8580d9e7
remember "choose items" choice per building type 2023-03-14 21:55:43 -07:00
Myk Taylor 039171e01d
support multiple upright spikes in a spike trap 2023-03-14 21:36:41 -07:00
Myk Taylor 543f9ade0d
account for reverse ordering in job_items vector 2023-03-13 13:35:12 -07:00
Myk 63a7811ba5
Merge branch 'develop' into myk_buildingplan_clay 2023-03-12 15:59:48 -07:00
Myk Taylor f549b7178d
update changelog 2023-03-12 15:44:15 -07:00
Myk Taylor c7a058c308
fix library paths in docs 2023-03-12 15:43:32 -07:00
Myk Taylor c48c9c77c0
use new data directories for blueprints 2023-03-12 15:43:32 -07:00
Myk Taylor 3798a7cb5e
allow clay to be chosen as a filter material 2023-03-12 15:13:57 -07:00
Myk Taylor 097c333f91
move misplaced changelog entries from alpha2 to alpha3 2023-03-11 14:18:30 -08:00
Myk Taylor a5de0fef3e
bump to 50.07-alpha3 2023-03-11 13:56:55 -08:00
Myk Taylor 0f31b9897d
slight editing for the quickstart guide 2023-03-10 16:22:02 -08:00
Myk 3ba9459883
Merge pull request #2976 from myk002/myk_automaterial
turn down automaterial (superseded by buildingplan)
2023-03-06 15:48:45 -08:00
Myk 8cb3c0cf66
Update changelog.txt 2023-03-06 12:38:14 -08:00
Myk 0459831c6a
Revert "revert recent changes to dig-now due to lockups" 2023-03-06 12:33:02 -08:00
20k 084d28b0ae Reworked heap debugging + tools implementation 2023-03-06 17:04:10 +00:00
Myk Taylor 161f84e7b7
turn down automaterial (superseded by buildingplan) 2023-03-06 01:27:27 -08:00
Myk e4596e6d2e
Merge pull request #2975 from myk002/myk_stockpiles
[stockpiles] get savestock and loadstock minimally functional
2023-03-06 00:24:30 -08:00
Myk Taylor 2220c5c07e
editing pass 2023-03-06 00:20:02 -08:00
Myk Taylor bb0d4c410d
update docs 2023-03-06 00:00:25 -08:00
Myk Taylor 23d5607835
update docs 2023-03-05 16:21:28 -08:00
Myk Taylor a5d22705e8
add label_below attribute 2023-02-27 04:13:05 -08:00
Myk 663b014eae
Merge pull request #2682 from 20k/squadwork
makeSquad, updateRoomAssignments
2023-02-26 21:40:33 -08:00
Myk 6433f87dd4
Merge pull request #2961 from myk002/myk_case_insensitive
make FilteredList searching case insensitive by default
2023-02-26 21:39:14 -08:00
Myk d2da06acc6
Update docs/changelog.txt 2023-02-26 21:37:02 -08:00
20k c38a288eee use insert_into_vector, tweak docs again 2023-02-27 02:15:26 +00:00
20k 3c1d3ce21c rework docs, comments, clean up unnecessary init 2023-02-27 01:45:10 +00:00
Myk Taylor 63d752b3f8
update docs 2023-02-26 10:53:30 -08:00
20k 837f32fdee more changelog fixes 2023-02-26 18:09:10 +00:00
20k 19616f7e32 fix changelog issues
# Conflicts:
#	docs/changelog.txt
2023-02-26 18:08:23 +00:00
20k 2bd48f1f90 address some review comments 2023-02-26 18:05:35 +00:00
20k d84b118767 docs, rework, rename 2023-02-26 18:05:35 +00:00
20k 3912c6290f Military module start 2023-02-26 18:05:34 +00:00
20k ce3ee386fd makeSquad, updateRoomAssignments 2023-02-26 18:05:34 +00:00
Myk Taylor c490be0271
mark as tested to facilitate testing the commandline 2023-02-26 09:49:07 -08:00
Myk Taylor b443f81ecd
print out more status info for buildingplan 2023-02-26 09:49:07 -08:00
Myk Taylor 656a26504a
make FilteredList searching case insensitive by default 2023-02-26 09:47:15 -08:00
Myk Taylor a536396bd8
update changelog 2023-02-26 09:44:08 -08:00
Myk Taylor 2b59d6ee3d
make dfhack.job.attachJobItem available to Lua 2023-02-26 09:40:02 -08:00
Myk 3cddea9b61
Merge branch 'develop' into myk_clear_tile 2023-02-26 09:25:05 -08:00
Myk fced215ac2
Merge branch 'develop' into myk_no_disabled_click 2023-02-26 09:24:32 -08:00
Myk 0270766a6d
Merge branch 'develop' into myk_dynamic_tile 2023-02-26 09:24:04 -08:00
Myk e81a45a742
Merge pull request #2952 from myk002/myk_keep_focus
[Gui] don't prefix focus strings that are already properly marked
2023-02-26 09:23:42 -08:00
Myk bf64f1d985
Merge pull request #2948 from myk002/myk_interior_frame
Add standard interior frame to gui.lua
2023-02-26 09:23:09 -08:00
Myk Taylor 49331384df
update changelog 2023-02-24 17:24:20 -08:00
Myk Taylor ab4af88c92
update changelog 2023-02-24 17:21:38 -08:00
Myk Taylor 1cacc526e3
allow token.tile to be a function 2023-02-24 17:16:30 -08:00
Myk Taylor 2e53c5bc6d
update changelog 2023-02-24 17:14:27 -08:00
Myk Taylor dafafefe11
update changelog 2023-02-24 17:11:59 -08:00
Myk Taylor 0febce5e8f
add docs 2023-02-24 17:09:11 -08:00
Myk Taylor 472cab846f
move changelog entry to next version 2023-02-24 16:58:17 -08:00
Myk Taylor 30ea58374c
better detection of fire and magma safety 2023-02-24 16:57:44 -08:00
Myk ddd0c7b644
Merge branch 'develop' into channel-safely 2023-02-24 15:54:12 -08:00
Josh Cooper 4813a15b35 Updates changelog 2023-02-24 15:51:23 -08:00
Myk Taylor b8fdc985ec
bump version and changelog to 50.07-alpha2 2023-02-24 15:41:54 -08:00
Myk Taylor 934422264e
remove entries for reverted code from changelog 2023-02-24 12:44:26 -08:00
Myk 2659bf2ed4
Merge pull request #2943 from myk002/myk_autobutcher_deannouncement
[autobutcher] log to console instead of announcements
2023-02-24 10:30:48 -08:00
Myk Taylor be54440177
fix up changelog 2023-02-23 22:33:46 -08:00
Myk Taylor 6dbc22350f
log to console instead of announcements 2023-02-23 22:24:32 -08:00
Myk Taylor 29e0698177
re-mark channel-safely as untested 2023-02-23 21:14:37 -08:00
Myk Taylor b976097ccf
sync spreadsheet to tags 2023-02-23 21:01:58 -08:00
Myk 3fa9babb48
Merge pull request #2911 from kelvie/label-hover
Usability: Show mouse hover on all clickable Labels/Lists
2023-02-22 20:39:02 -08:00
Kelvie Wong 3c24e67a9a Address additional PR comments
on_activate is likely to happen first so we shouldn't need to check the
other.
2023-02-22 17:22:04 -08:00
Myk b516c8753e
Merge branch 'develop' into dig-now 2023-02-21 18:59:30 -08:00
Josh Cooper d18911ca5a
Update changelog.txt 2023-02-21 00:01:15 -08:00
silverflyone 5deac65be1
Merge branch 'DFHack:develop' into develop 2023-02-19 13:39:41 +11:00
silverflyone ab74cf0af3 tombstone combine-drinks and combine-plants 2023-02-19 13:31:33 +11:00
Kelvie Wong d18700c964 Update List docs as well. 2023-02-18 16:15:16 -08:00
Kelvie Wong 697f15224c Address PR comments, and remove BG fill
BG fill eats up a lot of cycles anyway, and there's not a real tangible
benefit in all cases, as it relies on the text label being sized
appropriately (width-wise) to the container, or would otherwise require
padding.
2023-02-18 16:07:40 -08:00
Rob Goodberry 016f4dfae3
Update docs/changelog.txt
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-17 19:15:01 -05:00
Robob27 5244fce469 Fix confirm performance 2023-02-17 18:41:20 -05:00
Kelly Kinkade 6a0ac8b142 update changelog 2023-02-17 13:08:02 -06:00
Kelly Kinkade 7e584df040 misc tailor updates related to adamantine cloth 2023-02-17 12:10:23 -06:00
Kelly Kinkade f437a83dba add changelog 2023-02-16 15:38:18 -06:00
Myk 070e10a75a
Merge pull request #2875 from robob27/tabs-as-widgets
Add Tab/TabBar to widgets
2023-02-16 00:53:13 -08:00
Robob27 bc47a0b2e4 More prescriptive docs attempt 2023-02-16 03:14:05 -05:00
Myk c077343a23
Merge pull request #2904 from robob27/confirm-persist
Persist confirm config
2023-02-16 00:09:32 -08:00
Robob27 5154eb181a Add Tab/TabBar to widgets 2023-02-16 02:51:09 -05:00
silverflyone 648af1c81c Buildings::StockpileIterator operator change added to FIxes. 2023-02-16 15:03:09 +11:00
silverflyone 80972466a4 Revert "Buildings::StockpileIterator operator change added to FIxes."
This reverts commit 8f190247e9.
2023-02-16 15:01:11 +11:00
silverflyone 8f190247e9 Buildings::StockpileIterator operator change added to FIxes. 2023-02-16 14:55:00 +11:00
Robob27 8e577e7469 Persist confirm config 2023-02-15 16:01:17 -05:00
Myk Taylor bc76fd02e2
prevent mouse clicks from bleeding through when a window is dismissed 2023-02-13 17:35:02 -08:00
Kelvie Wong f8d94afb7d Add getSelectedCivZone to dfhack.gui
Mostly helpful for my own automation in my custom lua scripts.

Tested it with barracks, meeting areas, and pastures.
2023-02-13 15:22:33 -08:00
Myk 14e303d2c3
Merge branch 'develop' into myk_zscreen 2023-02-13 13:14:00 -08:00
Myk 9c58b22913
Merge pull request #2894 from myk002/myk_autochop
generate names for nameless burrows; check for nil
2023-02-13 13:13:34 -08:00
Myk fbabe5cdb0
Merge pull request #2898 from myk002/myk_showmood
[showmood] show more understandable units for bars and cloths
2023-02-13 13:13:24 -08:00
Myk Taylor 853859e119
refine ZScreen behavior around pausing, update docs 2023-02-13 09:09:39 -08:00
Myk Taylor 2b3dcee4b0
get strangemood compiling and running 2023-02-13 01:18:45 -08:00
Myk Taylor 68d314c9c0
show more understandable units for bars and cloths 2023-02-13 01:17:57 -08:00
Myk 8dd938c5a6
Merge pull request #2891 from robob27/filteredlist-on-change
Add edit_on_change to FilteredList
2023-02-12 18:41:41 -08:00
Myk Taylor 766738e102
generate names for nameless burrows; check for nil 2023-02-12 15:21:10 -08:00
Rob Goodberry 8d63757eea
Update docs/changelog.txt
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-12 18:01:35 -05:00
Myk 4bc6e1bec0
Merge branch 'develop' into myk_seedwatch 2023-02-12 14:48:40 -08:00
Robob27 7651f6a91e Add edit_on_change to FilteredList 2023-02-12 17:44:19 -05:00
Myk 1b8565544e
Update docs/changelog.txt 2023-02-12 14:28:37 -08:00
Batt Mush 5c457fc96f [issue-2888] autodump now conditionally removes an item's dump flag and
sets forbid flag IFF the item is successfully dumped. Otherwise, the
item's original flags are kept intact. This avoids impacting any tasks
associated with the item.
2023-02-12 15:49:40 -06:00
Myk Taylor 0c989634ab
properly store the id of seed targets in persisted state 2023-02-12 03:19:31 -08:00
Myk 50e9ad93f3
Merge pull request #2869 from robob27/moar-units-checks
Add isGeldable, isMarkedForGelding and isPet
2023-02-12 01:27:37 -08:00
Janeene Beeforth 4b5836b996 Fix for #2871
* Add check for unit->name.nickname field is not an empty string
* Refactor repeated checks for inappropriate and protected units
2023-02-12 16:43:33 +11:00
Robob27 65f38ec75c Add isGeldable, isMarkedForGelding, isPet 2023-02-11 05:44:45 -05:00
Myk Taylor 3756d59919
copy edit overlay dev guide and update examples 2023-02-11 01:20:35 -08:00
lethosor de1a4fb5be
Update changelog 2023-02-10 23:30:35 -05:00
lethosor 9434cd3d64
Fix and detect duplicates in Authors.rst 2023-02-10 15:58:18 -05:00
lethosor ecce87ed50
Update authors (changes since 50.05-alpha0) 2023-02-10 15:29:51 -05:00
Myk Taylor ad78427130
mark autolabor as tested and update scripts 2023-02-10 11:35:34 -08:00
Myk Taylor 5100a7ea40
bump to 50.07-alpha1 2023-02-10 10:26:37 -08:00
lethosor dd925f7838
Un-dev-ify two changes that appear to be new to end-users since 0.47.05-r8 2023-02-10 13:02:14 -05:00
lethosor 588df3eec8
Update stonesense, changelog for dfhack/stonesense#97 2023-02-10 12:57:08 -05:00
Myk Taylor ee10aa9172
sync tags from spreadsheet 2023-02-10 09:51:50 -08:00
Myk Taylor 823e7e37d8
dev-ify changelog 2023-02-10 09:41:20 -08:00
Myk c8b5f66429
Merge branch 'develop' into detect-manual-save 2023-02-10 08:23:02 -08:00
Myk Taylor 13f96b9ac8
increase frequency of nestbox scanning 2023-02-10 08:20:11 -08:00
Robob27 533ccee099 Detect manual save 2023-02-10 02:55:36 -05:00
Myk dad05a9a9a
Merge branch 'develop' into myk_nestboxes_job 2023-02-08 23:21:52 -08:00
lethosor 1fd807fc4d
Mark as dev-only changes: #2848, #2842, #2816, #2792 2023-02-08 22:16:16 -05:00
Myk Taylor a41afb88fc
remove in-progress jobs when protecting fert eggs 2023-02-08 16:37:46 -08:00
Myk 90767b83d2
Merge pull request #2852 from myk002/myk_misery
update misery
2023-02-08 14:22:33 -08:00
Myk Taylor 5c84d18001
update tailor, persist state, use best practices 2023-02-08 14:06:19 -08:00
Myk Taylor 6a04b577b0
update changelog 2023-02-08 14:03:22 -08:00
Myk Taylor 9f76d64e42
update misery; persist state 2023-02-08 14:02:44 -08:00
eamondo2 5a5fcbd134 Add changes to changelog.txt 2023-02-08 15:52:58 -05:00
Myk d74f00f7c2
Merge pull request #2847 from robob27/hotkeylabel-enhancements
Add setLabel/setOnActivate to HotkeyLabel
2023-02-08 12:38:35 -08:00
Myk 44428bc06c
Merge pull request #2844 from cppcooper/channel-safely
Implements plugin: channel-safely v1.2.3
2023-02-08 12:37:41 -08:00
Myk 1787d2435c
Merge branch 'develop' into hotkeylabel-enhancements 2023-02-08 12:37:16 -08:00
Josh Cooper caeb6d2f84 Updates changelog 2023-02-08 12:09:32 -08:00
Myk cfc5226aaf
Merge branch 'develop' into myk_logo 2023-02-08 11:21:37 -08:00
Myk ccf57fd961
Merge pull request #2845 from dawnmist/orders/remove-silver-crossbow-from-military
Remove silver crossbow work-order from library/military
2023-02-08 11:19:47 -08:00
Robob27 b950b56926 Add methods to HotkeyLabel 2023-02-08 13:00:13 -05:00
Robob27 22b31bd7f1 Update changelog 2023-02-08 12:40:37 -05:00
Janeene Beeforth 1f38b294cb Add note in changelog about silver crossbows 2023-02-08 21:24:24 +11:00
Robob27 13440d18a8 Add case_sensitive to FilteredList docs 2023-02-08 03:39:43 -05:00
Myk Taylor 8ee05af6ef
update logo to crisper version provided by TaxiService 2023-02-07 22:55:19 -08:00
Myk c0358d642d
Merge pull request #2833 from myk002/myk_list_recenter
ensure scrollable lists are centered in the visible viewport
2023-02-06 12:57:43 -08:00
Myk Taylor 0b9b258224
ensure scrollable lists are centered in the visible viewport 2023-02-06 12:54:05 -08:00
John Cosker f91555d5e3 Add brackets to indicate optional param 2023-02-06 15:44:50 -05:00
John Cosker 0ed4a1c540 Add documentation to cycle() for new parameter 2023-02-06 15:44:04 -05:00
John Cosker 0769afc961
Merge branch 'develop' into cycle-hotkey-rev 2023-02-06 15:04:57 -05:00
Myk 190b5003c8
Merge branch 'develop' into myk_logo_hide 2023-02-06 09:17:48 -08:00
Myk 041909dfa7
Merge pull request #2822 from myk002/myk_rclick
prevent rclick from bleeding through (again)
2023-02-06 09:17:28 -08:00
Myk 448598e391
Merge pull request #2823 from myk002/myk_hotkey_guards
implement some Gui module hotkey guards
2023-02-06 09:17:18 -08:00
Myk 149d7f7795
Merge branch 'develop' into myk_keybindings 2023-02-06 09:17:02 -08:00
Myk 0fc7341ce7
Merge pull request #2825 from myk002/myk_focus_strings
support focus paths for overlay widgets
2023-02-06 09:16:37 -08:00
John Cosker 4e366790c0 Changelog/documentation for key_back 2023-02-06 09:29:31 -05:00
John Cosker 36b76d709c Update documentation for CycleHotkeyLabel 2023-02-06 08:59:55 -05:00
Myk Taylor e285ee31a4
tweak defaults, load initial races immediately 2023-02-06 03:28:19 -08:00
Myk Taylor bf91ffb1fe
support focus paths for overlay widgets
and migrate existing widgets to use them
2023-02-06 02:37:32 -08:00
Myk Taylor 5747e9f3f0
set up some keybindings that are ready to go
and reinstate autodump-destroy-item
2023-02-06 01:23:52 -08:00
Myk Taylor 9e318842a4
implement some Gui module hotkey guards
and clean up focus string matching logic
2023-02-06 00:58:57 -08:00
Myk Taylor 2ddd23e45d
prevent rclick from bleeding through (again) 2023-02-06 00:57:33 -08:00
Myk Taylor 09e7c14210
hide DFHack logo when it's in the way 2023-02-05 18:27:31 -08:00
Myk Taylor 526d7c1726
allow focus string generation to fall through unfocuses ZScreens 2023-02-05 18:01:46 -08:00
Rob Goodberry a3c03a83ad
Update docs/plugins/confirm.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-05 19:07:35 -05:00
Robob27 23fa38a993 Update confirm docs 2023-02-05 19:04:21 -05:00
Robob27 f7df51587c More focus strings, correct docs 2023-02-05 19:04:21 -05:00
Robob27 e049bfee89 Fixup docs 2023-02-05 19:04:21 -05:00
Robob27 a770a4cae4 WIP 2023-02-05 19:04:21 -05:00
Ryan Williams 8253505e4f
Update changelog.txt 2023-02-05 12:07:54 -08:00
Ryan Williams 35c87dfe11
Update changelog.txt 2023-02-05 12:05:22 -08:00
Myk Taylor 2daf1ceca5
make automelt resistent to morphed building ids
i.e. that no longer refer to valid stockiples, which can happen if the
persisted data is from another game
2023-02-04 12:56:19 -08:00
Myk Taylor 71deeb7a48
bump version to 50.05-alpha3.1 2023-02-03 15:48:09 -08:00
Myk Taylor ce16aef29f
update changelog 2023-02-03 15:27:44 -08:00
Myk Taylor 4a21b0843f
bump to 50.05-alpha3 2023-02-03 14:28:17 -08:00
Myk Taylor 5a4ab977a5
update changelog 2023-02-03 12:53:59 -08:00
Myk Taylor 2316615763
react to double clicks on list items 2023-02-03 00:09:10 -08:00
Myk Taylor 76712a533c
move control panel hotkey again to Ctrl-Shift-E
Ctrl-Shift-S is too close to the macro save hotkey (Ctrl-S) and can
trigger it sometimes if you're not super careful
2023-02-03 00:02:20 -08:00
Myk Taylor bfc27605cc
use Ctrl-Shift-S instead of tilde for gui/control-panel
since ~ conflicts with the :lua shortcut
2023-02-02 21:03:23 -08:00
Myk Taylor aa2339d2aa
add cxxrandom back to the build
and mark channel-safely as tested
2023-02-02 19:42:19 -08:00
Myk 2a8578c4a7
Update docs/plugins/autolabor.rst 2023-02-02 17:15:07 -08:00
Kelly Kinkade 9579f11f35 autolabor: improve docs 2023-02-02 17:09:57 -06:00
Kelly Kinkade c6d63a54c5 update autolabor documentation 2023-02-02 16:18:28 -06:00
Rose 9c8903dfbf
Update docs/plugins/autoclothing.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-02 13:32:44 -08:00
Rose 840f728c66 Merge remote-tracking branch 'DFHack/develop' into Autoclothing
# Conflicts:
#	docs/changelog.txt
2023-02-02 13:14:50 -08:00
Rose 7d304dbaf8 Update autoclothing docs. 2023-02-02 13:08:23 -08:00
Rose ea22a23ab7 Clean up autoclothing for release. 2023-02-02 13:06:14 -08:00
Myk Taylor 7d05a68c60
clean up changelog, update refs 2023-02-02 12:53:20 -08:00
Myk a3f32e66ad
Merge pull request #2775 from myk002/myk_non_defocusable
add defocusable attribute to ZScreen
2023-02-01 17:53:21 -08:00
Myk 1debea59a8
Merge branch 'develop' into myk_non_defocusable 2023-02-01 17:51:04 -08:00
Myk 7fbd95896d
Merge branch 'develop' into myk_pause_forced 2023-02-01 17:50:45 -08:00
Myk 21f93173c3
Merge pull request #2778 from myk002/myk_halfsies
support offset text in graphics mode for pens
2023-02-01 17:50:24 -08:00
Myk c312a88bea
Merge pull request #2773 from myk002/myk_nestboxes
[nestboxes] update and simplify; persist state
2023-02-01 17:50:07 -08:00
Myk 7468170751
Merge pull request #2771 from myk002/myk_seedwatch
update seedwatch
2023-02-01 17:49:57 -08:00
Myk d594bc2c96
Merge pull request #2767 from myk002/myk_unbreak_tile
allow tile in Label tokens to be either pen or id
2023-02-01 17:49:39 -08:00
Myk Taylor 58be8cfd69
support offset text in graphics mode for pens 2023-02-01 17:39:32 -08:00
Myk Taylor 6ae771ecb4
display PAUSE FORCED instead of a pause icon
if the window is forcing the game to pause. the icon looked too
clickable
2023-02-01 14:01:29 -08:00
Myk Taylor 88860f21ec
add defocusable attribute to ZScreen 2023-02-01 08:46:32 -08:00
Myk Taylor fd4b0d7233
update and simplify nestboxes; persist state 2023-02-01 04:58:23 -08:00
Myk Taylor b02405ea97
update changelog 2023-02-01 04:30:45 -08:00
Myk Taylor be40d55e64
update seedwatch 2023-02-01 04:03:28 -08:00
Myk Taylor 0ff7ad0cc4
update tailor docs 2023-01-31 23:55:54 -08:00
Myk Taylor e442e23589
allow tile in Label tokens to be either pen or id 2023-01-31 23:54:27 -08:00
Myk Taylor 69860ce419
update changelog 2023-01-30 14:23:47 -08:00
Myk Taylor 3805925c02
update quickstart guide with control panel info 2023-01-30 14:23:47 -08:00
lethosor 282da701bb
changelog: add #2689, fix a few typos, add a link 2023-01-29 23:58:01 -05:00
Myk 18da23af09
Merge pull request #2755 from ab9rf/autohauler
remove autohauler
2023-01-29 20:04:14 -08:00
Kelly Kinkade 93bfbde8d7 doc updates for removal of autohauler 2023-01-29 21:54:02 -06:00
Myk a0b3656c45
Merge pull request #2737 from johncosker/merge-autoslab
Implement autoslab engraving feature
2023-01-29 19:46:41 -08:00
Kelly Kinkade 40e69bfa3f remove autohauler
autohauler just doesn't make sense in v50
2023-01-29 20:38:39 -06:00
John Cosker f1c173863c Remove trailing whitespace 2023-01-29 21:36:49 -05:00
John Cosker 3f9f785589 Update doc and remove unused enum 2023-01-29 21:34:47 -05:00
Myk Taylor 8774d3191f
sync tags from spreadsheet 2023-01-29 17:59:16 -08:00
Myk 376526d512
Merge branch 'develop' into myk_no_stuck_df_viewscreens 2023-01-29 16:55:52 -08:00
Myk 0f07ac5a30
Merge pull request #2748 from myk002/myk_initial_pause
make initial pause configurable for DFHack windows
2023-01-29 16:54:50 -08:00
Myk Taylor 1c6235633f
add dfhack.units.getCitizens() 2023-01-29 16:28:05 -08:00
John Cosker 26f6820198 Address review comments, hopefully fix linux build 2023-01-29 18:16:26 -05:00
Myk 4e1fc1cdd3
Merge pull request #2731 from gearsix/getplants-fixes
getplants fixes
2023-01-29 10:55:39 -08:00
Myk 549ccfa3c0
Apply suggestions from code review 2023-01-29 10:53:05 -08:00
Myk Taylor 4c455224f9
make initial pause configurable 2023-01-29 00:41:02 -08:00
gearsix 339e742471 Merge branch 'develop' into getplants-fixes 2023-01-28 22:09:30 +00:00
gearsix 21ebd778b1 updated changelog 2023-01-28 22:05:36 +00:00
Myk 2003efc21f
Merge branch 'develop' into myk_no_stuck_df_viewscreens 2023-01-28 12:03:50 -08:00
Myk 99d1ed6828
Merge branch 'develop' into myk_no_inception 2023-01-28 11:58:37 -08:00
Myk 255307890b
Merge pull request #2735 from myk002/myk_resizable
only mark the border corner as resizable if the window is resizable
2023-01-28 11:55:39 -08:00
Myk 5f90756677
Merge pull request #2734 from myk002/myk_tiletypes
Expose tiletype setting from the tiletypes plugin to lua
2023-01-28 11:55:04 -08:00
Myk Taylor 65aa772a5b
update changelog 2023-01-28 08:07:29 -08:00
Myk Taylor 25ff015497
update changelog 2023-01-28 08:04:36 -08:00
John Cosker 37b5be1f35
Implement autoslab engraving feature (#1)
* Initial autoslab implementation
2023-01-27 19:46:56 -05:00
Myk Taylor f47adba3d1
fix underscores-to-dashes 2023-01-27 14:45:56 -08:00
Myk Taylor 18a2827385
only mark the border corner as resizable if the window is resizable 2023-01-27 14:20:21 -08:00
Myk 6408fdf28d
Update docs/about/Removed.rst 2023-01-27 13:58:56 -08:00
Myk Taylor b492d92748
update docs 2023-01-27 13:39:03 -08:00
vallode 8ac1ea1ca5 Add show-unit-syndromes to removed scripts 2023-01-27 19:03:36 +01:00
Myk 2159101b48
Merge pull request #2724 from vallode/spawn-liquids-lua
Remove liquids.png
2023-01-26 19:13:23 -08:00
Myk 0d9b5a0113
Merge pull request #2728 from StormCrow42/fixdocs
Include proper name for library/military_include_artifact_materials
2023-01-26 15:56:56 -08:00
Myk 27663e50a3
Update docs/plugins/orders.rst 2023-01-26 15:55:38 -08:00
Scott Ellis 9c884c6365 Include proper name for library/military_include_artifact_materials 2023-01-26 16:30:53 -06:00
Myk 49e1d9ff1c
Merge pull request #2722 from myk002/myk_overlay_default_enabled
Allow overlay widgets to set their default enabled state
2023-01-26 13:45:07 -08:00
Scott K. Ellis 38706ff02a
Update docs/plugins/orders.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-01-26 15:06:59 -06:00
Scott Ellis de262e610a Fix lint error 2023-01-26 15:05:42 -06:00
Scott K. Ellis 47bad86a6a
Merge branch 'develop' into no-platinum-weapons 2023-01-26 14:57:21 -06:00
Myk Taylor a767a917fa
de-emphasize IRC in our docs 2023-01-26 12:49:22 -08:00
vallode a7b6ddc4da Remove liquids.png 2023-01-26 18:07:04 +01:00
Scott Ellis 54a44e589b Update orders.rst to reflect changes in military.json 2023-01-26 08:15:31 -06:00
Myk Taylor 1a659f89b9
update changelog 2023-01-26 00:55:12 -08:00
Myk Taylor 998a63a979
allow overlay widgets to specify a default enabled state
and make relevant library widgets enabled by default
and remove the default overlay.json config file
2023-01-26 00:53:57 -08:00
Myk c21fb0d9ad
Merge pull request #2715 from kelvie/develop
Add Github Actions build of win64 artifacts, and update compile instructions.
2023-01-24 21:53:04 -08:00
Myk Taylor c5f2588522
fix issues with clicks "falling through" scrollbars 2023-01-24 21:28:25 -08:00
Kelvie Wong cf11280b8b Simplify cross-compile instructions
Now that users don't have to build the image.
2023-01-24 19:55:15 -08:00
Myk 25658592cb
Merge pull request #2472 from cppcooper/channel-safely
Updates Channel safely
2023-01-24 17:05:40 -08:00
Myk 0ad67dc276
Merge branch 'develop' into myk_quickcmd 2023-01-24 11:15:14 -08:00
Myk 83c89cfaa9
Merge pull request #2705 from myk002/myk_zscreen_redux
Implement new ZScreen semantics
2023-01-24 11:14:43 -08:00
Dmitrii Kurkin cbff07dc37
Update orders.rst 2023-01-24 21:55:22 +08:00
Myk Taylor f39eb42889
remove references to pinnable 2023-01-23 19:34:48 -08:00
Myk Taylor 1fa71c0d92
update quickstart guide with new ZScreen semantics 2023-01-23 19:24:37 -08:00
Myk Taylor 8b98ba5042
allow windows to be defocused instead of pinned 2023-01-23 17:40:16 -08:00
Myk Taylor 21ebbad669
add keybinding for gui/quickcmd 2023-01-23 15:40:56 -08:00
Myk Taylor eab08f6430
update tag for automelt 2023-01-23 14:51:48 -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 73dd0b4489
stronger wording for ZScreen guidance 2023-01-23 13:47:00 -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
eamondo2 63de2ac9ec Merge branch 'develop' into automelt 2023-01-23 13:35:38 -05: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
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 f805f5b67e
Merge branch 'develop' into ccompile-script 2023-01-22 17:16:19 -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 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
Kelvie Wong fb1ce3fed7 Add changelog. 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
eamondo2 96fc53f29d Always with the trailing whitespace 2023-01-22 05:22:43 -05:00
eamondo2 4d876f85b7 Prelim. doc updates. 2023-01-22 05:14:08 -05:00
Myk Taylor b84bce719d
remove unused always_enabled attribute for overlays
it was made for gui/pathable, but that became a ZScreen
this option made me uncomfortable for overlays. it didn't seem like the
right user experience
2023-01-22 01:07:30 -08:00
Myk Taylor 0f433c61a1
update changelog 2023-01-22 00:47:11 -08:00
Myk 273379c564
Merge pull request #2684 from 20k/getBiomeType
getBiomeType naming, docs, expose to lua
2023-01-21 16:54:42 -08:00
Myk Taylor 9a42e39989
fix sample commandline in dreamfort docs 2023-01-21 16:19:29 -08:00
20k 598354d9d4 getbiometype naming, docs 2023-01-21 20:33:40 +00:00
Myk Taylor bb16009f49
bump version to 50.05-alpha2 2023-01-20 17:13:28 -08:00
Myk Taylor a98c4c0ff0
mark autoclothing as tested 2023-01-20 17:07:29 -08:00
Myk 15ba54eea9
Merge pull request #2643 from RosaryMala/Autoclothing
Autoclothing
2023-01-20 14:08:01 -08:00
Myk 064f2834a9
Merge pull request #2669 from ab9rf/5005-alpha2-tailor
tailor: add support for using undyed cloth
2023-01-20 14:06:53 -08:00
Myk 310940e1a2
Merge branch 'develop' into Autoclothing 2023-01-20 14:05:26 -08:00
Rose 8698016b06 Updated docs for Autoclothing 2023-01-20 13:54:18 -08:00
Kelly Kinkade e8f67c7b62 add support for using undyed cloth
also improved debugging messages
2023-01-20 15:21:45 -06:00
Myk Taylor 4183bace4d
update autodump, only commands, add hotkeys 2023-01-20 09:31:44 -08:00
Myk d201cf0182
Merge pull request #2662 from 20k/develop
Zone <-> building interactions
2023-01-20 09:30:52 -08:00
Myk 7b906cbf6f
Update docs/about/Removed.rst
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2023-01-19 16:53:24 -08:00
20k 8b7c8d83b5 remove save fixup
Add notifyCivzoneModified
2023-01-19 21:55:20 +00:00
cjhammel 5982644383
Update Removed.rst
fixed formatting for create-items
2023-01-19 15:32:52 -05:00
Myk Taylor 086ca5bcff
tombstone create-items 2023-01-18 16:15:49 -08:00
Myk Taylor 5b1b0ca867
sync spreadsheet to docs 2023-01-18 16:05:07 -08:00
Kelly Kinkade 1a283eaf47 autofarm: fix repetition in status output
because C++ std::map is not the same as a ruby table
2023-01-18 16:26:16 -06:00
Myk 74d311c00c
Merge pull request #2640 from myk002/myk_orders
restore orders library functionality
2023-01-18 08:27:37 -08:00
Myk Taylor ba8e3c187b
add reference to removed script
ref: DFHack/scripts#531
2023-01-17 23:56:54 -08:00
Myk Taylor acd2256900
restore orders library functionality 2023-01-17 21:26:33 -08:00
Myk Taylor 3958d37684
update changelog and submodules for 50.05-alpha1 2023-01-16 16:56:31 -08:00
Myk Taylor e98271ddc3
document that enableable scripts must also be modules 2023-01-16 13:53:16 -08:00
Myk 95d7db2bb4
Merge pull request #2622 from myk002/myk_datasave
adjust to new directory layouts
2023-01-16 11:05:33 -08:00
Myk Taylor 00cee1c600
fix numbered list 2023-01-16 11:03:51 -08:00
Myk Taylor 6b039aac9d
update Quickstart guide 2023-01-16 00:15:17 -08:00
Myk Taylor a56d62e1dc
update changelog 2023-01-15 23:28:14 -08:00
Myk Taylor 762cd46d14
look for init.d directories in the root instead of raw/ 2023-01-15 23:28:01 -08:00
Myk Taylor 50cc6d965d
update to new save directory structure 2023-01-15 23:13:58 -08:00
Myk Taylor e7a30a9af8
sync tested spreadsheet to docs 2023-01-15 22:23:29 -08:00
Myk Taylor 65ceb565f8
rename dfhack-quickstart-guide -> quickstart-guide 2023-01-15 16:30:55 -08:00
Myk Taylor 20f865eba0
don't reset scroll pos when window is resized or moved 2023-01-15 15:59:09 -08:00
Myk Taylor b855170c64
fix typos in quickstart guide 2023-01-15 13:42:26 -08:00
Myk cfa498266e
Merge pull request #2613 from myk002/myk_quickstart
add quickstart help
2023-01-15 13:40:00 -08:00
Myk Taylor de8815c85c
apply suggestions from the good people on discord 2023-01-15 10:39:06 -08:00
Myk Taylor 22e0f4325c
wording 2023-01-15 00:49:11 -08:00
Myk Taylor ab52d7a4ca
remove extra whitespace 2023-01-14 23:59:01 -08:00
Myk Taylor 121ab059c8
update changelog 2023-01-14 23:58:18 -08:00
Myk Taylor 698c467f6a
add quickstart help 2023-01-14 23:56:30 -08:00
lethosor 6a107ba68b
Update links to compilation docs from remaining pages
Ref #2517
2023-01-15 01:01:48 -05:00
lethosor b0d6f6a3c3
Update Authors.rst
Missing authors since 0.47.05-r5
2023-01-14 21:50:08 -05:00
Myk Taylor 9606f7bf4f
remove ones that don't work, mark as tested those that do 2023-01-14 09:50:17 -08:00
Myk Taylor 7c53d848cd
sync tags from spreadsheet 2023-01-14 01:21:58 -08:00
Myk 977946e5bc
Merge pull request #2603 from myk002/myk_resizingpanel
give more control over the resizing dimensions of ResizingPanels
2023-01-14 01:10:26 -08:00
Myk fc6a8fb00b
Merge pull request #2601 from myk002/myk_dwarfmode
pull the useful bits out of guidm.MenuOverlay and make them available
2023-01-14 01:09:57 -08:00
Myk 5a0dcf6d8e
Merge pull request #2600 from myk002/myk_blueprint
add blueprint back to the build (dig and build phases only)
2023-01-14 01:09:47 -08:00
Myk Taylor 69e5730f77
document dfhack.job.removeJob() 2023-01-14 01:07:36 -08:00
Myk Taylor f19ae16c9d
give more control over the resizing dimensions of ResizingPanels 2023-01-14 01:00:38 -08:00
Myk Taylor b77e896041
update EditField docs 2023-01-13 17:08:25 -08:00
Myk Taylor 21d160c478
terminology change: locked -> pinned 2023-01-13 16:07:27 -08:00
Myk Taylor 40aa753953
fix docs typo 2023-01-13 12:43:49 -08:00
Myk Taylor 8f434bf9a6
add blueprint back to the build (dig and build phases only) 2023-01-13 12:36:16 -08:00
Myk Taylor 99350bdb73
add xlsxreader back to the build 2023-01-13 09:45:33 -08:00
Myk 68e373100b
Merge pull request #2591 from myk002/myk_penn
support foreground and background writing from pens
2023-01-12 21:00:38 -08:00
Myk Taylor ecbbfb635c
mark tools as tested 2023-01-12 17:14:03 -08:00
Myk Taylor 15998f2ebe
add gui.TRANSPARENT_PEN for clearing the UI layer 2023-01-12 12:44:50 -08:00
Myk Taylor 079d5e4178
support foreground and background writing from pens 2023-01-12 12:30:07 -08:00
Myk Taylor 5a040a44cb
add untested tag to plugins 2023-01-10 22:26:12 -08:00
Myk Taylor e25f06f2fe
register new "untested" tag 2023-01-10 22:23:59 -08:00
lethosor 1cf4604e6c
Changelog for #2583 2023-01-10 15:13:49 -05:00
Myk Taylor a56792a533
note that Ruby is deprecated in the changelog script 2023-01-10 00:01:29 -08:00
Myk Taylor 7cf703ef23
turn down Ruby support 2023-01-09 23:59:55 -08:00
Myk c33274ef11
Merge pull request #2575 from myk002/myk_autochop
Update and validate autochop
2023-01-09 23:51:56 -08:00
Myk Taylor d918e2d9d8
fix example init file and related doc 2023-01-09 15:33:04 -08:00
Myk Taylor 2da3510ade
add stonesense to the build (if configured); docs
the `overlay` command option has been removed
2023-01-09 14:59:38 -08:00
Myk Taylor 2877f87d78
implement new autochop 2023-01-08 23:28:06 -08:00
Myk Taylor b3909f61a3
write autochop docs and proposed API 2023-01-08 21:29:42 -08:00
Myk Taylor 72d5760ff6
add CycleHotkeyLabel:setOption() 2023-01-07 01:00:40 -08:00
Myk fe9d1e186e
Merge pull request #2562 from myk002/myk_greenify
allow color options for CycleHotkeyLabel
2023-01-06 19:10:39 -08:00
Myk Taylor 810430f1a2
make windows lockable (can ignore r-click and esc) 2023-01-06 18:48:53 -08:00
Myk Taylor 1f5ae4165f
return self from raise, update docs 2023-01-06 15:43:08 -08:00
Myk Taylor 96f19621c9
update changelog 2023-01-06 15:43:06 -08:00
Myk Taylor fbf895fe0c
document ZScreen (and view:getMouseFramePos()) 2023-01-06 15:42:41 -08:00
Myk Taylor e111a73763
allow color options for CycleHotkeyLabel
and use the option to render `On` in green for ToggleHotkeyLabel
2023-01-06 15:42:27 -08:00
Myk Taylor 1a8f60c03b
implement remaining review comments from #2517 2023-01-06 15:31:50 -08:00
Myk Taylor 91df585bf8
Merge branch 'develop' into myk_docs 2023-01-06 15:22:03 -08:00
Myk 8264415720
Update docs/dev/building/Compile.rst 2023-01-06 15:11:10 -08:00
Myk Taylor 6f46ae672e
add Gui::getDFViewscreen and Lua binding 2023-01-06 12:17:36 -08:00
Amber Brown 79206c92a7 modern windows terminal + powershell is, (un?)fortunately superior to cygwin's, so cut this for simplification 2023-01-06 21:26:57 +11:00
Amber Brown d7495bfdf8 update the install documentation to mention VS2022 properly 2023-01-06 21:26:57 +11:00
Myk b62cfa3699
Merge pull request #2552 from myk002/myk_mouse
Get correct mouse button down behavior in Lua without overwriting enabler fields
2023-01-04 19:39:43 -08:00
Myk 78be3a6463
Merge pull request #2548 from myk002/myk_logo
Display DFHack logo for the hotkeys overlay widget
2023-01-04 19:06:05 -08:00
Myk Taylor 5d04b9c4cb
add Textures module and load DFHack logo
undocumented for now since it's internal. in the future, perhaps this
could morph into a dynamic texture loading facility for tools
2023-01-04 13:30:18 -08:00
Myk Taylor cbcb8b5f88
fix up overlay config and pathable docs 2023-01-04 13:27:03 -08:00
Myk Taylor 021b24fa65
update docs 2023-01-03 14:56:49 -08:00
Myk Taylor b766b72784
update docs for widgets.EditField 2023-01-03 13:06:57 -08:00
Myk f72b3524ae
Merge pull request #2545 from myk002/myk_autobutcher
update autobutcher to work with v50
2023-01-02 20:43:21 -08:00
Myk 35ce361b09
Merge pull request #2542 from myk002/myk_dwarfmode_dims
clear out obsolete area map and menu logic from the Gui module
2023-01-02 20:42:30 -08:00
Myk 9da6bff011
Merge pull request #2540 from myk002/myk_overlay
Make OverlayWidget inherit from Panel and allow overlays to be perma-enabled
2023-01-02 20:41:53 -08:00
Myk Taylor ab5c7708d8
update docs 2023-01-01 16:35:39 -08:00
Myk Taylor 7d5d2d0a9b
clear out obsolete area map and menu logic
in particular, return the correct map dimensions in getDwarfmodeDims()
2022-12-31 22:49:30 -08:00
Myk Taylor 481bbb9df4
update changelog 2022-12-31 21:04:19 -08:00
Myk Taylor c401154393
widgets inherit from Panel and can be perma-enabled 2022-12-31 21:02:00 -08:00
Myk Taylor 5232e2b04e
add dfhack-config/scripts to default script paths 2022-12-30 23:30:11 -08:00
Myk bf995a0968
Merge pull request #2533 from myk002/myk_lua_input
adjust Lua widgets to new input scheme
2022-12-30 22:37:12 -08:00
Myk a7dd14d699
Merge pull request #2535 from myk002/myk_smart_refresh
only do a full refresh when needed
2022-12-30 22:36:42 -08:00
Myk Taylor cb6b595aff
update changelog 2022-12-30 22:35:08 -08:00
Myk Taylor 04f2d555c6
implement context-aware mouse wheel scrolling 2022-12-30 22:35:08 -08:00
Myk Taylor 38b525bdb5
adapt lua library widgets to new keyboard keybindings 2022-12-30 22:35:08 -08:00
Myk Taylor dd0cc087d5
Revert "consolidate full refresh logic in widgets.Panel"
This reverts commit 33787473f0.

I've already found another use case where we need a more general
implementation -- modal dialogs that inherit from FramedScreen that
appear and disappear
2022-12-30 22:13:53 -08:00
Myk Taylor 33787473f0
consolidate full refresh logic in widgets.Panel 2022-12-30 20:44:15 -08:00
Myk Taylor 70a0f4a718
only do a full refresh when needed
this significantly reduces CPU utilization when DFHack-owned screens are
visible.
2022-12-30 17:06:41 -08:00
Myk Taylor 4c2842a854
update docs 2022-12-30 05:33:17 -08:00
Myk Taylor d7b67e9528
remove cached USE_GRAPHICS from gui.lua
it's no longer constant
2022-12-28 16:27:44 -08:00
Myk Taylor fc523f12fe
expose and document dfhack.screen.getMousePixels() 2022-12-28 16:05:27 -08:00
Josh Cooper 7433cb463d more stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 1993291a87 stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 994cb30f4d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:12 -08:00
Josh Cooper e57ef4315d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:01 -08:00
Josh Cooper 6baac10262
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:48 -08:00
Josh Cooper 3fb249bc2a
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:32 -08:00
Josh Cooper 430917ce5d
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:15 -08:00
Josh Cooper 98badfbd72 possibly the last expected changes 2022-12-23 15:22:24 -04:00
Josh Cooper 77b6dd2f7a Updates minor things 2022-12-23 12:58:43 -04:00
Josh Cooper 66f8a0207c Updates dependency doc 2022-12-23 01:05:31 -04:00
Josh Cooper a9467f76ef Fixing links, mostly 2022-12-23 00:43:10 -04:00
Josh Cooper c0d582c406 more small screen changes 2022-12-21 20:35:40 -04:00
Josh Cooper e60030e85e a small screen commit message about a lot of organization changes 2022-12-21 18:09:37 -04:00
Josh Cooper 86ed5ae17a Fixes link syntax 2022-12-19 22:12:00 -04:00
Josh Cooper 6a135d0b2b Fixes formatting mistake 2022-12-19 22:05:43 -04:00
Josh Cooper 2474e5dba5 Adds Dependencies.rst 2022-12-19 22:01:21 -04:00
Myk Taylor 06346c6269
implement double clicking on the title to maximize
also double click on a maximized window to jump to the minimum size
the location of the window isn't guaranteed to be the same after
maximizing and un-maximizing, but we could implement that if there is
call for it.
2022-12-14 19:03:38 -08:00
Myk Taylor 4c6daf30d9
add widgets.Window and fix paint_frame offset 2022-12-14 12:04:29 -08:00
Myk Taylor 12e62c7f9d
highlight anchor point when resizing with keyboard 2022-12-14 10:34:06 -08:00
Myk Taylor c030704705
implement panel resizing 2022-12-14 10:34:04 -08:00
Myk Taylor 4d1fd19bbc
update changelog 2022-12-13 13:21:41 -08:00
Myk Taylor 99b599e9ab
add docs for panel dragging 2022-12-13 13:01:49 -08:00
Myk 945942a28b
Merge pull request #2496 from myk002/myk_arch_diagrams
add arch diagrams to the dev guide
2022-12-12 14:54:26 -08:00
Myk Taylor d74d215f38
add arch diagrams to the dev guide 2022-12-11 15:51:27 -08:00
Tachytaenius 5f33133de1
Update Lua API.rst 2022-12-11 23:12:14 +00:00
Tachytaenius 8cc34f920c
Add math.floor to module example in Lua API 2022-12-11 23:03:50 +00:00
Myk Taylor ffd646462a
ensure `enable` doesn't miss newly-added scripts
and add some more documentation
2022-12-10 22:13:38 -08:00
myk002 e88b1fdfe5
move script-manager into core 2022-12-10 21:59:51 -08:00
myk002 107be0a4a6
more script enablement docs 2022-12-10 21:59:51 -08:00
myk002 a872cdbcd4
no onChangeState fn, let scripts attach themselves 2022-12-10 21:59:51 -08:00
myk002 854642734c
add docs for script-manager 2022-12-10 21:59:51 -08:00
Myk Taylor 55f6aeeda1
remove ccache setup; it's gone now 2022-12-09 19:59:41 -08:00
Myk Taylor 5184d87a0c
fix light typos 2022-12-09 19:58:07 -08:00
Myk Taylor e405a87571
set install dir 2022-12-09 19:58:07 -08:00
Myk Taylor 6ffdeda712
adapt cross compiling guide to buildmaster image 2022-12-09 19:58:06 -08:00
Myk Taylor 8c59f9f92a
add step for compiling protoc 2022-12-09 19:58:06 -08:00
Myk Taylor acedc7617f
emphasize running wineboot 2022-12-09 19:58:06 -08:00
Myk f547bb3fb1
Add instructions for cross compiling 2022-12-09 19:58:04 -08:00
myk002 6fc62946e4
remove obsolete fix_job_postings command 2022-12-06 16:22:39 -08:00
myk002 f3a53d87b7
link to tools page instead of defunct genindex 2022-12-05 13:12:07 -08:00
Myk fa8a61d4be
Fix indentation of numbered lists 2022-12-04 17:58:31 -08:00
myk002 63e11c8453
update overlay dev guide with troubleshooting tips
and dev workflows
2022-12-04 17:36:51 -08:00
myk002 f6c1b78804
add entry in Removed docs 2022-12-04 15:56:12 -08:00
myk002 7e6b8618ea
remove command-prompt 2022-12-04 15:56:11 -08:00
myk002 964ead1b07
update changelog 2022-12-04 15:46:19 -08:00
myk002 2b87307e11
allow visible and active to be dynamic properties 2022-12-04 15:46:19 -08:00
myk002 681f6455d8
add missing changelog for timers API 2022-12-02 14:19:53 -08:00
myk002 14cbdbe7c2
add missing entry for channel-safely 2022-12-02 14:02:28 -08:00
myk002 fed9f763c9
update version string in CMake and changelog 2022-12-02 10:18:26 -08:00
myk002 53f4630517
clarify docs for MovementFeet in the new Timers API 2022-12-02 10:18:07 -08:00
Myk ed52c4cd6e
Merge pull request #2374 from wolfboyft/movement-timer-api
Action timer API
2022-12-02 09:31:13 -08:00
Tachytaenius c7d1baacb3
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2022-12-02 17:03:04 +00:00
Tachytaenius 0b0bd71a0c Adjust action timer API Lua API docs 2022-12-02 12:51:49 +00:00
Tachytaenius cd5ee666cf Update modding guide to reflect new action timer API 2022-12-01 23:52:00 +00:00
Tachytaenius 370ffe274f Add Lua API docs for action timer API 2022-12-01 23:25:01 +00:00
Tachytaenius 2256bfd6f7 Delete Units.rst 2022-12-01 21:08:57 +00:00
myk002 f367a8521c
clean up changelog entries 2022-12-01 12:24:47 -08:00
Myk e7ca1cb0c1
Merge pull request #2452 from lethosor/dwarfmonitor-cursor-widget-config
Dwarfmonitor cursor widget config
2022-12-01 11:49:17 -08:00
Tachytaenius 0f8ce360ac Make first pass of action timer API 2022-12-01 13:34:54 +00:00
lethosor e0e8b2f983
Document dwarfmonitor.cursor config, add example 2022-12-01 00:19:16 -05:00
Kelly Kinkade 5a2ee6ee23 update documentation for autolabor & autohauler 2022-11-30 21:54:58 -06:00
Myk 697b727952
Merge pull request #2447 from myk002/myk_doc_fixup
Fix and organize docs
2022-11-30 10:39:50 -08:00
Myk Taylor 8900bc84d8
fix crash in buildingplan
when a player cancels out of placing a building type with plan mode
enabled and then immediately switches to placing a different building
type where plan mode is not enabled, the placement errors array would be
erroneously cleared and allow placement of the building. this would
cause DF to crash if there were no materials available to build the
building with.
2022-11-30 04:51:11 -08:00
Myk Taylor cd69103b8b
update path references, move NEWS files back 2022-11-30 04:16:41 -08:00
Myk Taylor e952957f91
move dev docs into dev dir 2022-11-30 04:01:32 -08:00
Myk Taylor 64ce2559fd
move "about" docs into subdir 2022-11-30 03:46:21 -08:00
Myk Taylor f66a08d3f4
fix numbering of markdown list 2022-11-30 03:25:56 -08:00
Kelly Kinkade 5e3786a6ce changelog 2022-11-29 19:57:44 -06:00
Myk 33d54493f2
fix typo in docs 2022-11-29 15:14:22 -08:00
myk002 4c72bdb5ed add reference to gui/overlay to the overlay docs 2022-11-29 15:12:02 -08:00
myk002 f5d20c99a3 prep for usage by gui/overlay 2022-11-29 15:12:02 -08:00
Myk aac89d4942
Merge branch 'develop' into myk_default_search_key 2022-11-29 15:07:12 -08:00
Myk 5b311163a9
Merge pull request #2431 from myk002/myk_widget_fixes
fix minor errors in ResizablePanel, Label, and HotkeyLabel widgets
2022-11-29 15:06:15 -08:00
myk002 726771c8d3
supply default search key for tokenized text 2022-11-28 16:02:47 -08:00
myk002 4e7b4dc554
show hotkeys bound to number keys, F11, and F12 2022-11-28 15:37:01 -08:00
myk002 adb9c5ea12
fix frame size calculation when frame_inset is set
also fix error when clicking on HotkeyLabels where no on_activate
callback has been set
2022-11-28 15:12:22 -08:00
Myk 344ed4312b
Merge pull request #2111 from cppcooper/channel-safely
Channel safely
2022-11-23 12:41:50 -08:00
Josh Cooper 92a53bbef6
Update docs/plugins/channel-safely.rst 2022-11-23 11:39:04 -08:00
Myk e943b4ed31
Merge pull request #2413 from myk002/myk_resume
Turn down resume plugin
2022-11-23 11:29:56 -08:00
Myk a900b1789a
Merge pull request #2414 from myk002/myk_mouse_buttons
Make mouse button event behavior conform to docs
2022-11-23 11:29:20 -08:00
Josh Cooper 6cdb192181 Documents persistence of settings 2022-11-23 10:37:33 -08:00
Josh Cooper 86ec1c17ad Fixes doc formatting 2022-11-22 13:28:27 -08:00
myk002 db516d9474
update changelog 2022-11-21 17:38:29 -08:00
myk002 cb338e4257
remove resume plugin
all functionality has been migrated to unsuspend
2022-11-21 15:27:40 -08:00
Josh Cooper 8a0999ffdc Implements plugin: channel-safely v1.1a 2022-11-21 12:39:26 -08:00
Josh Cooper b99e948b8a Implements plugin: spectate v1.0.1a 2022-11-21 12:26:40 -08:00
Josh Cooper 40cbe4fe88 Implements plugin: spectate v1.0a 2022-11-21 12:26:40 -08:00
Josh Cooper ec6cd8d53a Implements plugin: spectate v0.5
Fixes spectate not starting with the first job

Updates spectate.cpp

- refactors features/settings to under a `Configuration` struct with a global variable `config`
- refactors existing `config` => `pconfig`
- moves plugin logic, mostly, to namespace SP (spectate plugin)
- utilizes debugging log macros
- updates status format
- refactors status print code into a separate function
2022-11-21 12:26:27 -08:00
Josh Cooper 9959ef1b36 Implements plugin: channel-safely v1.0.1a 2022-11-21 09:26:55 -08:00
Josh Cooper 6c68e72295 Implements plugin: channel-safely v1.0a 2022-11-21 09:26:55 -08:00
Josh Cooper 92537bc459 Implements plugin: channel-safely v0.6 2022-11-21 09:26:55 -08:00
Josh Cooper c2d346fc84 Implements plugin: channel-safely v0.4 2022-11-21 09:26:55 -08:00
Josh Cooper 22414f26fa Implements plugin: channel-safely v0.1 2022-11-21 09:26:55 -08:00
myk002 086ce64787
update changelog 2022-11-20 17:28:59 -08:00
Myk 24b237ae25
Update changelog.txt 2022-11-18 17:35:50 -08:00
Myk 11c27d40dd
Merge branch 'develop' into Bumber64-patch-2 2022-11-18 17:34:00 -08:00
Kelly Kinkade 0d5b80204f `Internals` not `Internal` 2022-11-18 15:35:08 -06:00
Kelly Kinkade b6ffaebeda refine comments 2022-11-18 15:29:02 -06:00
Kelly Kinkade a16aca0f03 up MSVC warning level to /W3 /WX
This makes MSVC warn at a level comparable to what we use on gcc for Linux builds
2022-11-18 15:09:50 -06:00
myk002 7b6cd14823
update changelog 2022-11-16 12:33:24 -08:00
myk002 1cc9a4d832
make leggings instead of crafts out of shells
they have a greater average trade price, and "shleggings" is hilarious.
2022-11-16 12:31:24 -08:00
Kelly Kinkade 99f919c3dc autofarm: insert missing output flushes
insert calls to std::flush as appropriate

fixes #2365
2022-11-15 20:00:27 -06:00
Kelly Kinkade eeee752733 Update changelog.txt
add changelog
2022-11-15 13:21:45 -06:00
myk002 983ae02517 update keybinding docs 2022-11-14 19:54:58 -08:00
myk002 8f7624fb76 update changelog 2022-11-14 19:53:46 -08:00
Myk 966623a919
Merge pull request #2387 from cppcooper/units-checking
Extends Units module
2022-11-14 16:55:42 -08:00
Myk 35cea1b5e1
Merge pull request #2371 from myk002/myk_overlay_hotkeys
[hotkeys] implement hotspot menu widget
2022-11-14 16:50:30 -08:00
myk002 2093287bf0
update changelog 2022-11-14 16:46:03 -08:00
myk002 aecc190b74
update hotkeys docs 2022-11-14 16:46:02 -08:00
myk002 52e850917e
update changelog 2022-11-14 16:45:08 -08:00
myk002 722f70437c
update dwarfmonitor docs 2022-11-14 16:45:07 -08:00
myk002 14ab11cb9d
update changelog 2022-11-14 16:40:36 -08:00
myk002 19289bf3c8
clean up docs and code 2022-11-14 16:40:36 -08:00
myk002 e992e302a7
add messy first draft of the dev guide 2022-11-14 16:40:36 -08:00
myk002 9bdc995f20
write docs and make implementation match the docs
added ability to enable/disable all
added showing current widget configuration
added moving widget back to default coordinates
2022-11-14 16:40:35 -08:00
Josh Cooper c164263af9 Groups sections of functions in lua api docs 2022-11-13 11:35:20 -08:00
Josh Cooper 52ce09804b
Apply suggestions from code review 2022-11-12 19:07:16 -08:00
Josh Cooper 441ff8a820 Fixes Lua API.rst mistakes 2022-11-12 17:55:17 -08:00
Josh Cooper c817a39b20 Merge remote-tracking branch 'origin/units-checking' into units-checking 2022-11-12 16:45:31 -08:00
Josh Cooper d112649886 Organizes and documents Units::is*(unit) functions 2022-11-12 16:40:20 -08:00
Josh Cooper ebd450af0e Adds isUnitInBox to Units module 2022-11-12 14:42:41 -08:00
Josh Cooper b73cef3d78
Update docs/Lua API.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-11-12 12:28:53 -08:00
Myk 5136bbbc03
Merge pull request #2383 from cppcooper/em-fixes
Fixes JOB_STARTED event
2022-11-11 19:58:46 -08:00
Josh Cooper 34de030ba9 Units module
- Updates `Lua API.rst`
  - Only adds the most important additions (complicated enough to need explaining)
- Adds new functions to LuaApi.cpp
- Revises isUndead to accommodate `dfhack.units.isUndead(u)` => `Units::isUndead(u, false)` instead of taking the default value
2022-11-09 22:03:39 -08:00
Myk eac7fac8e9
Merge pull request #2389 from myk002/myk_gui_anywhere
[Gui] add "anywhere" keybinding guard
2022-11-09 15:48:04 -08:00
Josh Cooper 80824f5b75 Extends Units module 2022-11-09 14:41:45 -08:00
myk002 0344595e4e
add "anywhere" keybinding guard 2022-11-09 14:32:51 -08:00
myk002 d95a5ac238
add string_to_int to MiscUtils.h 2022-11-09 11:55:29 -08:00
Josh Cooper beee445f6f Extends Units module
Adds unit check functions for
- animals
- demons
- titans
- megabeasts
- semimegabeasts
- night creatures
2022-11-09 11:44:28 -08:00
Myk ccd43f1710
Merge pull request #2381 from myk002/myk_framed_panel
[widgets.Panel] support frames around panel widgets
2022-11-09 10:32:23 -08:00
Myk 9fed02435e
Merge pull request #2378 from myk002/myk_list_mouse
Allow widgets.List to report hover target and respond to shift-click
2022-11-09 10:32:06 -08:00
Myk 4924fd0d52
Merge pull request #2377 from myk002/myk_gui_convenience
Make View:getMousePos() and Screen:show() a bit more flexible
2022-11-09 10:31:58 -08:00
Myk f2a386f0e1
Merge pull request #2375 from myk002/myk_uicommon
Move generally useful string functions from uicommon to MiscUtils
2022-11-09 10:31:50 -08:00
Josh Cooper 92645ccb5b Fixes JOB_STARTED event 2022-11-08 12:43:23 -08:00
myk002 d0753b4a9c update changelog 2022-11-08 10:15:28 -08:00
myk002 1d03afcd6f update changelog 2022-11-08 10:15:28 -08:00
myk002 0d970509f8
update changelog 2022-11-07 16:58:51 -08:00
myk002 63a1c1ae15
update lua docs 2022-11-07 16:57:55 -08:00
myk002 f906aee5b8
update changelog 2022-11-07 16:19:09 -08:00
myk002 93bc4c00eb
update lua api docs 2022-11-07 16:19:03 -08:00
myk002 b2b2a52b55
update changelog 2022-11-07 16:00:43 -08:00
myk002 a0ff7e4d3f
update Lua docs 2022-11-07 15:58:29 -08:00
myk002 5a720bd496
update changelog 2022-11-07 15:40:00 -08:00
Josh Cooper 391553624f
Update changelog.txt 2022-11-06 17:34:53 -08:00
Myk 1e31cc197d
Merge branch 'develop' into spectate 2022-10-26 12:30:58 -07:00
Myk c7f4f57367
Merge pull request #2360 from myk002/myk_automaterial_render
[automaterial] fix render errors with box boundaries
2022-10-26 12:25:48 -07:00
Myk e60cbfc743
Merge pull request #2361 from myk002/myk_zjump_twbt
[mousequery] fix z-level jumps when clicking quickly
2022-10-26 12:25:40 -07:00
Josh Cooper 754e1dd4ac
Update docs/plugins/spectate.rst 2022-10-24 17:50:21 -07:00
myk002 8b61a17009
prevent z-level from changing after box select
if the player clicks the mouse too fast after finishing a selection
2022-10-24 12:46:31 -07:00
myk002 01c46f7a7e
fix z-level jumps when clicking quickly
this happens when TWBT is enabled and multilevel is > 0
getDepthAt() returns inconsistent values for the same position, leading
to a mismatch when we "unshift" the coordinates to account for render
depth
2022-10-24 12:44:25 -07:00
myk002 6a57cc4450
fix render errors with automaterial box boundaries 2022-10-24 12:41:17 -07:00
Josh Cooper 2ca2066081 Fixes underline in spectate.rst 2022-10-23 10:45:23 -07:00
Josh Cooper c611a7615c Merge branch 'develop' into spectate 2022-10-23 10:41:28 -07:00
Josh Cooper c18beb30bb Updates spectate.rst 2022-10-23 10:40:23 -07:00
Myk a854e379b2
Merge pull request #2354 from myk002/myk_scrollbars_redux
make scrollbars more responsive when dragging
2022-10-22 20:28:52 -07:00
myk002 64b923b9eb
make the materials dialog filter lcase only
this allows the capital letter hotkeys to be processed by the list
widget without the special-casing of the ignore_keys attribute.
2022-10-21 12:43:53 -07:00
myk002 593b80cfa0
make scrollbars more responsive when dragging 2022-10-21 12:22:57 -07:00
Josh Cooper f66dd6f404 Implements change requests
- removes redundant `if (df::global::ui)` checks; and tested to ensure no segfaults cropped up like in the past times I've removed these
- removes useless `if (pause_lock)` pause lock is set when plugin initializes, even if pause lock was left null (since we technically don't need it, and that was the point of the null check) it still would be a useless check (actually an impediment preventing functionality)
- removes disabled interpose code
- removes lua linkage
- updates doc

extra:
- surrounds user input for tick frequency with `std::abs()` not that we would have ended up with a negative value, but it was probably a typo and this is easier than printing an error or letting it underflow past max int (on most systems)
2022-10-20 23:52:30 -07:00
myk002 1e21e6546e
fix materials selection dialog
where the filter was swallowing the sublist hotkeys
2022-10-19 17:31:28 -07:00
myk002 666edd6d60
don't overwrite dig priority by accident
many callers of setDesignationAt simply didn't bother with the priority
parameter. change the default value of the priority param so that by
default we will keep the previous value instead of overwriting it
2022-10-19 16:47:54 -07:00