static block_layer * Layer_Init(project_data *File, memory *Memory); static void Layer_Delete(project_data *File, project_state *State, memory *Memory, uint32 Index); static layer_transforms Layer_GetTransforms(block_layer *Layer); static int Layer_GetTopOffset(project_data *File, memory *Memory); static void Layer_UpdateMasksEffects(project_state *State, block_layer *Layer, memory *Memory, void *EffectBitmapAddress, int Width, int Height, int BytesPerPixel, int CompWidth, int CompHeight); static void Layer_ToggleChannel(project_data *File, memory *Memory, int32 a); static void Layer_Select(memory *Memory, project_state *State, int32 i); static void Layer_Select_RecurseUp(memory *Memory, project_state *State, int32 i, int16 RecursionIdx[MAX_PRECOMP_RECURSIONS], uint32 Recursions); static void Layer_DeselectAll(project_data *File, project_state *State, memory *Memory, bool32 AllowComp = 0, bool32 RecordSelection = 0); static bool32 Layer_LoopChannels(project_state *State, memory *Memory, sorted_property_array **SortedProperty, uint16 **SortedKeyframe, block_layer *Layer, property_channel **Property, block_effect **EffectOut, int *h, int *c, int *p, int LoopNumber = 8); static void Layer_ToggleAllChannels(project_state *State, memory *Memory, block_layer *Layer, sorted_comp_array *SortedCompStart, sorted_layer_array *SortedLayerStart, sorted_property_array *SortedPropertyStart, uint16 *SortedKeyframeArray); static void Layer_Select_Traverse(uint16 PrincipalCompIndex, memory *Memory, project_state *State, int32 IndexToFind, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, int16 RecursionIdx[MAX_PRECOMP_RECURSIONS], int32 *Recursions); static v2 Layer_TraverseForPoint(project_data *File, project_state *State, memory *Memory, v2 PrincipalCompUV, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, uint16 LayerIndex); static void Layer_RecursiveDeselect(memory *Memory, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, uint16 TargetIndex, uint16 PrincipalIndex);