mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-28 10:17:20 -04:00
593ecd0591
This enables some new goodies like std::expected. A change was needed in the mod loader code because of *something* to do with unique_ptr on an incomplete type. An overload fixed it, I've learned to stop asking questions about C++
Public game helpers
Headers in this directory provide port-specific types and utilities used by ordinary game
headers. Their corresponding implementations live in src/helpers/.
These helpers must not depend on internal src/dusk/ declarations in their public interface.
Unlike the internal dusk:: namespace, they are exposed to mods that use the game feature
and therefore must remain ABI stable within GameService major versions.
APIs specifically for mod use do not belong here; instead they belong in mod services, which are individually versioned, can provide backwards compatibility, and are designed to keep track of per-mod runtime state.