Commit graph

1581 commits

Author SHA1 Message Date
goat
5d1537b3ed
feat: dispose scratches 2021-05-05 00:30:38 +02:00
goat
39b281f334
Merge branch 'master' of https://github.com/goatcorp/Dalamud 2021-05-03 04:17:00 +02:00
goat
8851385c14
fix: better handling for ORIG() calls in HOOK macro 2021-05-03 04:16:38 +02:00
goat
90a0651458
feat: add file watcher basics 2021-05-03 04:16:18 +02:00
goaaats
2a79ac58e0
Merge pull request #328 from fitzchivalrik/feature/ControllerNavigation 2021-05-02 18:16:38 +02:00
goaaats
31db71aef8
Merge pull request #349 from kalilistic/window-toggle
feat: add window toggle
2021-05-02 18:16:01 +02:00
kalilistic
8495a42dd6 feat: add window toggle 2021-05-02 11:23:05 -04:00
Chivalrik
ab34b584f8 fix: Add localisation to notifier string 2021-05-02 12:33:56 +02: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
66d42a7cfd feat: Draw a main-viewport-big notifier on screen whenever in gamepad mode
This notifier is a light grey-ish background and some text in the upper
left corner of the main viewport.
2021-05-02 11:43:31 +02:00
Chivalrik
2a2419883b feat: Instead of toggling PluginInstaller on mode change, toggle via R3. 2021-05-02 10:56:57 +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
9a9aae3db7 chore: Rebase on current master and re-add changes to conflicting files 2021-05-02 10:56:57 +02:00
Chivalrik
5d57c3f687 fix: Spelling mistake and forgotten conditional compiling 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
goat
44551d43ae
fix: use SafeMemory for Util.DumpMemory 2021-05-01 22:18:15 +02:00
goat
7d30a60a5e
feat: rewrite "ORIG(" in hook macro to original call 2021-05-01 21:19:50 +02:00
goat
92b825104e
fix: null temp plugins after use 2021-05-01 18:32:25 +02:00
goat
500bd926f8
fix: end menu bars 2021-05-01 18:29:22 +02:00
goat
9c35be2916
feat: add WIP scratchpad 2021-05-01 18:27:10 +02:00
goaaats
3ecbadfde8
build: 5.2.6.0 2021-05-01 12:55:11 +02:00
goaaats
f635a1712b
Merge pull request #346 from Aireil/fix_ui_language
fix: UiLanguage null when no override
2021-05-01 00:03:04 +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
40145e13b1 fix: UiLanguage null when no override 2021-04-30 23:15:20 +02:00
goaaats
0c8405777a
Merge pull request #345 from Aireil/feat_dalamud_menu_setting
feat: setting for buttons in system menu
2021-04-30 19:27:22 +02:00
Aireil
11938722b7 feat: setting for buttons in system menu 2021-04-30 17:17:30 +02:00
goaaats
61af5990af
Update Dalamud.csproj 2021-04-30 14:56:43 +02:00
goat
287cc0b84f
feat(PluginRepo): delete empty installed folder when no versions (closes #339) 2021-04-29 12:47:02 +02:00
goat
05347e65b1
Merge branch 'master' of https://github.com/goatcorp/Dalamud 2021-04-29 12:43:18 +02:00
goat
58eb1a9fa6
feat: clean up stale versions with lower API level 2021-04-29 12:42:36 +02:00
goaaats
6c7ea79fc4
Merge pull request #341 from Aireil/fix_installer_not_init
fix: game crashing when plugin master is loading
2021-04-29 11:57:35 +02:00
goaaats
8e75df966e
Merge pull request #342 from Aireil/fix_dev_plugins_load
fix: raw plugins not loading without config file
2021-04-29 11:56:45 +02:00
Aireil
6bea0ab38a fix: raw plugins not loading without config file 2021-04-29 09:00:00 +02:00
Aireil
8219e230eb fix: game crashing when plugin master is loading 2021-04-29 06:21:03 +02:00
goaaats
1afd5201d4
Merge pull request #340 from Aireil/fix_system_menu_toggle
Toggle instead of open in Dalamud system menu + some refactoring
2021-04-29 06:08:02 +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
e84cd7f0be
fix: add try/catch and error logging for all tiers 2021-04-28 21:02:30 +02:00
goat
411cf3ee9c
deps: update ImGuiScene 2021-04-28 19:50:21 +02:00
goat
0b538c5db6
feat: also clean up latest plugin version if disabled 2021-04-28 18:01:45 +02:00
goat
6356ad53b9
feat: load plugings with load order <= 0 asynchronously 2021-04-28 17:58:51 +02:00
goat
0c5db3d0e6
fix: null ref in PluginStatsWindow 2021-04-28 16:49:09 +02:00
goat
d83aabafe2
fix: DalamudInterface load after scene init 2021-04-28 16:39:45 +02:00
goat
2d47ae61ef
fix(Window): unfuck OnOpen/OnClose logic (fixes #312) 2021-04-28 16:36:31 +02:00
goat
a5aa9cd849
feat(DalamudSystemMenu): localize, switch around options (closes #336) 2021-04-28 15:37:48 +02:00
goat
0448c9e36a
Merge branch 'master' of https://github.com/goatcorp/Dalamud into master 2021-04-28 14:24:20 +02:00
goat
4e5b5f6b24
docs: regenerate 2021-04-28 14:24:07 +02:00
goat
64eb2e60cf
feat(UiBuilder): add OverrideGameCursor 2021-04-28 14:19:57 +02:00