namespace
#include <bn_bgs.h>
bgs Backgrounds related functions.
Functions
- auto used_items_count() -> int
- Returns the number of used background items.
- auto available_items_count() -> int
- Returns the number of available background items.
- auto min_priority() -> int constexpr
- auto max_priority() -> int constexpr
- auto min_z_order() -> int constexpr
- auto max_z_order() -> int constexpr
Function documentation
int bn:: bgs:: used_items_count()
Returns the number of used background items.
A background item which is hidden is not committed to the GBA, so there can be more than 4 background items.
int bn:: bgs:: available_items_count()
Returns the number of available background items.
A background item which is hidden is not committed to the GBA, so there can be more than 4 background items.
int bn:: bgs:: min_priority() constexpr
Returns | Returns the minimum priority of a background relative to sprites and other backgrounds. |
---|
int bn:: bgs:: max_priority() constexpr
Returns | Returns the maximum priority of a background relative to sprites and other backgrounds. |
---|
int bn:: bgs:: min_z_order() constexpr
Returns | Returns the minimum priority of a background relative to other backgrounds. |
---|
int bn:: bgs:: max_z_order() constexpr
Returns | Returns the maximum priority of a background relative to other backgrounds. |
---|