From 8c5f06c37f3c267ecd8f867cd49765c366b5f47c Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Thu, 18 Aug 2022 23:11:29 -0400 Subject: many additions --- functions.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 654c709..39e4f8d 100644 --- a/functions.h +++ b/functions.h @@ -16,7 +16,7 @@ static bool32 Source_Generate(project_data *File, memory *Memory, void *Path); / // Libav (ffmpeg) backend for decoding video -static bool32 AV_IsFileSupported(char *filename); // Tests whether a decoder is available for a given file. +static bool32 AV_IsFileSupported(char *filename, bool32 *IsVideo); static void AV_Init(char *filename, source *Source, memory *Memory); // Initializes all internal structs and calculates average PTS. static cached_bitmap * AV_LoadVideoFrame(source *Source, memory *Memory, int32 TimelineFrame); // Loads video frame at TimelineFrame. @@ -33,6 +33,7 @@ static v2 ImGui_ScreenPointToCompUV(ImVec2 ViewportMin, ImVec2 CompPos, ImVec2 C void Bezier_CubicCalcPoints(v2 p1, v2 p2, v2 p3, v2 p4, void *Data, uint32 *Increment); static void Action_Change_Commit(memory *Memory, void *DataLocation, void *OriginalData, void *NewData, action_change_type ActionChange); +static void Action_Change_Commit_SwapBool(memory *Memory, bool32 *Bool); static void Action_Entry_SetPointer(memory *Memory, void *Data); static void Action_Entry_Commit(memory *Memory, action_entry_type Type, char *Name); static void Action_Entry_End(memory *Memory); -- cgit v1.2.3