Display » Green swap module

Contents

When 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

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.