Expand description
Blood’s object messaging system: x-objects listen on receive channels (rx_id),
change state when commanded (optionally animated over a busy time), and broadcast
their own command on tx_id when reaching the on/off state.
Modules§
- chan
- Reserved channels.
- cmd
- sector_
type
Structs§
- Busy 🔒
- Carry
- Change of a moving sector’s transform during one update.
- Event 🔒
- Triggers
- Xform
- Placement of a moving sector relative to its map position: translation plus a
rotation by
angradians around (cx, cy).
Enums§
Constants§
- WALL_
MOVE_ FORWARD - Wall flags used by sliding sectors.
- WALL_
MOVE_ REVERSE
Functions§
- sector_
folds 🔒 - True when two non-adjacent edges of sector
scross, using wall positionspos. - time_
units_ to_ ticks - Busy/wait times are stored in twentieths of a second; the game clock runs at 120 Hz.
- wave
- Interpolation curves for busy motion (Blood “waves”).