Renamed GBLA_UNUSED -> GBAL_UNUSED and updated RowOnKeyTransitFunc documentation (#292)

This commit is contained in:
MeirGavish
2025-12-10 17:17:28 -08:00
committed by GitHub
parent 5a4856ec82
commit d96bc9b1c2
5 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ static Blind _blind_type_map[BLIND_TYPE_MAX] = {
static void s_blind_gfx_init(enum BlindType type);
GBLA_UNUSED
GBAL_UNUSED
void blind_set_boss_graphics(const unsigned int* tiles, const u16* palette)
{
// TODO: This function is unused and not fully fleshed out.
+1 -1
View File
@@ -551,7 +551,7 @@ static int shortcut_joker_count = 0;
static int four_fingers_joker_count = 0;
static int straight_and_flush_size = STRAIGHT_AND_FLUSH_SIZE_DEFAULT;
GBLA_UNUSED
GBAL_UNUSED
static inline bool is_shop_joker_avail(int joker_id)
{
return bitset_get_idx(&_avail_jokers_bitset, joker_id);
+3 -3
View File
@@ -1459,10 +1459,10 @@ static u32 bootstraps_joker_effect(
return effect_flags_ret;
}
// Using GBLA_UNUSED, aka __attribute__((unused)), for jokers with no sprites yet to avoid warning
// Using GBAL_UNUSED, aka __attribute__((unused)), for jokers with no sprites yet to avoid warning
// Remove the attribute once they have sprites
// no graphics available but ready to be used if wanted when graphics available
GBLA_UNUSED
GBAL_UNUSED
static u32 shoot_the_moon_joker_effect(
Joker* joker,
Card* scored_card,
@@ -1485,7 +1485,7 @@ static u32 shoot_the_moon_joker_effect(
return effect_flags_ret;
}
GBLA_UNUSED
GBAL_UNUSED
static u32 photograph_joker_effect(
Joker* joker,
Card* scored_card,