Very early prototype of the ritual crafting UI, but it needs its own thing.

This commit is contained in:
Zed A. Shaw 2025-03-19 00:14:43 -04:00
parent a6d83db20c
commit f1cc9f86c1
6 changed files with 109 additions and 7 deletions

View file

@ -120,7 +120,9 @@ namespace components {
bool stationary = false;
int current = 0;
bool playing = false;
float subframe = 1.0f;
float subframe = 0.0f;
bool looped = false;
// BUG: this is weirdly not used in most animations but also named wrong should be frame_width
int texture_width = TEXTURE_WIDTH;
void play();