Myk Taylor
49cd82a9b8
enable a batch of compilable plugins for testing
2023-01-12 13:48:58 -08:00
Myk Taylor
6e4a994364
"1 trees" to "1 tree(s)"
2023-01-11 20:02:13 -08:00
Myk Taylor
ad4ce706f1
enable fastdwarf (no changes)
2023-01-10 00:46:52 -08:00
Myk Taylor
60170f252f
add regrass plugin back in (no changes)
2023-01-10 00:42:37 -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
bb90ff0b32
Merge pull request #2566 from ab9rf/5005-autofarm
...
reenable autofarm and add persistence support
2023-01-09 23:48:35 -08:00
Kelly Kinkade
81a8a6047b
persistence fixes, other tweaks
2023-01-09 20:04:13 -06:00
Myk Taylor
3938721df0
enable seedwatch (no changes)
2023-01-09 16:25:01 -08:00
Kelly Kinkade
e649255c8e
rework autofarm persistence
2023-01-09 18:05:15 -06:00
Kelly Kinkade
f0aa7a76de
reenable autofarm and add persistence support
...
note that persistence does not appear to work properly right now so this hasn't been fully tested
2023-01-09 18:05:15 -06:00
Myk Taylor
3518a13dea
add cleanowned back to the build (no changes)
2023-01-09 15:45:45 -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
2efd77fb6b
Merge pull request #2578 from myk002/myk_orders
...
enable orders plugin
2023-01-09 13:13:54 -08:00
Myk Taylor
3cf3e3f5b6
enable orders, no updates needed
2023-01-09 02:03:55 -08:00
Myk
80cdb08594
Merge pull request #2571 from RosaryMala/probe
...
Enabled probe, and fixed the one thing preventing it from compiling.
2023-01-09 01:48:39 -08:00
Myk Taylor
5310cfadca
represent cookable with 'z' to match the hotkey
2023-01-09 00:13:00 -08:00
Myk Taylor
c647ae33d8
make gcc-4.8 happy
2023-01-08 23:49:04 -08:00
Myk Taylor
2877f87d78
implement new autochop
2023-01-08 23:28:06 -08:00
Kelly Kinkade
46a4222de6
fix stupid typo in reveal
2023-01-08 15:57:38 -06:00
Myk Taylor
92489ef27d
get things to compile with the recent structure updates
2023-01-08 11:33:14 -08:00
Rose
60a2f615c0
Enabled probe, and fixed the one thing preventing it from compiling.
...
Before this can be considered updated, it would need to be able to find the currently selected building or creature from the game, but it does work as-is when the keyboard cursor is enabled in the game.
2023-01-07 21:06:47 -08:00
Rose
95223d8197
Got archery target direction back, and cleaned up a few things.
2023-01-07 14:37:44 -08:00
Rose
1808cfc51b
Merge remote-tracking branch 'DFHack/develop' into develop
2023-01-06 19:53:41 -08:00
Rose
cc4a42a901
Re-comment out the UI stuff.
2023-01-06 19:43:54 -08:00
Rose
e62fa8fe0d
Merge remote-tracking branch 'DFHack/develop' into develop
...
# Conflicts:
# library/xml
# plugins/remotefortressreader/adventure_control.cpp
# plugins/remotefortressreader/dwarf_control.cpp
2023-01-06 19:25:19 -08:00
Kelly Kinkade
5e9ddd9a36
reveal: vertical whitespaec
2023-01-06 14:34:59 -06:00
Kelly Kinkade
779e159512
enable reveal
...
`reveal demon` is disabled due to double popup bug
`reveal` also has guidance text that appears if the player is in graphics mode explaining the limitations of the new renderer
2023-01-06 13:56:19 -06:00
Myk Taylor
3969262e44
update submodule refs
2023-01-05 17:50:49 -08:00
Myk Taylor
845391f4e6
fix overzealous "ui" -> "plotinfo" replacement
...
some comments were just talking about the UI..
2023-01-05 17:46:30 -08:00
Myk Taylor
c4a2bdd08e
update lua too
2023-01-05 17:35:33 -08:00
Myk Taylor
5e5775f5e3
rename globals according to structures update
2023-01-05 17:11:01 -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
Rose
0d18dd508a
Merge remote-tracking branch 'DFHack/develop' into develop
...
# Conflicts:
# library/xml
2023-01-04 15:02:33 -08:00
Rose
67b95bf35f
Compile Remote Fortress Reader
2023-01-04 15:01:46 -08:00
Myk Taylor
8e62a46009
display new logo for the hotkeys overlay widget
2023-01-04 13:30:33 -08:00
Myk Taylor
898e23d6a5
use lookup instead of hardcoding texpos
2023-01-03 12:08:09 -08:00
Myk Taylor
1b1bfc40e7
move default hotspot pos one tile to the right
...
so it doesn't overlap with screen borders
2023-01-03 12:07:40 -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
bb1a165d5b
Merge pull request #2544 from myk002/myk_hotkeys_revamp
...
comment out most keybindings and revamp hotkeys widget
2023-01-02 20:43:06 -08:00
Myk
3b572b9a9d
Merge pull request #2541 from myk002/myk_pathable
...
Update pathable plugin to support v50 maps
2023-01-02 20:42:12 -08:00
Myk Taylor
2119d4fb2a
attach hotkeys widget to all viewscreens
...
and introduce new snazzy logo
2023-01-01 17:21:35 -08:00
Myk Taylor
09e240b412
allow overlay widgets to 'all' viewscreens
2023-01-01 17:20:06 -08:00
Myk Taylor
bebecec1e5
update autobutcher to work with new zoo structures
2023-01-01 16:32:56 -08:00
Myk Taylor
a123452eba
use dims from DwarfmodeDims now that they're fixed
2022-12-31 23:20:46 -08:00
Myk Taylor
11333e3872
update pathable plugin to support v50 maps
2022-12-31 21:05:03 -08:00
Myk Taylor
c401154393
widgets inherit from Panel and can be perma-enabled
2022-12-31 21:02:00 -08:00
Rose
b8f4da65bb
Merge remote-tracking branch 'DFHack/develop' into develop
2022-12-28 16:06:21 -08:00
Myk Taylor
ec0b4a9b68
don't let anchor graphics poke through the hotkeys widget
2022-12-27 17:01:39 -08:00
Rose
6783075ff2
Get RFR to actually compile. Many structure changes so it doesn't work yet.
2022-12-27 00:46:04 -08:00
Rose
5f70a26803
Comment out the dwarf mode UI for now. (Forever?)
2022-12-26 17:15:12 -08:00
Rose
b1ea3e8f02
Remove a few things from building_reader that haven't been updated yet.
2022-12-26 17:05:06 -08:00
Rose
947863750e
Comment out all adventure mode stuff. The game doesn't support it anymore anyway, and it will sureley change when it does.
2022-12-26 16:57:19 -08:00
Myk Taylor
e781cc5141
add new viewscreens to overlay
2022-12-20 20:18:00 -08:00
Myk Taylor
e8a1e10272
build wave 1 and 2 plugins
...
but don't enable anything by default yet
2022-12-19 13:43:33 -08:00
Myk Taylor
a1110ec894
also don't build stonesense, isoworld, dev plugins
2022-12-18 17:31:54 -08:00
Myk Taylor
990f9f6061
comment out all plugins and default tool init
...
until we can prove things work in v50
2022-12-18 17:25:18 -08:00
Myk Taylor
37aa3dfced
fix build of kittens dev plugin on msvc
2022-12-10 23:52:36 -08:00
Myk Taylor
1c5bc23120
update HEAD for stonesense
2022-12-10 23:51:43 -08:00
myk002
e88b1fdfe5
move script-manager into core
2022-12-10 21:59:51 -08:00
myk002
0d4d10de08
rename init to reload
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
426a538e30
refactor overlay to use script-manager code
2022-12-10 21:59:51 -08:00
myk002
b3c8d85637
new plugin: script-manager
...
scans all scripts and discovers onStateChange and isEnabled functions
2022-12-10 21:59:51 -08:00
Myk Taylor
facdb61e42
explicitly declare namespaces and proto versions
2022-12-10 18:06:53 -08:00
myk002
dec6d3d379
Revert "update google protobuf to 3.21.10"
...
This reverts commit 9dabf51ac7
.
2022-12-07 11:59:48 -08:00
myk002
9dabf51ac7
update google protobuf to 3.21.10
2022-12-07 11:59:15 -08:00
myk002
6fc62946e4
remove obsolete fix_job_postings command
2022-12-06 16:22:39 -08:00
myk002
7e6b8618ea
remove command-prompt
2022-12-04 15:56:11 -08:00
myk002
1547d527b7
fix off-by-one error in dwarfmonitor.misery widget
2022-12-04 15:34:00 -08:00
Myk
fb42951afe
Merge pull request #2464 from myk002/myk_cleanup
...
remove unused "plugin" file
2022-12-03 18:47:04 -08:00
Myk
017d473903
Merge pull request #2460 from myk002/myk_buildingplan
...
move buildingplan into subdir
2022-12-03 18:46:42 -08:00
myk002
8d9fba665e
remove unused "plugin" file
2022-12-02 17:04:18 -08:00
myk002
fa9a3fcbbf
add missing CMakeLists file
2022-12-02 16:32:21 -08:00
Kelly Kinkade
d62514b201
fix stupid typo in cmakefile
2022-12-02 17:08:17 -06:00
Kelly Kinkade
231b521c02
INFO -> TRACE in autolabor
...
sorry about that
2022-12-02 17:05:26 -06:00
myk002
e0aff474f3
move buildingplan into subdir
2022-12-02 14:22:48 -08:00
Myk
ed52c4cd6e
Merge pull request #2374 from wolfboyft/movement-timer-api
...
Action timer API
2022-12-02 09:31:13 -08:00
Myk
08f267955c
Merge pull request #2454 from cppcooper/channel-safely
...
Implements plugin: channel-safely v1.1.1b
2022-12-01 16:49:32 -08:00
Josh Cooper
e316b7aa75
Implements plugin: channel-safely v1.1.1b
2022-12-01 16:36:32 -08:00
Tachytaenius
0836962007
Rename [xyz]CategoryActionTimers to [xyz]GroupActionTimers in action timer API
2022-12-01 23:24:04 +00: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
Kelly Kinkade
437335454d
make autohauler not be a chatty cathy
...
INFO -> TRACE
2022-12-01 09:00:50 -06:00
Tachytaenius
f863b9807a
Add action timer API input validation
2022-12-01 13:34:54 +00:00
Tachytaenius
7f54a77ed9
Continue work on unit action timer API
2022-12-01 13:34:54 +00:00
Tachytaenius
16ef4f8313
Rename action_type_group to unit_timer_action_type_group
2022-12-01 13:34:54 +00:00
Tachytaenius
fa589b5764
Make progress with action timer API
2022-12-01 13:34:54 +00:00
Tachytaenius
0f8ce360ac
Make first pass of action timer API
2022-12-01 13:34:54 +00:00
lethosor
40f3a3333e
Make Cursor widget prefix and coordinate types configurable
...
e.g. the old behavior can be restored with "coords_type": "mouse_ui" and
"coords_short": true
2022-12-01 00:08:56 -05:00
Kelly Kinkade
9b5a693637
death to whitespace
2022-11-30 21:46:35 -06:00
Kelly Kinkade
cea9e144c6
switch autolabor & autohauler to debugging api
...
might need to change some of the message levels, time will tell
2022-11-30 21:46:35 -06:00
Kelly Kinkade
8d95d20852
remove stray whitespace
2022-11-30 21:43:56 -06:00
Kelly Kinkade
9fcb20888f
realign autohauler and autolabor with each other
...
also clean up C++ code smells in both
2022-11-30 21:43:56 -06:00
myk002
ce1ef15bb2
reduce hotspot visuals to a single exclamation mark
2022-11-30 18:13:19 -08:00
myk002
1851a82fe1
close the hotkey menu if the mouse "flicks" onto it
...
also initialize the selected item properly if the widget is anchored to
the bottom of the screen
2022-11-30 18:11:02 -08:00
lethosor
3b7206777e
spectate: avoid printing or taking action on load when disabled
2022-11-30 20:31:59 -05:00
Myk
760fbf7b8f
Merge pull request #2434 from cppcooper/channel-safely
...
Implements plugin: channel-safely v1.1b
2022-11-30 08:28:08 -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
Kelly Kinkade
bc502f8132
correct QUERN construct labor
2022-11-29 18:32:57 -06:00
myk002
f5d20c99a3
prep for usage by gui/overlay
2022-11-29 15:12:02 -08:00
myk002
9d17be84a8
set width to something representative on init
...
so if the widget is enabled in gui/overlay without ever being resized with real data,
it won't be truncated
2022-11-29 15:12:02 -08:00
Josh Cooper
3999ed5c72
Implements plugin: channel-safely v1.1b
2022-11-28 17:10:55 -08:00
myk002
23e467deaf
use consistent bounds checking style in hotkeys
2022-11-28 15:50:05 -08:00
myk002
4e7b4dc554
show hotkeys bound to number keys, F11, and F12
2022-11-28 15:37:01 -08:00
Myk
344ed4312b
Merge pull request #2111 from cppcooper/channel-safely
...
Channel safely
2022-11-23 12:41:50 -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
c6b15b1ccb
Implements plugin: channel-safely v1.2a
2022-11-22 11:03:28 -08:00
myk002
24dc879888
adapt library code to newly correct mouse events
2022-11-21 17:36:46 -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
5352649b88
Implements plugin: spectate v1.0.3b
...
test
2022-11-21 12:26:40 -08:00
Josh Cooper
4a0abd1915
Implements plugin: spectate v1.0.2b
2022-11-21 12:26:40 -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
c4e55f1cc9
Implements plugin: channel-safely v0.6.1.3
2022-11-21 09:26:55 -08:00
Josh Cooper
3cb186a62f
Implements plugin: channel-safely v0.6.1.2
2022-11-21 09:26:55 -08:00
Josh Cooper
8847ed23b4
Implements plugin: channel-safely v0.6.1.1
2022-11-21 09:26:55 -08:00
Josh Cooper
a9f0021927
Implements plugin: channel-safely v0.6.1
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
fcd6696768
Implements plugin: channel-safely v0.5.3
2022-11-21 09:26:55 -08:00
Josh Cooper
84ffeef092
Implements plugin: channel-safely v0.5.2
2022-11-21 09:26:55 -08:00
Josh Cooper
9db0d809fa
Implements plugin: channel-safely v0.5.1
2022-11-21 09:26:55 -08:00
Josh Cooper
e5dbaac85d
Implements plugin: channel-safely v0.5
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
a8dcfeead9
Implements plugin: channel-safely v0.3.1
2022-11-21 09:26:55 -08:00
Josh Cooper
b7ee01108e
Implements plugin: channel-safely v0.3
2022-11-21 09:26:55 -08:00
Josh Cooper
3a6205d19e
Removes extra EOF lines
2022-11-21 09:26:55 -08:00
Josh Cooper
bd6c748d00
Implements plugin: channel-safely v0.2
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
5967e5c9e0
fix up cleanowned status message
...
print unit id instead of raw pointer and display "wear level" instead of
just "wear"
2022-11-20 16:03:08 -08:00
Myk
ff447d46bd
don't overcount units for misery widget
...
addendum to #2366
2022-11-20 09:45:23 -08:00
Kelly Kinkade
2bc2dd8f5b
remove unnecessary 'const'
...
wouldn't it be nice if there was a single C++ standard that all compilers adhered to?
2022-11-20 10:21:32 -06:00
Kelly Kinkade
2453b34194
refactor common labor state map table
...
eliminates code duplication
2022-11-20 10:09:52 -06:00
Kelly Kinkade
aa78c626f9
collect autolabor plugins into one directory
...
these plugins all share code, moving them into a common directory will make refactoring the code shared between them more straightforward
2022-11-20 01:58:08 -06: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
d191993376
autolabor/autohauler: add labor entries for 241-243
...
add missing entries for jobs 241, 242, and 243
this was fixed in labormanager in PR #1566 (see #1561 ) but was never addressed in autolabor or autohauler
should close #1994
2022-11-15 13:13:33 -06: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
6635b6489b
handle commands like ':lua <something>'
2022-11-14 16:46:03 -08:00
myk002
bdf201c670
ensure keybinding shows up in hotkeys command
...
not overlay
2022-11-14 16:46:03 -08:00
myk002
47d7c477b3
show menu hotkey for list but not on the menu
2022-11-14 16:46:02 -08:00
myk002
a2efc41fef
use new anywhere hotkey and filter out own hotkey
2022-11-14 16:46:02 -08:00
myk002
de20603080
implement CLI commands
2022-11-14 16:46:02 -08:00
myk002
1fc30493c0
right align hotkeys for list items
...
and combine hotkeys for identical commands
and don't hide the menu until the mouse has left the frame
and start the widget one tile closer to the edge so the mouse is already
on the list instead of on the frame
2022-11-14 16:46:02 -08:00
myk002
8bf987e7db
use a more natural ordering for modifier keys
2022-11-14 16:46:02 -08:00
myk002
2b73d6e8e9
allow hotkeys to be invoked as a hotkey
...
also ensure keybindings are always cleaned up
2022-11-14 16:46:02 -08:00
myk002
66d3409a65
solve concurrency issues
2022-11-14 16:46:01 -08:00