first half of pass to enable combined, standard split+movetab drag/drop fast-paths; just visualizations, next need the combo mutations

This commit is contained in:
Ryan Fleury
2024-04-28 18:51:57 -07:00
parent 9177299488
commit 5a84fe4949
3 changed files with 161 additions and 11 deletions
+13
View File
@@ -391,6 +391,19 @@ typedef enum Corner
}
Corner;
typedef enum Dir2
{
Dir2_Invalid = -1,
Dir2_Left,
Dir2_Up,
Dir2_Right,
Dir2_Down,
Dir2_COUNT
}
Dir2;
#define axis2_from_dir2(d) (((d) & 1) ? Axis2_Y : Axis2_X)
#define side_from_dir2(d) (((d) < Dir2_Right) ? Side_Min : Side_Max)
////////////////////////////////
//~ rjf: Toolchain/Environment Enums