module
Green swapWhen it is enabled, green intensity of each two screen pixels are exchanged.
It produces an interesting dirt effect.
Files
- file bn_green_swap.h
- file bn_green_swap_actions.h
- file bn_green_swap_hbe_ptr.h
- file bn_green_swap_mode.h
Namespaces
- namespace bn
- Main Butano namespace.
- namespace bn::green_swap
- When it is enabled, green intensity of each two screen pixels are exchanged.
Classes
- class bn::green_swap_manager
- Manages if green swap must be enabled or not.
- class bn::green_swap_toggle_action
- Toggles if green swap must be enabled or not when the action is updated a given number of times.
- class bn::green_swap_hbe_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the state of green swap in each screen horizontal line.
Enums
- enum class green_swap_mode: uint8_t { DEFAULT, HALF_TRANSPARENT_A, HALF_TRANSPARENT_B, DUPLICATED }
- Specifies how a layer must be displayed when green swap is enabled.
Enum documentation
enum class green_swap_mode: uint8_t
#include <bn_green_swap_mode.h>
Specifies how a layer must be displayed when green swap is enabled.
Enumerators | |
---|---|
DEFAULT |
The default green swap dirt effect. |
HALF_TRANSPARENT_A |
Half of the columns are hidden. |
HALF_TRANSPARENT_B |
The other half of the columns are hidden. |
DUPLICATED |
Pixels are duplicated. |