summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/main.h b/main.h
index 00d97c9..7e07597 100644
--- a/main.h
+++ b/main.h
@@ -80,7 +80,8 @@ struct bezier_point {
uint8 Occupied;
v2 Pos[3];
interpolation_type Type;
- uint8 IsSelected; //[3]
+ uint8 IsSelected;
+ uint8 PointSelect[3];
uint8 Color;
};
@@ -187,7 +188,10 @@ enum interact_type
{
interact_type_none,
interact_type_layer_move,
- interact_type_layer_timeadjust
+ interact_type_layer_timeadjust,
+ interact_type_keyframe_move,
+ interact_type_keyframe_scale,
+ interact_type_keyframe_rotate,
};
struct project_state
@@ -204,6 +208,7 @@ struct project_state
bool32 IsRunning = 1;
bool32 IsPlaying;
+ bool32 FirstFrame = 1;
int16 MostRecentlySelectedLayer = -1;
// selection_type RecentSelectionType = selection_none;
@@ -295,7 +300,6 @@ struct property_channel {
char *Name;
uint16 Block_Bezier_Index[MAX_KEYFRAME_BLOCKS];
uint16 Block_Bezier_Count;
- uint16 Keyframe_Count;
real32 CurrentValue;
real32 MaxVal;