diff options
Diffstat (limited to 'src/include/main.h')
-rw-r--r-- | src/include/main.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/main.h b/src/include/main.h index 3c7ff83..af92e31 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -157,12 +157,14 @@ struct sorted_comp_array { uint32 LayerCount; uint32 CurrentSortIndex; // Used intermediately in the sorting algorithm + real32 DisplaySize; }; struct sorted_layer_array { uint16 Block_Layer_Index; real32 SortedOffset; + real32 DisplayOffset; uint16 Sorted_Effect_Index[MAX_EFFECTS]; uint16 SortedPropertyStart; uint16 SortedKeyframeStart; @@ -384,6 +386,12 @@ struct project_state real32 Interact_Offset[12]; void *Interact_Address; + // NOTE(fox): We need to keep track of when the user changes the CurrentValue of a + // channel that has keyframes on it (i.e. CurrentValue will now evaluate to + // its previous value unless the user adds a new keyframe to the channel) + // so we can purge the cache if the user changes to a different frame. + int UncommitedKeyframe; + int32 Initializing = 3; int32 MsgTime; // currently in "frames" |