Commit Graph

5261 Commits (0e725be04639db4f63c6e532fc70403d81f9b7da)

Author SHA1 Message Date
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
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 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
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 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
lethosor 8dc13b8b25
check-structures-sanity: also skip temp_save vectors 2023-08-05 23:46:07 -04:00
lethosor 0abdf0148f
Merge branch 'develop' of DFHack/dfhack into develop 2023-08-05 17:03:29 -04:00
lethosor d152e86013
check-structures-sanity: Set debugger-friendly compiler options 2023-08-05 17:03:18 -04:00
Myk Taylor 3358a2b516
enable more tests 2023-08-04 20:40:33 -07:00
Myk Taylor 415a2f654b
update stonesense ref 2023-08-04 12:24:04 -07:00
Myk Taylor ec461bcce5
zero tests mean pass 2023-08-03 22:48:23 -07:00
lethosor 1411c5e8aa
Disable RPC API docs for plugins that aren't currently built
This allows ci/check-rpc.py to pass, and will cause it to fail if the plugins
are re-enabled and we forget to un-disable the docs.
2023-08-04 01:28:15 -04:00
lethosor 1f9b248f8a
check-structures-sanity: add no-op handler for std::map 2023-08-02 23:49:10 -04:00
lethosor a3916cdbb6
check-structures-sanity: update detection for GCC C++11 std::string 2023-08-01 01:54:35 -04:00
lethosor 0c6441619f
Re-enable build of check-structures-sanity 2023-08-01 00:59:52 -04:00
lethosor 94dae7a1f1
dts::make_unique -> std::make_unique in unbuilt plugins
Followup to #3537
2023-08-01 00:59:26 -04:00
lethosor 199191e9d4
Re-add BUILD_SUPPORTED flag so that devel plugins can be built by themselves 2023-08-01 00:52:22 -04:00
lethosor 031a61a436
Re-enable devel plugins that compile 2023-08-01 00:52:22 -04:00
Myk Taylor 6a50ae42ce
more deduplication of installed files 2023-07-29 00:35:12 -07:00
Myk Taylor ac633da050
de-duplicate stonesense resources 2023-07-29 00:35:12 -07:00
DFHack-Urist via GitHub Actions aaf511b5ea Auto-update submodules
plugins/stonesense: master
2023-07-29 07:12:04 +00:00
DFHack-Urist via GitHub Actions f3da973c09 Auto-update submodules
scripts: master
plugins/stonesense: master
2023-07-24 07:14:05 +00: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 a77a6b5943
clean up globals 2023-07-20 19:40:40 -07:00
Myk Taylor d18a1f12f7
allow the color to override box select and cursor 2023-07-20 19:32:38 -07:00
Myk Taylor a6b304d9b4
fix box select bounds logic 2023-07-20 19:28:49 -07:00
Myk Taylor 2370750809
add warm/damp highlight overlay for ascii mode 2023-07-20 19:17:09 -07:00
Myk Taylor 7ec34ec5f8
remove unneeded linkage to SDL 2023-07-18 23:15:22 -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 62b311c6d7
Merge pull request #3575 from plule/cleanup_open_tiles
Remove redundant checks on open tiles
2023-07-17 12:59:23 -07:00
plule b8346cb069 Remove redundant checks on open tiles 2023-07-17 15:42:08 +02:00
Myk Taylor e1946018f8
use TextButton in zone overlay 2023-07-16 20:24:46 -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 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 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