Commit Graph

680 Commits (539caf3dbaf58f7aec0ad7440f9dfe18204b1054)

Author SHA1 Message Date
Myk Taylor 1e9e38a0de
implement ratings for arrival order 2023-09-08 20:06:51 -07:00
Myk Taylor 603f1b16c2
use stress face icons for stress and training need 2023-09-08 18:48:05 -07:00
Myk Taylor 5f32042f1a
adjust colorization of ratings
move mental stability from a sort to a filter
2023-09-08 16:44:59 -07:00
Myk Taylor 0d366740e7
move the dimensions readout out from under the heat safety filter 2023-09-07 18:29:29 -07:00
Myk Taylor d0f08dcc0d
implement rating overlay 2023-09-07 16:14:20 -07:00
Myk Taylor f0b0c2093b
flatten sort functions 2023-09-07 11:30:08 -07:00
Myk Taylor 229e7aef87
enable filtering by race 2023-09-05 17:50:17 -07:00
Myk 29ccdcf4b9
Remove leftover debug print 2023-09-04 20:45:53 -07:00
Myk Taylor 1d6ae37a66
fix and reinstate heat safety filter 2023-09-03 11:54:32 -07:00
Myk Taylor a2b50a88a5
reorder branches for better readability 2023-09-03 07:12:41 -07:00
Myk Taylor 6096165eee
fix handling of ticks parameter 2023-09-02 02:03:03 -07:00
Myk Taylor 426099f82b
label updates for squad sort options 2023-09-01 14:35:55 -07:00
Myk Taylor 702992b6f5
hide the DFHack logo while loading a game
so the textures don't visibly flicker
revert this once textures are flicker free
2023-08-31 23:06:05 -07:00
Myk Taylor ffc884d69d
fix migrant wave ordering
use active index instead of unit id
2023-08-31 19:42:02 -07:00
Myk Taylor 52543f9fc0
clean out unused code/vars 2023-08-31 19:14:47 -07:00
Myk Taylor afb26b9ddd
add requested filters for squad assignment screen
and redo layout as a vertical panel since there's not enough space
otherwise
2023-08-31 19:10:18 -07:00
Myk 07e8e83837
Merge pull request #3698 from Halifay/advanced_military_sorting
Enhancing Military Candidate Selection
2023-08-30 23:52:18 -07:00
Myk 4a788e79c3
Apply suggestions from code review 2023-08-30 23:26:03 -07:00
Mikhail 2c97ab9c8d Tidying up melee skill and ranged skill funcitons in sort.lua. 2023-08-30 17:16:59 +03:00
Mikhail 26b81cfbbd Merged military rating back into one. Adjusted formulas for melee and ranged rating. Added skill effectiveness ratings for ranged and melee. Changed any melee and any ranged to skill effectiveness ratings. Added info about new ratings and research links to the docs. 2023-08-30 09:39:13 +03:00
Myk a740c6628e
Merge pull request #3663 from shevernitskiy/dynamic-texture-loading
feat: dynamic texture loading
2023-08-27 22:45:52 -07:00
shevernitskiy 4fb6b09b30 move textures to separate lua module 2023-08-28 06:58:30 +03:00
Mikhail c91a02ca6a Reworked fallback from rating sortings. Renamed melee potential to solo combat potential. Added group combat potential. 2023-08-27 17:52:09 +03:00
pre-commit-ci[bot] 6fcbf48c84 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-25 13:28:37 +00:00
Mikhail 493be93a4c Fixing conflicts. 2023-08-25 16:26:32 +03:00
Mikhail 25f2c1746a Changed melee and ranged ratings to statistically proven linear formulas. 2023-08-25 16:18:20 +03:00
pre-commit-ci[bot] 771d7f6c6c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-24 15:49:54 +00:00
Mikhail 30488dc310 Trailing space again. My bad. 2023-08-24 18:47:42 +03:00
Mikhail aef60649fe Trim trailing whitespace. 2023-08-24 17:18:46 +03:00
Mikhail a1d68286cd Added melee rating, ranged rating, mental stability rating and stress to sorting options on military screen in sort.lua. Added info about new sorting methods to sort.rst. Added name to Authors.rst. 2023-08-24 16:26:09 +03:00
Myk 4f247b79f1
Merge pull request #3684 from myk002/myk_sort_by_race
[zone] offer sort by race on animal assignment screen
2023-08-19 02:20:10 -07:00
Myk Taylor 8b91e84944
offer sort by race on animal assignment screen 2023-08-18 19:28:24 -07:00
Myk Taylor d9fa827b20
support overlays on the load arena screen 2023-08-18 19:27:12 -07:00
Myk Taylor 2620bfbb43
tweak color and layout 2023-08-16 06:07:19 -07:00
Myk Taylor 7544641377
first draft of squad assignment search and sort 2023-08-16 06:07:19 -07:00
shevernitskiy bbbb8fbb9c invalid texpos is nil now 2023-08-15 21:18:52 +03:00
Myk Taylor a521b54da1
normalize input for animal assignment search 2023-08-14 16:38:43 -07:00
shevernitskiy 0e725be046 support closure as tile arg to get texpos 2023-08-14 12:07:27 +03:00
shevernitskiy 91f4c3d561 mirgate preloaded assets to lua 2023-08-14 08:17:57 +03:00
shevernitskiy 1409af67de expose api to lua 2023-08-13 20:09:12 +03:00
Myk Taylor 463a8647e6
complete vermin and small animal support 2023-08-13 02:45:04 -07:00
Myk Taylor 296a34834c
expose and use casteFlagSet 2023-08-13 00:20:08 -07:00
Myk Taylor 93ed45d6e7
handle small pets, similar to vermin 2023-08-12 23:29:45 -07:00
shevernitskiy 20460fecca tiny refactor texpos methods 2023-08-13 07:40:35 +03:00
shevernitskiy 4bc3a9b552 single quotes 2023-08-13 07:36:39 +03:00
shevernitskiy fe8bd4fa78 assets use dynamic texture loading 2023-08-12 16:11:42 +03:00
Myk Taylor 214b78ba3c
add unit assignment screens for pits/cages/chains
refactor the existing Pasture assignment screen to handle variations
2023-08-11 18:32:52 -07:00
Myk 139a3a5ae8
Merge pull request #3649 from myk002/myk_bannerpanel
[widgets] factor banner out into reusable panel class
2023-08-07 12:54:32 -07:00
Myk Taylor 8c166935d5
factor banner out into reusable panel class 2023-08-07 12:40:48 -07:00
Myk Taylor e80884459c
don't display dfhack logo in legends mode 2023-08-07 12:39:20 -07:00
Myk Taylor 3358a2b516
enable more tests 2023-08-04 20:40:33 -07:00
Myk Taylor 383966511d
don't modify container while iterating 2023-07-21 17:45:45 -07:00
Myk Taylor ac8211a9c7
add autobutcher link to pasture screen 2023-07-21 14:35:59 -07:00
Myk 65fc79c5e2
Merge branch 'develop' into myk_dwarfvet 2023-07-21 14:23:13 -07:00
Myk Taylor dff4816287
update dwarfvet 2023-07-21 04:12:56 -07:00
Myk Taylor d14054716c
better name for overlay 2023-07-21 00:28:05 -07:00
Myk Taylor 2370750809
add warm/damp highlight overlay for ascii mode 2023-07-20 19:17:09 -07:00
Myk Taylor 9e720b2de7
properly handle animals in cages in non-cage buildings 2023-07-18 03:39:03 -07:00
Myk Taylor 27f1a4443c
rearrange pastures dialog according to feedback 2023-07-17 13:34:49 -07:00
Myk Taylor e1946018f8
use TextButton in zone overlay 2023-07-16 20:24:46 -07:00
Myk ce12cd6e29
colorize! 2023-07-16 14:22:10 -07:00
Myk Taylor a017700dc6
convert egg and graze sliders into tristates 2023-07-16 13:43:52 -07:00
Myk Taylor 5fb299c6df
expand egg-laying filter to the entire race, not just the unit 2023-07-16 12:30:12 -07:00
Myk Taylor b10ef79a29
tag units that are opposed to life as hostile 2023-07-16 12:16:45 -07:00
Myk Taylor 2fa4efbb8a
initial implementation of pasture assignment screen 2023-07-16 12:16:45 -07:00
Myk Taylor 0b9f84a5da
don't print error if a building is not selected 2023-07-05 19:06:57 -07:00
Myk Taylor 258b647ef6
extend the title version widget to show longer version strings 2023-06-23 14:36:17 -07:00
Myk Taylor b571e5b52b
don't diplay orders overlay on subscreens 2023-06-19 16:48:07 -07:00
Myk Taylor 8a3b01a261
move the minimize button, not the window 2023-06-14 16:06:00 -07:00
Myk Taylor b97ad55a98
shift the stockpiles overlay a bit to the left
to avoid overlapping the right-most column on some resolutions
2023-06-14 15:40:46 -07:00
Myk Taylor 856237cfd3
just display logistics options in stockpiles overlay
for now; until stockpile import/export dialogs are complete
2023-06-12 12:52:47 -07:00
Myk Taylor 12b2509781
implement autotrain 2023-06-12 12:28:39 -07:00
Myk Taylor e90de61cc1
remove the features feature; we can do it with quickfort properties 2023-06-12 10:59:13 -07:00
Myk Taylor 37b07bcee6
add skeleton for autotrain 2023-06-11 23:31:54 -07:00
Myk Taylor aa1c0f2071
redesign stockpiles overlay 2023-06-11 22:56:08 -07:00
Myk Taylor b7d4b8fed6
import and export logistics features 2023-06-11 22:56:07 -07:00
Myk Taylor c8786b21a0
export dialog prototype 2023-06-11 22:28:03 -07:00
Myk Taylor 89dedd78ac
move minimize button to the bottom 2023-06-11 22:28:03 -07:00
Myk Taylor a481520efd
implement minimize button 2023-06-11 22:28:03 -07:00
Myk Taylor c6d9a426dd
wip 2023-06-11 22:28:03 -07:00
Myk Taylor 1231006f6c
start of minimize button 2023-06-11 22:28:03 -07:00
Myk Taylor 7beac6b4c2
add some hover action to the overlay 2023-06-11 22:28:03 -07:00
Myk Taylor 44f8f84bba
initial stockpiles overlay 2023-06-11 22:28:03 -07:00
Myk Taylor ecbc35b292
one line per stockpile 2023-06-11 22:28:03 -07:00
Myk Taylor 8ab9739cd6
case insensitive sorting 2023-06-11 22:28:03 -07:00
Myk Taylor 2b2d03b9b1
calculate and display global stats 2023-06-11 22:28:03 -07:00
Myk Taylor 5ffbb4d0ef
unify and update automelt/autotrade/autodump 2023-06-11 22:28:01 -07:00
Myk Taylor dbcba3d548
refactor to allow interacting with route stop settings 2023-05-28 02:26:06 -07:00
Myk Taylor d06118ad8e
support recording stockpiles in blueprints 2023-05-21 09:45:28 -07:00
Myk d48f4844d6
Merge branch 'develop' into myk_title_launch 2023-05-18 16:38:19 -07:00
Myk Taylor d4f41141ef
fix game_extra reference 2023-05-17 16:45:35 -07:00
Myk Taylor 6aede45135
add links to quickstart-guide and gui/control-panel to the title screen 2023-05-17 11:56:49 -07:00
Myk b787ee7aa5
Merge pull request #3379 from myk002/myk_rescan
[overlay] rename overlay.reload to overlay.rescan
2023-05-17 10:21:15 -07:00
Myk Taylor a76bed0ed5
rename overlay.reload to overlay.rescan 2023-05-16 11:41:28 -07:00
Myk Taylor 910b7c2ae9
fix autolabor warning appearing on inappropriate screens 2023-05-15 17:52:20 -07:00
John Cosker 611e6d3a12
Merge branch 'develop' into design-refactor 2023-05-03 19:05:15 -04:00
John Cosker be6f52c052 Merge branch 'design-refactor' of https://github.com/johncosker/dfhack into design-refactor 2023-05-01 14:24:40 -04:00
John Cosker 528dc466e2 address review comments 2023-05-01 14:20:53 -04:00
Myk Taylor 0d6c5869f4
fix logo disappearing when hovered on title screen 2023-04-30 16:40:03 -07:00
John Cosker 065323ef74
Merge branch 'develop' into design-refactor 2023-04-28 11:17:39 -04:00
John Cosker 6b7c90b676 Working C++ and refactors 2023-04-27 22:37:56 -04:00
Myk Taylor fab05ca887
fix position of title overlay; force refresh on resize 2023-04-27 12:59:06 -07:00
Myk Taylor 6c88fa6440
don't output git hash on release builds 2023-04-24 16:12:37 -07:00
Myk 2a410f7570
Merge pull request #3294 from myk002/myk_title_version
add DFHack title version overlay
2023-04-24 14:13:53 -07:00
Myk Taylor 2686c8f084
move DFHack version next to logo
and only display on the base title screen
2023-04-24 08:04:08 -07:00
Myk Taylor 65da8ef3c9
only display dfhack logo on base title screen
to avoid overlapping important widgets on subscreens
2023-04-24 08:03:31 -07:00
Myk Taylor 31401b2e19
fixed size limit calculations for rollers 2023-04-23 23:48:10 -07:00
Myk f009ca907e
Merge pull request #3271 from TaxiService/bplan_slidertowidgets
move Slider class from filterselection.lua into widgets.lua
2023-04-23 18:44:58 -07:00
Myk Taylor b5459faffe
format version string in help the same way 2023-04-23 18:20:50 -07:00
Myk Taylor 33142a5dfc
add DFHack title version overlay 2023-04-23 17:26:45 -07:00
Myk 7e9936f856
Merge branch 'develop' into myk_troll_Fur 2023-04-21 13:49:27 -07:00
Myk Taylor 6d9a07355b
allow filtering by yarn 2023-04-21 11:54:38 -07:00
Myk Taylor 6b86f7c691
planner panel is minimized by default
and minimized state is now persisted across reloads
2023-04-21 11:20:28 -07:00
Taxi Service 8371aa0b8b renamed Slider to RangeSlider, and added draft of Lua API.rst entry 2023-04-20 13:24:47 +02:00
Taxi Service ae2bdfad5f moved Slider class from filterselection.lua to widgets.lua 2023-04-19 11:28:57 +02:00
Myk Taylor 250f05667b
add a warning when DT appears to be running 2023-04-18 15:50:59 -07:00
Myk Taylor f6031e6a79
refactor existing logic to use new function 2023-04-17 13:04:42 -07:00
Myk Taylor e9f6695ace
infrastructure for hiding armok tools 2023-04-17 09:39:15 -07:00
Myk Taylor 77c2458900
filter by gems (for windows) 2023-04-17 01:05:25 -07:00
Myk Taylor ef380e9e1c
don't reset planner panel minimized state 2023-04-15 15:49:36 -07:00
Myk Taylor 20bea5fa21
add ability to filter by cloth and silk 2023-04-11 03:49:28 -07:00
Myk Taylor 51047367f4
fix index out of bounds error when reading gems 2023-04-10 23:28:00 -07:00
Myk Taylor 04c16186de
hide planner overlay during the tutorial 2023-04-10 04:24:00 -07:00
Myk Taylor 36db68deed
user longer text for weapon label 2023-04-07 02:17:22 -07:00
Myk Taylor 54c62a7307
tidy up 2023-04-07 02:08:47 -07:00
Myk ec114bea7c
Merge branch 'develop' into bplan_planneroverlay 2023-04-07 01:14:06 -07:00
Taxi Service 6347e11751 moved prev/next on top, made set/edit filter button, more tweaks 2023-04-07 00:46:32 +02:00
Taxi Service f66c60ee65 removed some trailing whitespace... 2023-04-06 16:22:07 +02:00
Taxi Service 70b8c83178 highlight selected item, + various tweaks 2023-04-06 16:08:09 +02:00
TaxiService c490a9ebc2
updated comments in the footer area 2023-04-05 15:55:47 +02:00
Taxi Service 0c91644c5e various tweaks and fixes 2023-04-04 22:34:47 +02:00
TaxiService 59b7947230
removed trailing whitespace... 2023-04-04 18:31:04 +02:00
Taxi Service eda88a87ef Merge branch 'bplan_itemselection' of https://github.com/TaxiService/dfhack into bplan_itemselection 2023-04-04 18:27:15 +02:00
TaxiService e8e77e9ec2
Merge branch 'DFHack:develop' into bplan_itemselection 2023-04-04 18:25:54 +02:00
Taxi Service aa8870fcad custom EditField & reorganized panels 2023-04-04 17:38:38 +02:00
Taxi Service 8860ddf982 planneroverlay: initial rework commit 2023-04-03 22:46:31 +02:00
Taxi Service ea9f3ef9d1 restored pens.lua (has nothing to do with itemselection) 2023-04-03 22:27:50 +02:00
Taxi Service 07a4da6573 reworked itemselection ui & added vertical divider pens 2023-04-03 22:23:32 +02:00
Taxi Service d04780ee86 tweaked some item names shown on buildingplan uis 2023-04-03 20:38:57 +02:00
Taxi Service 935bc235b6 fixed vertical divider characters in ascii mode 2023-04-03 20:37:45 +02:00
Myk Taylor 55f7643381
use the defined constant instead of a magic number 2023-04-01 23:52:20 -07:00
Myk Taylor 9461e609a0
adjust text margin in hotkey menu for wide scrollbar 2023-04-01 22:53:35 -07:00
John Cosker 7ff9d73a4c Technically drawing works 2023-03-30 15:17:08 -04:00
Myk Taylor f2958a5529
implement automaterial selection for buildingplan 2023-03-28 23:51:52 -07:00
Myk 921e08e97a
Merge branch 'develop' into myk_buildingplan_suspendmanager 2023-03-28 06:52:42 -07:00
Myk Taylor 02b52fcb3d
confirm for removing burrows via the repaint menu 2023-03-27 16:11:21 -07:00
Myk Taylor 0ed311c108
allow exported orders files to be deleted from the import dialog 2023-03-27 03:52:12 -07:00
Myk Taylor 8da7e216a4
buildingplan - suspendmanager integration 2023-03-27 02:24:56 -07:00
Myk 2538324008
Merge pull request #3096 from ab9rf/5007-tailor
tailor: add inventory sanity check debug mode
2023-03-25 13:04:47 -07:00
Myk Taylor 42b18d001b
refresh overlay and helpdb on new world to pick up mod content 2023-03-25 12:56:54 -07:00