Mercurial > molko
comparison libmlk-rpg/mlk/rpg/battle-indicator.c @ 451:90a097b1aa0f
core: font -> mlk_font
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 20:40:01 +0100 |
parents | 773a082f0b91 |
children | d7874f11565f |
comparison
equal
deleted
inserted
replaced
450:b26dd49f69ff | 451:90a097b1aa0f |
---|---|
60 | 60 |
61 bti->cur = 0xffffffff; | 61 bti->cur = 0xffffffff; |
62 bti->elapsed = 0; | 62 bti->elapsed = 0; |
63 bti->alpha = 250; | 63 bti->alpha = 250; |
64 | 64 |
65 if (font_render(theme->fonts[THEME_FONT_INTERFACE], &bti->tex[0], buf, bti->cur) < 0|| | 65 if (mlk_font_render(theme->fonts[THEME_FONT_INTERFACE], &bti->tex[0], buf, bti->cur) < 0|| |
66 font_render(theme->fonts[THEME_FONT_INTERFACE], &bti->tex[1], buf, 0x000000ff) < 0) | 66 mlk_font_render(theme->fonts[THEME_FONT_INTERFACE], &bti->tex[1], buf, 0x000000ff) < 0) |
67 panic(); | 67 panic(); |
68 } | 68 } |
69 | 69 |
70 int | 70 int |
71 battle_indicator_completed(const struct battle_indicator *bti) | 71 battle_indicator_completed(const struct battle_indicator *bti) |