You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Elijah Voigt 33c20d47a0 Add two ways to register action handlers
Both remove the add_systems(.., run_if(on_action(..))) boilerplate:

- `#[action_handler(path)]` derive attribute colocates a handler with its
  action variant and wires it for its kind — a gated plain system for
  instant/toggle, a typed pipe (axis_value/scalar_value) plus gate for
  axis/scalar. The derive generates an `impl GameActionHandlers` (empty when
  no variant declares one), which ActionsPlugin calls on build.
- `App::on_action(schedule, action, system)` (AppActionExt) — the explicit,
  no-macro form that keeps registration visible in main.

ActionsPlugin's Plugin impl now requires T: GameActionHandlers (satisfied
automatically by the derive).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 days ago
.cargo inital commit, scaffolding 1 month ago
.templates inital commit, scaffolding 1 month ago
engine Add two ways to register action handlers 6 days ago
life Add generic, remappable game action system 1 week ago
prototypes 0.19 upgrade, move some things to bsn! syntax 1 month ago
scripts Color scheme and some ui cleanup 3 weeks ago
web inital commit, scaffolding 1 month ago
.envrc inital commit, scaffolding 1 month ago
.gitignore mute cell on placement 4 weeks ago
flake.lock inital commit, scaffolding 1 month ago
flake.nix inital commit, scaffolding 1 month ago
justfile inital commit, scaffolding 1 month ago
rust-toolchain.toml inital commit, scaffolding 1 month ago