summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/main.h b/main.h
index 9b855b5..801b13e 100644
--- a/main.h
+++ b/main.h
@@ -158,7 +158,7 @@ union val {
struct keyframe {
val Value;
- uint16 FrameNumber;
+ int32 FrameNumber;
keyframe_type Type;
bool32 IsSelected;
// The X coordinate for the tangent is in keyframes, and the Y is in units.
@@ -283,8 +283,8 @@ struct project_layer {
effect *Effect[MAX_EFFECTS];
uint16 NumberOfEffects;
- uint16 StartFrame;
- uint16 EndFrame;
+ int32 StartFrame;
+ int32 EndFrame;
uint32 LayerColor;
@@ -312,10 +312,10 @@ struct project_data
uint16 Width;
uint16 Height;
uint16 FPS;
- uint16 NumberOfFrames;
- uint16 StartFrame;
- uint16 EndFrame;
- int16 CurrentFrame;
+ uint32 NumberOfFrames;
+ int32 StartFrame;
+ int32 EndFrame;
+ int32 CurrentFrame;
// NOTE(fox): Currently I'm handling layer sorting by just saying that
// their order in memory is the order of the index and manually moving
@@ -375,6 +375,7 @@ struct project_state
bool32 IsRunning = 1;
bool32 IsPlaying;
+ bool32 DemoButton = 1;
uint16 NumberOfSelectedLayers;
int16 MostRecentlySelectedLayer = -1; // convenience for the properties panel