Skip to content

cortex-lib v3.4.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 06:04
· 9 commits to main since this release

cortex-lib 3.4.0

Drop-in update. Replace the whole cortex-lib folder, start it before its consumers, and restart them. No SQL migration, no config changes.

Added

  • World prompts stay pinned: prompts, lists and markers are drawn by the game from one DUI texture, so they no longer trail or stutter when the camera turns. If the DUI cannot load, the previous layer takes over. set cortex_lib_world_dui 0 switches back by hand.
  • Callouts (lib.showCallouts): a pin on each part of a vehicle or other entity, a leader out to its label, and a block of switches. Players point and click while still driving; nothing takes NUI focus. Display only: the calling resource decides what every label says and acts on select, wheel and closed events. See Callouts in docs/api.md.
  • Arrow pairs such as "← →" show as one axis key glyph.

Changed

  • Settings tabs scroll: when the tabs no longer fit on one row, the row scrolls sideways with arrows at both ends. An arrow shows a dot when a tab with unsaved changes is out of view on that side.
  • License: Cortex Library now uses the Cortex Library Free Use License instead of MIT. Still free to use and modify on servers you own or run, including commercial ones; no resale or redistribution.

Fixed

  • A controller's left and right now switch settings tabs. They used to move focus off the tab row.

Full details: CHANGELOG.md