comparison libmlk-rpg/mlk/rpg/battle-bar-default.c @ 468:91ce23a36143

core: sprite -> mlk_sprite
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:08:28 +0100
parents 8fa69c770569
children 02b16dd49b54
comparison
equal deleted inserted replaced
467:7420c78018dc 468:91ce23a36143
153 /* Use the spell selection algorithm to fill default values. */ 153 /* Use the spell selection algorithm to fill default values. */
154 spell_select(sp, bt, &sel); 154 spell_select(sp, bt, &sel);
155 battle_state_selection(bt, &sel); 155 battle_state_selection(bt, &sel);
156 156
157 /* A cursor should be present. */ 157 /* A cursor should be present. */
158 if (!sprite_ok(BATTLE_THEME(bt)->sprites[THEME_SPRITE_CURSOR])) 158 if (!mlk_sprite_ok(BATTLE_THEME(bt)->sprites[THEME_SPRITE_CURSOR]))
159 tracef("battle: no cursor sprite in theme"); 159 tracef("battle: no cursor sprite in theme");
160 } 160 }
161 161
162 static void 162 static void
163 switch_selection_item(struct battle *bt) 163 switch_selection_item(struct battle *bt)