af7a685b5c
New WIT interface `ui` (text, item and list widgets; open-screen, close-screen, set-settings) plus a `ui-events` export (select, closed, settings-opened), in a second world `horizon-ui-mod` so mods built before it keep loading. The game lays out and draws the widgets with its own menus' code: a screen the mod owns (Esc/Done to leave) and a Settings button on the mod's Options > Mods row that opens its page. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
17 lines
333 B
TOML
17 lines
333 B
TOML
[package]
|
|
name = "horizon-mods-test-ui-guest"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
description = "A mod that shows widgets, for horizon-mods' sandbox tests"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
horizon-mod-sdk = { path = "../../../horizon-mod-sdk" }
|
|
|
|
[lints]
|
|
workspace = true
|