Ryan Williams
c89baa5e33
Update Lua API.rst
2022-04-28 22:40:36 -07:00
Ryan Williams
a47bf1533e
Update changelog.txt
2022-04-25 00:17:31 -07:00
Ryan Williams
ad9a08f1e7
Update Lua API.rst
...
Fix formatting (again)
2022-04-25 00:10:26 -07:00
Ryan Williams
709adda968
Update Lua API.rst
...
Fix formatting
2022-04-25 00:06:53 -07:00
Ryan Williams
c66448015e
Update Lua API.rst
...
Document autoDFAnnouncement, pauseRecenter, and recenterViewscreen.
2022-04-25 00:02:37 -07:00
myk002
ed5523152c
factor text wrapping out of TooltipLabel into WrappedLabel
2022-04-22 09:53:10 -07:00
Guilherme Abraham
2aa28d34b6
Adding ids output to cursecheck ( #2093 )
...
Co-authored-by: Guilherme Abraham <guilherme.abraham@zpesystems.com>
Co-authored-by: Myk <myk002@yahoo.com>
2022-04-21 20:22:05 -07:00
Josh Cooper
2bbe1aa6f5
Alphabetizes job-(material/duplicate) correctly
2022-04-18 17:40:12 -07:00
Josh Cooper
f570b5441a
Alphabetizes confirm/command-prompt correctly
2022-04-18 17:40:12 -07:00
Josh Cooper
634751a12c
Alphabetizes the sections of Plugins.rst
2022-04-18 17:40:12 -07:00
Josh Cooper
e7062e2e45
Alphabetizes the "Mods and Cheating" section
2022-04-18 17:40:12 -07:00
Josh Cooper
b13b927a70
Alphabetizes the "Map modification" section
2022-04-18 17:40:12 -07:00
Josh Cooper
1c825baac1
Alphabetizes the "Job and Fortress management" section
2022-04-18 17:40:12 -07:00
Josh Cooper
e9c0c01364
Alphabetizes the "UI Upgrades" section
2022-04-18 17:40:12 -07:00
Josh Cooper
d5c4ad4ccc
Alphabetizes the "Bugfixes" section
2022-04-18 17:40:12 -07:00
Josh Cooper
96fa0b4241
Alphabetizes the "Data inspection and visualizers" section
2022-04-18 17:40:12 -07:00
myk002
07761e1d5d
add some more handy widgets to the library
...
TooltipLabel
HotkeyLabel
CycleHotkeyLabel
ToggleHotkeyLabel
2022-04-18 17:37:11 -07:00
Timur Kelman
cb123e5076
default unset `frame_inset` values to 0 ( #2100 )
...
* default unset `frame_inset` values to 0
This change allows writing `frame_inset = {r=1}` instead of `frame_inset = {l=0, r=1, t=0, b=0}`
2022-04-16 08:17:35 -07:00
Tim Siegel
bf60879c81
[tweak/stable-cursor] Keep stable cursor when viewport is near enough
...
Allow the viewport to move a bit and still keep the cursor location.
2022-04-12 19:53:16 -07:00
lethosor
0f464b13b3
Merge remote-tracking branch 'lethosor/pre-commit' into develop
2022-04-12 21:17:15 -04:00
lethosor
d1f0edd33b
Apply initial pre-commit config
2022-04-12 14:48:19 -04:00
Myk
fd1ee233a2
automatically manage sidebar modes in MenuOverlay ( #2083 )
2022-04-11 20:58:54 -07:00
Myk
10f22ecc27
add ResizingPanel class and autolayout for Panels ( #2086 )
...
* add autolayout for Panels and new ResizingPanel
2022-04-11 18:25:00 -07:00
Myk
e6299700bf
Handle punctuation in FilteredList filter matching ( #2085 )
...
* allow punctuation to be typed into a filter
and allow the filter to match keys with punctuation
2022-04-11 18:22:31 -07:00
myk002
4a383b1c84
handle number-indexed lua maps in safe_index
2022-04-11 18:02:57 -07:00
Myk
4f9608da13
Document and update argparse module ( #2089 )
...
also add unit tests and use new string fns in processArgs and allow it to recognize parameters with two dashes instead of just one
2022-04-11 16:16:55 -07:00
Myk
9a8fd12785
ensure ListBoxes always have enough height ( #2084 )
...
so they can always display an error message if the filter doesn't match anything
2022-04-11 16:15:50 -07:00
Myk
96b5b4420b
Add string:escape_pattern() utility function ( #2082 )
...
* add string:escape_pattern() to dfhack.lua
stolen from devel/query.lua. will migrate scripts to use the common implementation later
2022-04-10 21:18:01 -07:00
Myk
c603d6a9f3
Move docs for include_prefix param to correct function
...
It was listed under listdir, but it only appears in listdir_recursive
2022-04-08 23:13:10 -07:00
Myk
3aebc6776a
Disambiguate Lua API header in plugins
2022-04-06 05:54:20 -07:00
Myk
189da79d10
Document new blueprint phases and options
2022-04-01 20:45:51 -07:00
myk002
54e8761aa0
capture fortifications and engravings in blueprint
2022-04-01 12:20:37 -07:00
myk002
fbd1fac210
document transform behavior for buildings and keys
2022-04-01 11:00:41 -07:00
Myk
b8c33d8ed0
[quickfort] add documentation and test data for config mode ( #2070 )
...
- documents the new config mode
- adds integration test data for [quickfort] implement config mode scripts#361
- adds a note recommending that config mode be used instead of the quickfort query_unsafe setting
- converts the dreamfort /setup blueprint to use config mode; also adjust the aliases used in that blueprint to no longer escape from and re-enter query mode
- adds some more distinctive anchor names for the quickfort and blueprint guides
2022-04-01 09:21:16 -07:00
Su
8a120837c6
only designate enough trees to reach max_logs ( #2064 )
...
* only designate enough trees to reach max_logs
* Chop largest trees first
2022-03-31 20:41:44 -07:00
Su
7653c2a932
document that script-paths.txt is only read at startup
2022-03-31 21:20:54 +01:00
Tim Siegel
b5af004194
[manipulator] Tweak colors to make cursor easier to locate ( #2051 )
2022-03-30 23:39:20 -07:00
myk002
e286b2a54d
update changelog
2022-03-30 14:42:37 -07:00
myk002
db5e7d55c1
fix guidm.enterSidebarMode(DesignateMine)
...
it would end up in DesignateChopTrees if you happened to be looking at
the surface z-level.
2022-03-28 16:57:24 -07:00
myk002
078e732a42
update changelog
2022-03-28 16:00:29 -07:00
myk002
1976288efb
quickfort user guide doc refresh
...
- add docs for negative expansion syntax
- add information on how negative expansion syntax can be used to
simplify carved track designations
- full editing pass, fixing grammar, typos, formatting, and clarifying text
- added tip about using dig priorities to ensure miners dig one level at
a time
- add "Dreamfort organization and packaging" section to the dreamfort
case study
- add inline screenshots for each dreamfort level in the section that
discusses that level
- fix Links section to use the actual header text of the target links
2022-03-28 16:00:29 -07:00
myk002
f37de835da
center uncentered image in blueprint library guide
2022-03-28 16:00:29 -07:00
Tim Siegel
ab54cbff7a
[confirm] Fix typo in help message ( #2046 )
2022-03-23 19:45:13 -07:00
Myk
be32e35642
Reword the titles of the various guides ( #2041 )
...
so they are more distinct. even I got confused about the difference
between the quickfort library guide (which is about blueprints, but
listing the pre-made onces) and the
quickfort blueprint guide (which is about blueprints, but editing them)
2022-03-21 12:58:17 -07:00
Tachytaenius
19c0a4fe06
Added (chain) for [CHAIN_METAL_TEXT] armours in library/gui/materials.lua used by the gui/create-item script ( #2037 )
2022-03-19 15:32:16 -07:00
Kelly Kinkade
e1961f5fcd
visual studio 2022/2019 build instructions ( #2034 )
...
* visual studio 2022/2019
update instructions to recommend using VS 2022 or VS 2019 with downlevel tool support
* reinsert accidentally deleted line
* fix markup
* notes on abi compatibility, changelog
2022-03-17 13:19:12 -07:00
Zishi Wu
ce30843b92
update Windows build docs for Visual C++ 2015 ( #2032 )
...
* update Windows build docs for Visual C++ 2015
* fixed doc errors / moved changelog entry to future section
2022-03-16 13:10:00 -07:00
Kelly Kinkade
07e96a6a1c
Update changelog.txt
2022-03-15 08:23:18 -07:00
Josh Cooper
dda487a535
Adds new plugin: Spectate ( #1918 )
...
* Adds spectate plugin
* Updates spectate.cpp
* Changes spectate toggle message
* Updates changelog.txt
* Adds spectate to Plugins.rst
* Adds requested changes
- foreach syntax replaces active units loops
- removes CR_FAILURE return on double enable/disable usage
- removes disabled code
- implements a few clion clang tidy suggestions (auto declare when casting)
- Updates zcount to have accurate count for performing RNG
- adds eof newline
- adds todo comment about a redundant if condition
* Declares spectate section in Plugins.rst
2022-03-14 19:33:41 -07:00
Ryan Williams
88b403ec7a
Add functions reverse-engineered from ambushing unit code ( #1992 )
...
* Add functions reverse-engineered from ambushing unit code
* Fix whitespace
* Fix debug_showambush check
* Remove getOuterContainerRef from Lua API
Don't think this works properly without allocating a new specific_ref. More trouble that it's worth.
* Fixed tile visibility check
* I don't think gamemode or gametype are ever NULL
* Minor tweaks to documentation
* Reimplement getOuterContainerRef for Lua; fix some comments
* Update Units.cpp and changelog
* Update Units.cpp
* Update changelog.txt
2022-03-13 17:19:35 -07:00