Rename 'actionc' to 'count'

This commit is contained in:
XANTRONIX Development 2024-01-20 00:43:43 -05:00
parent d24b7aca62
commit 55e7e18c41
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ typedef struct _hexagram_anim_action {
typedef struct _hexagram_anim_stop {
hexagram_anim_action *actions;
size_t actionc;
size_t count;
double duration;
} hexagram_anim_stop;

View file

@ -62,7 +62,7 @@ int hexagram_anim_step(hexagram_anim *anim, hexagram_anim_progress_fn *fn) {
progress = (interval - offset) / anim->stops[i].duration;
}
for (a=0; a<anim->stops[i].actionc; a++) {
for (a=0; a<anim->stops[i].count; a++) {
hexagram_anim_action *action = &anim->stops[i].actions[a];
if (action->flags & HEXAGRAM_ANIM_MOVE) {