Commit graph

5423 commits

Author SHA1 Message Date
KazWolfe
14b6bcdb05
Merge branch 'master' into api11 2024-11-15 00:21:50 -08:00
Kaz Wolfe
d6dad8b44a
fix gamepad inputs for imgui 2024-11-15 00:20:51 -08:00
Kaz Wolfe
bd5f1a3277
bump cs 2024-11-14 23:51:08 -08: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
bdc24ad23e
bump cs 2024-11-14 23:10:59 -08:00
Kaz Wolfe
ec8389a34e
bump cs 2024-11-14 20:27:30 -08:00
Kaz Wolfe
3100f9134d
cs bumppppp 2024-11-14 16:50:08 -08:00
ItsBexy
ee63f60877
Update UIDebug2, ImGuiComponents, ImGuiHelpers (#2081)
* Update ImGuiComponents & ImGuiHelpers
Took some helper functions created for `UiDebug2`, and incorporated them into `ImGuiComponents` / `ImGuiHelpers` instead

- `IconButton()` (and its various overloads) now includes an optional size parameter
- `IconButtonSelect()` has been added, allowing a row or grid of IconButtons to serve as a radio-like input
- `HelpMarker()` now includes an optional color parameter
- `ClickToCopyText()` now includes an optional color parameter, and includes the `FontAwesome.Copy` icon in the tooltip.
- Implemented ImRaii in these files

These changes are intended not to break any existing calls in plugins or within Dalamud itself.

* Fix ambiguous overloads

* UiDebug2 Updates
- Fixed XY coordinate display
- Added AtkValue table to AddonTree display
- Restored old behaviour wherein the Addon display initially only shows the Root node and a collapsed node list
- The above should also fix the Element Selector / Search behaviour, allowing it to scroll correctly to the searched node
- Now displays field offsets for any node/component whose pointer exists in the addon struct
- Tidied up node tree headers by removing memory addresses (they're still readable in the opened tree, of course)
2024-11-14 15:36:27 -08:00
Haselnussbomber
94f16ac16e
Alias ClientState.IsLoggedIn to AgentLobby.IsLoggedIn (#2082) 2024-11-14 15:36:10 -08:00
Kaz Wolfe
b483b63bf2
GameInventoryItem matches StructSize from CS 2024-11-14 15:34:56 -08:00
Kaz Wolfe
7feeae9910
bump cs 2024-11-14 15:21:07 -08:00
Kaz Wolfe
76df39f7b3
bump cs again 2024-11-14 10:36:32 -08:00
Kaz Wolfe
913fe25cc5
InventoryItem size bump 2024-11-14 08:47:32 -08:00
KazWolfe
097f85eff6
Move more things to ClientStructs (#2080)
* GameGui uses CS methods now

Co-authored-by: Infi <infiziert@protonmail.ch>

* Shove even more things over to CS

* Clean up NetworkHandlers too

* bump cs so things build at least

---------

Co-authored-by: Infi <infiziert@protonmail.ch>
2024-11-14 08:29:28 -08:00
Infi
7c6ed6de76
Use more of the CS version for ActionDetailHover (#2079)
* - Use CS for delegate
- Sync HoverActionKind with CS version

* Undo changes in favor of #2080
2024-11-13 21:56:30 -08:00
Infi
4e76669779
Add new city to the upload (#2078) 2024-11-13 21:56:00 -08:00
Kaz Wolfe
3a6312422c
Move HandleActionHover to CS
Co-authored-by: Infi <infiziert@protonmail.ch>
2024-11-13 19:44:35 -08:00
Infi
8668ea0d59
Fix universalis upload with itemId 0 (#2077) 2024-11-13 13:43:42 -08:00
Kaz Wolfe
6052469976
bumpy da cs 2024-11-13 08:23:57 -08:00
Haselnussbomber
f1570cc168
Update DalamudPackager in .targets (#2076)
Goat updated DalamudPackager and released it as Version 11.0.0:
c4348c30e7

On Nuget:
https://www.nuget.org/packages/DalamudPackager
2024-11-13 08:15:57 -08:00
Blair
d6ac69ff6b
Update Lumina to 5.2.1 and Lumina.Excel to 7.1.0 (#2075) 2024-11-13 08:15:24 -08:00
Kaz Wolfe
18363882a7
bump cs 2024-11-12 21:00:32 -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
goat
e2e11d5f05 fix nonstandard sizeof() usage 2024-11-13 01:20:02 +01:00
goat
979bac5d7b fix nonstandard sizeof() usage 2024-11-13 01:19:05 +01:00
Kaz Wolfe
c6b0db069e
fix: InventoryItem#Copy is a vfunc now 2024-11-12 16:07:28 -08:00
Kaz Wolfe
dc3818f42b
bump cs 2024-11-12 14:47:16 -08:00
Kaz Wolfe
10fc7656d3
bump cs, ts name fix 2024-11-12 10:26:21 -08:00
Kaz Wolfe
486192662d
New SetupTerritoryType sig
Co-authored-by: Ottermandias <70807659+ottermandias@users.noreply.github.com>
2024-11-12 08:40:10 -08:00
Kaz Wolfe
401af52c40
bump cs 2024-11-12 08:31:41 -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
KazWolfe
67e6bcac61
fix: XivChatType respects the configured chat channel if not set (#2001) 2024-11-12 08:23:22 -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
084f8b55e7
fix cs breaks 2024-11-11 08:54:57 -08:00
Kaz Wolfe
167e76911e
bump clientstructs 2024-11-11 08:39:22 -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
KazWolfe
c88e008672
chore: Bump to API version 11 proper 2024-11-11 08:23:54 -08:00
Haselnussbomber
d4735980c8
[api11] Use Conditions address from CS (#2064) 2024-11-05 22:37:45 +01:00
Haselnussbomber
fea5b3b563
Safely call events in DalamudPluginInterface (#2063) 2024-11-05 21:15:09 +01: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
Haselnussbomber
2a9ee760c6
Add IGameInventory.GetInventoryItems (#2008) 2024-11-04 16:28:06 +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
srkizer
74ab9191d3
Add ITextureProvider.ConvertToKernelTexture (#2003)
* Add ITextureProvider.ConvertToKernelTexture

Lets you obtain an instance of Kernel::Texture from IDalamudTextureWrap.

* Docs wip
2024-11-04 16:06:42 +01:00
nebel
9a0bc50e23
Use hooks instead of lifecycle for NamePlateGui (#2060) 2024-11-04 14:21:07 +00:00
Aireil
f3bd83fbe9
repos: warn on missing testing API (#2056)
* repos: warn on missing testing API

* repos: reword missing testing API warning
2024-11-04 15:20:54 +01:00