comparison libmlk-rpg/mlk/rpg/battle-entity.c @ 472:bc5483849614

core: texture -> mlk_texture
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:24:38 +0100
parents 91ce23a36143
children fce3b3c4b496
comparison
equal deleted inserted replaced
471:3761e33d429e 472:bc5483849614
48 battle_entity_init(struct battle_entity *et) 48 battle_entity_init(struct battle_entity *et)
49 { 49 {
50 assert(et); 50 assert(et);
51 51
52 character_reset(et->ch); 52 character_reset(et->ch);
53 texture_set_alpha_mod(et->ch->sprites[CHARACTER_SPRITE_NORMAL]->texture, 255); 53 mlk_texture_set_alpha_mod(et->ch->sprites[CHARACTER_SPRITE_NORMAL]->texture, 255);
54 54
55 battle_entity_state_normal(et); 55 battle_entity_state_normal(et);
56 } 56 }
57 57
58 int 58 int