Commit graph

11 commits

Author SHA1 Message Date
Daniel López Guimaraes
add1d2c2e2
chore: Bump to version 3.0.0 2025-02-15 21:09:10 +00:00
Maschell
cc3fac1cc7 (chore): clean up includes 2025-01-30 18:27:20 +01:00
Maschell
1ffb9cf65a feat: Show notification is plugin is missing or module was never initialized 2025-01-30 18:26:01 +01:00
Ash Logan
727f11d04d feat: Compile flags for binary size
Small binaries load faster, work better on Aroma Updater, and break the website less
2024-11-29 21:40:21 +11:00
Ash Logan
dbb648729a fix(config): Use noexcept version of WupsConfigItemStub::create 2024-11-29 21:40:21 +11:00
Ash Logan
cd1d530da9 fix(config): Switch to snprintf for formatting
while vformat is closer to modern string-formatting sensibilities, it added 400KiB to our binaries, whereas snprintf has no noticeable impact. so... suffer, and hope the translators know what's up
2024-11-22 11:44:20 +11:00
Daniel López Guimaraes
06847b21e5
fix(p2p): Fix compilation error in multiplayer port text
GCC complains about std::make_format_args using non-const references, so
we can't pass along the `get_console_peertopeer_port` directly.

Also replace `unsigned short` with `uint16_t` for clarity.
2024-11-21 20:39:51 +00:00
Ash Logan
ea71879bb1 chore: Introduce common directory to deduplicate shared code 2024-11-21 13:19:06 +11:00
Daniel López Guimaraes
68bc066c7b feat: Add translation for module not found errors 2024-11-21 12:50:38 +11:00
Daniel López Guimaraes
7958373394 feat: Improvements in module exports
Add new `Inkay_GetStatus` which can be used for retrieving the status of
the module. Also add better handling of module initialization, and show
a notification from the plugin if the module can't be found.
2024-11-21 12:50:23 +11:00
Daniel López Guimaraes
f4aeee8034 feat!: Split Inkay into a module and a plugin
This is necessary for a future Aroma feature. This also makes more clear
the immutability of the patches that Pretendo requires, since they
cannot be reverted easily.

All patching code is now managed inside the module, which the plugin
triggers by calling an exported function from it. The WWP reset code
remains within the plugin as it isn't strictly tied to the patches.
2024-11-21 12:49:16 +11:00