Commit Graph

2502 Commits (1f64b818c4134586dd31ea32af95e5f47f0261d9)

Author SHA1 Message Date
Myk Taylor 423bba2c24
pass getAnyStockpile and getAnyCivZone through ZScreens 2023-08-28 13:27:46 -07:00
shevernitskiy 6f11812729 create and delete textures 2023-08-28 10:00:39 +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
Mikhail 25f2c1746a Changed melee and ranged ratings to statistically proven linear formulas. 2023-08-25 16:18:20 +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
Kelly Kinkade b76333ae87 `tailor`: remove crash
clothing items may have an invalid maker race; this should not happen but it does so we have to deal with it
2023-08-21 12:46:24 -05:00
Myk Taylor 6caed7debe
update changelog 2023-08-20 10:09:08 -07:00
Myk Taylor 1763a16831
add training check functions to Units 2023-08-20 10:08:25 -07:00
Myk Taylor 8b91e84944
offer sort by race on animal assignment screen 2023-08-18 19:28:24 -07:00
Myk Taylor 4f04d551af
update changelog 2023-08-16 06:07:49 -07:00
Myk Taylor d9fd090e52
update docs for sort 2023-08-16 06:07:19 -07:00
Myk Taylor 296a34834c
expose and use casteFlagSet 2023-08-13 00:20:08 -07:00
Myk 71e5901214
Merge pull request #3672 from myk002/myk_gui
[orders] prevent overlay from appearing on the new workorder page
2023-08-12 23:21:13 -07:00
lethosor e69b6ed4ea
Merge remote-tracking branch 'lethosor/struct-fields-lua' into develop 2023-08-13 01:43:19 -04:00
lethosor b039f227c3
Document type._fields 2023-08-13 01:16:25 -04:00
Myk Taylor 35b0765f58
update changelog 2023-08-12 22:06:52 -07:00
Myk Taylor c37dce7c33
detect extended tile properties and communicate them back to lua 2023-08-12 15:53:22 -07:00
Myk Taylor e61c4e8f86
update zone docs
ref: #3667
2023-08-11 20:18:07 -07:00
Myk Taylor ab9ef7a1f1
update changelog 2023-08-11 18:33:50 -07:00
Myk 1307c727cf
Merge pull request #3665 from myk002/myk_keykey
Refine keyboard input handing
2023-08-11 18:22:35 -07:00
Myk Taylor a9f47e5680
add New Tools as a valid changelog header
and add to default template
2023-08-11 15:31:37 -07:00
Myk Taylor a6ec77b584
update changelog 2023-08-11 12:58:44 -07:00
lethosor 34ddf6bed7
Merge remote-tracking branch 'lethosor/memscan-funcs' into develop 2023-08-11 01:38:15 -04:00
lethosor 46499a66cc
Add cxx_demangle() and Lua wrapper 2023-08-10 15:01:19 -04:00
Myk fdf878c3b9
Merge pull request #3655 from myk002/myk_banner
[BannerPanel] use square brackets instead of color blocks
2023-08-09 17:51:26 -07:00
Myk cd2d408006
Merge pull request #3642 from randombk/remotefortressreader-reload
Add option to force-fetch world blocks in RemoteFortressReader
2023-08-07 20:01:56 -07:00
Myk 031191ae9a
Update docs/changelog.txt 2023-08-07 19:40:48 -07:00
Myk 970babe77c
Merge pull request #3654 from myk002/myk_mod_reload
ensure active mod scripts are properly reloaded
2023-08-07 19:39:39 -07:00
David Li 8b5321fe86 Add option to force-fetch world blocks in RemoteFortressReader
The current behavior of GetBlockList in the RemoteFortressReader
  Protobuf RPC API is to only return blocks that have changed since
  the last fetch. This causes problems when the RPC client (i.e. a
  world renderer) wants to restart, as it can no longer fetch the
  full world state.

  This patch adds a `force_reload` option to BlockRequest, defaulting
  to `false` (the current behavior). When passed, it returns all
  requested blocks regardless of whether they have changed or not.

Signed-off-by: David Li <jiawei.davidli@gmail.com>
2023-08-07 19:17:04 -07:00
Myk Taylor 99517fcd81
use square brackets instead of color blocks 2023-08-07 17:20:58 -07:00
Myk Taylor 62a1bd6970
ensure active mod scripts are properly reloaded 2023-08-07 17:18:00 -07:00
Myk Taylor 8bff1399d4
add functions to Panel in addition to attributes 2023-08-07 17:02:55 -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 30befab78f
Merge pull request #3644 from myk002/myk_trade
remove caravan_buying param from getValue call
2023-08-06 23:57:07 -07:00
Myk Taylor 488ad0f827
add changelog template for new verions
and mark unused headers as deprecated
2023-08-06 23:02:45 -07:00
Myk Taylor db48e0eba0
remove caravan_buying param from getValue call
the identity of the selling party doesn't actually affect the value!
2023-08-06 17:38:34 -07:00
lethosor 47b4773786
df.new(): catch errors thrown by allocate()
This can include DFHack::Error::VTableMissing exceptions if the vtable of a
member field is unknown.

Fixes #3627
2023-08-04 17:22:20 -04:00
Myk Taylor a9df9f92d9
update for 50.09-r2 2023-07-21 18:50:15 -07:00
Myk Taylor 87a391b2ce
update changelog 2023-07-21 17:46:38 -07:00
Myk 65fc79c5e2
Merge branch 'develop' into myk_dwarfvet 2023-07-21 14:23:13 -07:00
Myk 993132a334
Merge pull request #3586 from myk002/myk_mod_libraries
infrastructure for mod-added file libraries
2023-07-21 14:19:37 -07:00
Myk Taylor b25266367d
add examples to the docs 2023-07-21 04:17:57 -07:00
Myk Taylor dff4816287
update dwarfvet 2023-07-21 04:12:56 -07:00
Myk Taylor 25301bf93e
update docs 2023-07-20 19:35:02 -07:00
Myk Taylor 040d2caa95
update changelog 2023-07-20 19:22:30 -07:00
Myk Taylor 2370750809
add warm/damp highlight overlay for ascii mode 2023-07-20 19:17:09 -07:00
Myk Taylor e67df53c48
document new blueprints dir in mods 2023-07-20 17:44:09 -07:00
Myk 24500dbafd
Merge pull request #3582 from myk002/myk_living
Units: don't include dead citizens in the getCitizens list
2023-07-19 08:22:46 -07:00
Myk Taylor 19643111e0
move SUPPRESS_DUPLICATE_KEYBOARD_EVENTS pref into cpp 2023-07-19 00:38:37 -07:00
Myk Taylor 0d81f5ce6e
don't include dead citizens in the citizens list 2023-07-18 23:09:19 -07:00
Myk Taylor 2d2ecf6f0d
add TextButton 2023-07-16 20:24:39 -07:00
Myk 2cd226d879
Merge pull request #3566 from myk002/myk_pasture
[zone] initial implementation of pasture assignment screen
2023-07-16 14:36:57 -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 4331d7bcc7
document the overlay functionality 2023-07-16 12:16:46 -07:00
Myk Taylor 2fa4efbb8a
initial implementation of pasture assignment screen 2023-07-16 12:16:45 -07:00
Myk Taylor e565aa3578
update changelog 2023-07-16 12:16:06 -07:00
Myk Taylor 39612f0d5a
trade a bin if any contents can be traded
the new trade screens will make it easy to filter out unwanted items
later
2023-07-16 12:15:51 -07:00
Myk Taylor 5c7aea0775
fix logic for autotrain and autotrade 2023-07-16 12:15:48 -07:00
Myk e1ad92295c
Merge pull request #3565 from myk002/myk_exotic
[stockpiles] include exotic pets as tameable
2023-07-16 12:01:22 -07:00
Myk Taylor a820b95d8c
include exotic pets as tameable 2023-07-15 14:40:04 -07:00
Myk Taylor 83f8be5312
add better noble suites and apartments 2023-07-15 14:26:51 -07:00
Myk 1643eac7e0
Merge branch 'develop' into patch-1 2023-07-13 17:02:39 -07:00
Myk 324a8c52e7
Update changelog.txt 2023-07-13 16:08:00 -07:00
egocarib 755ddd9db3
Additional sentence improvements 2023-07-10 19:36:05 -05:00
egocarib d0d12414bf
Fix small typo 2023-07-10 18:43:50 -05:00
Myk cbe821c2f2
Merge pull request #3546 from myk002/myk_misery
[misery] realign the docs to the actual implementation
2023-07-10 11:26:14 -07:00
Myk Taylor 6e565f3275
fix/update summaries 2023-07-09 15:42:43 -07:00
Myk Taylor 206c05feaf
document preference variables 2023-07-09 10:39:26 -07:00
Myk Taylor ff6f7c9454
realign the misery docs to the actual implementation 2023-07-09 10:20:56 -07:00
Myk Taylor ed8bf1cff1
update changelog 2023-07-08 18:40:53 -07:00
Myk Taylor 5a719f0e66
update docs 2023-07-08 17:23:47 -07:00
Myk Taylor 6f48161021
fix quoting in changelog 2023-07-07 15:57:24 -07:00
Kelly Kinkade 6997b6be21 add changelog for 3dveins 2023-07-07 16:00:39 -05:00
Myk Taylor 6a8522ab5e
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:27:05 -07:00
Myk Taylor 7d3c8bd040
add notes to the API section of the changelog 2023-07-06 03:24:53 -07:00
Myk Taylor b938891e11
add dfhack.items.isRequestedTradeGood 2023-07-06 03:24:36 -07:00
Myk Taylor c2e647b79b
fix item prices and algorithm
adjust prices according to race WAR affinity
2023-07-06 03:24:15 -07:00
Myk Taylor 9849885df6
Revert "generalize dfhack.items.isRequestedTradeGood"
This reverts commit aa6d28bab6.
2023-07-06 03:23:17 -07:00
Myk Taylor aa6d28bab6
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:21:36 -07:00
Myk 79dbcf0461
Merge pull request #3524 from myk002/myk_copypaste
support copy/paste from system clipboard
2023-07-05 23:09:08 -07:00
Myk c25b6e642e
Merge pull request #3533 from myk002/myk_noble
port API for unit lookup by noble role from quickfort
2023-07-05 19:34:29 -07:00
Myk Taylor c587cad471
generalize to civ roles as well 2023-07-05 17:37:49 -07:00
Myk 8e7d7fefc0
Merge pull request #3527 from myk002/myk_no_extra_keys
filter out spurious STRING keybindings
2023-07-05 12:10:51 -07:00
Myk Taylor cbdb56a1ac
port API for unit lookup by noble role from quickfort 2023-07-03 13:47:43 -07:00
Myk Taylor 7e92123952
update changelog 2023-07-03 11:27:13 -07:00
Myk Taylor 9ca96567a5
move conversion logic to MiscUtils
but keep minimal wrappers in SDL module so we don't leak memory
2023-07-03 11:05:58 -07:00
Myk Taylor fdf2430fc4
filter out spurious STRING keybindings
that don't match actual SDL string input
2023-07-03 09:09:52 -07:00
Myk Taylor d39440d33b
migrate markForTrade logic from logistics to core 2023-07-02 19:05:50 -07:00
Myk Taylor 175c249d29
support copy/paste from system clipboard 2023-07-02 18:04:06 -07:00
Myk Taylor 09027543df
update to 50.09-r1 2023-06-26 16:31:18 -07:00
Myk Taylor 5e13eb89d8
fix internal link to screenhot header 2023-06-25 18:29:21 -07:00
Myk Taylor eff1755675
bump to 50.08-r4 2023-06-23 10:59:21 -07:00
Myk Taylor 5a90a04a8e
handle obsidian 2023-06-21 02:00:06 -07:00
Myk Taylor b571e5b52b
don't diplay orders overlay on subscreens 2023-06-19 16:48:07 -07:00
Myk Taylor 14590d0ae5
increase tin ore count requirements in orders
each order takes multiple boulders of cassiterite. increase limits so
when all orders are active, cassiterite stores are not depleted
2023-06-17 09:36:28 -07:00
Myk 18c228e178
Merge pull request #3479 from myk002/myk_blueprints
[blueprint library] update pump_stack and aquifer_tap
2023-06-17 09:27:57 -07:00
Myk 4a26dab8e5
Merge pull request #3478 from myk002/myk_buildingplan_artifact
[buildingplan] don't select artifacts as masterful quality
2023-06-17 09:27:48 -07:00
Myk Taylor 1390fd2e3e
add note about export mandates 2023-06-17 05:40:55 -07:00