};
struct AstSolidifiedFunction {
- b32 header_complete: 1;
- b32 body_complete: 1;
-
AstFunction* func;
Scope* poly_scope;
+
+ b32 header_complete: 1;
};
struct AstPolyProc {
click_time := 0.0f;
}
+has_active_animation :: () -> bool {
+ for ^anim: animation_states.entries {
+ if anim.value.hover_time != 0.0f || anim.value.hover_time != 1.0f do return true;
+ if anim.value.click_time != 0.0f || anim.value.click_time != 1.0f do return true;
+ }
+ return false;
+}
// Utilities
AstSolidifiedFunction solidified_func;
solidified_func.header_complete = 0;
- solidified_func.body_complete = 0;
// NOTE: Use the position of token if one was provided, otherwise just use NULL.
OnyxFilePos poly_scope_pos = { 0 };