text_nextframe now takes deltatime instead of recomputing it, the scene command struct got an overhaul and now it's much easier to write and read
This commit is contained in:
1 parent
e56d88ad08
commit
612c4e694b
3 files changed
+204
-172
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ void text_push(text_t* text,
|
||||
void text_show_all_current(text_t* text);
|
||||
bool text_is_animating(text_t* text);
|
||||
// advance, call every frame, returns false when done
|
||||
bool text_nextframe(text_t* text);
|
||||
bool text_nextframe(text_t* text, float deltatime);
|
||||
uint32_t* text_getfb(text_t* text);
|
||||
void text_clear(text_t* text);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user