dfhack/plugins
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
..
autolabor adjust usage to game structure reunification 2023-05-17 11:13:21 -07:00
buildingplan don't select artifacts as masterful quality 2023-06-16 16:05:01 -07:00
channel-safely Remove redundant checks on open tiles 2023-07-17 15:42:08 +02:00
devel check-structures-sanity: also skip temp_save vectors 2023-08-05 23:46:07 -04:00
diggingInvaders rename globals according to structures update 2023-01-05 17:11:01 -08:00
embark-assistant dts::make_unique -> std::make_unique in unbuilt plugins 2023-08-01 00:59:26 -04:00
examples update auto plugin example, use new best practices 2023-02-06 04:02:18 -08:00
external Adds plugins/external/ and auto-populates the cmake within upon creation (#2095) 2022-04-27 19:53:05 -07:00
isoworld@3630c816df Auto-update submodules 2022-05-15 07:17:46 +00:00
lua enable more tests 2023-08-04 20:40:33 -07:00
proto Disable RPC API docs for plugins that aren't currently built 2023-08-04 01:28:15 -04:00
raw Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
remotefortressreader Add option to force-fetch world blocks in RemoteFortressReader 2023-08-07 19:17:04 -07:00
rendermax update to new save directory structure 2023-01-15 23:13:58 -08:00
spectate rename globals according to structures update 2023-01-05 17:11:01 -08:00
stockpiles include exotic pets as tameable 2023-07-15 14:40:04 -07:00
stonesense@9080becf81 update stonesense ref 2023-08-04 12:24:04 -07:00
tweak update to new save directory structure 2023-01-15 23:13:58 -08:00
.gitignore rename globals according to structures update 2023-01-05 17:11:01 -08:00
.keep Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts. 2011-06-20 01:12:07 +02:00
3dveins.cpp 3dveins: ERR → WARN 2023-07-07 17:41:35 -05:00
Brushes.h Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
CMakeLists.txt zero tests mean pass 2023-08-03 22:48:23 -07:00
Plugins.cmake de-duplicate stonesense resources 2023-07-29 00:35:12 -07:00
add-spatter.cpp re-add add-spatter plugin (minimal changes) 2023-04-26 14:47:24 -07:00
autobutcher.cpp log to console instead of announcements 2023-02-23 22:24:32 -08:00
autochop.cpp generate names for nameless burrows; check for nil 2023-02-12 15:21:10 -08:00
autoclothing.cpp demote chatty WARN messages to DEBUG 2023-04-24 00:31:20 -07:00
autodump.cpp Remove redundant checks on open tiles 2023-07-17 15:42:08 +02:00
autofarm.cpp replace `dts:make_unique` with `std::make_unique` 2023-07-07 21:38:15 -05:00
autogems.cpp update to new save directory structure 2023-01-15 23:13:58 -08:00
autonestbox.cpp reset the saved frame counter on new world 2023-02-03 00:08:38 -08:00
autoslab.cpp Cleanup 2023-02-09 08:30:09 -05:00
blueprint.cpp support recording stockpiles in blueprints 2023-05-21 09:45:28 -07:00
building-hacks.cpp The great de-anon-ification 2022-06-29 07:54:04 -07:00
burrows.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
changeitem.cpp update docs for changeitem 2022-07-20 13:00:27 -07:00
changelayer.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
changevein.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cleanconst.cpp update docs for cleanconst 2022-07-20 13:26:30 -07:00
cleaners.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cleanowned.cpp don't print out how many items there are in the world 2023-02-06 02:58:11 -08:00
confirm.cpp remove need to ignore warnings for dfhack-dependent targets 2023-06-25 17:44:06 -07:00
createitem.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
cursecheck.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cxxrandom.cpp Adds cxxrandom unit test and fixes interface problems (#2099) 2022-04-30 21:46:47 -07:00
debug.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
deramp.cpp update deramp docs 2022-07-22 17:46:22 -07:00
design.cpp Comments 2023-05-03 19:37:44 -04:00
dig-now.cpp Remove redundant checks on open tiles 2023-07-17 15:42:08 +02:00
dig.cpp Fix dig plugin and enable building it 2023-01-28 10:06:48 -05:00
digFlood.cpp update docs for digFlood 2022-07-24 17:01:50 -07:00
dwarfmonitor.cpp dts::make_unique -> std::make_unique in unbuilt plugins 2023-08-01 00:59:26 -04:00
dwarfvet.cpp update dwarfvet 2023-07-21 04:12:56 -07:00
embark-tools.cpp dts::make_unique -> std::make_unique in unbuilt plugins 2023-08-01 00:59:26 -04:00
eventful.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
fastdwarf.cpp Rename [xyz]CategoryActionTimers to [xyz]GroupActionTimers in action timer API 2022-12-01 23:24:04 +00:00
faststart.cpp re-enable faststart now that the DF race condition has been fixed 2023-06-23 14:36:27 -07:00
filltraffic.cpp update docs for filltraffic 2022-07-25 10:23:05 -07:00
fix-unit-occupancy.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
fixveins.cpp update docs for fixveins 2022-07-25 10:54:11 -07:00
flows.cpp update docs for flows 2022-07-25 10:55:04 -07:00
follow.cpp update docs for follow 2022-07-25 10:55:31 -07:00
forceequip.cpp fix typos in forceequip cpp/docs 2022-07-25 16:57:08 -07:00
generated-creature-renamer.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
getplants.cpp fix designation of non-fruit trees 2023-04-11 02:34:45 -07:00
hotkeys.cpp remove need to ignore warnings for dfhack-dependent targets 2023-06-25 17:44:06 -07:00
infiniteSky.cpp typo fix in infiniteSky docs 2022-09-16 15:24:18 -07:00
isoworldremote.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
jobutils.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
lair.cpp update docs for lair 2022-07-27 17:14:30 -07:00
liquids.cpp move liquids.history to dfhack-config/liquids.history 2022-08-02 22:46:04 -07:00
listcolumn.h [manipulator] add the professions library (#2234) 2022-07-06 07:21:26 -07:00
logistics.cpp don't modify container while iterating 2023-07-21 17:45:45 -07:00
luasocket.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
manipulator.cpp dts::make_unique -> std::make_unique in unbuilt plugins 2023-08-01 00:59:26 -04:00
map-render.cpp Update map-render.cpp 2018-12-06 15:21:19 +02:00
misery.cpp fix/update summaries 2023-07-09 15:42:43 -07:00
mode.cpp update docs for mode 2022-07-28 02:50:37 -07:00
mousequery.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
nestboxes.cpp nestboxes: avoid forbidding non-eggs 2023-02-10 22:52:01 -05:00
orders.cpp restore orders library functionality 2023-01-17 21:26:33 -08:00
overlay.cpp filter out spurious STRING keybindings 2023-07-03 09:09:52 -07:00
pathable.cpp clean up globals 2023-07-20 19:40:40 -07:00
petcapRemover.cpp update docs for petcapRemover 2022-07-28 16:46:10 -07:00
plants.cpp update docs for plants 2022-07-28 22:51:17 -07:00
power-meter.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
probe.cpp Enabled probe, and fixed the one thing preventing it from compiling. 2023-01-07 21:06:47 -08:00
prospector.cpp move unchanging var out of loop 2023-06-17 05:41:11 -07:00
regrass.cpp update docs for regrass 2022-07-28 23:20:24 -07:00
rename.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
reveal.cpp anchor revflood at a unit's position 2023-03-17 17:43:58 -07:00
search.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
seedwatch.cpp properly store the id of seed targets in persisted state 2023-02-12 03:19:31 -08:00
showmood.cpp properly count required bars/cloth and don't output confusing total quantities 2023-03-16 23:45:22 -07:00
siege-engine.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
sort.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
steam-engine.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
stockflow.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
stocks.cpp dts::make_unique -> std::make_unique in unbuilt plugins 2023-08-01 00:59:26 -04:00
strangemood.cpp get strangemood compiling and running 2023-02-13 01:18:45 -08:00
tailor.cpp replace `dts:make_unique` with `std::make_unique` 2023-07-07 21:38:15 -05:00
tiletypes.cpp expose tiletype setting to Lua 2023-01-27 13:38:49 -08:00
title-folder.cpp migrate from SDL interposing to the hooks API 2023-04-12 21:34:16 -07:00
trackstop.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
tubefill.cpp update docs for tubefill 2022-07-31 13:41:30 -07:00
uicommon.h WIP 2023-02-05 19:04:21 -05:00
work-now.cpp add work-now to the build 2023-04-27 14:22:45 -07:00
workflow.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
xlsxreader.cpp Fix warning (#1796) 2021-03-27 00:11:50 -04:00
zone.cpp initial implementation of pasture assignment screen 2023-07-16 12:16:45 -07:00