Commit Graph

6 Commits

Author SHA1 Message Date
Maschell
cc3fac1cc7 (chore): clean up includes 2025-01-30 18:27:20 +01: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
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
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
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