Curation round 27 (code only): Weapon_Bone::Fire and the fetus tear (no offline gaps left), TakeDamage's interleaved hit order, 74 SetAnimation reset flags corrected, and a parity audit of every boss, every enemy, the rest of the player and tears, effects and familiars; one normalize_angle_degrees, IsTargetInAttackRange defaults (59 duplicates)
This commit is contained in:
1 parent
cc77c923e8
commit
e66baf4063
215 files changed
+2046
-1093
No files matched your search
@@ -105,15 +105,6 @@ struct SistersView
|
||||
bool isSisterInactive = false;
|
||||
};
|
||||
|
||||
// 00682740 An angle in degrees brought into -180 to 180.
|
||||
float normalize_angle_degrees(float angle)
|
||||
{
|
||||
if (std::abs(angle) > FULL_TURN_DEGREES) angle = std::fmod(angle, FULL_TURN_DEGREES);
|
||||
if (angle > HALF_TURN_DEGREES) return angle - FULL_TURN_DEGREES;
|
||||
if (angle < -HALF_TURN_DEGREES) angle += FULL_TURN_DEGREES;
|
||||
return angle;
|
||||
}
|
||||
|
||||
// The angle a sister faces along a direction (left, up, right, down).
|
||||
static float sisters_direction_angle(int direction)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user