Files
dusklight/include/helpers
Pieter-Jan Briers 29eee7ad33 Use std::byteswap from C++23 instead of compiler intrinsincs for endian swapping.
Just cleanup.

fvb.cpp changes were needed since the enums weren't accepted and previously were getting int casted implicitly.
2026-10-07 20:52:54 +02:00
..
2026-09-12 20:42:59 +02:00
2026-08-19 00:32:23 -06:00
2026-09-12 20:42:59 +02:00
2026-07-14 19:24:08 -06:00

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.