- Add register_rotatable
Registers a node that can be rotated.
- Add fix_rotatable_facedir
Looks up equivalent facedir value from
loopup array specified when registering.
- Replace rotate_node with rotate_facedir
Rotates a facedir value instead of a node in-world.
- Add calculate_rotating_state
To separate state-creation into its own function,
and to fix an issue where HUD wouldn't update.
- Add nodecore_filtered_lookup
Mimics NodeCore's rotation filtering to create
a lookup table based on a passed-in function.
- Register lenses, prisms and panels