Commit graph

940 commits

Author SHA1 Message Date
nil
cd03ef7d02
fix: always scan for dev plugins when opening the plugin installer (#2184)
* fix: scan for dev plugins on plugin installer window open

* fix: show scan dev plugins button based on plugin locations and not installed plugins
2025-03-01 01:37:58 +00:00
goaaats
dd47147538 Installer: if main-repo cross update is available, adjust warning message 2025-02-27 21:38:12 +01:00
srkizer
d932f2f06e
fix: apply scale to TSM entry (#2169) 2025-01-10 17:52:54 +01:00
Haselnussbomber
f2c132c7d8
Allow setting a DisplayOrder on commands (#2162)
* Allow setting a DisplayOrder on commands

* Linq on demand

* Sort commands in /help alphabetically

* note default in xmldoc

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2025-01-09 21:15:14 +00:00
goat
35b49823e5 WindowSystem: fix clickthrough option not applying to child windows, persist options
Persistence is pretty WIP. I want to offer multiple presets in the future, and save more things like window positions.
2024-12-30 21:14:08 +01:00
goat
b36bdb2086 Revert "clamp value of all easings by default"
This reverts commit 1aada98393.
Breaks the API.
2024-12-30 13:59:59 +01:00
goat
0cac90b032 plugin installer: only allow feedback for non-outdated plugins 2024-12-29 19:01:49 +01:00
goat
1aada98393 clamp value of all easings by default 2024-12-29 16:53:16 +01:00
goat
2e77e90532 title screen menu: some visual fixes
Use SeStringRenderer to render menu entries
Clamp alpha values to avoid flickering
2024-12-29 13:49:31 +01:00
goat
c79b1cd83a config: save asynchronously to prevent hitches 2024-12-29 13:17:03 +01:00
goat
01980c3133 plugin installer: add linebreak after ban reason 2024-12-29 12:42:43 +01:00
goat
10f4009a0c don't implicitly depend on DataManager in data widget load functions 2024-12-26 17:17:04 +01:00
goat
2e2feb144f fix some warnings 2024-12-26 14:11:14 +01:00
goat
8b06ae3f00 add ImGui assert options to experimental tab 2024-12-25 17:04:35 +01:00
goat
12bf2f4478 replace nonfunctional managed asserts with proper imgui-handled assert mechanism 2024-12-25 12:47:38 +01:00
goat
8276c19c6f add plugin enable/disable/toggle commands 2024-12-23 21:00:02 +01:00
goat
8572ed8b1e ProfileCommandHandler -> PluginManagementCommandHandler 2024-12-23 17:05:35 +01:00
Infi
2e6cb6ef00
- Add chat notification back to AutoUpdate (#2146)
- ImRaii UI elements in AutoUpdate tab
- Fix scoping in IconButton
2024-12-19 22:19:50 +01:00
srkizer
70af62885b
chore: remove [Experimental] from SeStringRenderer (#2144)
It hasn't caused problem for a while (though performance probably can be
better), and looks good enough to remove this attribute.
2024-12-17 07:31:44 -08:00
Haselnussbomber
da718b64c1
Use MiniGame BGM scene for About tab 2024-11-30 19:59:42 +01:00
srkizer
db4b6cea2c
Avoid re-creating title version string every frame (#2117)
* Avoid re-creating title version string every frame

* Marked title version string that it has been changed by Dalamud by
  appending a newline payload with a string expression embedded within,
  which the game will ignore (effectively `<br(!Dalamud!)>`.)
* Added `PluginManager.LoadedPluginCount` which will count the number of
  loaded plugin without making a copy of the plugin list.
* Made TitleScreenMenuWindow.OnVersionStringDraw` update the title
  version text addon only if number of loaded plugin changes or the text
  is missing the custom suffix from the first point.

* Use OriginalTextPointer to determine if SetText(ROS) has been called
2024-11-25 17:09:43 -08:00
srkizer
d19b7d70d5
Move UtfEnumerator from Dalamud to Lumina (#2111)
* Move UtfEnumerator from Dalamud to Lumina

Comes with some trivial cleanups.

* Update Lumina to 5.5.0
2024-11-20 09:32:49 -08:00
Haselnussbomber
52e8fca7f1
Add InventoryWidget (#2097)
* Add InventoryWidget

* Update InventoryWidget

- Use GameInventoryItem.GetReadOnlySpanOfInventory
- Display Stains
- Display Materia

* Display CrafterContentId in InventoryWidget

* Fix display of HQ items in InventoryWidget

Also removes the Base ItemId, because Dalamud doesn't apply flags.

* Make columns Itemid and Quantity copyable
2024-11-16 17:50:58 -08:00
nebel
abcb99d4ec
Add support for boxed outlined numbers in SeIconChar (#2088) 2024-11-16 00:34:49 +00:00
Kaz Wolfe
d7abf9fe0d
Fix Fate aging step; report Tuliyollal taxes
- FATE table test needs a zone with FATEs in it.
- Use a `byte` rather than an `int` so we don't overflow like crazy.
2024-11-14 23:27:46 -08:00
Kaz Wolfe
fd6d52d33b
Extend IconBrowserWidget range
Resolves #2074.

Co-authored-by: ItsBexy <103910869+itsbexy@users.noreply.github.com>
2024-11-12 20:24:20 -08:00
Kaz Wolfe
10fc7656d3
bump cs, ts name fix 2024-11-12 10:26:21 -08:00
Julian
57cc2f36f9
feat: Encourage developers to use DLLs for devPlugins (#1958)
* Add file dialog to add a dev plugin
* Require dev plugins to be paths to the DLL
* Only allow .dlls in the dev plugin setting entry
* Update dev plugin location hint
* update wording

---------

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2024-11-12 08:27:23 -08:00
Haselnussbomber
c0f05614c6
[api11] Some code cleanup and signature replacements (#2066)
* Remove unused code from ChatHandlers

* Replace sigs in DalamudAtkTweaks

* Resolve LocalContentId by using PlayerState.ContentId

* Resolve BuddyList address via UIState.Buddy

* Resolve ObjectTable address via GameObjectManager

* Resolve FateTable address via FateManager

* Resolve GroupManager address via GroupManager

* Resolve JobGauges address via JobGaugeManager.CurrentGauge

* Simplify ItemHover/Out event

* Resolve ToggleUiHide address via RaptureAtkModule.SetUiVisibility

* Resolve PopulateItemLinkObject via InventoryItem.Copy

* Add byte[].AsPointer extension

* Resolve addresses used by ToastGui via UIModule functions

* Use Length from Span as ObjectTableLength

* Replace OpenMapWithMapLink with CS call

* Resolve FrameworkAddressResolver with CS vtable

* Drop unnecessary ToArray in HandlePrintMessage

* Clean up event calls in HandlePrintMessageDetour

* Simplify LocalContentId further

This pointer can't be null, because it's part of the .data section.

* Compare SeStrings in FlyTextGui with SequenceEqual

* Use CS types in FlyTextGuis internal code

* Simplify reading SeStrings internally

* Remove AsPointer again

* Resolve Number/StringArray by type in NamePlateGui

* Fix crashes in HandlePrintMessageDetour

* Resolve InteractableLinkClicked with LogViewer.HandleLinkClick
2024-11-12 08:20:29 -08:00
Kaz Wolfe
720b1676e5
Merge branch 'master' into api11
# Conflicts:
#	Dalamud/Game/ClientState/Fates/Fate.cs
#	Dalamud/Game/Gui/NamePlate/NamePlateUpdateContext.cs
#	Dalamud/Interface/Internal/DalamudInterface.cs
#	Dalamud/Interface/Windowing/Window.cs
#	Dalamud/Utility/StringExtensions.cs
#	lib/FFXIVClientStructs
2024-11-11 08:38:20 -08:00
Haselnussbomber
c7facaf072
Rewrite parts of ClientState (#2065)
- Completely relies on hooks now, instead of the Framework.Update loop
- Support for Logout codes
2024-11-11 08:28:40 -08:00
wolfcomp
30d56e4d11
fix all warnings and breaking changes for CS (#2061) 2024-11-04 21:14:51 -08:00
goat
fcbad5000a add hint about disabling version text to TSM setting 2024-11-04 23:14:10 +01:00
goat
66c24b630a dark uiglow looks better 2024-11-04 22:59:24 +01:00
goat
d08520b245 make version text not-red, since that feels like it should indicate errors 2024-11-04 17:48:34 +01:00
KazWolfe
3435c346b6
feat: Add Dalamud Version to the Title Screen (#1939) 2024-11-04 17:18:31 +01:00
Xpahtalo
620a802755
Add additional warning to plugin config reset modal (#2005)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-11-04 15:13:46 +00:00
goat
422463f9cf
Merge pull request #2038 from ItsBexy/UiDebug2
Update Addon Inspector
2024-11-04 14:37:00 +01:00
Blooym
a8244a9114
chore: fix a very small typo (#2058) 2024-10-20 20:38:15 -07:00
Asriel Camora
0b9af0e3f4
Update to Lumina 5 (new Excel parsing) (#2022)
* Refactor and upgrade to new excel design

* Obsolete ExcelResolver<T> and use only RowRef<T>

* Better benchmarking for Lumina

* Add custom game-supported RSV provider

* Refactor and move Lazy<T> and nullable/cached row objects to RowRefs

* Convert IRSVProvider to delegate, resolve strings by default

* Split IExcelRow into IExcelSubrow

* Extra lumina documentation

* Minor RSV CS fixes

* Fix UIGlowPayload warning

* Fix rebase

* Update to Lumina 5
2024-10-20 19:59:03 -07:00
ItsBexy
552aafd70d Misc UiDebug2 Fixes
- The widget will now only check the `FFXIVClientStructs` assembly for addon type information.
- Updated ImRaii usage
- Clarified suppression in `NodeTree.Text.cs`
- Restored the original Addon Inspector in the Data window, so that both versions can coexist for the time being
2024-10-17 10:52:22 -06:00
ItsBexy
bf8690fc60 Update Addon Inspector
This updates the Addon Inspector with lots of new features and functionality.

- Features from Caraxi's fork of UiDebug have been incorporated, such as the Element Selector UI and address search.
- Any addon or node can now pop out into its own window.
- Revised the visual style of node field/property information.
- Color values are now visually displayed.
- Any nodes or components that are referenced by fields within the addon will now show that field name in the inspector.
- Added editors for nodes, allowing complete control over most of their properties.
- Improved texture display for Image nodes (and Image node variant types). The active part of the texture is now highlighted, and the boundaries of other parts can be shown via mouseover.
- Highlighting of node bounds onscreen is now more accurate, factoring in rotation (including when using the Element Selector).
- Display of animation timelines has been revamped, showing a table of keyframes for each animation.

A standalone SamplePlugin-based version is available here: https://github.com/ItsBexy/UiDebug2
2024-09-02 21:01:49 -06:00
nebel
7a45fb05e3
Cache DalamudAssetAttribute lookups (#2014) 2024-08-17 11:05:15 +02:00
srkizer
ecf8e323c4
Misc fixes (#2013) 2024-08-15 15:22:33 +02:00
srkizer
cddad72066
Add error handlings for UldWidget (#2011)
* Add error handlings for UldWidget

* fixes
2024-08-13 08:45:00 -07:00
wolfcomp
ae4c561e09
Add an ULD display to data window (#1938)
* prelim uld data display
* change uld list to a string array
* fix some uld parts not having their texture id set.
* update uld browser to use themes and get locations from sig scanning
* undo ClientStructs change during rebase
* fix capitalization during rebase
2024-08-12 13:36:31 -07:00
srkizer
018524fb8f
Fix UIColor layout (#1998)
* Fix UIColor layout

* Handle <color(0)> correctly
2024-08-06 22:31:24 +02:00
srkizer
694b42a378
Fix UIColor handling per theme (#1995)
UIColor sheet has color sets per theme. Updated `UIColorWidget` to
reflect that, and added `SeStringDrawParams.ThemeIndex` to let users
choose which theme color set to use while drawing SeString from Dalamud.
2024-08-04 17:46:05 +02:00
srkizer
878b96e67d
SeString renderer: Implement replacement entity (#1993)
* Refactor

* Implement replacement entity

* Apply rounding functions more correctly
2024-08-04 13:30:49 +02:00
srkizer
c721069b08
Fix scoped in and mark experimental (#1990) 2024-08-01 18:23:42 +00:00