Cleaned the timeline code up nicely.

This commit is contained in:
2021-07-15 09:26:31 -07:00
parent 9e40d8f576
commit 06202f6f7e
4 changed files with 35 additions and 31 deletions

View File

@ -8,6 +8,8 @@
#pragma once
#include "../../libs.h"
#define TIMELINE_ACTION_COUNT_MAX 128
/** Type forwarder for timeline_t */
typedef struct _timeline_t timeline_t;
@ -50,6 +52,6 @@ typedef struct _timeline_t {
void *user;
/** Actions within the timeline */
timelineaction_t actions[128];
timelineaction_t actions[TIMELINE_ACTION_COUNT_MAX];
uint8_t actionCount;
} timeline_t;