feat: 增加动态预瞄点

This commit is contained in:
Glz
2024-03-22 20:28:49 +08:00
parent 97fc4f9b21
commit fba4476d35
9 changed files with 59 additions and 36 deletions

View File

@@ -22,6 +22,17 @@ void tracking()
}
}
void aim_distance_select(void)
{
if (cross_type != CROSS_NONE) {
aim_distance = 0.4f;
} else if (circle_type != CIRCLE_NONE) {
aim_distance = 0.2f;
} else {
aim_distance = COMMON_AIM;
}
}
void ElementJudge()
{
CheckGarage();