Josh Cooper
92537bc459
Implements plugin: channel-safely v0.6
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
22414f26fa
Implements plugin: channel-safely v0.1
2022-11-21 09:26:55 -08:00
myk002
086ce64787
update changelog
2022-11-20 17:28:59 -08:00
Myk
24b237ae25
Update changelog.txt
2022-11-18 17:35:50 -08:00
Myk
11c27d40dd
Merge branch 'develop' into Bumber64-patch-2
2022-11-18 17:34:00 -08:00
Kelly Kinkade
0d5b80204f
`Internals` not `Internal`
2022-11-18 15:35:08 -06:00
Kelly Kinkade
b6ffaebeda
refine comments
2022-11-18 15:29:02 -06:00
Kelly Kinkade
a16aca0f03
up MSVC warning level to /W3 /WX
...
This makes MSVC warn at a level comparable to what we use on gcc for Linux builds
2022-11-18 15:09:50 -06:00
myk002
7b6cd14823
update changelog
2022-11-16 12:33:24 -08:00
myk002
1cc9a4d832
make leggings instead of crafts out of shells
...
they have a greater average trade price, and "shleggings" is hilarious.
2022-11-16 12:31:24 -08: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
eeee752733
Update changelog.txt
...
add changelog
2022-11-15 13:21:45 -06:00
myk002
983ae02517
update keybinding docs
2022-11-14 19:54:58 -08:00
myk002
8f7624fb76
update changelog
2022-11-14 19:53:46 -08:00
Myk
966623a919
Merge pull request #2387 from cppcooper/units-checking
...
Extends Units module
2022-11-14 16:55:42 -08: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
2093287bf0
update changelog
2022-11-14 16:46:03 -08:00
myk002
aecc190b74
update hotkeys docs
2022-11-14 16:46:02 -08:00
myk002
52e850917e
update changelog
2022-11-14 16:45:08 -08:00
myk002
722f70437c
update dwarfmonitor docs
2022-11-14 16:45:07 -08:00
myk002
14ab11cb9d
update changelog
2022-11-14 16:40:36 -08:00
myk002
19289bf3c8
clean up docs and code
2022-11-14 16:40:36 -08:00
myk002
e992e302a7
add messy first draft of the dev guide
2022-11-14 16:40:36 -08:00
myk002
9bdc995f20
write docs and make implementation match the docs
...
added ability to enable/disable all
added showing current widget configuration
added moving widget back to default coordinates
2022-11-14 16:40:35 -08:00
Josh Cooper
c164263af9
Groups sections of functions in lua api docs
2022-11-13 11:35:20 -08:00
Josh Cooper
52ce09804b
Apply suggestions from code review
2022-11-12 19:07:16 -08:00
Josh Cooper
441ff8a820
Fixes Lua API.rst mistakes
2022-11-12 17:55:17 -08:00
Josh Cooper
c817a39b20
Merge remote-tracking branch 'origin/units-checking' into units-checking
2022-11-12 16:45:31 -08:00
Josh Cooper
d112649886
Organizes and documents Units::is*(unit) functions
2022-11-12 16:40:20 -08:00
Josh Cooper
ebd450af0e
Adds isUnitInBox to Units module
2022-11-12 14:42:41 -08:00
Josh Cooper
b73cef3d78
Update docs/Lua API.rst
...
Co-authored-by: Myk <myk002@yahoo.com>
2022-11-12 12:28:53 -08:00
Myk
5136bbbc03
Merge pull request #2383 from cppcooper/em-fixes
...
Fixes JOB_STARTED event
2022-11-11 19:58:46 -08:00
Josh Cooper
34de030ba9
Units module
...
- Updates `Lua API.rst`
- Only adds the most important additions (complicated enough to need explaining)
- Adds new functions to LuaApi.cpp
- Revises isUndead to accommodate `dfhack.units.isUndead(u)` => `Units::isUndead(u, false)` instead of taking the default value
2022-11-09 22:03:39 -08:00
Myk
eac7fac8e9
Merge pull request #2389 from myk002/myk_gui_anywhere
...
[Gui] add "anywhere" keybinding guard
2022-11-09 15:48:04 -08:00
Josh Cooper
80824f5b75
Extends Units module
2022-11-09 14:41:45 -08:00
myk002
0344595e4e
add "anywhere" keybinding guard
2022-11-09 14:32:51 -08:00
myk002
d95a5ac238
add string_to_int to MiscUtils.h
2022-11-09 11:55:29 -08:00
Josh Cooper
beee445f6f
Extends Units module
...
Adds unit check functions for
- animals
- demons
- titans
- megabeasts
- semimegabeasts
- night creatures
2022-11-09 11:44:28 -08:00
Myk
ccd43f1710
Merge pull request #2381 from myk002/myk_framed_panel
...
[widgets.Panel] support frames around panel widgets
2022-11-09 10:32:23 -08:00
Myk
9fed02435e
Merge pull request #2378 from myk002/myk_list_mouse
...
Allow widgets.List to report hover target and respond to shift-click
2022-11-09 10:32:06 -08:00
Myk
4924fd0d52
Merge pull request #2377 from myk002/myk_gui_convenience
...
Make View:getMousePos() and Screen:show() a bit more flexible
2022-11-09 10:31:58 -08:00
Myk
f2a386f0e1
Merge pull request #2375 from myk002/myk_uicommon
...
Move generally useful string functions from uicommon to MiscUtils
2022-11-09 10:31:50 -08:00
Josh Cooper
92645ccb5b
Fixes JOB_STARTED event
2022-11-08 12:43:23 -08:00
myk002
d0753b4a9c
update changelog
2022-11-08 10:15:28 -08:00
myk002
1d03afcd6f
update changelog
2022-11-08 10:15:28 -08:00
myk002
0d970509f8
update changelog
2022-11-07 16:58:51 -08:00
myk002
63a1c1ae15
update lua docs
2022-11-07 16:57:55 -08:00
myk002
f906aee5b8
update changelog
2022-11-07 16:19:09 -08:00
myk002
93bc4c00eb
update lua api docs
2022-11-07 16:19:03 -08:00
myk002
b2b2a52b55
update changelog
2022-11-07 16:00:43 -08:00
myk002
a0ff7e4d3f
update Lua docs
2022-11-07 15:58:29 -08:00
myk002
5a720bd496
update changelog
2022-11-07 15:40:00 -08:00
Josh Cooper
391553624f
Update changelog.txt
2022-11-06 17:34:53 -08:00
Myk
1e31cc197d
Merge branch 'develop' into spectate
2022-10-26 12:30:58 -07:00
Myk
c7f4f57367
Merge pull request #2360 from myk002/myk_automaterial_render
...
[automaterial] fix render errors with box boundaries
2022-10-26 12:25:48 -07:00
Myk
e60cbfc743
Merge pull request #2361 from myk002/myk_zjump_twbt
...
[mousequery] fix z-level jumps when clicking quickly
2022-10-26 12:25:40 -07:00
Josh Cooper
754e1dd4ac
Update docs/plugins/spectate.rst
2022-10-24 17:50:21 -07:00
myk002
8b61a17009
prevent z-level from changing after box select
...
if the player clicks the mouse too fast after finishing a selection
2022-10-24 12:46:31 -07:00
myk002
01c46f7a7e
fix z-level jumps when clicking quickly
...
this happens when TWBT is enabled and multilevel is > 0
getDepthAt() returns inconsistent values for the same position, leading
to a mismatch when we "unshift" the coordinates to account for render
depth
2022-10-24 12:44:25 -07:00
myk002
6a57cc4450
fix render errors with automaterial box boundaries
2022-10-24 12:41:17 -07:00
Josh Cooper
2ca2066081
Fixes underline in spectate.rst
2022-10-23 10:45:23 -07:00
Josh Cooper
c611a7615c
Merge branch 'develop' into spectate
2022-10-23 10:41:28 -07:00
Josh Cooper
c18beb30bb
Updates spectate.rst
2022-10-23 10:40:23 -07:00
Myk
a854e379b2
Merge pull request #2354 from myk002/myk_scrollbars_redux
...
make scrollbars more responsive when dragging
2022-10-22 20:28:52 -07:00
myk002
64b923b9eb
make the materials dialog filter lcase only
...
this allows the capital letter hotkeys to be processed by the list
widget without the special-casing of the ignore_keys attribute.
2022-10-21 12:43:53 -07:00
myk002
593b80cfa0
make scrollbars more responsive when dragging
2022-10-21 12:22:57 -07:00
Josh Cooper
f66dd6f404
Implements change requests
...
- removes redundant `if (df::global::ui)` checks; and tested to ensure no segfaults cropped up like in the past times I've removed these
- removes useless `if (pause_lock)` pause lock is set when plugin initializes, even if pause lock was left null (since we technically don't need it, and that was the point of the null check) it still would be a useless check (actually an impediment preventing functionality)
- removes disabled interpose code
- removes lua linkage
- updates doc
extra:
- surrounds user input for tick frequency with `std::abs()` not that we would have ended up with a negative value, but it was probably a typo and this is easier than printing an error or letting it underflow past max int (on most systems)
2022-10-20 23:52:30 -07:00
myk002
1e21e6546e
fix materials selection dialog
...
where the filter was swallowing the sublist hotkeys
2022-10-19 17:31:28 -07:00
myk002
666edd6d60
don't overwrite dig priority by accident
...
many callers of setDesignationAt simply didn't bother with the priority
parameter. change the default value of the priority param so that by
default we will keep the previous value instead of overwriting it
2022-10-19 16:47:54 -07:00
myk002
9199f8207f
add global keybinding for on-screen keyboard
2022-10-19 14:05:20 -07:00
myk002
43f4d4be39
fix typo in keybinding docs
2022-10-19 14:05:07 -07:00
Tachytaenius
82f759c56e
Single-character typo adjustment in Lua API.rst
2022-10-19 21:26:20 +01:00
Josh Cooper
9b1541add5
Merge branch 'develop' into spectate
2022-10-14 17:41:34 -07:00
Josh Cooper
45ac340f37
Finalizes spectate update
...
- Fixes for state transitions that were found broken. eg. plugin disabled -> enable auto-unpause feature -> enable plugin (auto-unpause will not truly be enabled; similar transitions were broken)
- Adds a commented out lock for if the pause code is ever adopted into the core API, as to enable many mods to use the `World::SetPauseState()` without walking over each other, and in the case of `reveal hell` also be able to avoid needing to set the state every tick in onupdate
- Revises the usage docs with `enable|disable|set` syntax
2022-10-14 17:02:43 -07:00
myk002
fbb4b37493
update changelog
2022-10-14 13:22:05 -07:00
myk002
fc926df59d
update changelog
2022-10-14 12:31:51 -07:00
myk002
b1bf80e585
support "group" file split strategy for blueprint
2022-10-14 12:27:24 -07:00
Myk
4f10cd4a9b
Merge pull request #2331 from wolfboyft/constructions-find-at-tile-patch
...
Implement/change/expose to Lua constructions findAtTile & insert
2022-10-13 17:40:21 -07:00
Tachytaenius
0b9b05e488
Add changelog entries
2022-10-13 20:51:01 +01:00
Josh Cooper
5c785d4bd7
Rewords spectate changelog entries
2022-10-13 11:57:25 -07:00
Josh Cooper
880e9b34ef
Removes disable usage
2022-10-13 11:52:56 -07:00
myk002
c52138b168
generate meta blueprints
2022-10-12 17:42:36 -07:00
myk002
f411ba76ba
record accurate room sizes in blueprints
2022-10-12 16:33:06 -07:00
myk002
b03911945d
update changelog
2022-10-12 16:03:03 -07:00
myk002
80d993e734
split rooms phase from query and record names
2022-10-12 16:01:54 -07:00
Josh Cooper
f54d37c8e7
Moved spectate changelog entries to new section
2022-10-12 14:42:04 -07:00
Josh Cooper
8d8ef023fd
Merge branch 'develop' into spectate
2022-10-12 14:40:56 -07:00
Josh Cooper
23c2d14b4a
Updated documentation/changelog
2022-10-12 14:40:21 -07:00
myk002
754f1a2598
update changelog
2022-10-12 13:33:29 -07:00
Tachytaenius
ded5f483d6
Fix issues in construction module
2022-10-12 21:32:27 +01:00
myk002
b78af72403
record built constructions in blueprint
2022-10-12 13:31:46 -07:00
Tachytaenius
1cf9688349
Implement/change/expose constructions findAtTile & insert (not building)
2022-10-12 21:10:22 +01:00
Josh Cooper
ddf7850d90
Merge branch 'develop' into spectate
2022-10-12 11:33:55 -07:00
myk002
598f2c4b12
support --smooth option for blueprints
2022-10-12 10:10:53 -07:00
myk002
9a0f9f210b
update docs for clicking and dragging scrollbars
2022-10-07 16:38:44 -07:00
myk002
ba36e72b33
support click and drag for scrollbars
2022-10-07 16:27:19 -07:00
myk002
35eb4e08dd
hold down the mouse button to continue scrolling
2022-10-07 15:40:05 -07:00
myk002
5722d6914b
transition Label to use the new generic Scrollbar
2022-10-07 12:45:43 -07:00
myk002
24232e894a
create Scrollbar widget and integrate with List
2022-10-06 11:13:16 -07:00