Commit graph

562 commits

Author SHA1 Message Date
Raymond Lynch
595fd3f1e4 StyleCop: everything else 2021-05-30 07:15:47 -04:00
Raymond Lynch
1f701ec165 StyleCop: JobGauges 2021-05-29 21:12:54 -04:00
Dragon
e239fddc59 Marshal Actor name as a UTF-8 string 2021-05-30 03:45:00 +03:00
Raymond
350b9e26ad
Typo? fudgeFactor usage missing from one of the CreateMapLink methods. 2021-05-20 19:18:02 -04:00
Chivalrik
d65f2c6cd9 refactor: Use a constant for the gamepad button deletion mask
Add Flags-Attribute to GamepadButtons enums.
2021-05-02 12:21:49 +02:00
Chivalrik
e4521c0100 fix: Race condition between GamepadPoll detour and ImGui setup
Ideally, we would use
(ImGui.GetIO().ConfigFlags & ImGuiConfigFlags.NavEnableGamepad) > 0
for testing in the GamepadPollDetour whether ImGui should handle gamepad controls
or not. However, this has a race condition during load with the detour which sets
up ImGui and throws if our detour gets called before the other, so we opt-in
for a dedicated boolean.
2021-05-02 10:56:57 +02:00
Chivalrik
76bf0bc52d feat: Add support for gamepad control of ImGui
Alongside a settings option and the ability for plugins to query gamepad state.
PLugins cannot, however, as of now set an input as 'handled' and block it
for the game.
Whether game or ImGui is receiving gamepad input can be be checked via
`(ImGui.GetIO().ConfigFlags & ImGuiConfigFlags.NavEnableGamepad) > 0`
2021-05-02 10:56:56 +02:00
Chivalrik
9d38069fb3 feat: Add gamepad control of ImGui PoC WIP
- Switch between letting the game or dalamud handling input via R1+L1
- Control ImGui windows via the gamepad in accordance to the proposed button mapping
2021-05-02 10:56:56 +02:00
goaaats
87a7ae2c53
Merge pull request #347 from karashiiro/master
Send strings instead of ulongs to Universalis
2021-04-30 23:47:21 +02:00
karashiiro
d8a707e49c chore: send strings instead of ulongs to Universalis
JavaScript does not play nice when deserializing ulongs.
The only reason nobody's noticed until now is because it's taken this long for someone to actually try using them as IDs.
2021-04-30 14:39:15 -07:00
Aireil
11938722b7 feat: setting for buttons in system menu 2021-04-30 17:17:30 +02:00
Aireil
82c1c48d40 refractor: small code style update in DalamudSystemMenu.cs 2021-04-29 05:49:26 +02:00
Aireil
48ad5660d3 feat: toggle instead of open in system menu 2021-04-29 05:37:45 +02:00
goat
d83aabafe2
fix: DalamudInterface load after scene init 2021-04-28 16:39:45 +02:00
goat
a5aa9cd849
feat(DalamudSystemMenu): localize, switch around options (closes #336) 2021-04-28 15:37:48 +02:00
Anna Clemens
d670bd9230
feat: expose ContentIdLower for PF listings 2021-04-27 10:12:53 -04:00
goat
51e81d8dfd
fix: defer plugin load until after ImGui has rendered its first frame 2021-04-26 22:22:11 +02:00
goat
9f22b00fc6
feat: init subsystems synchronously 2021-04-26 21:55:45 +02:00
goat
e930c98769
feat: add aers menu thingy 2021-04-26 20:39:09 +02:00
goaaats
8976bfec3f
Merge pull request #334 from lmcintyre/unload
Unload plugins before unloading Dalamud to prevent crashes
2021-04-26 20:02:46 +02:00
pohky
210516a029 Add Agent field to UIDebug
- show the agent address for addons
- update agent count to 380
2021-04-26 05:05:29 +02:00
Liam
581cb506cc fix: unload plugins before unloading Dalamud to prevent crashes 2021-04-23 22:20:11 -04:00
Anna Clemens
c5037ee9b7
feat: add batch number to pf listing args 2021-04-21 13:54:11 -04:00
goat
de98b75336
feat: attempt to prevent some plugin disposal crashes by stopping Framework::Update event dispatching before unloading 2021-04-20 22:01:17 +02:00
goat
a899cc7b4b
fix: re-enable Framework::OnDestroy hook 2021-04-20 21:56:56 +02:00
maributt
d2dc80be41 Add comment on HitboxRadius line 2021-04-20 16:06:24 +02:00
maributt
c669e38222 Fix HitboxRadius' offset
according to https://github.com/FFXIVAPP/sharlayan-resources/blob/master/structures/5.4/x64.json the proper offset for an Actor's HitboxRadius is 192 or 0xC0
2021-04-20 16:02:16 +02:00
goat
7ad97f616c
fix: remove Framework::OnDestroy hook for now 2021-04-19 12:14:31 +02:00
Yorumoto Akira
ca26fe802b
allows direct printing of SeStrings in chat 2021-04-17 21:11:46 +02:00
goaaats
8f8e34b449
Merge pull request #314 from Asvel/sestring-integer-encoding
fix: improve SeString integer decoding and encoding
2021-04-17 16:48:57 +02:00
goat
cf9a52f633
fix: really respect WarrantsChangelog this time 2021-04-15 22:02:16 +02:00
goaaats
3c1ec83a04
Merge pull request #315 from daemitus/master
Actor.HitboxRadius, MNK/NINGauge updates + StyleCop
2021-04-14 16:27:29 +02:00
Chivalrik
bf4ebbe237 feat: Add SofTarget offset and property to targets resolver 2021-04-14 13:18:36 +02:00
Raymond Lynch
7d83ac126f Actor.HitboxRadius, MNK/NINGauge updates
As requested by illion
2021-04-13 22:42:50 -04:00
Raymond Lynch
ebba7a1755 Extra comment 2021-04-13 20:07:00 -04:00
Raymond Lynch
ff929ed5a6 Actor offsets, StyleCop 2021-04-13 19:52:35 -04:00
Asvel
5d611de8da fix: improve SeString integer decoding and encoding 2021-04-14 07:09:37 +08:00
goaaats
4213bbd04e
Merge pull request #307 from pohky/agent-sigs 2021-04-13 19:15:56 +02:00
Cara
c4a5f71bca Update ActorTable signature 2021-04-13 20:45:27 +09:30
pohky
ac536b033c
Merge branch 'master' into agent-sigs 2021-04-13 12:39:59 +02:00
pohky
3347382200
Update GameGuiAddressResolver.cs
update uimodule vtable sig
2021-04-13 12:38:58 +02:00
Cara
98f1820d27 Update Sig for Framework->GetUiModule 2021-04-13 16:40:24 +09:30
pohky
19ad0ff4e1 Update GameGuiAddressResolver.cs
- remove .rdata workaround for GetAgentModule
2021-04-12 04:26:00 +02:00
pohky
998e1be6f4 Update SigScanner.cs
- add .rdata so GetStaticAddressFromSignature can resolve offsets in that section
2021-04-12 04:22:58 +02:00
pohky
b724b10678 Update FindAgentModule
- use a signature the AgentModule instead of offsets
- move FindAgentModule to the other UI related functions and make it public
2021-04-12 01:06:01 +02:00
Anna Clemens
be9847f898
feat: add implicit SeString construction 2021-04-10 17:56:04 -04:00
goat
1a42ffefea
Merge branch 'master' of https://github.com/goatcorp/Dalamud 2021-04-10 03:00:24 +02:00
goat
6eaf62fc1c
fix: use Lumina sheets in AutoTranslatePayload 2021-04-10 02:58:51 +02:00
goaaats
107924c7e2
Merge pull request #296 from Caraxi/extra-chat-events
Add OnChatMessageHandled and OnChatMessageUnhandled events
2021-04-08 17:19:26 +02:00
Cara
ace2533f05 Add OnChatMessageHandled and OnChatMessageUnhandled events 2021-04-08 17:28:28 +09:30