Commit graph

79 commits

Author SHA1 Message Date
Haselnussbomber
da718b64c1
Use MiniGame BGM scene for About tab 2024-11-30 19:59:42 +01: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
goat
fcbad5000a add hint about disabling version text to TSM setting 2024-11-04 23:14:10 +01:00
Blooym
a8244a9114
chore: fix a very small typo (#2058) 2024-10-20 20:38:15 -07:00
goat
73e50c823b interface: only warn about signed reshade if we are actually using addon mode 2024-07-28 22:06:53 +02:00
srkizer
c25f13261d
Make DtrBar more threadsafe (#1978)
* Changed DtrBar to use ReaderWriterLockSlim so that there exists only one storage of entries, preventing possible desync.
* DtrBarEntry will now hold a reference to the LocalPlugin that created the entry, so that DtrBarPluginScoped can defer plugin related handling to the main service.
* Marked DtrBarEntry class itself to be turned internal in API 11.
* Made IDtrBar.Entries return an immutable copy of underlying list of DtrBar entries, that will be freshly created whenever the list changes.
2024-07-28 14:14:37 +02:00
Soreepeong
d8861ec7da write code 2024-07-25 21:07:49 +09:00
Soreepeong
ebee2f151e add back DXGISwapChain::on_present hook as default for now 2024-07-25 18:14:06 +09:00
goat
7e709d98cf interface: make swapchain hooking mode into a console command instead 2024-07-23 19:37:19 +02:00
Soreepeong
3215b6dddf Add optional vtable swapchain hook mode 2024-07-23 10:57:09 +09:00
Soreepeong
d71fbc52fb Add reshade unwrapping options 2024-07-22 20:29:26 +09:00
goat
2cbb8b9e22 enable some string BannedApis 2024-07-11 00:20:00 +02:00
goat
d97890940e update credits 2024-06-30 00:14:28 +02:00
goat
1d1b60b011 api10 todo: move IDalamudTextureWrap to Dalamud.Interface.Textures.TextureWraps 2024-06-29 00:45:16 +02:00
goat
c2d52cc6b0 remove built-in RMT filtering 2024-06-29 00:10:00 +02:00
goat
ef72ebc72c more wording changes 2024-06-15 22:03:17 +02:00
goat
408c8e5d02 remove double-negative 2024-06-15 21:49:16 +02:00
goat
31ba979a83 fix warnings 2024-06-15 19:29:13 +02:00
goat
ddcf01d073 undo odd validity change i did without thinking about it 2024-06-15 18:57:52 +02:00
goat
8d18940108 initial implementation of new auto-update UX 2024-06-15 01:00:50 +02:00
srkizer
0a219fcd82
Add IME state indicator opacity setting (#1811) 2024-05-21 08:41:25 +02:00
goat
9f32b05587 settings: properly EndChild 2024-05-09 00:43:16 +02:00
goat
48931dd8d2 tab items must end conditionally
Fixes random heap corruption after opening the settings window
2024-05-08 22:01:35 +02:00
meoiswa
00311b4dca
DalamudPluginInterface functions for opening Settings and DevMenu (#1795)
* Add functions for plugins to open the Developer Menu and Dalamud Settings windows

* Do not break ABI by instead declaring a new method OpenPluginsInstallerTo
Replace OpenDalamudSettings with OpenDalamudSettingsTo
2024-04-30 00:30:09 +02:00
goat
448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00
FatChocobo
34ce948bc6
Fix loc export (#1752) 2024-03-28 17:43:33 +00:00
KazWolfe
9bd80ee39f
Change Chinese Language Localization Names (#1749)
* locale name standardize

* change ko back to English

* cn -> zh

* Change Chinese localization mapping

- Maps tw to zh-hant, and zh to zh-hans
- Removes explicit override for tw langcode in UI
- Makes all languages use Windows-provided name and capitalization
- Add note to ko to prevent accidental helpful PRs

---------

Co-authored-by: wozaiha <wozaiha@gmail.com>
2024-03-25 12:04:49 +01:00
goaaats
f9847398d2 settings: get "reduced motion" setting from WinApi 2024-03-20 22:14:24 +01:00
srkizer
95defa200f
Add Reduced Motion for Notifications (#1732)
When Reduced Motion configuration is on, the expiry progressbar is
removed, and instead a pie on top right is shown, and relative time
update interval increases to 15 seconds. Progress wave animation also is
suppressed.
2024-03-20 21:53:20 +01:00
srkizer
cf4a9e3055
Easier SingleFontChooserDialog ctor, window pos/size/flags, and more docs (#1704)
* Make SingleFontChooserDialog ctor less confusing

The current constructor expects a new fresh instance of IFontAtlas,
which can be easy to miss, resulting in wasted time troubleshooting
without enough clues. New constructor is added that directly takes an
instance of UiBuilder, and the old constructor has been obsoleted and
should be changed to private on api 10.

* Add position, size, and window flags conf to SFCD

* Improve documentations

* Add test for PopupPosition/Size

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-03-14 00:57:30 +01:00
srkizer
34daa73612
Implement FontChooserDialog (#1637)
* Implement FontChooserDialog

* Minor fixes

* Fixes 2

* Add Reset default font button

* Add failsafe

* reduce uninteresting exception message

* Add remarks to use AttachExtraGlyphsForDalamudLanguage

* Support advanced font configuration options

* fixes

* Shift ui elements

* more fixes

* Add To(Localized)String for IFontSpec

* Untie GlobalFontScale from default font size

* Layout fixes

* Make UiBuilder.DefaultFontSize point to user configured value

* Update example for NewDelegateFontHandle

* Font interfaces: write notes on not intended for plugins to implement

* Update default gamma to 1.7 to match closer to prev behavior (1.4**2)

* Fix console window layout
2024-02-13 20:09:46 +00:00
Joshua Goins
1d32e8fe45
Fix language selector throwing a exception, use native name for Taiwan (#1634)
The language selector has only been showing language codes and not the
actual language names since  dd0159ae5a
because "tw" (Taiwan Mandarin) was added and it's not supported by
CultureInfo.

This adds a specific check like the language code to work around this
and stop throwing exceptions. Also converts to a switch so it looks a
bit nicer.
2024-02-07 10:33:35 -08:00
Soreepeong
fc4d08927b Fix Dalamud Configuration revert not rebuilding fonts 2024-01-21 15:11:31 +09:00
Soreepeong
63b16bcc7c Reapply "IFontAtlas: font atlas per plugin"
This reverts commit b5696afe94.
2024-01-19 07:26:56 +09:00
goat
b5696afe94 Revert "IFontAtlas: font atlas per plugin" 2024-01-18 12:51:58 -08:00
Soreepeong
015c313c5e Move UseAxis/Override to FAF 2024-01-03 23:45:46 +09:00
Soreepeong
e86c5458a2 Remove font gamma configuration 2024-01-03 23:37:00 +09:00
Soreepeong
f8e6df1172 Add font build status display to Settings window 2024-01-03 23:36:59 +09:00
Soreepeong
8bdab4d2c8 Implement DalamudFontAtlas 2024-01-03 23:36:08 +09:00
Soreepeong
a72f407357 Add DalamudAssetManager 2023-11-28 22:31:46 +01:00
Sirius902
473e24301d
Fix incorrect ImGui code (#1546)
* Add missing ImGui.EndTabBar

* Add more ImGui fixes
2023-11-26 22:04:38 +00:00
srkizer
7a0de45f87
Miscellaneous improvements (#1537) 2023-11-26 22:58:26 +01:00
goat
5daef60422
chore: rename config key for title bar options, move to experimental tab 2023-11-14 18:48:10 +01:00
goat
f10a597566
feat: add title bar buttons API to Window, make clickthrough/pinning window a title bar button 2023-11-06 23:10:55 +01:00
goat
9875a7ea31
feat: allow configuring the default page the installer opens to 2023-10-25 17:32:42 +02:00
goat
3a922e4d58
chore: make profiles category visible by default, ask before enabling 2023-10-05 21:03:24 +02:00
goat
263771c082
chore: move all dalamud logo textures into special service 2023-10-01 21:35:21 +02:00
goat
6fbcd0e0e4
chore: don't use ImGuiScene.TextureWrap for any external API, IDalamudTextureWrap does not inherit from ImGuiScene.TextureWrap any longer 2023-09-23 13:05:19 +02:00
goat
2119d08926
fix warnings 2023-09-23 11:18:20 +02:00
Kaz Wolfe
3618a510d0
Make Custom Repo warning orange
- Easier on the eyes, allegedly.
2023-09-22 19:17:00 -07:00